[2/27/2010] Google Android for TP2 CDMA [In Dev] - Touch Pro2, Tilt 2 Android Development

This thread is for development related to the Google Android OS running on the CDMA version of the Touch Pro 2.
Special Thanks to all of the GSM developers for taking care of the hard stuff
Last Update Date: 2/27/2010 11:45 PM EST
Current Download Link: http://www.megaupload.com/?d=T0RSJ0AW
For those who still can't get wifi to load with the most recent upload please try the 2 suggestions below:
-Ensure wifi is started in WM prior to initiating haret
-Turn off security on your wireless connection
Instructions:
1) Delete existing android files (ensure data.img is deleted)
2) Extract files from zip onto root of SD card
Use this at your own risk. I doubt any harm will come to you or your phone, but if you get hit by a bus while loading android don't blame me.
Please see post #2 for zImage Downloads, FAQ, Detailed Status and Change Log

Detailed Status and Change Log
Upcoming Changes:
-CDMA Data
-SMS
-Speaker w/o calling prior to loading Haret
Change Log:
2/27/2010 11:45 PM EST
Issues with previous upload. Please try new link.
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.

Just wanted to thank you for your effort, this is very exciting! Are you planning on following this all the way through until everything is functional and it can flashed on to the phone?

95-civic said:
Working
CDMA Radio - Ability to make and receive calls
Keyboard
Key Mapping
Not working
Just about everything else
Wifi
CDMA Data
Mapping of the End key (I'll post an updated image tomorrow with the correct mapping. Easy fix)
Speaker and Mic (unless you make a call from WM prior to loading Haret)
GPS
Camera
Bluetooth
Many more...
Click to expand...
Click to collapse
I have a GSM phone I see your working on the end key mapping for cdma.
I did ask in the bounty thread about learning how to map and fix end key for tilt 2 gsm your compiled zimage wont work for my gsm phone with the fix will it?

Looking forward to testing your work Civic, great job so far and looking forward to future updates.
Craig

Greatness
Way to go Civic, this is extremely exciting. I have been quite envious of the RAPH800 Android functionality (turned my RAPH800 into insurance for the RHOD400).
I have you bookmarked, will continue to test updated builds and report back.
On this one, nothing new to report on errors - no data, but I did connect to sprint network. I had called my VM before booting, but I had no mic or speaker, will try again.
Thanks and great job!

Great Job
Hi Civic,
I just wanted to thank you for your work, flashed the rom last night, this is the best build thus far.

I did try out your version of XDAndroid and it seems a bit more sluggish/buggy than ones I have used out of the Topaz/TD2 thread.
CDMA radio works for me in both versions.
Obviously No Data or SMS.
One good way to speed up the install on the slower SD cards is to put the card in a memory card reader on a PC and run windows defragmenter on the card.
This is after you have booted into android the first time so you have the 256MB data.img already generated. I personally noticed a speed/fluidity improvement on my 8gb Class 2 SD card (came with BB Storm), however your mileage may vary.

defragmenting works on regular HDD because if a file is spread across different sections of the disk, it takes time to move the head and read those parts of the disk.
defragmenting won't make any difference with solid state media because there are no moving parts and its access time is virtually 0. it doesn't matter if a block of a file is on sector 0 or on sector 308563434, solid state drives access them all with exactly the same speed.
defragmenting on solid state media is a snake oil recipe.

torn8o said:
I have a GSM phone I see your working on the end key mapping for cdma.
I did ask in the bounty thread about learning how to map and fix end key for tilt 2 gsm your compiled zimage wont work for my gsm phone with the fix will it?
Click to expand...
Click to collapse
Shakes head, you do realize why this thread was started. Not to work on GSM, but for CDMA version. There are a TON of GSM android threads right now, but no real CDMA thread.
And 95-civic... THANK YOU!!!

Thanks been waiting for this kind of thread.
I loved using Android on my XV6800 but once I switch to TP2 I lost access to the marketplace (still waiting to see if someone can get wifi working). So I cannot wait to try this for TP2!

Just out of curiosity, what is your end goal? A fully functional flushable android rom (which would be great) or a fully functional harret?
---and I am more that willing to donate some cash for the final result

klynch_gdd said:
Shakes head, you do realize why this thread was started. Not to work on GSM, but for CDMA version. There are a TON of GSM android threads right now, but no real CDMA thread.
And 95-civic... THANK YOU!!!
Click to expand...
Click to collapse
I do realize this is a cdma thread you must have missed this statement
I did ask in the bounty thread about learning how to map and fix end key for tilt 2 gsm your compiled zimage wont work for my gsm phone with the fix will it?
I asked here because an option to help was offered in the prior posts in another thread.

Also, is it possible to get the gsensor working. I find pulling out the stylus to activate landscape to be somewhat annoying. Is that just a temporary thing, will we eventually get to use of the gsensor and the keyboard slide activating the landscape?

It's amazing how such great progress can be made and yet someone has to ask about the gsensor working. Baby steps man. Speakers and Mic are very important. Then data and SMS. Once the basic phone functions are there, I'm sure Civic or someone else will start attacking things like Gsensor. Sorry, not trying to be rude but focus on what's more important and don't worry about the smaller stuff. Kudos Civic. Well done.
On a side note, I also would like to know if you plan to take this all the way to the finished product with a flashable ROM. Either way, you can expect a donation in the next few weeks from me. (Christmas wiped me out!)

Thank you so much!! I love this phone, and I think android on it will blow the nexus one away. I cant stand on screen keyboards!! Keep up the good work and you will be getting my donations and many many thanks!!

new zImage Available
The most recent zImage can be found in post #2. Unzip the zImage to your SD root and over write existing file. Don't forget to delete the data.img file as well.
Not a huge change but I've fixed the key mapping. I've had less than an combined hour over the past 48 hours to get in front of my home computer due to long days at the office this week, next step is to tackle the speaker / mic issue.
Enjoy!

torn8o said:
I have a GSM phone I see your working on the end key mapping for cdma.
I did ask in the bounty thread about learning how to map and fix end key for tilt 2 gsm your compiled zimage wont work for my gsm phone with the fix will it?
Click to expand...
Click to collapse
I don't own a GSM phone so I can't confirm. Try the most recent zImage in post #2, just remove the ".95-civic" from the end of the file and overwrite you existing zImage.
BTW the ".95-civic" will be removed in the next build. Obviously it's just a simple renaming of the file, but we'll call it .CDMATP2 or something along those lines.

drb115 said:
Just out of curiosity, what is your end goal? A fully functional flushable android rom (which would be great) or a fully functional harret?
---and I am more that willing to donate some cash for the final result
Click to expand...
Click to collapse
Would you like me to put a project charter together? lol... j/k
For now I will continue with Harret, but ultimately we all would love to have a flashable rom to utilize the phone's internal memory. Since just above every other htc phone is ahead of us with their android ports, I'm hoping someone figures this part out by the time we catch up!

drb115 said:
Also, is it possible to get the gsensor working. I find pulling out the stylus to activate landscape to be somewhat annoying. Is that just a temporary thing, will we eventually get to use of the gsensor and the keyboard slide activating the landscape?
Click to expand...
Click to collapse
As mentioned in another reply this is low priority on the list, however if you could get everyone else in the group to agree that this is more important that the speaker / mic I'll gladly do this for you.

Related

Working Android on BA! (tested myself)

Hi, yesterday i was trying to launch android on my BA and i DID IT!
It works like ****:
Touchscreen doesn't work (you can activate list scrolling by pushing it on the side)
Some buttons don't work
No sound
Navigation:
D-pad (left, right, up, down)
Enter (on the keyboard, since D-Pad center doesn't work)
!WARNING! there is no end call and back buttons, you can't exit applications
How to? Here is the tutorial:
Create a folder on your memory card
Get the latest HaRET from here http://handhelds.org/~koconnor/haret/
Get the latest zImage from here http://www.angstrom-distribution.org/unstable/autobuild/htcblueangel/
(i use zImage-2.6.21-hh20-r16-htcblueangel.bin)
Rename it to zImage
Put that default.txt
Code:
set kernel zImage
set initrd "initrd-android.gz"
set CMDLINE "rootdelay=3 root=/dev/ram0 ramdisk_size=23504 init=/linuxrc"
boot
Now you need the system - Android
Get that: http://it029000.massey.ac.nz/vogue/initrd-android
Don't forget to rename it to initrd-android.gz
I've got it from here http://it029000.massey.ac.nz/vogue/
it stays in jumping to kernel... i followd the steps above, did you copy pasted the command correctly??
rafyvitto said:
it stays in jumping to kernel... i followd the steps above, did you copy pasted the command correctly??
Click to expand...
Click to collapse
Try different kernel. It works for me
GVG said:
Try different kernel. It works for me
Click to expand...
Click to collapse
Could you please tell us how did you install android on Blue Angel? Procedures and everything else. And also your opinion about it's performance. thank you very much
blackout_pt said:
Could you please tell us how did you install android on Blue Angel? Procedures and everything else. And also your opinion about it's performance. thank you very much
Click to expand...
Click to collapse
Just launch Haret.exe
Speed... hm... Almost like WM6
a lot slower than wm6 the android image should be tweaked in order to have proper drivers for touchscreen keys and sound
wow...very cool, I'll be looking for updates (if there are any)
hi friends,
i tested android and seems a good toy
i did make a rar with all files needed, you need only to extract to SD and run haret
Code:
http://rapidshare.com/files/147524450/android.rar.html
i'm really interested to go further on android.
about my tests, i can conclude two things:
- D-pad works, but not very well
- Touch screen is not working, but i know it detect moves on it
(try to dpad a icon, then touch the touch-screen, you ll see)
I'm not a expert on pocket pc, but i have my skills.
I found an other thing, hardware specification.
Code:
http://www.handhelds.org/moin/moin.cgi/BlueAngelHardware
if the information is right, the touchscreen is from the same family that the vogue one.
To continue this adventure, i need some lights. I know we have a developer from the kernel/Opie/GPE in this forum. If you are him, i need some lights about your work.
The other thing, i'll try to do is asking help to vogue/kaiser android project, to give me some lights how they touchscreen work.
The last thing. All the help is appreciated, everybody is invited in this project and all the help is welcome. And i really need it lol
udapte (23/9/2008)
Well i talk do vogue android project man, and the answer from him is simple. His work was only to port kernel to vogue platform. I will have to find who made the one we are using.
The touchscreen is detected, but somehow it doesn't work.
i have failed .
my BA get a FlashDIsk and ramdisk in WM6 enrironment..
when i run haret ....
after jumping to kernal
an error occur
can't mount SDcard .it's halt..
why...
How about your work? I'm working on this task also. Need more information to make it working. Could you give me some patches for BA's kernel.
Also the SC Card Message, any adivice o workaround?
w0w...
it runs on my BA. Great!
However I cant do anything inside. But thanks to all of you that make this possible.
I'm waiting for the next release, hope it will run faster, and all get better.
Thanks.
Is anything happening with this?
Any news?
Is vogue version working? I have try to build a kernel for BA but false to boot
Will try and report later....
kernel
I have A LOT of, like everything I could find, files to load linux on the Blue Angel. Angstrom, Familiar, QT...somethingsomething... Anyway, it works well except the wireless which I think should work until the thing goes into standby. Would the zImage/initrid files or any of the others help? I'd like to help ya get this working, I think most of the works been done. I must say, however, I am just learning about how this stuff works. I can't code, but I have a BA, lots of experience repairing hardware like ppcs and I really would love the chance to finally give back to this wonderful community after they've given me so much.
It would be great to get this working. It would give my pda2k a whole new lease on life.
any updates on this?
Thanks
so, any news? android would be quite nice.
i concur. i'd liketo see a android on the blueangel, why isnt there one? linux runs fine on it, theres an older android that supposidly boots on it.
cmon somebody make the damn thing work.

[TESTING] Android Eclair 2.0.1 On Blackstone Jan 8, 2010

Over the Rafael Forums, babijoee is having a great testing process of Android 2.0.1 on Rafael which also works on Blackstone with some modifications, BIG THANKS to him.
So, here we will get Android 2.0.1 to work on our lovely Blackstone (HTC HD).
New Build by babijoee is released with COOL fixes. Jan 8, 2010
Note: There will be no nicknames for this project as it's a generic build.
Overall Status:
Working:
-Touchscreen:
-Vibration:
-Capacitive Buttons and Navigation wheel
-Keyboard
-Radio
-Brightness Control: Must turn off autolight in WinMo
-GPRS (thanks Phhusson )
-Microphone works: Reverted in-kernel htc_acoustic mic. Now using custom kernel without those commits. you can go thanks Battousai for this one !
-Charging (phhusson )
-Market
-Sound
-debugging breathing led for sleep mode: lets you know when your device is sleeping. This shouldnt affect your battery life at all.
-Wifi: was always on when enabled. Now it is used alot less often so the device will be warm at most.
-Task killer app.
-Android information program.
-Gsensor: fixed
-Power collapse
-Proximity sensor
-ramzswap
-idle sleep mode
-deep sleep: Remove pm.sleep_mode=X from startup.txt if you have it in your default.txt .. check this, http://forum.xda-developers.com/showpost.php?p=5304904&postcount=731 (IMPORTANT).
-Accelerometer fix: Now very accurate and shouldn't cause your device to randomly change view. Thanks to mmone3
-sms fix: yep the one you guys have all been waiting for ( thanks phhusson )
Not Working:
-Bluetooth
-GPS
-Camera
-------------------------------
Fresh Installation:
1-Download the build from any of the links below.
2-Extract the zip file to your computer.
3-REPLACE startup.txt with the attached one then open it and add you wifi.mac
4-Copy all the files to your SD Card. (I prefer a clean SD)
5-Run Haret.
6-Wait for a while.
7-Smile.
8-Play with it. ("it" refers to your "Androided-Device).
9--Post your feedback.
--------------------------------------------
Download:
babijoee said:
The current GIT
http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/commits/htc-msm-2.6.27
Downloads
BASE PACKAGE: http://htcandroid.xland.cz/XDANDROID.6.01.10.7z
THIS BUILD DOESN'T NOT FULLY INCORPORATE ALL LATEST COMMITS FROM GIT. I CAN'T STRESS THIS ENOUGH!!!!! THIS PACKAGE IS CUSTOM AND SHOULD NOT BE MODIFIED AT ALL IF YOU WANT IT TO WORK. DONT ADD ANYTHING BESIDES ANDROID APPS!!!! DO NOT UPDATE THE ZIMAGE OR MODULES OR YOU WILL FIND MIC DOES NOT WORK. ENJOY THE RELEASE
NEW*: System update: http://htcandroid.xland.cz/system-accelloremeter&smsfix.sqsh
SIMPLY RENAME TO system.sqsh AND OVERWRITE THE EXISTING system.sqsh AND THAT IS IT. THERE IS NO NEED TO DELETE DATA.IMG UNLESS YOU WANT TO.
zImage Autobuild (Glemsom) http://glemsom.anapnea.net/android/htc-msm-android/
Click to expand...
Click to collapse
-----------------------------------------
[COLO R="Red"]Use under your own responsibility, No Risk anyway.[/COLOR]
Donations:
Please donate to core developers of Android as they made it what it is today.
babijoee, dzo, zenulator, phhusson and any other that help you get Android working
Cheers.
Currently writing FAQ. Will include some very useful stuff for all.
My test:
Material - All from post 1 + old calibration file + zimage from 18th Dec 2009
Run haret with my wm6.5 with PHONE ON, BT OFF, Wireless OFF, Data OFF. So, gsm was actualy working when i run haret from my wm6.5
Boot was normal and android boot himself in OFFLINE mode. I didn't understand why because phone was on in wm6.5.
I tried to turn on Wlan and it tried to initialize but then it didnt.
When i tried to disable airplane mode, it crashed as expected.
BTW, why dont we try to add wifi.mac=xx:xx:xx:xx:xx to startup.txt?
Thanks!
herpez said:
My test:
Material - All from post 1 + old calibration file + zimage from 18th Dec 2009
Run haret with my wm6.5 with PHONE ON, BT OFF, Wireless OFF, Data OFF. So, gsm was actualy working when i run haret from my wm6.5
Boot was normal and android boot himself in OFFLINE mode. I didn't understand why because phone was on in wm6.5.
I tried to turn on Wlan and it tried to initialize but then it didnt.
When i tried to disable airplane mode, it crashed as expected.
BTW, why dont we try to add wifi.mac=xx:xx:xx:xx:xx to startup.txt?
Thanks!
Click to expand...
Click to collapse
Great to find someone to test.
I don't think adding wifi.mac will work, I will test it though.
Something with Radio itself is preventing Eclair from booting, thats why we need to run haret in airplane on mode.
Currently, testing n searching to have phone working on Eclair.
Any way to make android log/debug all the stuff so we can later see what made the crash?
Thanks
boot
I am boot haret with phone on (wifi,bt,data off) but not freez. Freez only after when iam try to disable airoplane mod. Iam cant wait for next release /SORRY FOR MY ENGLISH (CZ)/
herpez said:
Any way to make android log/debug all the stuff so we can later see what made the crash?
Thanks
Click to expand...
Click to collapse
Seems to be a software/hardware conflict or incompatibility issue.
I'm working to find a solution to fix "Radio" in the meantime.
Clues would help
I guess, since osamaa started the phone with (radio off) option, which is required by the android build. And it is stored as setting in data.img. so others, without rebuilding data.img will be able to boot without setting radio off in winmo.
do you need to laungh it trow sd cart?
isn't there a possible to laungh it form the memmory of the phone?
thx
mcdull said:
I guess, since osamaa started the phone with (radio off) option, which is required by the android build. And it is stored as setting in data.img. so others, without rebuilding data.img will be able to boot without setting radio off in winmo.
Click to expand...
Click to collapse
Yeah you're right.
The reason why the radio should remain off in the meantime is that the device freezes at startup, as mentioned earlier. You can't run haret with a blank data.img now. we should first find out what exactly causes the hang.
I'm looking into rootfs.img now. you guys can help by trying different ones and giving feedback.
reyber said:
do you need to laungh it trow sd cart?
isn't there a possible to laungh it form the memmory of the phone?
thx
Click to expand...
Click to collapse
No, you can only launch it from the SD card using Haret to boot Android over Winmo (Which is installed in the internal memory).
so ant updated zimage to test. good luck with the project. join us on #htc-linux channel on irc. together is power and sharing is caring.
mcdull said:
I guess, since osamaa started the phone with (radio off) option, which is required by the android build. And it is stored as setting in data.img. so others, without rebuilding data.img will be able to boot without setting radio off in winmo.
Click to expand...
Click to collapse
However, in my case, i started haret with phone ON and when it went to android, android himself turn to airplane mode.
tids2k said:
so ant updated zimage to test. good luck with the project. join us on #htc-linux channel on irc. together is power and sharing is caring.
Click to expand...
Click to collapse
which server ?
osamaa said:
which server ?
Click to expand...
Click to collapse
irc.freenode.net
i guess
chat.freenode.net
meet phh,cr2,Netripper, and many more. they will sure help u.
UPDATE:
babijoee made it up, RADIO IS WORKING NOW.
So the problem as he described is:
babijoee said:
The reason for freeze
Something in the Android build is telling it to use CDMA networks, so when it loads the radio and connects to the GSM network it freezes. I have used the latest diam500 zImage which is meant for CDMA and Android runs perfectly without even using my data.img. Although there is no CDMA networks where i live so i cannot connect to anything. Perhaps someone with a CDMA device can confirm this. I'm going to do some research on how to switch to GSM. If anyone already knows how to do this, be my guest and share your knowledge
nvm i fixed this and now its working
Click to expand...
Click to collapse
I will test it first on Blackstone then post a release for you guys to test (Or to call your friends telling them guess what I'm using Android 2.0.1 on my HD)
Keep Following.
osamaa said:
UPDATE:
babijoee made it up, RADIO IS WORKING NOW.
So the problem as he described is:
I will test it first on Blackstone then post a release for you guys to test (Or to call your friends telling them guess what I'm using Android 2.0.1 on my HD)
Keep Following.
Click to expand...
Click to collapse
I'm following. However, i think it's better to talk in the other topic, unless if it's a Blackstone specific problem.
Just my opinion.
Thanks for the update!!!
osamaa said:
UPDATE:
babijoee made it up, RADIO IS WORKING NOW.
So the problem as he described is:
I will test it first on Blackstone then post a release for you guys to test (Or to call your friends telling them guess what I'm using Android 2.0.1 on my HD)
Keep Following.
Click to expand...
Click to collapse
nice to hear
What is the problem to "flash" Android on the internal ROM ?
I mean, when i press the On Button on the phone, it starts a "Bootloader".. this starts windows mobile.
Why should it not possible to tell the bootloader to start direkt Android?
Great work guys!!! it seems to be working pretty well...not yet as good as 1.6 by phh but it's on the way...and it could be even better...really better...
Android 2.0.1 is great...
keep on this way!!!

[2010.2.4 New Testing Package] Online..

Time changes, and things go better and better.
This thread is dedicated to test the android and try to figure out where is the problem
[NEWS]
The NEW KERNEL ROCKS.. With double RAM.
And the new rootfs is cleaner than before.
I am going to release a new package (which I just did some small editing)
What can you do with this package?
Connect ADB (very important for debugging)
Put everything in a folder of your SDCard
Supply with NEW kernel and now you have more free RAM
Enjoy the cleaner rootfs (I have made some small modifications)
Download : http://www.mediafire.com/?1tbnyz2jmky
If any of you know how to enable chat in irc, please let me know.
BASICS:
Current Android boot from HARET which start from Windows Mobiles.
It consist of several components. Each of those is having unique functions.
1. STARTUP.TXT
Passing parameters to kernel which enable users to specify machine specific data
Current parameters including screen size, dpi, rotation, etc.
2. Kernel
The most important piece of code that enable everything to talk to the machine.
Developers here are most focus on this area as the other are greatly supported by google and other developers.
Kernel also determine what the hardware could do, and how it connects to other devices.
3. rootfs.img
This is the root of the linux, which initialize the OS. Especially running some startup scripts and mounting folder.
4. system.sqsf
The is the base Operating System of something call ANDROID. For others, you may considered them the basic environment of mobile Linux. For what we call CupCake / Donut / Eclair are stored here.
What we will be doing is to test out the features and bugs and locate the part of the about components affecting it.
Updated ADB howto:
Grab my base package.
Connect to computer before running Haret.
Wait until Android boot complete.
Install Google SDK USB drive for whatever device show up.
droid explorer or "adb device" to test.
If no device found, replug the usb cable.
This post would be updated with agenda drawing most concerns. We need your testing to see if you have any similar problems.
Agenda:
Top priority:
Device can't be wake.
Rear speaker always on.
This post would updates the testing items, and report the latest status.
Everything here are replaced with most recent findings and once more users confirmed, it moves up.
Do not believe everything in this post, but try falsify it. Reports in here would be presices to the level of component and versions.
So make sure you know what you are testing.
This post is a testing invitation, with trials and errors.
If someone raised an interesting phenomenon, we are going to invites members to test it. And the result format would be given as well.
This post may be changed from time to time to refect the new items needed to test (including the return format)
Now, let's kick start.
#1 To Test the base package in post 1
Return with following format.
Machine Type: BLAC100 (other devices are welcomed, but of course we are BLAC owners and would focus on it)
Test build: 2010.2.4
Radio: 1.17.25.09
WIFI ON: YES (WPA)
WIFI OFF: YES
Calendar / Gmail : BOTH OK
Google Voice: OK
Deep Sleep: YES (To test it, disable WIFI, Any USB, and press END KEY to sleep. If deep sleep is working, the system should not be up with key other than the power key)
Wake up: Crashed sometimes initially and get stablized later
ADB Connection: OK
Additional Package Installed: Facebook, dolphin
Suggestion: Replaced with kernel version xxxx would help to xxxxxxxxxxxxxx (if you found out how to make the build better)
#2 DEEP SLEEP AND WAKE
Please post your kernel version (or if you have no idea, the file name of the wifi module) if you found youself never had problem with sleep and wake (not yourself, but your blackstone android).
Lets begin this thread with a constructive approach to achieve our desired goal.
Will Post the feedback as requested.
Machine Type: BLAC100
Radio: Security unlocked 1.16.25.48 (Kovsky)
WIFI ON: YES (WPA)
WIFI OFF: YES
Calendar / Gmail : BOTH OK
Deep Sleep: YES but say after 10 minutes it wont wake-up.
Market: Working with downloads.
Additional Package: Facebook, Wifi toggle, Currency converter, Battery lite.
imtiyazee said:
Machine Type: BLAC100
Radio: Security unlocked 1.16.25.48 (Kovsky)
WIFI ON: YES (WPA)
WIFI OFF: YES
Calendar / Gmail : BOTH OK
Deep Sleep: YES but say after 10 minutes it wont wake-up.
Market: Working with downloads.
Additional Package: Facebook, Wifi toggle, Currency converter, Battery lite.
Click to expand...
Click to collapse
Thanks for your report. Developers is aware of the wake up issue of blackstone. It is however, seems still not fixed in the new kernel.
And Pierre-Hugues Husson would disable the deep sleep function (consume a little more battery) in up coming kernels, and we can try it on very soon.
mcdull said:
Thanks for your report. Developers is aware of the wake up issue of blackstone. It is however, seems still not fixed in the new kernel.
And Pierre-Hugues Husson would disable the deep sleep function (consume a little more battery) in up coming kernels, and we can try it on very soon.
Click to expand...
Click to collapse
Thanks for the update.
mcdull,
Brendan shanks has changed pid on kernel to "0c01", this should enable working with ADB without hacking the inf file.
This was deployed on Build: [email protected]_071547.
Let us know if this makes any difference for you, and whether HTC sync is now possible.
Thanks
It works perfect
hello,
I am using ANDROID_bLACKSTONE_TESTBUILD_20100125.ZIP & zImage-modules-20100129_022341 and it works perfect on my Blackstone till now.
Wi-Fi - OK
Synchronization with google account - OK
Sleep mode - OK
It is FAST
Call IN and OUT - OK
SMS - OK
this combination is best of the best till now what I tried.
eligius
Roadrunner100 said:
mcdull,
Brendan shanks has changed pid on kernel to "0c01", this should enable working with ADB without hacking the inf file.
This was deployed on Build: [email protected]_071547.
Let us know if this makes any difference for you, and whether HTC sync is now possible.
Thanks
Click to expand...
Click to collapse
AFAIK, HTC Sync will not work just yet. And I was not able to connect to ADB after the change. I need to test on some editing.
- Theory
As I already mentioned, the latest implementation of kernel prevent the proper installation of usb driver, and we need to fall back to old kernel to install the driver first (which the old kernel has 0c02 address).
Now, the modification has put the case into dead end. coz we can have no way to ask the computer to install a correct driver with 0c01 address.
In such case it is more difficult to modify the whole batch of driver setting then just the ini. I still have no go in using ADB.
The HTC Dream driver for windows seems works on ADB again.
As suggested by Brendan Shanks, you need to modify the "eclair.user.conf" (stored in the conf/ folder on your SD card), at the bottom, add this line to the custom_shells section:
echo 2 > /sys/devices/platform/msm_hsusb/usb_function_switch
And I have successfully to connect to ADB again.
mcdull said:
The HTC Dream driver for windows seems works on ADB again.
As suggested by Brendan Shanks, you need to modify the "eclair.user.conf" (stored in the conf/ folder on your SD card), at the bottom, add this line to the custom_shells section:
echo 2 > /sys/devices/platform/msm_hsusb/usb_function_switch
And I have successfully to connect to ADB again.
Click to expand...
Click to collapse
Thanks for that. I will try also.
Today, I started seeing the traffic animating 3G icon for the first time.
Great.!!
ADB working
Thank's mcdull ,using the Brendan Shanks method , ADB is working very well.
I'm using the 29-01 kernel and i changed the eclair.user.conf.
After that , the Droid explorer works well .
Bluetooth and GPS , the last frontier.
Regards.
cbolumar said:
Thank's mcdull ,using the Brendan Shanks method , ADB is working very well.
I'm using the 29-01 kernel and i changed the eclair.user.conf.
After that , the Droid explorer works well .
Bluetooth and GPS , the last frontier.
Regards.
Click to expand...
Click to collapse
Great. For others information, all needed changes and new kernel has been included in the latest package.
==REMOVED==
can some1 list what is working with this release of android and what isnt..thnx
WiFi don't go ON
In my blackston WiFi is not workng , anyone have some idea how i can solve this problem.
http://forum.xda-developers.com/showthread.php?t=630643
Check Out 7) (2nd post)

[ROM] 2-18-10 Egzthunder1's 28230 (MetroPCS) - Clean Version

Busy day today
Anyways, I decided to discontinue 25005 since it had a graphical bug, which after spending several hours looking for answers, I couldn't fix...
So, here is the newest build (yes, even newer than 25005)
Build log is pretty much the same as 25005 but with a few exceptions
*Increased pagepool size to 18 MB!
*New Build 25005 (no clue about which COM branch it belongs to, so please don't ask )
*Added Bing
*MSN Widgets are Back
*Removed Opera since there is a newer version out there (with Flash support!). I haven't gotten the cab, so I will let you all install it and let me know
*Internet Sharing Added
*FaceBook Mobile is Back!
*Added QuickGPS (for faster lockons... or so I hear)
*Dialer Lag is gone!!!
*The only extra that I don't like (and I did not put in) was haptic feedback when touching the start menu. If anyone knows how to get rid of this... please.
Click to expand...
Click to collapse
Removed
*Showcase
*Mega dialer (simply left stock). Probably will try to use the GSM dialer from NFS's thread.
*Added Arcsoft MMS to UC Folder
*Added Netfront Concept 4 (latest one) to UC (replace with your choice of browser if you like something else). I find Opera very hard to use without an accelerometer and a scroll wheel, so I decided not to cook it in.
*Updated GoogleMaps to the latest publicly available
*I added a pretty cool looking theme for 6.5 but it was the cause for my funny looking icons and scrollbars, so use at your own risk.
Without Further ado, here is the LINK
[highlight]Installation Notes:[/highlight]
[highlight]Your device must be unlocked for this to work. If you don't know how to unlock it, there is a link on my signature with a guide on how to do this. Also, this is only for the HTC Vogue - which is a CDMA device (no SIM card). It will NOT work for any device that doesn't fall under this. Not sure if you have a Vogue? Go to the WIKI and find out. I am not responsible for damage to your device (not that anything should happen, but legal disclaimers are meant for the "what ifs" )[/highlight]
Drop the XDA_UC folder located in the rar file onto the root of your SD card. Flash and soft reset. The UC process will start upon second boot. You can add/remove any cabs that you want to (or not want) so that the system will install them automatically.
[highlight]CDMA Weather Fix:[/highlight]
Select the weather in your city in the Manila tab prior to installing this fix. Once it is selected, install and soft reset.
LINK to Weather Fix
[highlight]Have a different Carrier than MetroPCS?[/highlight]
Go here (thanks codf4ther!)
Please enjoy and if you like it and feel like buying me coffee... I will gladly accept it
ScreenShots
I know how some of you are picky about this, so here you go...
Bugs
I am happy to say that none so far
Addons, Fixes, and Miscellaneous...
Provisioning CABS Thread (thanks to codybear!!) - Use the cabs located in here only if you are on a carrier other than MetroPCS.
http://forum.xda-developers.com/showpost.php?p=3680840&postcount=3
Egz - glad to see you have a new one out! I'm downloading right now and will flash sometime tomorrow. By the way, in post #2 the screenshots didn't show up, just thought I would let you know. I'll let you know how the new ROM is working once I get it flashed.
Irishpride said:
Egz - glad to see you have a new one out! I'm downloading right now and will flash sometime tomorrow. By the way, in post #2 the screenshots didn't show up, just thought I would let you know. I'll let you know how the new ROM is working once I get it flashed.
Click to expand...
Click to collapse
hehe, I am aware of the screenshots. I was trying to get My Mobiler to see my device, but it just refused to connect. I will try to get something like CapSure or some other tool and get the screenshots directly from my device...
Will this work for Verizon?
Heresfitz said:
Will this work for Verizon?
Click to expand...
Click to collapse
It should as long as you install the Verizon provisioning cab over top NFSFan's roms are built for Bell by default but they run fine on other carriers. I'm not sure if there is something special about MetroPCS that would cause issues but I think you should be fine.
codf4ther said:
It should as long as you install the Verizon provisioning cab over top NFSFan's roms are built for Bell by default but they run fine on other carriers. I'm not sure if there is something special about MetroPCS that would cause issues but I think you should be fine.
Click to expand...
Click to collapse
Right on the money. I will put a link to Codybear's post, which has most of the carrier specific cabs. Thanks for the reminder, cod!
egzthunder1 said:
Right on the money. I will put a link to Codybear's post, which has most of the carrier specific cabs. Thanks for the reminder, cod!
Click to expand...
Click to collapse
Which instructions do you follow for Verizon? The ones he has listed or the ones he links to in NFSFan's ROM post?
scotttr said:
Which instructions do you follow for Verizon? The ones he has listed or the ones he links to in NFSFan's ROM post?
Click to expand...
Click to collapse
The instructions for Verizon that cody gave seem pretty much on the money from what I have read. Try that and if it doesn't work, let me know and I'll get you something else . BTW, the MMS composer in the UC folder is preset for VZW, you may not need to do anything...
The new rom is great, but aggggg the vibration! I did a google to find a registry key to turn it down (not off) and came up dry. Otherwise solid work so far!!! Thanks.!
gjbnh said:
The new rom is great, but aggggg the vibration! I did a google to find a registry key to turn it down (not off) and came up dry. Otherwise solid work so far!!! Thanks.!
Click to expand...
Click to collapse
what vibration??
If you got my 25005, there is a fix for it (you have to edit the registry in a couple of places), which I posted on that thread (it is related to Showcase and it was driving me nuts too ). My advise would be to go with 28230. It seems a bit more stable...
Ouch my bad
Sorry, but I've flash my phone at least 5 times this week, and incorrectly identified the current rom. I need to flash to this one. My Bad
gjbnh said:
Sorry, but I've flash my phone at least 5 times this week, and incorrectly identified the current rom. I need to flash to this one. My Bad
Click to expand...
Click to collapse
That happens
Let me know how you like the rom... and report if there are any bugs.
Your wish is my command (Offer void is most countries, Tuesdays, and full moons)
gjbnh said:
Your wish is my command (Offer void is most countries, Tuesdays, and full moons)
Click to expand...
Click to collapse
Well, it is Friday, in Miami with no moon at all
I've got it up and running this afternoon. Here's s couple of thoughts & questions:
#1) I couldn't get your included ROMUpdateUtility.exe to run on Vista. I just dropped the nbh file in a folder from another rom and it flashed fine. I may have had a corrupted download, but it all extracted fine.
#2) CM Internet Sharing and ICS Control, are these useful on a phone without wifi? I'm curious to know how they can be used.
#3) I'm an EzInput bigot. I still think you should add it
#4) You have a lot of config utils included. Not sure how easy it is to do when cooking, but you might want to throw those in the Tools folder in the start menu. I doubt 90% of users would touch those.
Good job, thanks for cooking these for us.
Is anyone else having marketplace problems in this build? Seems to be slower when running, and I've had several "server" errors..
gjbnh said:
Is anyone else having marketplace problems in this build? Seems to be slower when running, and I've had several "server" errors..
Click to expand...
Click to collapse
I am getting intermittent networking issues on Bell for the last 24hrs. I was blaming it on the ISP...maybe its a problem with 28230

Android NBHCREATOR [v0.3] on Ubuntu. FROYO SUPPORT & ADVANCED SETTINGS [July-29-2010]

Android NBHCREATOR [v0.3] on Ubuntu. FROYO SUPPORT & ADVANCED SETTINGS [July-29-2010]
NBHCreator v 0.3
NBHCreator makes the nbh file for flashing android to nand.
This utility works for Vogue, Polaris and Kaiser.
Currently supporting Donut, Eclair and Froyo
Prerequisites:
1. you need to be running Ubuntu (other Debian distros may work, give it a try) NBHCreator v2.0 will be cross-platform
2. you need to have wine installed ( I am using v1.1.42)
Make sure to "Completely" uninstall previous versions before installing newer versions.
Directions as follows:
a. select the zImage you wish to make an nbh for... try one from here:Working Kaiser GPS!! or here:DZO
b. change parameters to your liking...
c. click on the "compile" button...
d. select output folder.
and Flash Away...
Please Search for how to flash if you don't know how.
that being said...
I welcome any and all criticisms of this program
and I would appreciate any advice, suggestions, questions or comments.
Version 0.3b
-Fixed Window issues.
-For now...do not save output to a FOLDER on the Desktop.
-DOES NOT WORK YET WITH 2.6.32 ZIMAGES
Version 0.3 (07-29-2010)
-Now Supporting Froyo
-New Advanced Settings for things like Clock speed and Memory.
-Added a Date Stamp option for output filename.
-Removed internal Error checking[/B]
-This version has window issues with the xfce desktop environment. fixed in 0.3b
Version 0.2b (07-01-2010)
-Fixed false errors when creating for Vogue and Polaris
Version 0.2 (06-15-2010)
- Added ability to select zImage with name extentions ie... "zImage-12-06-10"
- Output filename now refects device type ie... "VOGUIMG, POLAIMG and KAISIMG"
- Added some error checking to make sure nbh was built correctly
- misc internal code fixes.
-False Error messages are popping up for vogue and polaris. Resulting nbh should still be usable. Fixed in 0.2b.
Version 0.1 (06-09-2010)
- should work for Kaiser, Vogue and Polaris
- Device specific options
- Settings for hw3d (donut/eclair)
- Settings for Resolution 240x320, 320x428, 320x480
- Settings for Panel Type 1, 2, 3
- Settings for Battery Capacity
- Settings for ppp.nostart (Data)
- May not work with loser's editor (let me know...)
- more options to come
- NBHs are all being named KAISIMG.NBH will be fixed in v0.2
Honestly? I think it rocks, since I'm to lazy to build my own NBH's
I see the similarities, and also the differences, and I think you should continue development personally, it's a different approach, and I can see the possibility to add to it by being able to include boot splashes perhaps, or edited initrd/zimage combinations for instance.
So yeah, keep at it
Yep, sounds like a great idea. A nbh editor is good for beginners, but it would be nice to be able to build your own. Could open up a lot of opportunities for customization.
Just make a Windows and a Mac port as well, for the future.
ok....so far progress is going along very well. I have this functioning on my setup
but I still have to work out making it transferable to other computers.
while I work on this, are there any additions that you would like to see added.
I will see if I can squeeze any changes into the beta release.
What language and GUI toolkit are you using?
It would be fairly portable if written in Python with GTK or Tk.
I am using gambas2 in ubuntu.
I am still trying to port my visual basic knowledge to gambas. it doesn't all function the same.
I have minimal experience in Python. but if you know any good tips I am all open for suggestions.
Now available for testing
really???? no feedback at all???
I have to get around to install Ubuntu, and I don't have the hard disk space for it just yet. Been meaning to go buy a terabyte hard drive to dual boot.
got sources or anything like that so I can haz on gentoo?
currently attempting to break open the deb, will fall back to a vm in worst case.
Edit: As I expected, I found the solution right after posting. Run NBHCreator.gambas from /usr/bin
I'm fairly new to Ubuntu and I've never use Wine before so can't work out how to get this running
The package installed, along with it's dependencies. Now what? How do I run it?
Sorry if this is basic stuff...
richard.
Working ok here. Still need to flash it onto my Kaiser - will report back if I find any problems.
Thank - this is a handy little tool
Edit: Hmm, output file only 4.8K so something is not right. Probably down to me so I'll keep playing.
richard_s said:
Edit: As I expected, I found the solution right after posting. Run NBHCreator.gambas from /usr/bin
richard.
Click to expand...
Click to collapse
The install deb should have created a 'start menu' item under /Applications/Other/NBHCreator
that is confirmed under the default Ubuntu window manager 'Gnome'
however I have not tested it in KDE or any other non-gnome window manager.
what window manager are you using?
poly_poly-man said:
got sources or anything like that so I can haz on gentoo?
currently attempting to break open the deb, will fall back to a vm in worst case.
Click to expand...
Click to collapse
let me know if you get it. I don't have the source available at the moment. it's on my wife's computer.
richard_s said:
Working ok here. Still need to flash it onto my Kaiser - will report back if I find any problems.
Thank - this is a handy little tool
Edit: Hmm, output file only 4.8K so something is not right. Probably down to me so I'll keep playing.
Click to expand...
Click to collapse
the resulting nbh must be 3M
DON'T FLASH IF IT ISN'T 3M.
make sure the zImage file is named 'zImage' and not somthing like 'zImage-12-06-10'
I am fixing the next version to allow different names for zImage.
mnjm9b said:
the resulting nbh must be 3M
DON'T FLASH IF IT ISN'T 3M.
make sure the zImage file is named 'zImage' and not somthing like 'zImage-12-06-10'
I am fixing the next version to allow different names for zImage.
Click to expand...
Click to collapse
No - I won't be flashing it! The file name is definitely just 'zImage'. Oh well I'll wait for the next version and try again.
richard_s said:
No - I won't be flashing it! The file name is definitely just 'zImage'. Oh well I'll wait for the next version and try again.
Click to expand...
Click to collapse
I haven't built in a error log into the program but could you run
the NBHCreator.gambas in a terminal and post the output.
what device are you building for and what are your settings?
After restarting Ubuntu your program it is all working as expected. Sorry about that - I should have thought to try that first
yeah, had to throw it into a virtual machine. Nice tool, though.
If someone describes the process in great detail (including the binary formats and all that), I can make a slightly more portable version, if you'd like.
I will be releasing a more cross-platform version after I work out all the bugs.
Keeping it ubuntu for now keeps the distribution of a crappy program to a minimal.
on that note... V0.2 will be out very shortly.
this will address
-input filename variations ie.. 'zImage-12-06-10'
-output filename specific to correct device ie.. 'VOGUIMG,POLAIMG and KAISIMG'
-error checking
-misc fixes

Categories

Resources