[android] NAND flashale android !!USER!! Questions UPDATED MANY HOW TO'S

Search This thread

JeckyllHavok

Senior Member
Jul 21, 2007
1,231
56
Hi there, as many of you may know dzo or simple god:p makes a flashable version of android for our KAISERs.

But vefore here are some rules:
THIS THREAD IS MADE TO KEEP THE FLASHING ANDROID ON KAISER DEV THREAD CLEAN FROM USERQUESTIONS!!!

DON'T ASK USER QUESTIONS IN THE DEV THREAD!!!

This Thread is for experienced Kaiser users who aren't in development but wan't to see android running native from NAND.

THIS IS AT THE CURRENT STATE VERY VERY VERY BETA, THERE MAY BE A HIGH RISC TO BRICK YOUR DEVICE. THIS WILL COMPLETLY WIPE WINDOWS MOBILE. JUST USE IT IF YOU CAN ANSWER YOURSELF THE FOLLOWING QUESTIONS: (without search function)
-What is an .nbh file
-how to flash a kaiser
-What is HardSPL /Security unlock
-How to recover a bad rom flash?
-What to do if your device won't start anymore?
-Do you have basic android skills?


Ok Guys, little cleanup and updates::cool:
INDEX:

-Post one:
Different flashing methods
Things to take care off
-Post two:
How to creat your own nbh files
How to make custom splash screens
-Post three:
Working Systems/rootfs
Bugs
Usefull Links
Thanks

HOW TO START ANDROID FROM NAND
Method one:
1-Download one of the nbh's here http://www.megaupload.com/?f=SA71F1MT, you'll have to look for the right panel type, Key layout and resolution needed for the rom you're flashing, just like your default.txt from sd boot.
2-Download http://www.mediafire.com/?zldjhfnkzk2
3-Copy the androidinstall.tar from the androidinstall.zip file to the root of your sdcard
4-delete/rename any old android files on your sdcard
5-Unzip the androidinstall.zip and replace the ruu_signed.nbh in it with the one you downloaded in the first link. (must be named ruu_signed.nbh)
-6Run the custom ruu.exe - thats all after reboot you'll have a flashed Cupcake android.

Method two:
1-delete/rename any old android files on your sdcard
2-Download one of the nbh's here http://www.megaupload.com/?f=SA71F1MT, you'll have to look for the right panel type, Key layout and resolution needed for the rom you're flashing, just like your default.txt from sd boot.
3-Create three empty files on your sdcard wihout any extension:
-datafstonand
-systemfstonand
-rootfstonand
4-Copy your prefered rootfs.img, system(img,ext2,sqsh) and an empty data.img to sdcard root
5-Copy the nbh file you downloaded to the root of your sdcard and rename to kaisimg.nbh
6-Reboot your device using restart button and cam button, then when it tells you, press power key to flash the new nbh.
-Reboot by pulling the battery - Thats it ( First start may take a while and may reboot randomly, just give it some time)

Different Tricks and hints (collected in the forums):
-Change Panel Type:
Run: "echo 1 > /sys/module/board_htckaiser/parameters/panel_type" through adb or init

-Experimental GPS:
For working, gps you need to replace libgps.so with the one from the vogue gps thread.

Experimental openGL Drivers ( Eclair Only)
-Download this one and flash your prefered nbh: http://rapidshare.com/files/345432577/kasiandroid_nbh_with_opengl.zip
-Install the included script sheduler, and replace the afterboot.txt with the one included in the zip file
This will install an app that will run the afterboot.txt after every boot and fix file permissions.
-Or you can open the afterboot.txt and run it in terminal after every boot.

To see if it works install the included gallery3d.apk, iff you see thumbnails, it worked
 
Last edited:

JeckyllHavok

Senior Member
Jul 21, 2007
1,231
56
Not tested by me, yet through no time.. (Thanks to quitlahok and rzk333 for this manual)

THIS IS JUST FOR THOOSE WHO ARE MORE IN DEVELOPMENT AND LINUX
HOW TO CREATE YOUR OWN NBH FILES:


1- Set up your prefered Linux Setup, i use Debian.

2-Build kaiser kernel with wiki manual

3-git clone git://androidhtc.git.sourceforge.net/gitroot/androidhtc/tinboot

4-git clone git://androidhtc.git.sourceforge.net/gitroot/androidhtc/bootenv

5-cd bootenv

6-cp buildInitrd buildInitrd-mini

7-nano (or whatever your favorite editor is) buildInitrd-mini

8-change all instances (2 of them) of initrd to initrd-mini

9-sh buildInitrd-mini

10-cd tinboot

11-nano tinboot.S

12-the paths to fix are at the bottom of the file, it's pretty self-explanatory. higher up in the file you'll see the kernel cmdline under an .ifdef kaiser line

13-after that you'll need to download and extract any windows kitchen, and install wine however your linux distro requires and make a note of the path you extract nbhmerge.exe to as you'll need it in your tinboot.S file, along with the path to your kernel zImage and initrd-mini.gz
after that if you've got everything else in place, go ahead and run the compilekaiser script in the tinboot dir and you should have an nbh
if the nbh won't flash (i had this issue) copy the output.nb file, boot into windows, and use nbhutil.exe to convert it to an nbh and flash that one. for some reason yang doesn't work right for me personally


HOW TO CREATE CUSTOM SPLASH SCREENS: (this is a manual by POV)

1. Install HardSPL.
2. Create a BMP file in paint, size must be 240x320, save it as BMP 24bit.
3. Download SplashTool
4. Load your BMP on nb_image_converter (included in SplashTool's zip) and save it as splash.nb
5. Open SplashTool.exe and convert splash.nb to new format.
6. Pack the resulting splash.nb into a NBH file using htc rom tool.
7. Flash your cusotm NBH using CustomRUU.

This will not harm your installed android
 
Last edited:

JeckyllHavok

Senior Member
Jul 21, 2007
1,231
56
WORKING SYSTEMS / ROOTFS'S: ( Collected in the forums)

- http://xdaforums.com/showthread.php?t=587116 ION Donut, reuploaded by 160bpm;)
- http://xdaforums.com/showthread.php?t=619980 MYNs warm Donut
- http://xdaforums.com/showthread.php?t=619718 Jamezelles Sense Tattoo
- http://xdaforums.com/showthread.php?t=591104 Plemens Donut AOSP
- http://xdaforums.com/showthread.php?t=603028 Jamezelles Sense Hero
- http://xdaforums.com/showthread.php?t=619285 Shidells Android 2.1


rootfs 2010-01-06 works best for me get it here: http://sourceforge.net/projects/androidhtc/files/

Bugs:
NOT WORKING: WiFi, GPS, Voice Call, Bluetooth
(GPS experimental with the files from first post)


Usefull Links:

Android on Sourceforge:
http://sourceforge.net/projects/androidhtc/files/

Android on htc Website:
http://www.androidonhtc.com

dzo's page:
http://it029000.massey.ac.nz/vogue/

Android SDK:
http://developer.android.com/sdk/

Tinboot dev thread:
http://xdaforums.com/showthread.php?t=614275


Thanks:

dzo, plemen, jamezelle, zenulator, enatefox, mssmision, vilord, rzk333, diagdave
SORRY IF I'LL FORGET ANYONE:eek:
 
Last edited:

loserskater

Inactive Recognized Developer
Jun 6, 2008
2,160
4,434
Palmdale, CA
Here's a couple boot screens I made.
 

Attachments

  • Kaiser(boot).jpg
    Kaiser(boot).jpg
    5.3 KB · Views: 334
Last edited:

zenity

Senior Member
Dec 23, 2008
961
9
Scotland
Ok after a few attempts I finally got Android flashed, and running, using my backup kaiser, which has no network connection, so the lack of wifi is a bit of a problem, but seems to be working fine so far, and fast :)

Just wondering if it would be possible to flash other versions, like eclair or even flan, since polyrhythmic's eclair version seems to be nice and stable, or is this going to fast to soon?
 

JeckyllHavok

Senior Member
Jul 21, 2007
1,231
56
Just tested this with sshidels nexus rom, but itjust ends in bootscreen loops. Maybe other roms work
 

idumych

Senior Member
Oct 31, 2009
266
29
Seattle, WA
Looks like in need to learn to read. I found these instructions in the Vouge forum:

Method 2:
------------------------------------------------------------------

Check here for NBH files containing a linux kernel and initrd to allow you to flash android to your vogue and wipe windows completely.

The ROMs are dated and there are three versions.
They are identical except the resolution; 240x320, 320x428 and 320x480.


This rom will copy your rootfs, system and data to nand (the internal storage of the phone) so you will only be running from nand. To do this, make sure you have a working setup (using system.sqsh and data.img without partitions) and install the new rootfs. Make sure it still works.


Make sure you have a carrier rom to go back to. Android currently doesn't let you change any of the radio parameters so you would have to flash back to a carrier rom to re-provision your phone.

Now create 3 empty files in the root of your sd card called:

rootfstonand
systemfstonand
datafstonand

These must be all lower case with no extensions and they will be deleted once each fs has been copied.

Now flash the rom corresponding to your resolution and wait.
 
Last edited:

ycode90

Senior Member
Aug 18, 2009
153
8
Pensacola Florida
Flashing now.

1st edit: We have Android .

2nd edit:26 min it just turned itself off ... creepy ... soft reset ....I'll post back results.

3rd:39 min later Actual Phone screen came up No SIM ..Opps rebooted waiting agian.
 
Last edited:

loserskater

Inactive Recognized Developer
Jun 6, 2008
2,160
4,434
Palmdale, CA
I have successfully flashed THIS BUILD using the following method:

...create 3 empty files in the root of your sd card called:

rootfstonand
systemfstonand
datafstonand

These must be all lower case with no extensions and they will be deleted once each fs has been copied.


It's a little small and awkward due to the set resolution, but it's possible to flash different builds!

Another note: When flashing builds it takes a very long time, but when it gets to the setup android screen it has a system FC and the screen doesnt respond. This has happened everytime. I had to pull the battery and when I boot it up a second time it boots just fine.
 
Last edited:

garynsa

Senior Member
Oct 11, 2006
1,197
32
Mumbai
Redmi Note 10 Pro
I have successfully flashed THIS BUILD using the following method:




It's a little small and awkward due to the set resolution, but it's possible to flash different builds!

Another note: When flashing builds it takes a very long time, but when it gets to the setup android screen it has a system FC and the screen doesnt respond. This has happened everytime. I had to pull the battery and when I boot it up a second time it boots just fine.

Hi

Can you please send me the files on the sdcard. I am having an issue with every build.

Thanks
 

Jaguarius

Member
Jun 28, 2008
11
1
Tilt

Hey all,

Working great on my tilt except the ringer just rings in the earpiece at like phone call volume. You can't really hear it unless you have your ear against it. Any thoughts?

I used DZO's build of 1.5 and one of the NBH filwa from Ra333 as the DZO one did not work.
 

garringm

Senior Member
Aug 29, 2008
706
39
Leesburg
Hey all,

Working great on my tilt except the ringer just rings in the earpiece at like phone call volume. You can't really hear it unless you have your ear against it. Any thoughts?

I used DZO's build of 1.5 and one of the NBH filwa from Ra333 as the DZO one did not work.

Are the keys on the slide keyboard working correctly
 

zenity

Senior Member
Dec 23, 2008
961
9
Scotland
OK now got two nand flashed kasiers, (both kais130), first using the 'original' flash method, ( dzo nbh, androidinstall.tar), and the other method from the vogue threads, with polyrhythmics Eclair build, which is much slower, ( uses SD card rather than Nand?).

Both seem to be working as well as can be expected at this early stage of Nand flashing.

What I would like to know is how to 'upgrade' our zImage, since some builds have a different zImage version than the one we are currently flashing with, ( I am assuming our zImage is in the NBH flash), since this may help enable wifi/gps which we are presently lacking.