[2/27/2010] Google Android for TP2 CDMA [In Dev]

32 posts
Thanks Meter: 0
By 95-civic, Member on 12th January 2010, 01:08 AM
Post Reply Email Thread
This thread is for development related to the Google Android OS running on the CDMA version of the Touch Pro 2.

Special Thanks to all of the GSM developers for taking care of the hard stuff :P

Last Update Date: 2/27/2010 11:45 PM EST
Current Download Link:

For those who still can't get wifi to load with the most recent upload please try the 2 suggestions below:
-Ensure wifi is started in WM prior to initiating haret
-Turn off security on your wireless connection

1) Delete existing android files (ensure data.img is deleted)
2) Extract files from zip onto root of SD card

Use this at your own risk. I doubt any harm will come to you or your phone, but if you get hit by a bus while loading android don't blame me.

Please see post #2 for zImage Downloads, FAQ, Detailed Status and Change Log
12th January 2010, 01:09 AM |#2  
OP Member
Thanks Meter: 0
Detailed Status and Change Log
Upcoming Changes:
-CDMA Data
-Speaker w/o calling prior to loading Haret

Change Log:
2/27/2010 11:45 PM EST
Issues with previous upload. Please try new link.

2/27/2010 10:00 PM EST
-autobuild zImage and my modified rootfs to use CDMA radio
-WIFI thanks to MrPippy
2/27/2010 2:22 PM EST
-Many many new enhancements from the current repository. Still no wifi, data or BT, but some great UI and other hardware updates. Special thanks to phhusson, mrpippy and the rest of the GSM guys for their constant changes!
1/25/2010 1:10 AM EST
-Mic is now functional in calls w/o having to initiate a call in WM
-Power management is now active, screen will turn black
-Keypad response on dial pad has been greatly improved
-Phone can now be fully powered off by holding end key and selecting "Power off"
Please use full download link in post #1

1/12/2010 11:24 PM EST - Updated Keymapping

CDMA Radio - Ability to make and receive calls
Key Mapping
Power Management
Screen Rotation

Not working:
Much Much more...

-In order to fully utilize mic / speaker you must place a call in WM prior to loading haret. Easiest method is to call your VM then while connected load haret. If you do not place a call prior to loading haret only your mic will function.

-If you have trouble registering onto your network follow the instructions below:
Go to Settings
Select "Wireless & networks"
Select "Mobile Networks"
Select "Network operators"
(Let the phone search)
Select "Select automatically"
You should now receive a message stating that you have been "Registered on Network"
If this does not work the first time, try it again.

For anyone who is interested in setting up their own dev environment follow my guide below.

Even if you don't have any programming expeierce you may have fun exploring the inner workings of Android.

Quick and Dirty Install Guide to setting up local dev environment by 95-Civic:
1) If you don't already have a linux box setup I would suggest downloading VM ware and finding a free image of Ubuntu.
2) From there head over to which should walk you through the installation of all packages required to retrieve and compile the source code.
3) It will take several hours to pull in the entire repository. Once download you do not need to compile the android code in order in order to build the kernel, we will use the prebuilt directory
4) Once you have copied the repository you will want to get a copy of linux-on-qualcomm. cd into the android source directory
5) type:
git clone git://
this process may take several hours depending on your internet connection speed
6) Copy the prebuilt directory from the android source over into the new directory created by the command above (linux-msm)
cp -r prebuilt ./linux-msm
7) CD into the linux-msm directory
8 ) Run the following command
make ARCH=arm CROSS_COMPILE=prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi- htc_msm_android_defconfig
9) If no errors are listed you will receive the following message: "configuration written to .config". Continue to step 10
10) Run
make ARCH=arm CROSS_COMPILE=prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/bin/arm-eabi- zImage
11) When complete (if compiled successfully) you will now brand new zImage located in ./arch/arm/boot/zImage

As long as you use the rootfs.img and system.sqsh that I provided in the zip file you should have access to the CDMA radio to make and receive calls. In some cases you will not have access to the radio depending on the default configurations in the htc_msm_android_defconfig file.

Custom config is attached. You will need to unzip and copy the attached file into the linux-msm/arch/arm/configs directory. When running step 8 replace htc_msm_android_defconfig with htc_tp2_cdma_defconfig

This will not have any of the changes, additions, and tweaks I've made to the linux-msm source. However it should give you a fresh bootable image and a great place to start. I would like to create a gitorious clone in the near future but right now any free time is better spent on data.

Happy coding and please feel free to PM with any questions.
12th January 2010, 02:13 AM |#3  
Senior Member
Flag Henderson, NV
Thanks Meter: 8
Just wanted to thank you for your effort, this is very exciting! Are you planning on following this all the way through until everything is functional and it can flashed on to the phone?
12th January 2010, 02:22 AM |#4  
Thanks Meter: 0
Originally Posted by 95-civic

CDMA Radio - Ability to make and receive calls
Key Mapping

Not working
Just about everything else :P
Mapping of the End key (I'll post an updated image tomorrow with the correct mapping. Easy fix)
Speaker and Mic (unless you make a call from WM prior to loading Haret)
Many more...

I have a GSM phone I see your working on the end key mapping for cdma.
I did ask in the bounty thread about learning how to map and fix end key for tilt 2 gsm your compiled zimage wont work for my gsm phone with the fix will it?
12th January 2010, 03:54 AM |#5  
Junior Member
Thanks Meter: 0
Looking forward to testing your work Civic, great job so far and looking forward to future updates.

12th January 2010, 05:11 AM |#6  
madocs's Avatar
Senior Member
Thanks Meter: 36
Way to go Civic, this is extremely exciting. I have been quite envious of the RAPH800 Android functionality (turned my RAPH800 into insurance for the RHOD400).

I have you bookmarked, will continue to test updated builds and report back.

On this one, nothing new to report on errors - no data, but I did connect to sprint network. I had called my VM before booting, but I had no mic or speaker, will try again.

Thanks and great job!
12th January 2010, 05:33 AM |#7  
proxhack's Avatar
Senior Member
Flag Silicon Valley
Thanks Meter: 56
Thumbs up Great Job
Hi Civic,

I just wanted to thank you for your work, flashed the rom last night, this is the best build thus far.
12th January 2010, 06:41 AM |#8  
Senior Member
Flag MN
Thanks Meter: 24
I did try out your version of XDAndroid and it seems a bit more sluggish/buggy than ones I have used out of the Topaz/TD2 thread.

CDMA radio works for me in both versions.
Obviously No Data or SMS.

One good way to speed up the install on the slower SD cards is to put the card in a memory card reader on a PC and run windows defragmenter on the card.
This is after you have booted into android the first time so you have the 256MB data.img already generated. I personally noticed a speed/fluidity improvement on my 8gb Class 2 SD card (came with BB Storm), however your mileage may vary.
12th January 2010, 07:23 AM |#9  
mxxcon's Avatar
Senior Member
Flag Brooklyn, NY
Thanks Meter: 7
defragmenting works on regular HDD because if a file is spread across different sections of the disk, it takes time to move the head and read those parts of the disk.
defragmenting won't make any difference with solid state media because there are no moving parts and its access time is virtually 0. it doesn't matter if a block of a file is on sector 0 or on sector 308563434, solid state drives access them all with exactly the same speed.
defragmenting on solid state media is a snake oil recipe.
12th January 2010, 11:33 AM |#10  
Junior Member
Thanks Meter: 4
Originally Posted by torn8o

I have a GSM phone I see your working on the end key mapping for cdma.
I did ask in the bounty thread about learning how to map and fix end key for tilt 2 gsm your compiled zimage wont work for my gsm phone with the fix will it?

Shakes head, you do realize why this thread was started. Not to work on GSM, but for CDMA version. There are a TON of GSM android threads right now, but no real CDMA thread.

And 95-civic... THANK YOU!!!
12th January 2010, 02:38 PM |#11  
Senior Member
Thanks Meter: 4
Thanks been waiting for this kind of thread.

I loved using Android on my XV6800 but once I switch to TP2 I lost access to the marketplace (still waiting to see if someone can get wifi working). So I cannot wait to try this for TP2!
Post Reply Subscribe to Thread

android, cdma, port, rhodium, sprint, touch pro 2, tp 2, tp2, verizon

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes