[2010.2.4 New Testing Package] Online.. - Touch HD Android Development

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)

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!!!

[2/27/2010] Google Android for TP2 CDMA [In Dev]

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.

[ROM][Android] Myn's Warm Donut ported to Diamond!

First of all, it was very easy to get it working on Diamond. It is the fastest Android ever working on my Diamond. It version 1.6 ! But I think it's better because it is faster.
Still not working:
Camera
GPS ?
For a better Homescreen download PandaHome. With that tool you can download themes for Android and you can change the Lockscreen.
Also you can download OpenHome Lite, which runs much faster I experienced !
I think the battery is still a problem, because after a few ours it is empty if you are working much on your phone. Also Android says very early that your battery is empty.
The whole Android market should work!
If sound doesn't work on first boot, reboot! Then it should work.
1. Step:
Download Myn's Warm Donut for Vogue from here (The SQSH package)
forum.xda-developers.com/showthread.php?t=619980
Direct Download Link:
http://www.mediafire.com/?oitjoljxquj
Download the latest Zimage Kernel from here :
Without debugging (faster):
balsat.hopto.org/
Alternative, with debugging:
glemsom.anapnea.net/android/htc-msm-android
Download the latest RootFS from here:
http://xdandroid.southcape.org/rootfs/
Download the latest Innitrd from here:
xdandroid.southcape.org/initramfs/
Download the Startup.txt from the Attachment!!!!
The "Startup battery fake.txt" disables the 15% battery message, because the phone now only shows "battery is loading"!
Install it like the normal startup.txt and rename it as "Startup.txt"!!
2. Step
Extract all packages!
3.Step
Open the Folder of Myn's Diamond Rom and delete the following things:
INITRD.GZ
Rootfs.image
zImage
DEFAULT.txt
DEFAULT 240x320.txt
4.Step
- Copy the file from the latest INITRD to Myn's Rom folder. Rename it to INITRD.GZ.
- Open the LatestLinux folder, your zImage Kernel, and extract the .tar file. Then copy both extracted files to the Rom folder
- Now copy the file from the rootfs folder to the rom and rename it as rootfs.img
- Now copy the Startup.txt from the attachment the Rom Folder
5.Step
Copy all files of the Rom folder to the fresh formated ! storage of your Diamond.
6.Step
Start Haret.exe on your Diamond
Then Android will boot!
is this booted via haret??
and didnt we get alreayd donut 1.6??
yes it is booted via Haret.
There are some 1.6, but not as stable and fast as this one.
mediafire link for sqsh is not working!
Thank you sooo much for this build...for putting it together!!
Any idea if we can use those awesome themes on that page?? n is the resolution 640x480??
I dont know why media fire doesn't work. Now the link is correct, maybe it is working tomorrow again..I'll see.
Today Screen:
I don't know how, but i am working on it. Installation with NoMoRootfs is not working for me, maybe someone can try it?
There you have to copy the theme "androidupdate.tar" into a folder name andboot, then start android while you put down the volume up button, maybe for Diamond the button is another one? I don't know.
Theres someting called "MetaMorph" which manages themes, but it was also not working for me.
The only way i know to change the themes is to use "PandaHome"
testing
im gonna test it now and report.
PS: you can use openhome too. its a really cool program for themes.
oke i tested it:
The build is superfast i must admit.
but u seriously must fix the battery problem.. is that so hard??
i was just on the browser for 15 minutes and from 92% it went to 69%.
if you can fix that problem i will be soooo happy and the android will be completed for me...
WELDONE!
Thank you.
it is not perfect but worse to try.
WELDONE my friend WELDONE!
yepp, the fastest android on our diamonds, with it's already well knows problems: no camera and gps. By the way: how do u set the operator (3g, edge) internet options? Caz i have internet in windows mobile, which is not the case when i boot into the android via haret. In the options i didn't find anything useful to set it. Anyone?
THX man this IS the most fast rom available and i like it... but when i try to sync my google account with WIFI (WPA or no security) it fails.... it says something about not a good connection or sim data..... i CAN go to browser and browse the web though ?!
I had the same problem . Try a restart of you WiFi . For me that was the solution.
Wow thats really nice...
Had anyone tried to use one of the newer Kernels from the glemson autobuild page here:
glemsom.anapnea.net/android/htc-msm-android
Don't really know whats the differences between the kernel site in the first post and this one except that there are newer ones!?
So i think this version is a good candidate to run as a normal OS on my Diamond.
Greetz
restart of the wifi, like turning it off and on again... that didnt work.
Still got the same error.... can't get an reliable connection... bla bla... someone...
Wifi is the only way for me to sync and i really like the build so far
hm. that sounds strange. For me sync worked after it. I think restarts etc..maybe work?
Kernel
The link you wrote is also right, but the kernel i linked to is without debugging and because of that it is said to be faster.
Maybe the kernel with debugging solves some problems? Maybe the sync problem? Anyone can try it?
hermanherz said:
hm. that sounds strange. For me sync worked after it. I think restarts etc..maybe work?
Kernel
The link you wrote is also right, but the kernel i linked to is without debugging and because of that it is said to be faster.
Maybe the kernel with debugging solves some problems? Maybe the sync problem? Anyone can try it?
Click to expand...
Click to collapse
Had also no syncing probs...
Im trying the other Kernel right now...
Do you use Android for usual Day-Work? How long is your battery-life with normal use?
Anyone knows if theres a way to disable the annoying Battery Message with 15%? I think the indicator is not right and the bat can hold on longer...
Greetz
Okay tried it with the new Kernel. And your right. The one you mentioned in your first post is definitly faster and offers also less problems...
So my Android is running nice. Some minor improvements in Speed, the GPS-Module and more Battery life and i can wait another half year before buy a HTC Desire ;-)
How are the chances that GPS will work in next Kernel-Releases?
Ade
It's a nice built,and fast,but wi-fi doesn't work,and no home fullscreen,i will apreciate a little help from you,thanks!!!
liviu_007 said:
It's a nice built,and fast,but wi-fi doesn't work,and no home fullscreen,i will apreciate a little help from you,thanks!!!
Click to expand...
Click to collapse
So whats your Diamond Type? Diam100, Diam300, Diam500
There are slightly differences in these types. Mine is a Diam300 and everything is working fine...
You can check this by pressing the Vol down - Button during boot, i think... (Not sure)
And also please explain your prob a little more. So what happens if you wanna activate your WLAN in the Settings?
Greetz
The battery problem of 15 % is solved with the new startup.txt i uploaded .
GPS:
I really dont know.

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