PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 (http://forum.ppcgeeks.com/forumdisplay.php?f=179)
-   -   [3/6/2010] Google Android for TP2 CDMA [In Dev] (http://forum.ppcgeeks.com/showthread.php?t=109147)

LiquidX 02-09-2010 12:31 AM

Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
 
Quote:

Originally Posted by dadda (Post 1551724)
thats cool civic but if u need some help, I know alot of people here and myself would be happy to help you.

If you know how to code, you should work on something like getting the sound working, or figuring out sms. He is obviously focusing on data right now, and I am sure he would be happy if someone gave him a fix for something else. I wish I knew how to help, I would if I could.

95-civic 02-09-2010 01:41 AM

Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
 
1 Attachment(s)
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.

variance 02-09-2010 03:28 AM

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.

ecatapano 02-09-2010 06:28 AM

Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
 
Quote:

Originally Posted by variance (Post 1552253)
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.

Verizon has the HTC Eris with the Andriod OS on it. Doesn't have a pull out keyboard fully touch screen only. Not sure if that helps at all.

[ACL] 02-09-2010 07:08 AM

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.

ghost_deini 02-09-2010 10:05 AM

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!

LiquidX 02-09-2010 10:49 AM

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.

bobafatt 02-09-2010 04:48 PM

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.

LiquidX 02-09-2010 07:19 PM

Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
 
very excited finally seeing other devs getting in on this.

stephenj37826 02-09-2010 08:34 PM

Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
 
thanks civic and anyone else whos contributed so far cant wait for data and sound. thanks again


All times are GMT -4. The time now is 02:56 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0