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)

makkonen 02-26-2010 03:48 AM

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

Originally Posted by acbyrd (Post 1592198)
I was curious to see if anyone else was able to set up a dev environment using Ubuntu in VMware. I tried just now for about the last 2 hours and, after getting Ubuntu running, I was trying to download and install alot of the packagesm but it was telling me that many of them could not be found. For Ex. git-core and sun-java5-sdk. Any help would be greatly appreciated as there is nothing on the website that says anything about this.

the required version of the java sdk is no longer available via apt for Ubuntu Jaunty, I think. You have to manually get it, install it, and then make sure your Android build tools point to it. but...

Unless you're building an entire Android system package, and I can't see why you would, you don't need... really any of those things. You need git, and you need an arm toolchain, but downloading the whole android source package to get that is a bit excessive.

I'm going to try to copy and paste my instructions from the wave here. The formatting will probably be off, but it might get you closer to up-and-running. (on preview: Yeah, the formatting's pretty bad -- the bits that are for the command line aren't distinguished from the bits that are explaining what else you need to do.)

Preliminaries

Install a linux build environment. Ubuntu is recommended. Installing in a virtual machine (Virtualbox is free and easy to install) is a good way to do so without disturbing your existing system.
Make sure git (distributed version control tool) is installed

Obtain Kernel Source

git clone git://gitorious.org/linux-on-qualcomm-s-msm/linux-msm.git
(or one of the clones of the repository, listed on the side of the page at http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm)

git checkout -b htc-msm-2.6.27 origin/htc-msm-2.6.27
(if you get an error that says fatal: git checkout: branch htc-msm-2.6.27 already exists, just ignore -- it means you've already got the correct branch)

git checkout htc-msm-2.6.27
(if you get an error that says Already on "htc-msm-2.6.27", just ignore -- you're already on the correct branch)

Obtain the ARM toolchain

wget http://www.codesourcery.com/sgpp/lite/arm/portal/package3696/public/arm-none-linux-gnueabi/arm-2008q3-72-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 -O - | tar xj
add arm-2008q3/bin to your path (export PATH=$PATH:/path/to/arm-2008q3/bin)

Obtain the Module Sources

git clone git://android.git.kernel.org/platform/system/wlan/ti.git
wget http://compcache.googlecode.com/files/compcache-0.5.4.tar.gz -O - | tar xzvf
Edit compcache-0.5.4/Makefile:
Modify KERNEL_BUILD_PATH to point to your kernel source

To Compile the Kernel

make ARCH=arm htc_msm_android_defconfig
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- zImage
cp arch/arm/boot/zImage <your device's sd card>

jeneric 02-26-2010 12:17 PM

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

Originally Posted by acbyrd (Post 1592198)
I was curious to see if anyone else was able to set up a dev environment using Ubuntu in VMware. I tried just now for about the last 2 hours and, after getting Ubuntu running, I was trying to download and install alot of the packagesm but it was telling me that many of them could not be found. For Ex. git-core and sun-java5-sdk. Any help would be greatly appreciated as there is nothing on the website that says anything about this.

I set mine up a few days ago and ran into this. You can install it manually but installing it from another repo was much easier. Check this post out, I was able to install it from the repo he lists.

[ACL] 02-26-2010 12:58 PM

Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
 
Has anyone been able to replicate MrPippy's wifi success?

insmod returns an error when i try to load bmc4329.ko "invalid parameters"

Anyone know how i should insmod the driver?

I don't know if the 4329 even takes any parameters. This is what i used as an example

module_loaded("bcm4329") || log(insmod("/system/lib/modules/bcm4329.ko", ""), "Loading bcm4329.ko module");
This is from the wifi tether google code.

LiquidX 02-26-2010 02:25 PM

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

Originally Posted by mikezpc (Post 1591923)
umm hate to be a pain, but i've tried all option and i could not get it to connect to metro or even see any cdma networks. any suggestions other then whats on the first page of having to set it to automatic ? tried different roms, all the available radios, with, and without simcards, working and non working simcards. i was able to get an att card to work, no problem, even txt worked. if u know something i dont or if i missed something plz let me know and thank you in advance

In the post I was responding to you had not mentioned Metro, unless it was someone elses post I was responding too... As far as I know I have seen a few people try it on Metro, and it's just not working at this point. We are still in infant to toddler stages of this development and until we get to the point where they have sms, and data working on what I am guessing their primary phones are sprint I doubt they are going to be working on network interoperability at this point, but I could be wrong. Even in flashing roms, you have to provision differently so each network will probably have to be adjusted separately.

mikezpc 02-26-2010 03:43 PM

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

Originally Posted by LiquidX (Post 1593116)
In the post I was responding to you had not mentioned Metro, unless it was someone elses post I was responding too... As far as I know I have seen a few people try it on Metro, and it's just not working at this point. We are still in infant to toddler stages of this development and until we get to the point where they have sms, and data working on what I am guessing their primary phones are sprint I doubt they are going to be working on network interoperability at this point, but I could be wrong. Even in flashing roms, you have to provision differently so each network will probably have to be adjusted separately.


yeah u did reply to someone else, i posted a few times, but no one (untill you) said anything about metro so i thought i was the only one lol
i guess i'll just have to wait :)

LiquidX 02-26-2010 07:33 PM

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

Originally Posted by mikezpc (Post 1593316)
yeah u did reply to someone else, i posted a few times, but no one (untill you) said anything about metro so i thought i was the only one lol
i guess i'll just have to wait :)

Yeah, i've seen your various posts, sorry wasn't directing it at you. I hope that eventually you'll be able to use it with metro, but to be honest unless there is some generic setup that works i have my doubts as to the devs working towards such a small user base. So here's to hoping for a generic working setup :occasion5:

matthewb57 02-26-2010 08:12 PM

Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
 
For those that want to continue to try out the progress being made on Android for Rhodium, check out the GSM version of the package. No you can't get the phone part to work, but there are other things getting fixed such as the screen rotation, etc.

Had my RHOD500 CDMA phone booting with the latest kernel image, and the GSM package found at:
http://forum.xda-developers.com/showthread.php?t=627997

Just download the XDAndroid Rebuild Package .rar(02/24) from the first post

Extract the package, then:
1) Copy the "Android" folder to your SD card

2) Copy startup.txt out of "STARTUP CONFIG > Tilt2" folder to the "Android" folder on your phone (or one of the other TP2 related startup.txt's- I'm not sure which keyboard best matches the RHOD400 or RHOD500 and that's the difference between the files it seems)

3) Adding "htc_hw.force_cdma=1" to the startup.txt "cmdline" seems to allow it to search networks (from network settings) and actually finish much like was seen in 95-civic's build. Only issue is that when you select "Select automatically" it does say "Registered on network" but then when you go to make it call it says "Not registered on network"

4) Get the latest kernel build from glensom's autobuild:
http://glemsom.anapnea.net/android/htc-msm-android/ - Just download, extract, and then copy the 2 files onto your "Android" folder where the other kernel is (zImage & the modules.tar.gz)

5) Update startup.txt and change the "set KERNEL" line to the new kernel filename.

Should boot, have you calibrate the screen the first time (new way to detect screen I guess), and then all is done. If you mess the screen calibration up, just delete the ts-calibration file that is created in the "Android" directory and start HaRET again. It will ask you to repeat the calibration.

Hopefully the developers currently working on the multidevice kernel will get CDMA support working for the Rhodium 400/500 or that 95-civic will enlighten them on what he did to get the phone working.

Excited to see more progress on this.

*NOTE: Anyone working on the kernel and wants testing done on a RHOD500 for CDMA use, let me know...

nasa1303 02-26-2010 09:44 PM

Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
 
doesn't the current cdma build for tp2 allow phone calls? why would we want the gsm version without being able to make calls? if i am wrong about the phone calls on cdma let me know i haven't really used it much on my tp2 because i just got it. i did use the tp1 build and liked it because i could actually use data and market, make calls and text.

LiquidX 02-26-2010 10:53 PM

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

Originally Posted by nasa1303 (Post 1594207)
doesn't the current cdma build for tp2 allow phone calls? why would we want the gsm version without being able to make calls? if i am wrong about the phone calls on cdma let me know i haven't really used it much on my tp2 because i just got it. i did use the tp1 build and liked it because i could actually use data and market, make calls and text.

Yes you can make phone calls, he was just saying that if you wanted to see what kind of progress the gsm community is making, which can also lead to progress on our end that you can check out what they got working. The features that they are fixing such as screen calibration, hardware integration that is non radio related, things such as that.

nasa1303 02-26-2010 11:22 PM

Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]
 
oh, ok gotcha


All times are GMT -4. The time now is 03:51 AM.

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


Content Relevant URLs by vBSEO 3.6.0