PDA

View Full Version : Google's ION Android Build for HTC Kaiser - Development and Downloads Thread


mburris
24th June 2009, 07:51 PM
This is the Development and Downloads Thread for the ION Build of Android for our Kaisers.

Any Non Development Questions will be Ignored in this Thread

Only Development related content will be posted here.
All non development related questions need to be directed to this thread: Questions and Troubleshooting (http://forum.xda-developers.com/showthread.php?t=529737)

First Thanks to Vilord for the work, and thanks to whoever he thanked (Martin, Okibi, etc etc)

Working:
Data Connection
Google Services
Call Waiting
GPU Graphics Acceleration

Work In Progress: (not by me)
Camera
GPS
WIFI

Instructions: (adapted from Vilord's vogue post)
For some people ROM and Radio make a difference in whether or not certain aspects of the phone work. I am using Shifu's 6.1 V08 WWE Naked ROM (http://rapidshare.com/files/237909749/kaiser_wwe_shifu08_naked.rar)with Radio 1.65.24.36 (http://www.4shared.com/file/54727469/3fc8449d/KAIS_Radio_Only_1652436_CustomRUU.html%5B/URL)

Before I boot haret, while still in WinMo, I always complete 1 call, so I call my voice mail, then once it connects I hang up. I'm not sure if completing a call like this actually helps, but I do it anyway. If you are not able to make calls, try this step.

Step 1: Download the files:
-Download ExtractToRootOfSDCard.zip below and extract *everything* to the root of your SD card
-Download system-ion.img from below, rename it to system.img and put it in the root of your SD card
-Download zImage from below and put it in the root of your SD card
-Download the newest initrd.gz file, extract it to your SDCard and overwrite the initrd.gz file that was in the ExtractToRootOfSDCard.zip

Step 2: Run it!
-Run Haret, and it should boot into android.

Reports have shown that starting over with the fresh data file (data.gz) instead of using your existing data.img produces better results.

Be aware of the fact that it will take a long time to extract the data.img file from the data.gz archive during your first boot. It took about 5 minutes for me.

At first your orientation may not return to portrait mode after closing the keyboard, if this happens fix it by:
Going to Settings > Sound & Display > Under Display Settings UNCHECK "Orientation"

Download (http://vogue-android.googlecode.com/files/system-ion.img) the system-ion.img file (then rename it to system.img put it in the root of your SD card)
Download (http://it029000.massey.ac.nz/vogue/files/zImage) the kernel aka zImage (then put it in the root of your SD card)
Download (http://vogue-android.googlecode.com/files/initrd.gz) the latest initrd.gz file from Vilord's google code page

mburris
24th June 2009, 07:51 PM
reserved for updates

mburris
24th June 2009, 08:18 PM
reserved for updates

enatefox
24th June 2009, 08:26 PM
Thanks for the thread, I'll update this post later with my ION system.img that has the original key layout along with bash and busybox tools added. Other than that, it's the current one you posted.

For anyone new to developing Android, here's what to do (thanks to everyone for these scripts):

system.img
mkdir stock-system && mkdir temp
sudo mount -o loop system.img stock-system
genext2fs -d stock-system -b 300000 -a system.ext2
sudo mount -o loop system.ext2 temp/
---Make Changes---
sudo mkfs.cramfs temp/ system.1.5.img
I've attached genext2fs as well (thanks dzo)

initrd.gz
Extract--
gunzip initrd.gz && cpio -i < initrd.cpio
Compress-- (within directory)
find ./ | cpio -H newc -o | gzip > ../myinitrd.gz

data.gz
Is simply a gzipped ext2 img file.

vilord
24th June 2009, 10:49 PM
We've been putting busybox and bash into the initrd... since it doesn't take up much space it allows more customization of the initrd environment...

vilord
24th June 2009, 11:17 PM
Could you let me know what of my vogue stuff doesn't work on kaiser and what you need to change to make it work? It may be easy to adapt the vogue stuff to be compatible with both.

skola28
24th June 2009, 11:30 PM
Installed ok. With a couple notes:
During first boot, got stuck at the terminal screen with nothing happening after the Data.img was extracted.

Rebooted, booted fine.

Noticed that 320x480 looks retarded as a screen resolution for Kaiser
Reset resolution to 336x448 and rebooted.
Crashed in terminal with Oops #11 (seriously, thats what it said)

Reset resolution to 320x428 looks fine. I'll probably try a few higher resolutions to get more screen real-estate.

Also, I was initially not able to install items from the Market. They download fine, but when the 'install' starts, it throws an error. This may have to do with attempting to download two things at one time. I later retried the download and both items installed fine.

enatefox
25th June 2009, 12:00 AM
In initrd.gz/init file:
When it boots, it complains of "no telephony database. Will check for Android apn on next boot:"
SQLITE3="/bin/sqlite3"
DB="/data/data/com.android.providers.telephony/databases/telephony.db"
if [ -e $DB ] ; then
if [ "`$SQLITE3 $DB 'SELECT numeric FROM carriers;' | grep 310995`" != "310995" ] ; then
echo Creating android apn
"$SQLITE3" "$DB" "INSERT INTO carriers VALUES(NULL, 'Android' , '310995' , '310' , '995' , 'internet' , '*' , '*' , '*' , NULL, NULL, NULL, NULL, 'null' , 'default' , 1);"
fi
else
echo No telephony database. Will check for android apn on next reboot
fi


After that it says "chmod: 1000 no such file or directory."
if [ -d /data/app ] ; then
if [ -d /sdcard/AndroidApps ] ; then
echo Copying Applications
cp /sdcard/AndroidApps/* /data/app
chown 1000 1000 /data/app/*
fi
fi

mburris
25th June 2009, 04:10 AM
...all the other stuff you said, then...
How can I debug bootup?

Please refer questions like this to the "Questions and Troubleshooting Thread (http://forum.xda-developers.com/showthread.php?t=529737)"

vilord
25th June 2009, 05:09 AM
In initrd.gz/init file:
When it boots, it complains of "no telephony database. Will check for Android apn on next boot:"
SQLITE3="/bin/sqlite3"
DB="/data/data/com.android.providers.telephony/databases/telephony.db"
if [ -e $DB ] ; then
if [ "`$SQLITE3 $DB 'SELECT numeric FROM carriers;' | grep 310995`" != "310995" ] ; then
echo Creating android apn
"$SQLITE3" "$DB" "INSERT INTO carriers VALUES(NULL, 'Android' , '310995' , '310' , '995' , 'internet' , '*' , '*' , '*' , NULL, NULL, NULL, NULL, 'null' , 'default' , 1);"
fi
else
echo No telephony database. Will check for android apn on next reboot
fi


After that it says "chmod: 1000 no such file or directory."
if [ -d /data/app ] ; then
if [ -d /sdcard/AndroidApps ] ; then
echo Copying Applications
cp /sdcard/AndroidApps/* /data/app
chown 1000 1000 /data/app/*
fi
fi

The chown line has been fixed and will be uploaded soon.
The no telephony database line should go away after first bootup. Does it not?

MBurris: the setupmodem.sh script you have must be an older version as I had already removed the lines you mentioned. Anything else?

vilord
25th June 2009, 08:21 AM
now I understand, you want the stuff added back *in*

It is done, added to ppp-on-dialer where it belongs.
Also completely fixed the data.gz stuff by eliminating data.gz. Now the initrd will create a new data.img if there isn't one there.

support for data.img backups from bootup as well, just create a /sdcard/backup folder

radem205
25th June 2009, 08:59 AM
@Vilord: Have you added the new stuff into your latest initrd.gz (on google download)?

Edit: After I used the latest files from google download all the files on my SD card are totally gone :s. I booted Android Original ION hero build, and back in Windows all files are gone on my SD card :s

JeckyllHavok
25th June 2009, 03:07 PM
Hi there, dunno if this belongs to the ION question and answer thread, but could anyone be able to make one of the roms with this:

http://android-unleashed.com/2009/06/htc-hero-theme-1-2-for-the-android-g1.html

Cause i think this theme would be very cool on this ion builds..

skola28
25th June 2009, 07:24 PM
Still having issues with the phone not waking up.

Using pm.sleepmode=1, otherwise, as you know, the battery life lasts about 2 hours.

KAIS110

vilord
25th June 2009, 08:08 PM
@Vilord: Have you added the new stuff into your latest initrd.gz (on google download)?

Edit: After I used the latest files from google download all the files on my SD card are totally gone :s. I booted Android Original ION hero build, and back in Windows all files are gone on my SD card :s

I think this is due to corruption on the SD card, coupled with the creation of a large file (data.img). I'll post an updated initrd in an hour that has filesystem checking on the SD card before it tries to do anything else, that should avoid wiping out people's stuff.

enatefox
25th June 2009, 09:29 PM
EDIT: sorry, hit go advanced and post by accident and double posted

enatefox
25th June 2009, 09:30 PM
Hi there, dunno if this belongs to the ION question and answer thread, but could anyone be able to make one of the roms with this:

http://android-unleashed.com/2009/06/htc-hero-theme-1-2-for-the-android-g1.html

Cause i think this theme would be very cool on this ion builds..
I'm with you. 3 threads and no real response at getting themes. I tried it myself by manually overwriting the apps, data files and framework as the update would but it hangs at boot or crashes mercilessly once the desktop appears beyond nonfunctional.

mburris, that's what prompted me to post the question about how to debug bootup. This is every bit a development issue. Those are signed apps that override the ION ones and they should "just work" so what's wrong and who's at fault :). Plus it's hard for us to really troubleshoot users' issues with modems and startup without something better than dmesg. Then users can attach a log to their posts for us to look at.

vilord
26th June 2009, 08:18 AM
Posted to the vogue people:
Okay the initrd.gz on google code (http://code.google.com/p/vogue-android/downloads/list) has been updated yet again.
This time is a major update with repaired bell SMS (thank you Martin), new libgps (thank you Steven), and statically linked filesystem checks (that was me).

On my phone, it took about a minute to create a new data.img (*don't use data.gz!!!*)
You'll want to use martin's new zImage from here (http://it029000.massey.ac.nz/vogue/files/zImage)

MBurris, does it just work now, or is there still some tweaking for kaiser?

---

For themeing, it is *very* difficult to theme an ion build. Much easier to theme the opensource builds, but they aren't as fast.

enatefox
26th June 2009, 04:19 PM
For themeing, it is *very* difficult to theme an ion build. Much easier to theme the opensource builds, but they aren't as fast.

How difficult are we talking? Mssmision had two ION builds with Hero. What's involved?

skola28
26th June 2009, 06:23 PM
Latest initrd and zImage:
336x448 resolution works again! SOOO much nicer than the non-4:3 included with the install package you posted...

Noticed the Blue LED blinks now... Something good coming?

Data, Market, Txt, calls, call-waiting, all work.
GoogleTalk works again,

runs SOOOO fast....

nokiarish
26th June 2009, 08:50 PM
can anyone help me in setting up internet connection. this is what i got from carrier apn setting

APN address:airtelgprs.com
Port : 8080 (for Mobile Office)

MCC code for AirTel GSM is 404 for all states.

MNC Code :

95 Kerala

Rom: Bhar's 21812 flame
HTC TYTn 11
Radio. 1.70.19.09

arjen888
27th June 2009, 02:39 PM
internet doesnt work for me either, this would be the only thing for me using android as my main os on my phone. I can't also change the font size in the spare parts menu which is really annoying.

Kais130
Windows mobile 6.5 by josh build 21819
Radio: 1.65.30.09
Provider: Telfort The netherlands

greetzz

polyrhythmic
28th June 2009, 06:46 PM
I can report this ION build working well on my Kaiser. I am using the latest initrd.gz from Google Code, as vilord suggested.

Model: Kais110
ROM: MBarvians Solace 1.5b
Radio: 1.65.16.25

Calls work after I complete one outgoing myself (as usual). Data & text work great. Market, GMail, Maps, Sync all work well. I have no problems with the system time changing, as I have with okibi/dzo builds.

Advanced Task Manager (from okibi's repo) lists processes but not running programs.

The Voice Search/Dial does not work... but I'm betting you know that.

The UI is the most responsive I've seen yet, and I really like this button configuration. Neocore reports a good 26.9 FPS.

I am also having problems waking up from sleepmode=1.

What features should I be testing? I am familiar with the Linux CLI and am happy to help debug.

Thanks for all the hard work!

skola28
29th June 2009, 03:11 PM
I can report this ION build working well on my Kaiser. I am using the latest initrd.gz from Google Code, as vilord suggested.

Model: Kais110
ROM: MBarvians Solace 1.5b
Radio: 1.65.16.25

Calls work after I complete one outgoing myself (as usual). Data & text work great. Market, GMail, Maps, Sync all work well. I have no problems with the system time changing, as I have with okibi/dzo builds.

Advanced Task Manager (from okibi's repo) lists processes but not running programs.

The Voice Search/Dial does not work... but I'm betting you know that.

The UI is the most responsive I've seen yet, and I really like this button configuration. Neocore reports a good 26.9 FPS.

I am also having problems waking up from sleepmode=1.

What features should I be testing? I am familiar with the Linux CLI and am happy to help debug.

Thanks for all the hard work!

Model: Kais110
ROM: Shifu's V10
Radio: 1.65.24.36

I'm experiencing the exact same results.

Coming back from sleepmode=1 is a big problem. Tested it for about 5 days.

mburris
1st July 2009, 05:21 AM
updated 1st post with new downloads (from vilord's google code page), may fix data issues.

ussuss
1st July 2009, 03:25 PM
updated 1st post with new downloads (from vilord's google code page), may fix data issues.
Google account works in 1.5/ION!

Good work everyone, for the first time running 1.5/ION I can sign in to my Google account.
I have tested some off the other builds but only got internet without Google services. Use the latest files from his thread everything works.
If I can do some testing, filedumping etc I'm glad to help.
I'm running a Kiser120
3.29.413.0 SVE (Htc)
1.65.17.56

/uSsUsS

gbdurante
1st July 2009, 03:40 PM
It is very smooth and very fast. We can definitly percept how the WinMo is not good interface.

Issues for me:

* When I push the power buton and leave off for a few minutes and come back, the display just show vertical lines.

* I can't make calls but I receive than.

I wish some day we could use this UI definetly.

Best regards

aerotrike
2nd July 2009, 12:56 AM
Thank you for getting a basic TILT to work with android.

After much searching and playing with different version of Android (0.9 - 1.5)
this is the most productive version.

All I need now is Bluetooth and wi-fi.

Thanks again:)

arjen888
2nd July 2009, 04:57 PM
hows the battery doing under android, because I want to use it as an replacement for windows mobile!

gbdurante
2nd July 2009, 05:31 PM
I solved the vertical lines problem on www.androidonhtc.com modifing the default.txt boot option, but I could not find any solutions for this outgoing call problem.

I'm using a KAIS130 version of kaiser (see below the batery), and I could realize that some people can make call and some people cannot.

The incomming calls are fine and I can send a SMS for other cellphones perfectly.

Does anyone has the same issue?

gbdurante
2nd July 2009, 05:38 PM
I solved the vertical lines problem on www.androidonhtc.com modifing the default.txt boot option, but I could not find any solutions for this outgoing call problem.

I'm using a KAIS130 version of kaiser (see below the batery), and I could realize that some people can make call and some people cannot.

The incomming calls are fine and I can send a SMS for other cellphones perfectly.

Does anyone has the same issue?

enatefox
2nd July 2009, 08:46 PM
in terminal:
su (press enter)
vogue (press enter)
logcat -b radio | tee /sdcard/logfile.txt (enter)

You can enter a "|" symbol with: "Shift + Left Softkey" using the softkey from the keyboard, not the face plate.
Place a call
Exit terminal, reboot phone, insert SD card in computer, upload here (http://forum.xda-developers.com/showthread.php?t=396782)

zephxiii
23rd July 2009, 10:25 PM
I solved the vertical lines problem on www.androidonhtc.com modifing the default.txt boot option, but I could not find any solutions for this outgoing call problem.

I'm using a KAIS130 version of kaiser (see below the batery), and I could realize that some people can make call and some people cannot.

The incomming calls are fine and I can send a SMS for other cellphones perfectly.

Does anyone has the same issue?


KAIS100 here on AT&T, sms and phonecalls work perfectly on 3g and GSM. (7-9-09 build)

vilord
24th July 2009, 12:42 AM
I solved the vertical lines problem on www.androidonhtc.com modifing the default.txt boot option, but I could not find any solutions for this outgoing call problem.

I'm using a KAIS130 version of kaiser (see below the batery), and I could realize that some people can make call and some people cannot.

The incomming calls are fine and I can send a SMS for other cellphones perfectly.

Does anyone has the same issue?
outgoing calls is a known issue, it is specific to the sim card you are using. We're working on it.

zephxiii
25th July 2009, 03:27 AM
I tried out the 07/23/09 build a couple of times. It seems as if the hard keyboard performance has gone downhill compared to 7/9/09 build. It kept stuttering and missing letters, kinda like on official HTC WM ROMS lol. I went back to 7/9/09 a couple of times and things have seemed better each time.

KAIS100

awarapanmovie
26th July 2009, 05:26 PM
how mch time it gonna take for the boot up screen my one already taken 1 hour ..to copy files....

ljinsane
4th August 2009, 06:01 PM
how mch time it gonna take for the boot up screen my one already taken 1 hour ..to copy files....

if you are using the fles from the 1st post in this thread and following the subsequent instructions......dont. Head on over to www.androidonhtc.com and download the files and follow the instructions given there.

johndoeshmoe
4th December 2009, 04:20 AM
hey could someone pls get me the original zip file to the ion rom that was used to make the system file, i wanna change the theme on it , pls and thank you..