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

Search This thread

mnjm9b

Senior Member
Apr 26, 2008
1,046
227
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
 

Attachments

  • nbhcreator_0.3b.zip
    2 MB · Views: 3,044
Last edited:

zenity

Senior Member
Dec 23, 2008
961
9
Scotland
Honestly? I think it rocks, since I'm to lazy to build my own NBH's :D

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 :)
 

Dukenukemx

Senior Member
Jul 24, 2008
1,151
52
Jersey
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.
 

mnjm9b

Senior Member
Apr 26, 2008
1,046
227
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.
 
Last edited:

mnjm9b

Senior Member
Apr 26, 2008
1,046
227
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.
 
Last edited:

Dukenukemx

Senior Member
Jul 24, 2008
1,151
52
Jersey
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.
 

richard_s

Member
Dec 30, 2006
14
0
Leicester
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 :confused:

The package installed, along with it's dependencies. Now what? How do I run it?

Sorry if this is basic stuff...

richard.
 
Last edited:

richard_s

Member
Dec 30, 2006
14
0
Leicester
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.
 
Last edited:

mnjm9b

Senior Member
Apr 26, 2008
1,046
227
Edit: As I expected, I found the solution right after posting. Run NBHCreator.gambas from /usr/bin

richard.

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?
 

mnjm9b

Senior Member
Apr 26, 2008
1,046
227
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.

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.
 

richard_s

Member
Dec 30, 2006
14
0
Leicester
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.

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.
 

mnjm9b

Senior Member
Apr 26, 2008
1,046
227
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.

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?
 

poly_poly-man

Senior Member
Sep 26, 2008
228
0
jersey shore, nj, usa
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.
 

mnjm9b

Senior Member
Apr 26, 2008
1,046
227
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