This post has been thanked 2 times. |
|
||||
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
For anyone who is interested in setting up their own dev environment follow my guide below. (I will add this to post #2)
Even if you don't have any programming experience 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 has been posted to both this post and post #2. 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 Update: 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.
__________________
Android on HTC TP2: http://forum.ppcgeeks.com/showthread.php?p=1611812
Donation are always accepted: https://www.paypal.com/cgi-bin/websc...on_id=11084522 Last edited by 95-civic; 02-09-2010 at 02:04 AM. |
This post has been thanked 18 times. |
|
||||
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
just set up a dev-environment. Does anyone know of any CDMA android phones where their stock roms have been dumped and I could take a look at how they handle their CDMA data and try to get a feel or handle of how they operate normally. (preferably ones that use same or similar (same manufacturer) chipset as the TP2.
any other HTC cdma phones I should look at for ideas to approaching the data stuff. also looking into the senseUI thing. /disclaimer more of a integrator guy who looks to tweak things already written from different places to somehow work together. Most of my coding from scratch experience was developing for MUDs a lifetime ago. |
|
||||
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
Quote:
|
This post has been thanked 1 times. |
|
||||
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
I have a working sence ui system.sqsh but the dimensions are all wrong. The keys and the widgets appear all squished together.
My next step is to take a clean eclair system image and try to add the htc libs and packages manually. Unfortunately right away i can see that Rosie will not install easily. Does anyone have a eris system.sqsh that i can look at? ALso i wanna thank civic for posting that cdma compile config. ive been beating my head for a while to get cdma working from source. |
This post has been thanked 1 times. |
|
||||
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
double thanks on the defconfig.
does the arm toolchain version matter? civic dont forget about us on xda! |
This post has been thanked 1 times. |
|
||||
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
After doing some searching, I found this:
Kernel Source Code and Binaries for HTC Android Phones http://developer.htc.com/ This also has the Eris source code as well as the Hero (sprint) version and others. It should help with figuring out how to make it work. Well, one would assume. |
This post has been thanked 1 times. |
|
||||
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
I think I will join on this dev project. I had some success with using the GSM build, and editing the boot file with the cdma. I could place calls, buy did not have voice or sound. I was suprised because it registered the time with sprint. I will setup a box tonight, but civic you might see what you can salvage from the GSM cab @ xdm. It should save you a ton of time as the drivers are the same for most of the things.
|
This post has been thanked 1 times. |
|
Tags |
android, cdma, sprint, touch pro 2, tp2 |
|
|