PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Diamond (http://forum.ppcgeeks.com/forumdisplay.php?f=66)
-   -   android on diam500!!! (http://forum.ppcgeeks.com/showthread.php?t=84214)

toastcfh 09-12-2009 12:45 PM

android on diam500!!!
 
ok i managed to make it work. i dont take any credit though cuz all i did was tinker a bit. the credit for the zimage goes to MrPippy at xda. so go thank him. im just a messager. so first ur gonna need the files. u can get the latest build for the diamond (09092009) at http://connect-utb.com/index.php?opt...or-htc-diamond. that alone wont get this thing hoppin on a diam500. so u need the zimage that MrPippy modded for us( so thank him) its at http://forum.xda-developers.com/atta...0&d=1252565799. ok now unrar 09092009 on to the root of ur internal storage. then extract MrPippy's zimage to the root also. overwrite the one thats there. now go to the start up text file and make it look like this:

set RAMSIZE 0x08000000
Set ramaddr 0x10000000
set MTYPE 2040
set KERNEL zImage
set initrd initrd.gz
#
# The following kernel parameters are useful
# ppp.username - The username used to connect to the network when dialing #777
# ppp.password - The password used to connect to the network when dialing #777
# msm_sdcc.msmsdcc_fmax - The maximum frequency (in Hz) used by the SD controller
# pm.sleep_mode - The mode used when the phone is off
# 0=Power Collapse Suspend, 1=Power Collapse, 2=Apps Sleep,
# 3=Slow Clock and Wait for Interrupt 4=Wait for Interrupt
# Default is 3, use 0 for best power savings
# board-htcvogue.panel_type - Panel type used to power the panel off and on
# 0=Don't power off the panel (Default)
# 1=Hitachi 2=Topoly 3=Samsung
# mddi.width - width of the scaled display
# mddi.height - height of the scaled display (these should be multiples of 16 for the camera to work I think)
set cmdline "msmts_calib=0x81.0x393.0x358.0x7D msmvkeyb_toggle=off mddi.width=320 mddi.height=480 lcd.density=240 ppp.apn=sprint ppp.username=username ppp.password=password no_console_suspend"
#set cmdline "no_console_suspend"
# fbcon=rotate:1
# console=ttyMSM0"
Boot
mkdir /proc
mkdir /sys
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev
mdev -s
"ls -l /dev/mmc*"


ok now ur ready to boot heret.exe. it will load and take a few minutes. be patient. the sceen may go black. dont worry just wait. and u should be all good. if it says its locked and press menu. menu is the home key. have fun

edit: ther are alot of bugs and alot of things that dont work right. its not a full port. it does look good though. i know texting works. atleast for me, im on sprint. no sound though and the phone is buggy. i couldnt get it to work right. maybe someone around here can help hook this thing up.

bradart 09-12-2009 12:47 PM

Re: android on diam500!!!
 
does data and calling work in this ver?

toastcfh 09-12-2009 12:51 PM

Re: android on diam500!!!
 
no data just text and a half a s s phone

bradart 09-12-2009 12:52 PM

Re: android on diam500!!!
 
Quote:

Originally Posted by toastcfh (Post 1159868)
no data just text and a half a s s phone

so do i just copy and paste what you posted for the text file?

toastcfh 09-12-2009 12:56 PM

Re: android on diam500!!!
 
yes u can do that its alot quicker

setix 09-12-2009 12:58 PM

Re: android on diam500!!!
 
Quote:

Originally Posted by toastcfh (Post 1159855)
ok i managed to make it work. i dont take any credit though cuz all i did was tinker a bit. the credit for the zimage goes to MrPippy at xda. so go thank him. im just a messager. so first ur gonna need the files. u can get the latest build for the diamond (09092009) at http://connect-utb.com/index.php?opt...or-htc-diamond. that alone wont get this thing hoppin on a diam500. so u need the zimage that MrPippy modded for us( so thank him) its at http://forum.xda-developers.com/atta...0&d=1252565799. ok now unrar 09092009 on to the root of ur internal storage. then extract MrPippy's zimage to the root also. overwrite the one thats there. now go to the start up text file and make it look like this:

set RAMSIZE 0x08000000
Set ramaddr 0x10000000
set MTYPE 1805
set KERNEL zImage
set initrd initrd.gz
#
# The following kernel parameters are useful
# ppp.username - The username used to connect to the network when dialing #777
# ppp.password - The password used to connect to the network when dialing #777
# msm_sdcc.msmsdcc_fmax - The maximum frequency (in Hz) used by the SD controller
# pm.sleep_mode - The mode used when the phone is off
# 0=Power Collapse Suspend, 1=Power Collapse, 2=Apps Sleep,
# 3=Slow Clock and Wait for Interrupt 4=Wait for Interrupt
# Default is 3, use 0 for best power savings
# board-htcvogue.panel_type - Panel type used to power the panel off and on
# 0=Don't power off the panel (Default)
# 1=Hitachi 2=Topoly 3=Samsung
# mddi.width - width of the scaled display
# mddi.height - height of the scaled display (these should be multiples of 16 for the camera to work I think)
set cmdline "msmts_calib=0x81.0x393.0x358.0x7D msmvkeyb_toggle=off mddi.width=320 mddi.height=480 lcd.density=240 ppp.apn=sprint ppp.username=username ppp.password=password no_console_suspend"
#set cmdline "no_console_suspend"
# fbcon=rotate:1
# console=ttyMSM0"
Boot
mkdir /proc
mkdir /sys
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev
mdev -s
"ls -l /dev/mmc*"


ok now ur ready to boot heret.exe. it will load and take a few minutes. be patient. the sceen may go black. dont worry just wait. and u should be all good. if it says its locked and press menu. menu is the home key. have fun

edit: ther are alot of bugs and alot of things that dont work right. its not a full port. it does look good though. i know texting works. atleast for me, im on sprint. no sound though and the phone is buggy. i couldnt get it to work right. maybe someone around here can help hook this thing up.


testing now! been following this development for months!

toastcfh 09-12-2009 01:01 PM

Re: android on diam500!!!
 
its pretty sweet lookin. im impressed and if everything worked id leave minmo quick

toastcfh 09-12-2009 01:41 PM

Re: android on diam500!!!
 
my bad everyone use mtype 2040.sorry

qwho 09-14-2009 01:14 PM

Re: android on diam500!!!
 
I've got a touch diamond and a touch (vogue), and it seems like when the initial android kernel was working on vogue it favored CDMA users heavily, with the GSM'ers complaining on xda about not being able to connect to the net. This time it is the other way around, the GSM DIAM100's are able to connect, but not me with my 500.

I would use my touch (vogue) exclusively with android if it wasn't one of the unlucky ones that has the really awful screen that you can't view from any angle except for straight down.

I check xda every day for mentions of CDMA diamonds.

ydoucare 09-14-2009 11:36 PM

Re: android on diam500!!!
 
This is awesome. At least there is some network functionality now. It's definitely pretty laggy/unresponsive at times though.

mswlogo 09-15-2009 12:19 AM

Re: android on diam500!!!
 
How long do you have to wait.

I've been stuck at "console handover" for like 5 minutes.

mswlogo 09-15-2009 12:49 AM

Re: android on diam500!!!
 
I soft reset with stylus.
I removed one blank line I pasted into start.txt
Then tried again and it zipped past where it was stuck and booted.

Thanks dude.

qwho 09-15-2009 02:28 PM

Re: android on diam500!!!
 
Quote:

Originally Posted by ydoucare (Post 1166007)
This is awesome. At least there is some network functionality now. It's definitely pretty laggy/unresponsive at times though.

You've managed to get data connected?

ydoucare 09-15-2009 03:57 PM

Re: android on diam500!!!
 
Quote:

Originally Posted by qwho (Post 1167506)
You've managed to get data connected?

I wish, but no. I mean network functionality as in I can send and receive text messages.

ericlin0122 09-15-2009 04:18 PM

Re: android on diam500!!!
 
You can actually make phone calls, and receive phone calls. But you are not able to listen/speak anything, cuz the mic and speaker not working yet.
btw adding: "mdev -s" argument does not help either.

toenail 09-15-2009 05:26 PM

Re: android on diam500!!!
 
the speaker works.. i can make calls and listen, they just cant hear me.. its just the mic the not working

silex 10-03-2009 02:50 AM

Re: android on diam500!!!
 
Developments? I might just keep using it on my Vogue and forget about the Diamond :D This might help some of you keep up with development on a wiki and might also give some ideas to increase compatibility:
http://www.androidonhtc.com/diamond/installing_android

ttt123 10-04-2009 08:16 AM

Re: android on diam500!!!
 
need android 1.6 SDK that will support CDMA Device

ttt123 10-05-2009 12:32 AM

Re: android on diam500!!!
 
i TEST IN sprint diamond ,but will reboot soon in 5 seconds ,what's wrong ,can anyone give default.txt ?

mike171562 10-05-2009 01:56 PM

Re: android on diam500!!!
 
I cant get past the setup screen, cause the screen calibration is all out of whack :(

aeropatel 10-07-2009 10:11 PM

Re: android on diam500!!!
 
i can't get this to work..

followed the directions..placed all the files in internal storage root, replaced the zImage, changed the startup to match the one in OPs post.. when i fire it up, it keeps coming back with "warning bus busy" message. tried having it hooked up to ActiveSync, same result. Then I set it up as Disk drive, unplugged it from computer, ran it again and same result. any insight? thanks for the help.


*** EDIT ***

Finally got it to work... I don't know what caused the problem but deleting the data.img from the root and running it all again seemed to fix it.

maxxed 10-24-2009 02:25 PM

Re: android on diam500!!!
 
i can't get this to work...all it does is load up to the black screen with android and then acts like its loading then turns my phone off...tried deleting data.img too and still the same...

manekineko 10-28-2009 09:10 PM

Re: android on diam500!!!
 
Quote:

Originally Posted by maxxed (Post 1260989)
i can't get this to work...all it does is load up to the black screen with android and then acts like its loading then turns my phone off...tried deleting data.img too and still the same...

Try booting with it plugged in. That fixed it for me.

ydoucare 10-29-2009 01:31 AM

Re: android on diam500!!!
 
Quote:

Originally Posted by maxxed (Post 1260989)
i can't get this to work...all it does is load up to the black screen with android and then acts like its loading then turns my phone off...tried deleting data.img too and still the same...

Yeah, for some reason it's either not recognizing the battery or is unable to determine the battery level, so it thinks the battery is dead and powers off. Plugging it in should fix it if you're lucky. It took me forever to get it to boot, and the time it booted I didn't even have it plugged in, but android thought it was plugged in, so it worked. Either case, the goal is to get android to think it's plugged in.

MikeEx 10-29-2009 01:34 PM

Re: android on diam500!!!
 
It worked for me although being usable is another story.
But hey props on what we have so far.
I wouldn't mind having a more modern OS on my phone one day.

ydoucare 10-29-2009 07:07 PM

Re: android on diam500!!!
 
It's pretty slow. I don't believe there's any GPU acceleration for the DIAM500 at this point.

silex 11-08-2009 02:49 AM

Re: android on diam500!!!
 
Any further developments? Are the extra commands at the end of the txt file necessary?

intx 11-08-2009 11:10 AM

Re: android on diam500!!!
 
Well they released a new package 3 days ago, but only for GSM. I'm going to see what I can do to make it run correctly.

agentmikeyd 11-08-2009 02:27 PM

Re: android on diam500!!!
 
loving android on my Vogue - cant wait for the diamond version!

silex 11-08-2009 10:38 PM

Re: android on diam500!!!
 
Quote:

Originally Posted by agentmikeyd (Post 1309516)
loving android on my Vogue - cant wait for the diamond version!

Pretty much sums it up! I have it running on the Vogue great, but I want it running on the Diamond too :king:

mswlogo 11-09-2009 09:30 AM

Re: android on diam500!!!
 
Why is the Vogue so far ahead on android than the diamond.

Since the screen and buttons have been figured out isn't the differences just a few config parameters that have been mostly already figured out. What's holding things back?

Why can't we drop the Hero build on our phone like Vogue was able to do?

Be fun to play with, but the present build for diamond is in no way useable on a daily basis.

MrObvious 11-09-2009 10:16 AM

Re: android on diam500!!!
 
I'm not sure why but I guess enough people aren't working on it.

ydoucare 11-09-2009 01:30 PM

Re: android on diam500!!!
 
At the rate this is progressing, I'll probably have a native Android phone by the time it's usable. :(

basilray 11-09-2009 02:58 PM

Re: android on diam500!!!
 
Anyone's on screen keyboards just whacky? You almost have to click the button to the right of one to get the key you want?

toastcfh 11-09-2009 09:22 PM

Re: android on diam500!!!
 
Quote:

Originally Posted by ydoucare (Post 1312187)
At the rate this is progressing, I'll probably have a native Android phone by the time it's usable. :(

I won the war against Sprint and there refurbished shot phones. I went though 4 diamonds and all 4 the vibrate failed. Finally talked to a manager at the Sprint store. I explained my issue and he gave me a choice. A brand new diamond or a hero. If chose the diamond I would have to drive back to the store in a day or so to pick up the phone.the store is 30 + miles from my house. Or I got the hero I would het it right then. So I went and played with the hero and got it. But... I do miss my diamond. The hero is better IMHO. But after all the tweaking and nodding I did on my diamond. I really loved that phone. But yeah... the problem with the Android diamond port is the lack of cdma development. I felt hopeless tryin to contribute. Almost no one had a clue or interest in helping any of the cdma users. Phh was really the only dev that would even really try to help me figure out what my kernel was missing. I can tell u if it tryin to use WiFi or any of the new features. ur gonna need a newer kernel then the one mrpippy posted. I've tried almost everything to get WiFi working with that kernel with no event. I had started going through the commits and checking the changes against the September 3rd commit that works. Maybe someone can go from there. Good luck guys:headbang:

agentmikeyd 11-10-2009 07:06 PM

Re: android on diam500!!!
 
Quote:

Originally Posted by toastcfh (Post 1313913)
I won the war against Sprint and there refurbished shot phones. I went though 4 diamonds and all 4 the vibrate failed. Finally talked to a manager at the Sprint store. I explained my issue and he gave me a choice. A brand new diamond or a hero. If chose the diamond I would have to drive back to the store in a day or so to pick up the phone.the store is 30 + miles from my house. Or I got the hero I would het it right then. So I went and played with the hero and got it. But... I do miss my diamond. The hero is better IMHO. But after all the tweaking and nodding I did on my diamond. I really loved that phone. But yeah... the problem with the Android diamond port is the lack of cdma development. I felt hopeless tryin to contribute. Almost no one had a clue or interest in helping any of the cdma users. Phh was really the only dev that would even really try to help me figure out what my kernel was missing. I can tell u if it tryin to use WiFi or any of the new features. ur gonna need a newer kernel then the one mrpippy posted. I've tried almost everything to get WiFi working with that kernel with no event. I had started going through the commits and checking the changes against the September 3rd commit that works. Maybe someone can go from there. Good luck guys:headbang:

is this dead now that toast has left us for Droid? hopefully some development is going on - anyone know?

thanks!

toastcfh 11-11-2009 08:08 PM

Re: android on diam500!!!
 
Quote:

Originally Posted by agentmikeyd (Post 1317025)
is this dead now that toast has left us for Droid? hopefully some development is going on - anyone know?

thanks!

No I don't think is dead. Mrpippy, tenny, and a couple others are still working on it I believe. If u got any skills in tinkering with Linux based platforms. then I say head to the forum and to the irc channels and start asking questions. For sure don't just expect it to get ported to ur device. The foam500 users need all the help they can get. Good luck

mclaser 11-12-2009 09:38 PM

Re: android on diam500!!!
 
I believe that I followed the instruction from the 1st post correctly, except that I used the latest 20091103 instead of the recommended one 0909 (I think). I can't get it to come up. I get a the Penguin logo and a bunch of small text, then it seems to get stuck in an endless loop filling the screen with "[xxx.xxx] msm_i2c msm_i2c.o: Warning bus was busy (x)". Has anyone tried this with the 1103 build?

Update 11/13:
Hey, got it working! I needed a different zImage which I found on Connect-UTB (search for diam500). It runs pretty slow and the screen cal seems to be way off, but it's kind of a cool experiment! Text msg works, but no data it appears. I can make a call and hear, but the mic doesn't seem to work (as others reported, I think). Cool stuff!

CranberrySauce 11-14-2009 09:56 AM

Re: android on diam500!!!
 
Quote:

Originally Posted by mclaser (Post 1324158)
... screen cal seems to be way off ...

I think that can be fixed via startup.txt

toenail 11-17-2009 07:53 AM

Re: android on diam500!!!
 
incase you havent been keeping up a lot of progress has been going on.. check ur common sites


All times are GMT -4. The time now is 08:45 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0