Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,736,395 Members 47,259 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
JeckyllHavok
Old
(Last edited by JeckyllHavok; 4th February 2010 at 08:32 AM.)
#1  
JeckyllHavok's Avatar
Senior Member - OP
Thanks Meter 58
Posts: 1,176
Join Date: Jul 2007
Thumbs up [android] NAND flashale android !!USER!! Questions UPDATED MANY HOW TO'S

Hi there, as many of you may know dzo or simple god 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:
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/34543257...ith_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
HTC One M8 - Gunmetal Grey
HTC One X Grey (I Love it)
HTC TyTn II
Vodafone VPA iV
HTC Desire S-OFF


http://twitter.com/jeckyllhavok


My work:

http://forum.xda-developers.com/showthread.php?t=483701 TF3d QVGA Standby

http://forum.xda-developers.com/showthread.php?t=450556 Kaiser Low BT Volume Fix

Life sucks,
but graphics are great.
 
JeckyllHavok
Old
(Last edited by JeckyllHavok; 23rd January 2010 at 12:49 PM.)
#2  
JeckyllHavok's Avatar
Senior Member - OP
Thanks Meter 58
Posts: 1,176
Join Date: Jul 2007
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
HTC One M8 - Gunmetal Grey
HTC One X Grey (I Love it)
HTC TyTn II
Vodafone VPA iV
HTC Desire S-OFF


http://twitter.com/jeckyllhavok


My work:

http://forum.xda-developers.com/showthread.php?t=483701 TF3d QVGA Standby

http://forum.xda-developers.com/showthread.php?t=450556 Kaiser Low BT Volume Fix

Life sucks,
but graphics are great.
 
JeckyllHavok
Old
(Last edited by JeckyllHavok; 23rd January 2010 at 02:16 PM.)
#3  
JeckyllHavok's Avatar
Senior Member - OP
Thanks Meter 58
Posts: 1,176
Join Date: Jul 2007
WORKING SYSTEMS / ROOTFS'S: ( Collected in the forums)

- http://forum.xda-developers.com/showthread.php?t=587116 ION Donut, reuploaded by 160bpm
- http://forum.xda-developers.com/showthread.php?t=619980 MYNs warm Donut
- http://forum.xda-developers.com/showthread.php?t=619718 Jamezelles Sense Tattoo
- http://forum.xda-developers.com/showthread.php?t=591104 Plemens Donut AOSP
- http://forum.xda-developers.com/showthread.php?t=603028 Jamezelles Sense Hero
- http://forum.xda-developers.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://forum.xda-developers.com/showthread.php?t=614275


Thanks:

dzo, plemen, jamezelle, zenulator, enatefox, mssmision, vilord, rzk333, diagdave
SORRY IF I'LL FORGET ANYONE
HTC One M8 - Gunmetal Grey
HTC One X Grey (I Love it)
HTC TyTn II
Vodafone VPA iV
HTC Desire S-OFF


http://twitter.com/jeckyllhavok


My work:

http://forum.xda-developers.com/showthread.php?t=483701 TF3d QVGA Standby

http://forum.xda-developers.com/showthread.php?t=450556 Kaiser Low BT Volume Fix

Life sucks,
but graphics are great.
 
loserskater
Old
(Last edited by loserskater; 23rd January 2010 at 06:04 PM.)
#4  
loserskater's Avatar
Recognized Developer
Thanks Meter 3284
Posts: 1,847
Join Date: Jun 2008
Location: San Diego, CA

 
DONATE TO ME
Here's a couple boot screens I made.
Attached Thumbnails
Click image for larger version

Name:	Kaiser Android(black).jpg
Views:	617
Size:	11.7 KB
ID:	271624   Click image for larger version

Name:	Kaiser Android.jpg
Views:	374
Size:	11.4 KB
ID:	271625   Click image for larger version

Name:	Kaiser(boot).jpg
Views:	326
Size:	5.3 KB
ID:	271626  
Attached Files
File Type: zip Kaiser Android Boot Screens.zip - [Click for QR Code] (12.3 KB, 383 views)
HTC One (M8)

Do not PM me for help trying to get one of my mods to work.
That's what the threads are for. I posted the threads so you can see what I did, not as an advertisement that I will do it for you.
 
JeckyllHavok
Old
#5  
JeckyllHavok's Avatar
Senior Member - OP
Thanks Meter 58
Posts: 1,176
Join Date: Jul 2007
Thanks i'll add this to the first post
HTC One M8 - Gunmetal Grey
HTC One X Grey (I Love it)
HTC TyTn II
Vodafone VPA iV
HTC Desire S-OFF


http://twitter.com/jeckyllhavok


My work:

http://forum.xda-developers.com/showthread.php?t=483701 TF3d QVGA Standby

http://forum.xda-developers.com/showthread.php?t=450556 Kaiser Low BT Volume Fix

Life sucks,
but graphics are great.
 
stringbean82
Old
#6  
stringbean82's Avatar
Member
Thanks Meter 4
Posts: 93
Join Date: Mar 2008
Location: Tilburg
Thanks JeckyllHavok, good idea I keep posting over here am not into kernel things anyway
Androidworld.nl forums

HTC Hero / HTC Kaiser
 
zenity
Old
#7  
zenity's Avatar
Senior Member
Thanks Meter 9
Posts: 960
Join Date: Dec 2008
Location: Scotland

 
DONATE TO ME
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?
XDA IIi ROM: 1.11.00 WWE Radio: 1.04.0 ExtROM 1.11.171 WWE

HTC Kaiser 1: ROM: Polymod 2.1D Final-Dark : Radio: 1.65.21.18

HTC G1 Dream: GammaFly V1.3 RC2, AmonRa, DangerSPL, Radio 2.22.27.08

HTC Desire ParanoidAndroid 3.99



Polymod 2.1D Final Version: Gone, but not forgotten

Android boot splashes and boot animations (for Kaiser )
 
JeckyllHavok
Old
#8  
JeckyllHavok's Avatar
Senior Member - OP
Thanks Meter 58
Posts: 1,176
Join Date: Jul 2007
Just tested this with sshidels nexus rom, but itjust ends in bootscreen loops. Maybe other roms work
HTC One M8 - Gunmetal Grey
HTC One X Grey (I Love it)
HTC TyTn II
Vodafone VPA iV
HTC Desire S-OFF


http://twitter.com/jeckyllhavok


My work:

http://forum.xda-developers.com/showthread.php?t=483701 TF3d QVGA Standby

http://forum.xda-developers.com/showthread.php?t=450556 Kaiser Low BT Volume Fix

Life sucks,
but graphics are great.
 
idumych
Old
(Last edited by idumych; 20th January 2010 at 11:03 PM.)
#9  
Senior Member
Thanks Meter 20
Posts: 208
Join Date: Oct 2009
Location: Seattle, WA
Looks like in need to learn to read. I found these instructions in the Vouge forum:

Quote:
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.
 
SharpieMarker
Old
(Last edited by SharpieMarker; 21st January 2010 at 12:54 AM.)
#10  
Senior Member
Thanks Meter 0
Posts: 150
Join Date: Apr 2007
Buried for stupidity. Works great so far.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Get Your Cargo to its Destination in 4×4 Military Operations Reborn

Racing games have evolved quite a bit since the days of Pole … more

Automate Your Device with Sfen

Changing the profile of yourdevice manually is now long forgotten. Since the advent of Android automation … more

Galaxy Photo Screen Lock Displays a Photo Slideshow on Your Lock Screen

Being the most often looked at part of our devices UI, the lock … more

Boost the LG G3 Speaker and Headphone Volume

It seems like OEMs are stepping up their game, with regards to thequality of their devices sound … more