PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2
Register Community Search

Notices


Closed Thread
 
LinkBack Thread Tools Display Modes
  #481 (permalink)  
Old 02-26-2010, 03:48 AM
makkonen's Avatar
TouchPro Android Guy
Offline
Pocket PC: Vogu100, Raph500, Diam500, Raph800, Evo
Carrier: Sprint
 
Join Date: May 2007
Posts: 585
Reputation: 3280
makkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIPmakkonen is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]

Quote:
Originally Posted by acbyrd View Post
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>
This post has been thanked 6 times.
  #482 (permalink)  
Old 02-26-2010, 12:17 PM
jeneric's Avatar
Lurker
Offline
Pocket PC: EVO 3D
Carrier: Sprint
 
Join Date: Oct 2008
Posts: 10
Reputation: 5
jeneric is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]

Quote:
Originally Posted by acbyrd View Post
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.
  #483 (permalink)  
Old 02-26-2010, 12:58 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
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.

Last edited by [ACL]; 02-26-2010 at 01:33 PM. Reason: more info
  #484 (permalink)  
Old 02-26-2010, 02:25 PM
LiquidX's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Mightyfied Touch Pro 2 w/Android
Carrier: Sprint
 
Join Date: Oct 2007
Posts: 128
Reputation: 145
LiquidX is keeping up the good workLiquidX is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to LiquidX Send a message via Yahoo to LiquidX Send a message via Skype™ to LiquidX
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]

Quote:
Originally Posted by mikezpc View Post
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.
__________________
"This is gonna be tough, real tough, like tough plus more tough, times tough, to the power of tough" Chowder
This post has been thanked 1 times.
  #485 (permalink)  
Old 02-26-2010, 03:43 PM
mikezpc's Avatar
Regular 'Geeker
Offline
Pocket PC: Sprint Touch Pro2
Carrier: MetroPCS
Location: Miami, FL
 
Join Date: Jul 2009
Posts: 300
Reputation: 160
mikezpc is keeping up the good workmikezpc is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]

Quote:
Originally Posted by LiquidX View Post
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
__________________
T-Mobile MDA\HTC Wizard--> At&t Tilt--> Sprint Touch Pro (MetroPCS)--> Sprint Touch Pro 2 (Sold) --> Moto DROID (MetroPCS) --> T-Mobile HD2 --> EVO 4G (MetroPCS) --> Thunderbolt
“Scientists dream about doing great things. Engineers do them.” James A. Michener
You can find me on XDA under Lebmb, everywhere else under Mikezpc
  #486 (permalink)  
Old 02-26-2010, 07:33 PM
LiquidX's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Mightyfied Touch Pro 2 w/Android
Carrier: Sprint
 
Join Date: Oct 2007
Posts: 128
Reputation: 145
LiquidX is keeping up the good workLiquidX is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to LiquidX Send a message via Yahoo to LiquidX Send a message via Skype™ to LiquidX
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]

Quote:
Originally Posted by mikezpc View Post
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
This post has been thanked 1 times.
  #487 (permalink)  
Old 02-26-2010, 08:12 PM
matthewb57's Avatar
Lurker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Telus
 
Join Date: Aug 2009
Posts: 12
Reputation: 75
matthewb57 is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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...
This post has been thanked 2 times.
  #488 (permalink)  
Old 02-26-2010, 09:44 PM
nasa1303's Avatar
Regular 'Geeker
Offline
Pocket PC: Evo3D
Carrier: Sprint
 
Join Date: Jan 2008
Posts: 330
Reputation: 70
nasa1303 is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
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.
  #489 (permalink)  
Old 02-26-2010, 10:53 PM
LiquidX's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Mightyfied Touch Pro 2 w/Android
Carrier: Sprint
 
Join Date: Oct 2007
Posts: 128
Reputation: 145
LiquidX is keeping up the good workLiquidX is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to LiquidX Send a message via Yahoo to LiquidX Send a message via Skype™ to LiquidX
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]

Quote:
Originally Posted by nasa1303 View Post
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.
  #490 (permalink)  
Old 02-26-2010, 11:22 PM
nasa1303's Avatar
Regular 'Geeker
Offline
Pocket PC: Evo3D
Carrier: Sprint
 
Join Date: Jan 2008
Posts: 330
Reputation: 70
nasa1303 is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [1/25/2010] Google Android for TP2 CDMA [In Dev]

oh, ok gotcha
Closed Thread

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2

Tags
android, cdma, sprint, touch pro 2, tp2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 11:29 AM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com