View Single Post
  #2 (permalink)  
Old 02-02-2010, 08:39 PM
95-civic's Avatar
95-civic
Android VIP
Offline
Threadstarter
 
Join Date: Jul 2008
Posts: 55
Reputation: 3800
95-civic is still contributing even after becoming a VIP95-civic is still contributing even after becoming a VIP95-civic is still contributing even after becoming a VIP95-civic is still contributing even after becoming a VIP95-civic is still contributing even after becoming a VIP95-civic is still contributing even after becoming a VIP95-civic is still contributing even after becoming a VIP95-civic is still contributing even after becoming a VIP95-civic is still contributing even after becoming a VIP95-civic is still contributing even after becoming a VIP95-civic 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]

Current Progress:
-2/2/2010 7:44 PM Updating RIL to support CDMA Data

Upcoming Changes:
-Speaker w/o calling prior to loading Haret

Change Log:
3/6/2010 11:00 AM
-Call no longer need to be made in WM prior to loading android
-SMS and 3G Data (MrPippy)
-Keypad now works in calls (you can now delete your voicemail by pressing 7 )


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.
Attached Files
File Type: zip htc_tp2_cdma_defconfig.zip (8.2 KB, 307 views) Click for barcode!
__________________

Last edited by 95-civic; 03-06-2010 at 12:16 PM. Reason: Added Dev Instructions
This post has been thanked 126 times.