5,595,570 Members 46,487 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
95-civic
Old
(Last edited by 95-civic; 28th February 2010 at 12:53 PM.)
#1  
Member - OP
Thanks Meter 0
Posts: 30
Join Date: Aug 2008
Default [2/27/2010] Google Android for TP2 CDMA [In Dev]

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: http://www.megaupload.com/?d=T0RSJ0AW


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

Instructions:
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
Sprint TP2
Please help development by donating!
https://www.paypal.com/cgi-bin/websc...on_id=11084522
 
95-civic
Old
(Last edited by 95-civic; 28th February 2010 at 12:54 PM.)
#2  
Member - OP
Thanks Meter 0
Posts: 30
Join Date: Aug 2008
Default Detailed Status and Change Log

Upcoming Changes:
-CDMA Data
-SMS
-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

Working
CDMA Radio - Ability to make and receive calls
Mic
Keyboard
Key Mapping
Power Management
Screen Rotation
WIFI

Not working:
CDMA Data
Speaker
GPS
Camera
Bluetooth
Much Much more...



Notes:
-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
http://source.android.com/download 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://gitorious.org/linux-on-qualcomm-s-msm/linux-msm.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.
Sprint TP2
Please help development by donating!
https://www.paypal.com/cgi-bin/websc...on_id=11084522
 
docprego
Old
#3  
Senior Member
Thanks Meter 8
Posts: 117
Join Date: Oct 2008
Location: Henderson, NV
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?
 
torn8o
Old
#4  
Junior Member
Thanks Meter 0
Posts: 19
Join Date: Nov 2006
Quote:
Originally Posted by 95-civic View Post
Working
CDMA Radio - Ability to make and receive calls
Keyboard
Key Mapping

Not working
Just about everything else :P
Wifi
CDMA Data
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)
GPS
Camera
Bluetooth
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?
ATT Tilt 2
Energy Rom
 
craiggiarc
Old
#5  
Junior Member
Thanks Meter 0
Posts: 9
Join Date: Dec 2008
Looking forward to testing your work Civic, great job so far and looking forward to future updates.

Craig
 
madocs
Old
#6  
madocs's Avatar
Senior Member
Thanks Meter 36
Posts: 149
Join Date: Feb 2009
Location: TEXAS
Default Greatness

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!
 
proxhack
Old
#7  
proxhack's Avatar
Senior Member
Thanks Meter 55
Posts: 316
Join Date: Jun 2007
Location: Silicon Valley
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.
 
Ludacrisvp
Old
(Last edited by Ludacrisvp; 12th January 2010 at 06:45 AM.)
#8  
Member
Thanks Meter 5
Posts: 58
Join Date: Dec 2008
Location: MN
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.
---Current Device---
HTC One AT&T 32Gb Black GSM
---Retired Devices---
Apple iPhone 4 32Gb Black GSM AT&T
Verizon HTC Touch Pro2 RHOD500 SIM/CID/Sec Unlocked EnergyROM Phoenix 2 6.5.3 and Android 1.6 / 2.0.1
Verizon BlackBerry Storm 9530 SIM Unlocked 5.0.0.323
Verizon Samsung SCH-i730 WM5
 
mxxcon
Old
#9  
mxxcon's Avatar
Senior Member
Thanks Meter 0
Posts: 170
Join Date: Sep 2009
Location: Brooklyn, NY
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.
 
klynch_gdd
Old
#10  
Junior Member
Thanks Meter 4
Posts: 21
Join Date: Jul 2007
Quote:
Originally Posted by torn8o View Post
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!!!

Tags
android, cdma, port, rhodium, sprint, touch pro 2, tp 2, tp2, verizon
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Add Swipe Utilities to Your App with SimpleFingerGestures Library

Gestures have become an increasingly important element in smartphone UI … more

Android App Review: Lock it Down with Lockdown Pro – XDA Developer TV

Our smartphones are our lives. They store our contacts, emails, … more

Get the AOSP Lock Screen on Your ICS-Powered Samsung Device

Android is the only popular mobile operating system that allows users, … more