yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] punk.kaos:
Is there some trick to getting GPS working? I'm using dzo's build from yesterday,

I go to Google Maps, and hit 'my location' and it says something about trying to get the location, but nothing happens.
[Touch CDMA Android Development] canyoufindben:
Android Speed

I'm sorry to ask this if it has been answered before. Haven't seen it anywhere yet.

Will the speed of the sdcard make a significant difference? I have a 2GB microSD, but would I see an acceptable (acceptable being worth the $$ for the upgrade) performance gain by switching to a SDHC microSD card?
[Touch CDMA Android Development] vilord:
not exactly a trick...

you have to turn it on. Go to "settings->security & location" then turn "enable gps satellites" on
[Touch CDMA Android Development] punk.kaos:
Already did that. Still no GPS at all.
[Touch CDMA Android Development] aven_soulgazer:
Can we tether with this newest 1.5 build from Martin over usb? I'm looking at replacing my windows 7 os with linux. I've got kubuntu downloaded and live boot from usb thumb stick to test it but not sure which distro I'd go with. Just want to still be able to tether internet. I'm currently using PDANet on Windows and winmo.

Creating a new data store

timeout waiting for mdp to complete 1

timeout waiting for mdp to complete 1

now seems frozen there
[Touch CDMA Android Development] srwalter:
For getting stuck rotating, I haven't seen that since fixing a setting. Go to Settings -> Sound & Display and turn off "Orientation"

I'd be interesting in seeing a nicer procedure for doing calibration. Preferably something that doesn't happen entirely in kernel space and that can remember your settings between boots.
[Touch CDMA Android Development] srwalter:
If you don't even see the flashing GPS satellite come up, it could only mean a couple of things. Most likely you don't have the right initrd. Double-check that you downloaded and installed all the correct files from vilord's page.
[Touch CDMA Android Development] Ideal2545:
srwalter,

what changes were made in the recent gps update? just curious, i havent been able to play with it much since this morning(sucks being in a cubicle all day)
[Touch CDMA Android Development] punk.kaos:
Ok, I just grabbed a new copy of the initrd from vlord's site, and I'm still getting the same results. It says "trying to determine your location" then after a moment, "Your location is temporarily unavailable" I don't see a flashing GPS satellite at any point.
[Touch CDMA Android Development] DallasW:
Hey sorry if this has been posted but I'm onmy phone. After installing 1.5 i had to hit skip Google account setup but after enabling the modem I can't get back tp set up my account to sync my emails and contacts.

Thanks in advance
[Touch CDMA Android Development] katmandu421:
Open market or gmail and you should be prompted with the setup again.
[Touch CDMA Android Development] katmandu421:
Did you enable GPS under Settings -> Locations?
[Touch CDMA Android Development] DallasW:
Opening market or gmail has them shut right back down and clearing the app data does nothing after a reboot and going to Google login service in

dev tools gives an error
[Touch CDMA Android Development] skajaqueda:
Do you see your username and password listed during bootup? I am having a similar issue when I put the gps version of initrd.gz and system.img. I noticed during boot up that it said "username= " and "password= ", but it usually lists my username and password from default.txt when I had a non-gps initrd.gz and system.img. Does modem work for you?
[Touch CDMA Android Development] Psionfenix:
er, don't change the mtype?

do we know why it won't boot if we do? (if it's simple, one of us can fix it quickly).
[Touch CDMA Android Development] benoldcrap:
You could very possibly chalk this up to user error, but I couldn't get this to work on my Titan.

When I run haret, I get an error message saying: Failed load 5990 pages.
[Touch CDMA Android Development] dzo:
That means haret ran out of memory. It needs 25M free, if you can get that on titan it should boot at least.
[Touch CDMA Android Development] Hugo381:
I keep getting "Failed to load file /My Documents/zImage"

I cant run it when I click on run. I have all the appropriate file in the same directory.

Any thoughts?
[Touch CDMA Android Development] Hugo381:
Nevermind I figured it out. I just renamed "zImage" to "zImage.txt" and also "initrd-android" to "initrd-android.txt" in the "default.txt" file.

Looks awesome, wish we had a fully functional version to use. But this version is useful to see whats in store for it. Its smooth and its eye candy!
[Touch CDMA Android Development] Psionfenix:
hmm...

After closing as much stuff as possible and finagling all sorts of crap to get enough RAM on my mogul (POS RAM. stupid lousy htc...) I run haret, it does the HaRET: Booting linux...

fills up the bar, and says "Go Go Go..." but that's where it stops. Any ideas? I just made the log file, so I'll check that, but we'll see I guess.

I downloaded the new initrd-android and it says file too large...hmmm
[Touch CDMA Android Development] AttractiveApe:
Works great on my phone -- I can hardly wait till the touchscreen works.

It also looks like the green/red softkeys and the camera button isn't working as well -- I'll be sure to watch this thread.

Props to the OP!
[Touch CDMA Android Development] srbwap:
anyone to attach some screenshots please.. tnx
[Touch CDMA Android Development] shark1987:
alright, i got it on my touch. Very cool that I got to see it in action, thought that would be way off. Runs great and the graphics demos they have are pretty cool and run very smooth on our phones, which is awesome for all the user made apps that will be made for this.

When will Android be released for real? I realize that there isn't a set date but do they think it will be this year?
[Touch CDMA Android Development] jim256:
this is really pretty incredible i think.

my question is...do you have the capability to get this working? well, thats not quite what i mean. what i mean is, is Android in a late/good/stable enough stage that even assuming we had the touchscreen working and the radio working...could it do anything?

i ask this because i am fascinated by this. but i dont want to get myself over excited if all we will ever be able to do with it is look at it until the real android is released.

so i guess my question could also be said like this: Is it more help for you and your success we are waiting/hoping for, or is it the real release of android we are hoping for.

you seem to be pretty knowledgeable about this in my opinion, so i figure if it was up to us you could do it. but even assuming you could, would we still just be waiting for a newer release of android to be able to do anything with it? ie calendar, txt messaging, multimedia, internet, etc.. (i realize these are prob a way off)

thanks a lot! (this is

COOL

) Jim.
[Touch CDMA Android Development] Psionfenix:
is there anyway to make haret require less ram? I think that's my biggest problem with this phone (titan). I can get up to like 23 (and it was running haret, but sticking after progress bar) and now it's throwing my the memory error (5990 or whatever).

HTC really fouled up this phone. GREAT idea, poorly implemented.
[Touch CDMA Android Development] dzo:
Did you comment out the ramsize ne in default.txt?

you can see if linux will run without android by commenting out the initrd line (with a #).
[Touch CDMA Android Development] Psionfenix:
edited out initrd and got to tx screen, but...that's it thus far. I'm not too excited about attempting a hard reset to try to boot it fresh. I'll play a bit more see if i can come up with anything else. (if this headache will go away)
[Touch CDMA Android Development] dzo:
It's a good sign that linux boots, what you probably need to do now is make the initrd as small as possible. It's just a gziped cpio archive, on a linux box extract it, then delete as much as you think you can get away with i.e. all sounds and anything else that looks useless. Pack it all up again and it may work.
[Touch CDMA Android Development] Psionfenix:
Makes sense. I had a different initrd.bin that I threw in there (and reenabled the initrd in the default.txt), i got the tux screen, "press enter" to activate this console, and it just started scrolling:

"siocsifador: no such device" among other things. So it's a step in the right direction. It might be this headache or my lack of sleep, but at the moment i can't even think of what to use for the initrd-android.
[Touch CDMA Android Development] mswlogo:
Do you have to copy the files to the Device Memory or can I put them on the SD Card.

You might mention in your opening post that this is the "Google Phone" OS.
[Touch CDMA Android Development] mswlogo:
Got it up. Pretty cool.

You should start a Sourceforge (http://sourceforge.net/) project on it.

Tips for folks installing it.

Right Click Save As on each of the links (don't click on them).

Strip the .txt extention off zImage and initrd-android

The files should look like this.

zImage

initrd-android

haret.exe

default.txt

Copy everything to device folder and run haret.exe

Volume up will pop you out of an application.

Be cool to mess with some geeky friends heads with :-)
[Touch CDMA Android Development] jjlwork:
What are the odds of someone ever getting this to boot natively on the device rather than by usung Haret?
[Touch CDMA Android Development] cr2:
It is possible to create a standalone wince .exe file (linload.exe), but this option is

broken in the recent haret CVS (it builds but does not run as expected).
[Touch CDMA Android Development] gima2002:
Great work

This is wonderful I always knew somebody would eventually try this. I am just surprised its this quick. The only thing though is that the touchscreen and radio are pretty much essential for this to be useful and I was wondering if you think it will be possible to get those working on the vogue.
[Touch CDMA Android Development] AstainHellbring:
Awesome dzo let us all know if we can do anything to help you further with this.
[Touch CDMA Android Development] lennysh:
Do I know you?

lol
[Touch CDMA Android Development] jchang320:
I'm using a HTC Touch Dual now, and I have Linux up and running. Unfortunately, it freezes after the red eye bounces around a few times. Has this happened to other people, and is there a fix for this?

Thanks a lot!
[Touch CDMA Android Development] ryanbg:
This version is for the MSM7500 chipset (CDMA), you have the MSM7200 (GSM). I believe there is a running version for the Dual.
[Touch CDMA Android Development] jchang320:
Do you know where I can find these files? I've combed through the forum, but I'm not sure which ones were used for the Touch Dual.

Thanks a lot!
[Touch CDMA Android Development] dzo:
OK, I've fixed the browser problems, the G icon should appear now and data will work much more reliably.

I've also added support for switching off the panel backlight. Click the power button and then tap on "Turn Off Screen", This doesn't put the machine into a very low power state but it does let you use it as a phone. I carried it around yesterday and the battery lasted about 12 hours.

Don't select power off, it will disable the buttons.

Obviously there is still some way to go, the keyboard is a bit crap, sometimes the display messes up and gets drawn in the wrong place, I had the touchscreen driver die on me once (with i2c read timeouts). We need full power management. Sound would be nice rather than just vibrate. SD needs to work. USB would be nice too. For daily use we need a better SMS app, (i missed a couple of multi part messages).

Get the latest zImage and initrd-android.

Let me know how you get on with it.
[Touch CDMA Android Development] tpdtopcop:
Thanks for all the hard work dzo. Do you still have to open internet connection with the regular os for internet to work?

Thanks
[Touch CDMA Android Development] dzo:
If you know your ppp username and password you can put them in default.txt and it should initialise the connection; some carriers have a single fixed name and password, others don't. If you don't know the username and password, booting while there is an active data connection should work.
[Touch CDMA Android Development] eoche007:
@dzo

First, I'd like to say thanks for all your work on the android program. SO I just tried the new files. Everything boots up fine, and I see the G sign. I have my user name and password, and anytime I try to use the browser, I get a message saying, "Network Error Unknown host" Also, be I put the new files, I could use the browser. I was just wondering if you could help.
[Touch CDMA Android Development] jchang320:
Hi, I'm wondering dzo, how did you get the keyboard to work? I'm wondering if I can do the same with the zImage and initrd-android files for the touch dual. Thanks a lot!
[Touch CDMA Android Development] dzo:
The onscreen keyboard is in vogue-ts.c, you will need to find a key to map to bring it up and trace cpld accesses to find out how your hardware is different. touch dual is probably more similar to kaiser than vogue so use http://wiki.xda-developers.com/index.php?pagename=Kaiser_CPLD as a start. The thing is that the more device drivers I write for vogue, the less likely that the kernel will work on anything else.
[Touch CDMA Android Development] wmvdg123:
dzo, turning off the screen works great. The internet is much better.

Sprint users: we need to figure out what the username and password that we should use is. I've tried username@mobile.sprintpcs.com (where username is the one we use for sprint.com) but that doesn't work. I know when one dials out the phone dials #777 you don't have to enter anything for username and password, but I tried that also for android and it doesn't work. Any ideas?
[Touch CDMA Android Development] jchang320:
Hi dzo, thanks a lot. I was also wondering, what are you using to edit the initrd-android and the zImage files? How do you even open them? Sorry, I'm kind of new to all this. I saw somewhere that the initrd can be unzipped, and I can read some of it, but the rest of it seems like random symbols. Am I not doing this correctly? Also, is the zImage an ISO file that I can mount and work with?
[Touch CDMA Android Development] Shadowmite:
zImage is a binary kernel... the initrd is a compressed cpio image.
[Touch CDMA Android Development] mburris:
if i wasn't somewhat versed with linux i'd wonder what in the world is a cpio image...

basically is a compressed file, with another compressed file inside of it. I remember reading this article about hacking the ubuntu install process. It had some nice commands for extracting the guts from an initrd...

Extracting the file: The initrd.gz file is actually a compressed archive containing all of the executables, libraries, and configuration files needed during boot.

1. create a temporary file on your favorite linux distro (I've done the below using Ubuntu) and cd into that folder

2. use this command to extract the initrd's content:

zcat /folder_where_you_have_the_initrd_file/initrd.gz | cpio -i

3. edit the file content anyway you see fit

3.5 change directories so that you are in the root of the extracted/edited initrd folder

4. Repackage the initrd.gz file place it in a your user (/home/(user_name)folder:

find . | cpio -o --format='newc' | gzip -9 > ~/initrd.gz

5. now you are linux god
[Touch CDMA Android Development] jchang320:
Hi, how do you go about finding out the codes to each key? I found the qwerty.kl file, and so I know where to change the information if I knew what key codes were being sent for every button I pressed. Do you just completely guess this, or is there some script I can run to display the key codes when I press a certain key?

Also, if I'm working with a 20-key keyboard instead of a 40-key keyboard, how do I check whether something has been pressed twice (to create the second letter) or if the alt has been pressed right before (to get the symbols / numbers)?

Thanks a lot!
[Touch CDMA Android Development] taquitos:
under start>settings>device info>current username i have XXXXXXX@sprintpcs.com not mobile.sprint
[Touch CDMA Android Development] jchang320:
hey dzo, where is vogue-ts.c? I see the qwerty.kl and the qwerty.kcm.bin.

Do you just replace the key codes in qwerty.kl with touch dual key codes? or do you need to make changes in qwerty.kcm.bin? How do you read the qwerty.kcm.bin file?

Thanks a lot!
[Touch CDMA Android Development] dzo:
Hi, It's not just a matter of changing a few key codes, you will have to write a linux device driver for your hardware, this means: installing an arm toolchain on a linux box, pulling the android git kernel, resetting git back to the date of my patches, applying my patches, learn C if you don't know it, read Linux Device Drivers book, find out how your hardware works using haret and rom disassembly (learn ARM assembler if you don't know it), write device driver, compile kernel..... Easy as.
[Touch CDMA Android Development] wmvdg123:
Hey Taquitos,

You're right about the device ID. I tried to get it to work with xxxxx@sprintpcs.com but it didn't work. Are you having success?
[Touch CDMA Android Development] SyubSnunb:
In the andorid-msm-2.6.29 branch there is a MSM 7k/8k high speed UART driver (msm_serial_hs).
[Touch CDMA Android Development] frad:
just wanted to say that I have the EXACT same issue.
[Touch CDMA Android Development] aven_soulgazer:
Did you set your phone to limit the number of open apps? That will make my market crash or not act properly if it is set. I turn it off and works fine. Reset it after you're done.
[Touch CDMA Android Development] vilord:
DallasW, delete your data.img and data.gz (don't put a data.gz in there at all) and launch it again.

If that doesn't work, post back here, then go to http://code.google.com/p/vogue-android/downloads/list and download initrd.gz and system-ion.img, then rename system-ion.img to system.img
[Touch CDMA Android Development] vilord:
aven_soulgazer, are you using the initrd from google code (see previous post) or from martin's zip? The one in the zip is quite out of date (like a whole day!) and I've updated quite a bit since then.
[Touch CDMA Android Development] aven_soulgazer:
the one from google code.

I've got the initrd, system-ion.img, zimage, and default.txt all from teh google code page

re-downloading the initrd to give it a shot.

ok, got past the backup part and it's gone down to creating new data store with a blank line under it. Is there supposed to be a flashing prompt? I'll let it sit and see what happens. 1430 central time

1445

Still stalled at the creating new data store part. Doesn't respond to plugging and unplugging usb or any key presses. It's been 15 minutes.
[Touch CDMA Android Development] punk.kaos:
So I even removed my data.img and re-downloaded everything from vilord's site, still no GPS.
[Touch CDMA Android Development] Ideal2545:
id say a radio issue
[Touch CDMA Android Development] punk.kaos:
Even though the gps works in wm6?
[Touch CDMA Android Development] Pandemic187:
Is there anything specific needed to get GPS working? I tried using both ION and build 2 of mssmison's HERO system.img, along with the newest initrd.gz.
[Touch CDMA Android Development] moekind:
Vilord what happened to your high resolution intrids?

Can you put the latest one in high resolution?
[Touch CDMA Android Development] vilord:
You should be able to add lcd.density=128 to your defaults.txt, using the same initrd.

-Jesse

Avon_soulgazer, can you try using the latest initrd and system with your old zImage (zImage-gps should be fine for testing)? Maybe something is different in your specific phone so it won't run the latest kernels, seen it before.

If that works, I'll fork the kernel at zImage-gps and add in what is needed for vibrate and ADB
[Touch CDMA Android Development] moekind:
Thanks alot Vilord.

Wow its almost ready to permanently replace WM lol.

Hmm it crashed on me once since yesterday, I was receiving a call

while I was browsing the web, and when I answered, it rebooted the

phone.

Another quick question.

Everytime I run haret it says invalid keyword: Vogue

I press ok, and then it proceeds to boot successfully.

Is there something I'm messing up in my default.txt

here it is:

set cmdline "ppp.username=xxxxxxxxxx@1x.bell.ca ppp.password=xxxx lcd.density=128 mddi.width=320 mddi.height=428 msm_sdcc.msmsdcc_fmax=32000000 pm.sleep_mode=0 board-htcvogue.panel_type=1 no_console_suspend

vogue-ts.XMIN=431 vogue-ts.YMIN=367 vogue-ts.XMAX=3711 vogue-ts.YMAX=3791 vogue-ts.PMAX=411"

boot
[Touch CDMA Android Development] aven_soulgazer:
I can't find a copy of that zimage. I cleared out my old files.

I wondered about something being different. When they gave me this phone as a replacement and I popped in my card and ran haret it failed to load. Redid all the files for it, still failed. I've only gotten one group of files to work since and it was the original thedude's when those were posted. failed before and since that build
[Touch CDMA Android Development] okcoolthnx:
Wow this new build is AMAZING! Thanks to everyone for all your hard work!

To get GPS to work, I've noticed you have to hit "My location" at least 3-5 times before it actually locks on to your location. Usually it will crap out with "Location temporarily unavailable" But each time it does it, it will get closer to your actual location until it eventually locks on.

FREAKIN' AMAZING. I have to go change my pants now....
[Touch CDMA Android Development] okcoolthnx:
Holy crap I think i'm going crazy with all these GPS apps from the Market! So far every single app i've tried that uses GPS now works flawlessly.

Alright, i'm off to ROSS to buy some cheap pants since i've run out of clean pairs now...
[Touch CDMA Android Development] punk.kaos:
Man, that doesn't work either. I'm starting to feel left out :)
[Touch CDMA Android Development] vilord:
I think it is your default.txt...

1st, make sure the set cmdline is all one line, that your editor isn't automatically wrapping onto the next line

2nd, check other places in the file to be sure almost everything else is commented out. There should be 4 lines that start with "set" at the top, then a bunch of lines that start with "#", then "set cmdline", then "boot"
[Touch CDMA Android Development] trensol:
I have an mp6900sp htc (vogu100 sprint phone radio ver 3.42.30) and been following the hard work by all on this forum for some time now. I apologize for not chiming in earlier about this, but my screen was broke and had to send it off for repair. It seems that some where between kernel releases, there has been a change that has caused problems with the sprint phone.

For instance, I am able to use the kernel from file 'android-1.1-04-05-09.zip' (and earlier versions), and all works fine. But if I try to use any newer versions, I am unable to fully boot android(Haret sometimes freezes, stops at waiting on sdcard, white screen, and may other artifacts). I have been able to use all files both DZO's and Vilord's Builds(ion) of initrd and system.img etc.. but not the Zimage. I can actually replace the Zimage on the new 1.5 build with the older 'android-1.1-04-05-09.zip' Zimage file and all again seems to work well(using the other 1.5 release files).

After reading through many posts, it seems most sprint users are having the same problems. I have tried to produce a debug for this issue, but have been unsuccessful in doing so being that it requires a soft reset, and I don't think the sprint phone is capable of this. I can only conclude that the radio version(can we upgrade to the bell version?) or sdcard(speed maybe) has something to do with these issues. Any help would be appreciated.

Trensol