yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] unsungboxer:
Hey Everyone,

I have decided to play around w/ the key mapping. I made the following changes:

1. The Dpad now does its respective function (up/down/left/right)

2. Center Dpad brings up the menu. (used to be the "select" function, which isnt necessary because you can use touchpad)

3. Power Button works as your back button. (you can't currently power down android anyways, use the end key to blank the screen, and Send Key to wake)

This new setup enables you to play games, and to navigate the android environment with a bit more ease. Try my files (must unzip and replace yours):

1. system.img (includes remapped keyboard): http://www.fileqube.com/shared/fSitaQD87251

2. data.img (includes 4 apps from post# 776): http://www.fileqube.com/shared/NjWqf86849

3. qwerty.kl (Already included in system.img): http://www.fileqube.com/shared/ihAJqqjX87252

I know its not really an update, but something to hold some of us over while Martin does the real work :)

-Jake
[Touch CDMA Android Development] Psionfenix:
alright guys, as much as i absolutely LOVE MS bashing, let's try to keep on topic...pretty please with a cherry on top. If we want to continue the android vs wm convo someone make a new post in general or wherever.
[Touch CDMA Android Development] Psionfenix:
dzo: know what might cause this:

(keep in mind using a titan)

now i have tux with:

init: HOW ARE YOU GENTLEMEN

init: reading config file

init: device init

ANDROID init: mtd partition -1, init: mtd partition 0, "msm_nand"
[Touch CDMA Android Development] dzo:
That's exactly what it should do, the mtd error just means it can't mount it's flash filesystem. If it gets this far it has loaded everything and blown away wince so shouldn't have memory problems. After this the red cylon eye should appear. If not, that probably means that it's trying to access some hardware that is slightly different on titan, perhaps the button gpios. We could compile a kernel without some of the drivers and see if that gets any further.
[Touch CDMA Android Development] Psionfenix:
I used the ramdisk.img (renamed to initrd) and your kernel to get this far. I'll compile a kernel again and see if i can get anything (feel free to compile one as well, as you're a bit better on the android then me :P )
[Touch CDMA Android Development] willardt1:
I just get stuck at the screen with tux. I don't think it is booting into linux
[Touch CDMA Android Development] Tenny:
great job, can't wait till the radio / touch screen works.
[Touch CDMA Android Development] ryanbg:
Just curious but has anyone attempted to start working on drivers/radio? I am willing to donate for the effort, and I want to help usher this project along. I will test or do anything needed, although I don't really know much code. I really want this project taken seriously so if anyone wants to attempt I am here to help anyway, shape, or form. :)
[Touch CDMA Android Development] ericthegreat:
Fellow Titan/Mogul user here. That's the same thing that I get. We get this far where it displays the error related to the flash fs and it just sits with a flashing cursor. I've let it sit for 30 min to see if it displays the android cylon boot graphic and no go. If you could compile another kernel with some more drivers I'd be happy to give it a spin.

Excellent work so far. I'm a big fan of what Google is trying to do with Android and would love to see it run on these "older, unsupported" devices.
[Touch CDMA Android Development] dzo:
Hi,

Touchscreen now works, it's not perfect yet but is quite usable. New zImage and diffs are on the site.
[Touch CDMA Android Development] Psionfenix:
wit the new kernel I dont get my msn_nand error.

I get the normal "how are you, reading config file, device init" and it goes to ANDROID with a blinking cursor. So close, going to try the initrd-android again, see if that will get me further. Thanks dzo
[Touch CDMA Android Development] jim256:
GREAT news! way to go thanks a lot.

2 things:

1) maybe first post should be updated with how the touchscreen is working in order to encourage more first-time readers.

2) i never renamed any of the files...aka i never took off any of the .txt extensions and modified them, yet everything seems to have run fine...does this mean anything? or would more have been available to me had i changed those? in the first post this requirement isnt mentioned, but is later on...?

thanks.
[Touch CDMA Android Development] Raven_coda:
Actually, it IS working on the kaiser! see here

http://xdaforums.com/showthread.php?t=383695

The touch screen settings don't seem to work for us yet but I thought I'd let you know that it is working.

@dzo: Could you post your config file as well? I'm having trouble getting it to work, right now I'm using the msm_defconfig

Thx!

Edit: found out that the option CONFIG_KAISER breaks it for the kaiser, if I unchecked that it works on the kaiser. config file would still be nice thogh.
[Touch CDMA Android Development] maxdamage2122:
i've tried running android on my titan as well and i get passed the tux and "init: HOW ARE YOU GENTLEMEN...." screen all the way to the red bar going back and forth but after several minutes of the red bar it just freezes. no android :(
[Touch CDMA Android Development] Psionfenix:
what did you use exactly for the cylon eye? I can't even get that :/
[Touch CDMA Android Development] EtherealRemnant:
Anyone care to snap a few pics for those of us lowly Titan users to be able to see the Android? lol.

I won't even try this right now... I won't get any further than anyone else did. Probably won't even get close. I thought about getting Key's kitchen and dropping the pagepool to 2MB and seeing what happens... it appears it has 26MB free on boot with an 8MB page pool.

EDIT: Its a 6MB page pool... setting it to 2MB I'm booting with 30MB free... screw it, I'm trying it right now.
[Touch CDMA Android Development] Psionfenix:
that was hilarious ethereal. Let me know how it goes, I'm thinking about trying it myself (though not until android is a bit further along, i still like my phone useable. haha.
[Touch CDMA Android Development] EtherealRemnant:
Psion, care to walk me through how you did this a bit?

HaRET just seems to be locking up on me.

I've downloaded the Android SDK and renamed ramdisk.img to initrd.gz, renamed all the proper files, and I've put them together in My Documents on the device. What am I missing here?

EDIT: Oh and by the way, I've always found a 2MB pagepool usable... I guess I just don't use my device the same way everyone else does? lol
[Touch CDMA Android Development] Psionfenix:
sure thing

http://it029000.massey.ac.nz/vogue/

get the kernel from there, haret (he reworked it), and default.txt

get initrd-android as well as we're going to try that first.

make a folder somewhere on your device (call it haret for ease) and put the default.txt, zImage, initrd-android in it. Make an empty txt file called "earlyharetlog.txt" and put that in there as well. Close down as much as you can after soft reset, open up haret and click run. tell me what it says.

Also, if you're on right now, shoot me a PM and we can chat in real time.

with the sdk ramdisk that i used (i think its different from an actual initrd, i was just testing it), i renamed it to initrd.img and changed the default.txt to set initrd initrd.img
[Touch CDMA Android Development] dzo:
ramdisk.img in the sdk won't work, it doesn't include the system filesystem that android needs. my initrd-android is ramdisk.img, system.img and data.img combined and with some unnecessary stuff taken out. It looks like titan just doesn't have enough free memory, the only way your'e going to get this to work is if you make initrd-android even smaller or write a sd driver. The nand flash driver does work so you could try to get the android fs into flash but that might not be such a good idea.
[Touch CDMA Android Development] Psionfenix:
i was using the ramdisk just to test it. I wouldnt know where to start to take stuff out of your initrd-android. Everytime i cpio the stuff it comes out really small and doesnt do anything :/
[Touch CDMA Android Development] roxorz:
upload to rapidshare. your fileqube link isn't working again.
[Touch CDMA Android Development] bombzhome:
Yeah, those links aren't working.. I'm anxious to try this out... now that we can go back this is going to be interesting. :D
[Touch CDMA Android Development] unsungboxer:
Sorry, fileqube seems to be down. These links should hopefully work later. However, per your requests, I have lumped all 3 files into android-addons.zip and uploaded them to rapidshare: http://rapidshare.com/files/139904347/android-addons.zip.html

I am anxious for feedback. I now understand Martin's point about being limited for buttons. But having use of the dpad makes everthing easier imho. :)

-Jake

*note: You only need to replace your data.img and system.img for this to work. I only included qwerty.kl in case Martin wants to use it for future builds.
[Touch CDMA Android Development] bombzhome:
Thanks man!
[Touch CDMA Android Development] roxorz:
thanks dude. downloading now!
[Touch CDMA Android Development] bombzhome:
Well, I got it to run but I'm on a Mogul/Titan. Keys dont work on this. I'll try to look into it tomorrow to see if I can get this working for Mogul users.
[Touch CDMA Android Development] dzo:
OK, I've figured out the problem, the new Mms app doesn't support QVGA resolution. Until we have the source, there's not much that can be done about it and it was causing the dialer to fail too so I've removed it. Now things work much better. I'll rewrite the old Sms (or Messages app) for 0.9 but until then SMS won't work.

Latest is at:

http://cs-alb-pc3.massey.ac.nz/vogue/android-new.zip

I've remapped the keys so that the d-pad works as it should and vol-up and down are menu and back.
[Touch CDMA Android Development] unsungboxer:
i wouldnt imagine it to work on mogul. you would need to use ubuntu to mount system.img then modify qwerty.kl to match your keyboard layout.
[Touch CDMA Android Development] d1rtyd33z:
devtcg

Dzo,

Have you seen/tried the Messaging app from this site?

http://devtcg.blogspot.com/2008/08/android-on-htc-vogue.html
[Touch CDMA Android Development] roxorz:
i can't get the screen to unlock with dzo's updated version
[Touch CDMA Android Development] dzo:
Yes, and that is probably what I will use but it needs quite a bit of work to update it to the new SDK.
[Touch CDMA Android Development] mrhocuspocus:
This is great! i just tested it out for the first time. I have a few questions, hopefully someone can answer them for me. :)

1. after i soft reset to get back to windows none of my programs i installed will work anymore.. it says "it is either not trusted or one of its components cannot be found". is there anyway to fix this? even haret.exe will not run now.

2. my data does not work in android... only the voice calls do. anyway to fix this?

3. I dont really understand the whole android thing. I know its open source and an os, but is it made to run on any specific phone already. Or will every phone have to have its own community driven version of android?

Im using a sprint touch.
[Touch CDMA Android Development] d1rtyd33z:
some help

1. This is not related to haret.exe or Android. Try a soft (or hard) reset.

2. Launch IE in Windows before booting Android, and try again.

3. It is an "open source" phone OS, for many phones.

They (Google/OHA) are being somewhat closed about what is going onto an actual phone at this point, but the idea is that the software SDKs are all open source. It is my opinion that the handset manufacturers are less than open with their hardware, forcing OHA to keep some things about Android behind closed doors.

I'm using a sprint touch too.
[Touch CDMA Android Development] d1rtyd33z:
er, oops

oops. nothing to see here. I dunno why I was thinking I was copying to the sdcard, but wasn't. It works now.
[Touch CDMA Android Development] mrhocuspocus:
How exactly do you know that my first question is not related to haret.exe or android? Also i cant try your suggestion to my second question until the first problem gets fixed. And im sure a hard reset will fix it but that is a VERY last resort for me.

Also to answer your problem, if you notice when the linux kernel boots it says cannot extract blah blah in sdcard/blah blah. its looking for the file in the root of your sd card. did you put all the files in a sub folder? if so move them all to the root and it will work.
[Touch CDMA Android Development] d1rtyd33z:
dunno

I don't _exactly_ know that it didn't cause the problems that you mentioned. I just don't imagine that it did. I'm sorry for not making that clear. I don't think that it is very likely, although it could have happened at the same time, that running Android or haret.exe has done anything to your phone. Haret just boots android, and android can't even see the filesystem that windows is stored on. Haret.exe does not require installation or make registry changes, so I don't think it is the culprit.
[Touch CDMA Android Development] qwho:
Hey, stupid question everyone... I got it to boot, but it says 'press menu to unlock' and I tried every button... I'm sure it is something really simple that I missed.

Thanks
[Touch CDMA Android Development] eoche007:
Press the volume botton slider. It is now the menu and back botton.
[Touch CDMA Android Development] qwho:
That worked the first time. The next time I went to unlock it, it just wouldnt work. Anyhow, it gave me a chance to play with it.

OK, really weird, when I did 'my location' on google maps, it was following someone driving through fremont california.
[Touch CDMA Android Development] knownboyofno:
I know the same thing here I bet we r "watching" the google fone that is at google now LOL.
[Touch CDMA Android Development] mrhocuspocus:
The first post in this thread says everything only runs in memory so i would assume it would cause no problems either. However i am 96.7% sure this problem has rooted from running this app. Maybe its bc im using a generic rom, but i have had no problems with my phone and havent installed anything new in months and as soon as i soft reset from android no programs i installed will work. I cant even install any apps now. Only the ones that are packaged with the rom will run. :confused: It says something about it not being signed. It seems like my phone is locked down now and needs the permissions restored, but my knowledge of ppc's is still in its infancy. Someone please help me, or ill have to hard reset later tonight. :cool:

Also did you end up moving the files to the root folder and it worked?
[Touch CDMA Android Development] knownboyofno:
I agree with the others but you would get better help at ppcgeeks.com on the vogue upgrade forums.
[Touch CDMA Android Development] bombzhome:
Does anyone know how to map the buttons to the mogul? I know you mount the image and edit the file, but how are you supposed to know which button is which.
[Touch CDMA Android Development] Shadowmite:
Trial and error, or the proper way, using haret map the GPIO's to determine which button will be which.
[Touch CDMA Android Development] herriojr:
Installation Issues

Hi,

I've been trying to install android on the Vogue using the packages at http://it029000.massey.ac.nz/vogue/android.zip, and I'm having issues with it starting.

I get the following error:

mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: Invalid argument
Failed
Failed to Mount SD Card
/bin/sh: can't access tty; job control turned off
#

I noticed that my microsd card was vfat, so I tried modifying initrd to try and mount it as vfat, I also listed the sdcard information:

Sleeping 5 seconds to let SD initialize...
partition table is:

Disk /dev/block/mmcblk0: 1015 MB, 1015808000 bytes
1 heads, 61 sectors/track, 32524 cylinders
Units = cylinders of 61 * 512 = 31232 bytes

Device Boot Start End Blocks
/dev/block/mmcblk0p1 2 32524 991951
+ b Win95 FAT32
[ 2.083953] FAT: IO charset iso8859-1 not found
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: Invalid argument
Failed
Failed to Mount SD Card vfat
/bin/sh: can't access tty; job control turned off
#

Has anyone else run into these issues or know what I need to change to get it to work?

Thanks in advance!
[Touch CDMA Android Development] herriojr:
So, I just installed 0.9 and that works fine (except for data connection), so I guess just ignore my m5 question.
[Touch CDMA Android Development] herriojr:
Does anyone know if there are any values I need for ppp.username and ppp.password for CDMA networks? I'm using Verizon Wireless, and I can't find any posted. I'm assuming this is the reason I can't browse the internet, however, I am able to make calls.

Also, here are some bugs I found. Sorry if they have already been listed.

1) Keys are mapped wrong.

2) Android phone does not transmit sound to the receiving phone.

3) When call ends, android in black screen and cannot exit it.

4) If android sits there for too long, it gets stuck in a black screen (may be related to 3)

5) Data connection does not seem to exist, cannot browse the web on CDMA phone (do I need a ppp.username and ppp.password for Verizon wireless?)
[Touch CDMA Android Development] unsungboxer:
all known issues.

data has only ever worked if you had a live connection running in windows before you boot. ppp has never made a diff for me.

however just so ya know; ppp username is 'xxxxxxxxxx@vzw3g.com', pw is 'vzw'... change x's to you ten digit number.
[Touch CDMA Android Development] mrhocuspocus:
well i got my phone fixed without a hard reset... whew! well it might not be fixed but maybe a workaround. Somehow the security registry key for allowing unsigned apps to run, got set to a 0... or it was already like that, and this is a work around. either way, changing the value fixed things for now..

i have successfully been trying out android, and people only decide to call me when im doing something on my phone where an incoming call will cause me to have to reset my phone to get data connection back. I also got to see the blue gps dot in google maps traveling down a cali highway. I wonder if thats just what it does by default, instead of just sitting in the middle of the ocean... like on the previous google maps, until it gets a lock, or if it is really someone that we are all watching? I dont think theres any need to mention any bugs or unfinished drivers as everything i noticed is pretty obvious after using android for about an hour.

I must say overall this is totally awesome. You have done a great job rewriting the drivers to work with the vogue! keep up the good work sir. I hope one day android will be fully functional on the touch!
[Touch CDMA Android Development] jim256:
man and i still cant even play with this cuz of my stupid Sandisk Micro SDHC 6gb card!! UGH.

DZO

: are the supposed lack of drivers for the qualcomm chipset still affecting android then? or since you had to port it to our device and tweak drivers for android is it different?
[Touch CDMA Android Development] dton13:
Im getting this too. It was working fine for the last version but now its messed up and can't boot
[Touch CDMA Android Development] dally28:
I too am getting the same problem on my Vogue. I am running the latest official wm6.1 for my Vogue. :(
[Touch CDMA Android Development] unsungboxer:
I can confirm this, I have tried the latest version many times. Each time it will boot up from the gz files. After they are extracted to system.img and data.img it will fail to boot.

I have narrowed it down to the system.img by using my old system.img. It will now boot. I think something is wrong w/ the new system.img causing the boot to fail.

It pauses on '"job control turned off"

-Jake
[Touch CDMA Android Development] moe2021:
i was having the same problem getting it to boot on my touch but i got it to work after i put the all the files except for the data and system files into a folder on my sd card
[Touch CDMA Android Development] unsungboxer:
tried moving those files to a sub folder with mixed results. seems very unstable.... boots maybe 1/4 attempts.
[Touch CDMA Android Development] uiucryan:
phone loads fine for me right now, using the zip archive on the main site (New SDK Version (0.9)).

I updated a couple of page on androidgeeks.net wiki....

-updated info on handling CPIOBalls - now accounts for gzipped and ungzipped archives

-updated info for HTCVogue port for new release - 'New SDK Version (0.9)'

-updated HTCTitan page, removing all info and pointed to HTCVogue until someone would be willing to maintain the page.

Please let me know if you see any wrong or out-of-date information or feel free to fix / add yourself - it is a wiki after all.

I am willing to write-up some FAQ's and some tutorials if you have a topic in mind and the information is available. Please let me know what you would like to see - private message or email is best as I don't wade through this thread as much as I used to (its too long).
[Touch CDMA Android Development] etiger13:
i havent been able to run the new builds since Martin put in SD card support.
[Touch CDMA Android Development] ngavarta:
Hi c4software,

I saw your post in YouTube, I can see you managed to load in Android with you Wizard so long ago.

I follow the thread "Android/Vogue" in this forum, I'm able to proceed until I see the "red cyclon eye" ... and that was like forever.

I'm using a HTC Touch Elfin (P3452) to do this.

using following conf:

- haret = "_haret-0.5.1.exe" (from zip file found in the above thread)

- kernel = "Image" (extract from MMC-android.gz found in linwizard project site)

- initrd = "intrd-android"

- startup.txt

===============

#set MTYPE 6666

set MTYPE 1229

#--- standard LinWizard Kernel ---

#set KERNEL "Image"

#--- modified LinWizard Kernel for Android ---

set KERNEL "zImage"

#set INITRD "initrd-debugfs"

set initrd "initrd-android"

set CMDLINE "root=/dev/ram0 ramdisk_size=20504 init=/linuxrc"

#set CMDLINE "root=/dev/nfs nfsroot=10.100.0.2:/nfsroot,nolock ip=10.100.0.1:10.100.0.2:10.100.0.2:255.255.255.0: 10.100.0.1:usb0"

bootlinux

===============//

Would you mind to share your configuration that at least get you in android home screen.

following was my post in YouTube:

http://www.youtube.com/watch?v=3AWoxgzK3a8

Thanks & Regards,

Avatar Ng

Forward Message
[Touch CDMA Android Development] wojteko:
I'm having some problems as well.

I've extracted the .gz files to /storage card/ and the rest to /storage card/android/

Upon running the first time I'm getting a bunch of errors in between the two extractions:

mmc0: Data Timeout

DMA channel flushed

short transfer

error -110 sending read/write command

[some random number] end_request: I/O error dev mmcblk0

then it stops doing anything, the gui does not load and I have to reboot.

Upon rebooting the 2 .gz files are changed to 64mb .img files and when trying to run again it loads up fine with no errors, detects the local loopack interface and then gives a untracked pid 415 exited error

And nothing.

ls confirms filesystem was loaded and top shows a bunch or running processed but the gui never shows up.

What can I try to manually make the interface load up? Where's the executable?

The above was on a 4Gb SDHC card.

Tried on my old 512 SD card and got an error right at the start that it failed to mount the sd card.