yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] loserskater:
Small update.

(7-1-10)

Now when saving, it sets the file as VOGUIMG, KAISIMG, or POLAIMG.

Added HW3D text for Froyo. It's the same for Eclair but might be less confusing for some people.

Added ability to change system/data partition for Kaiser and Polaris. Just one other option but it's a start.

NOTE: The first option is the standard one that we've been using from the start. It doesn't look like it but it is.
[Touch CDMA Android Development] scooter1556:
Loving this application, very handy. Just thought i'd ask a few questions, i was wondering if it would be possible to change the overclock feature so you can assign your own overclock figure maybe with a limit of 500 so it doesn't become unstable. Also with regards to the new partition size feature, i'm guessing your plan is to allow this to be fully customisable in the future? Out of interest, does the system actually get bigger after the initial install or do all apps, messages etc.. get stored in data? If this is the case it would be great to be able to change the system partition to a size which best suited the build your using. Thanks for your work, great stuff. Working well in wine too!
[Touch CDMA Android Development] loserskater:
(7-5-10)

Added support for Froyo for both Vogue and Kaiser.

Will post new update when Polaris gets figured out.

The "reading" system when opening froyo NBH's will be a little off (e.g. things not selected that should be), just select what you need to select and it will work out fine.

Also disabled altering system/data partitions until I get it working better.

Cleaned up some excess code.
[Touch CDMA Android Development] thoughtlesskyle:
i have tried to edit the froyo.nbh with no luck so far they just will not boot after they have been tampered with
[Touch CDMA Android Development] loserskater:
hmm... I guess I need to test some more. What settings are you trying?
[Touch CDMA Android Development] thoughtlesskyle:
im just trying to make a froyo .nbh 320x480
[Touch CDMA Android Development] loserskater:
I tired with just hex editing KK's and also using this editor, and they both boot the same... Are you trying to use other settings? What panel type?
[Touch CDMA Android Development] SuperJMN:
HW3D for Polaris?

Hi everybody! I've seen that it's possible for the moment to set Froyo HW3D only to Kaiser and Vogue. I'm a Polaris owner and I wonder what benefits could I with this setting once it's implemented.
[Touch CDMA Android Development] fldash:
Anyway to change button layout with this editor? Really would like to remap power so I'm not using two wires coming out the top of my phone...
[Touch CDMA Android Development] kallt_kaffe:
I don't think 320x480 will work with the new Froyo kernels. Part of saving the 11Mb was that we need less video ram because of the smaller screen. Running 320x480 likely requires more RAM. I think it may be possible to create a 320x480 kernel that still gains 7Mb memory instead of gaining 11Mb but why use HVGA with wrong aspect ratio on an QVGA device?
[Touch CDMA Android Development] thoughtlesskyle:
its just what i am used to using, also i didnt run into the missing apps in market problem some of the other users myself included have been since running at 240x320, i can tell you for sure that 240x320 is using way less ram.

and loserskater to answer your question im not sure what panel type i am, i think most sprint vogues are 3 and i have never had an issue till now
[Touch CDMA Android Development] Gersonian:
I too am used to the 320x480. I personally think it looks better because everything fits correctly and nothing is gigantic. Also, you gain a lot of real estate on each screen with the higher resolution. I would be more than happy to gain 7mb instead of 11mb and keep the 480 resolution. I cannot get the nbh editor to work on this either and I really thought I destroyed my phone until I realized that it would require both a reflash and a reinstall of my system... PHEW!
[Touch CDMA Android Development] loserskater:
The new update is pulled until I can figure out the situation. I also plan to revamp the code because right now it is very sloppy and makes updates like this difficult. So expect a minor release tonight and another this weekend. (It's mainly for my own good but will help me release updates faster in the future)
[Touch CDMA Android Development] dertester123:
Hey im looking forward to this :D

Must be coincidence that you pulled this when i need it the first time:D:D

There is a nbh for polaris for incubus rls9 around but i need to change panel1 to 3 if i am not wrong. Would be a cool test for your tool ;D

I was looking into the nbh with some freeware hex editor thinking to find something.. but i cant "see" a thing there.

So hope its back soon ;D
[Touch CDMA Android Development] giveen:
Noob here, I can't seem to find the download for this application. I'm I just blind?
[Touch CDMA Android Development] mnjm9b:
wow....all I can say is wow
[Touch CDMA Android Development] thoughtlesskyle:
i think putting noob before a post does not make up for a complete lack of researching and or leading to questions like that
[Touch CDMA Android Development] loserskater:
I need some vogue testers please...PM me if interested.
[Touch CDMA Android Development] loserskater:
Hopefully this will work now... if Vogue and Polaris users would like to just double check and let me know that'd be great.
[Touch CDMA Android Development] ahhl:
the nbh ver still 3.5.0 not 3.5.1??
[Touch CDMA Android Development] loserskater:
I just forgot to change the app version on the actual app... sorry. It's really 3.5.1 though
[Touch CDMA Android Development] SuperJMN:
Hi loserskater! How's it going with the RAM freeing part? If you're implementing it for Polaris users, I can be your betatester. I love updates ;)
[Touch CDMA Android Development] loserskater:
If you want to convert the latest vogue 240x320 to polaris 240x320. That has the ramsize hard coded to 0x07300000. I'm not sure if this is correct for polaris and kaiser but I've been using it all day
[Touch CDMA Android Development] SuperJMN:
Using your latest version and the latest .NBH for Vogue converted to POLARIS:

Total used free

Mem: 104512 100888 3624

Is it OK?
[Touch CDMA Android Development] dertester123:
hmm where did you look for this?

Im using polaimg-panel3-320-froyo-07-07-10.nbh

101696k used 2844k free, so nearly the same.

if i look in advanced task kiler i got ~40M free after killing.
[Touch CDMA Android Development] kallt_kaffe:
All platforms use the same ramsizes now with the kernels I just posted here (and with any future kernels): http://xdaforums.com/showpost.php?p=7141910&postcount=448

I've also posted a brief explanation on how RAMSIZE is used.
[Touch CDMA Android Development] loserskater:
I get home from vacation tonight so I might have time to make the changes to the editor.

Thanks for your work on the kernel!
[Touch CDMA Android Development] loserskater:
I had some time to update this. Like always, let me know if you think you're having issues with this. Enjoy
[Touch CDMA Android Development] loserskater:
Finally got around to adding overclock and system/data partitioning.

I haven't tested this but it should work. Let me know if you're having difficulties.
[Touch CDMA Android Development] scooter1556:
Haven't tried this yet but looks perfect. All the features it's possible to have surely!! Good job. I think GHz in the overclock section is a little optimistic though,400 GHz, i wish!!!
[Touch CDMA Android Development] loserskater:
Haha wouldn't that be nice! Completely overlooked that. Thanks for the catch
[Touch CDMA Android Development] FlanFlinger:
Bit of an odd one this

First set the NBH on my kaiser with an overclock but left the battery unchanged as I have a stock 1350, booted the phone up and the battery level didn't drop all day, then suddenly went to 14% and told me to charge.

Reflashed without selecting overclock and battery level reading is fine
[Touch CDMA Android Development] loserskater:
The battery full problem is something that happens every once in a while when flashing. It usually only happens during the first boot on a new flash. It still happens to me occasionally. The two best things to do are either wait until it drops to 15 and then plug it in to charge OR just leave it on the charger overnight when it says it's full. When you use it the next day it should be reading correctly.
[Touch CDMA Android Development] FlanFlinger:
Cool beans !

I'll reflash
[Touch CDMA Android Development] flamming_boy:
System/Data Partition

Hi, can i know what is the consequences when i adjust System/Data Partition? Izzit the ram will gain when i adjust System > Data?
[Touch CDMA Android Development] loserskater:
The only reason you should alter it is if you're running a build that requires a bigger system partition, like the older Sense builds that were like 170 MBs big. Or if you want to run system on nand but data on ext2 partition (sd), or vice versa, then you can adjust it so there's a lot more room on nand.

There's only a performance issue if the system/data size is too big for its partition.
[Touch CDMA Android Development] Rosered:
thx for the program works great for my kaiser 130

also the battery

kisses

Rose Red
[Touch CDMA Android Development] loserskater:
Are you trying to save it as the same file you opened? I think that's what happens. I need to look into this more but try saving it as something else (i.e. KAISIMG2.NBH) and see if the error still comes up.
[Touch CDMA Android Development] loserskater:
(8-19-10)3.6.4

Hopefully fixed Ubuntu and Mac problems.

- Need separate files because the "reading" system wasn't working correctly.

- It will now set everything as defaults when opening any file.

- I'll try to make this work better, but for now it at least opens.

Now made it unable to overwrite the file you're opening. This will prevent errors on save that some people are experiencing.
[Touch CDMA Android Development] axl30:
excuse me but that setting should I put the cruise? panel 1-2-3? and others?
[Touch CDMA Android Development] loserskater:
Make sure you select polaris. And then just whatever settings you want.

Whatever resolution you like, probably 240x320 is the most used.

And whether the android build you want to use is Donut(1.6), Eclair(2.1), or Froyo(2.2)

The panel type you'll just have to test. I think either 1 or 3. Just pick one and if it doesn't look right, doesn't sleep, or whatever then change to the other.
[Touch CDMA Android Development] GuySparkz:
sorry for the newb question... I have the tilt for att

I need to know what is the best "resolution", "Version" and "Panel Type" settings to select for my device.

Whats the differece between Donut, Eclair and Froyo?

everything else seems pretty self explanatory, except the ppp.nostart what is this?

and the "more settings" section is this relevent? Altering CPU overclock settings what is recommended?

any1 recommend a good radio or hardSPL to use Im in the southern cali surrounding area.... <--sumthing compatible.
[Touch CDMA Android Development] axl30:
thanks for everything
[Touch CDMA Android Development] loserskater:
I just updated the first post with a "What Everything Means" section
[Touch CDMA Android Development] sancho1234:
I changed the value of the battery in the "kaisimg-panel2-320-tilt-froyo-26-07-10.nbh" with the NBH Editor 3.6.4 to 1350mAh. I saved the NBH and dumped to Kaiser. I see in the "/sys/module/board_kaiser_battery/parameters/battery_capacity", the value of the battery is 2000, not 1350. Why?
[Touch CDMA Android Development] loserskater:
Because through numerous tests and formulas, users in the kaiser thread have figured out that it needs to be a number greater than 1350. 1350 was giving false battery readings and testing different formulas/numbers has resulted in 2000 giving the best battery readings for a 1350 mAh battery. So I have it calculate (mAh * 1.48)+2 = best readings.
[Touch CDMA Android Development] sancho1234:
It's interesting. Thank you for your help! My experience is that this is off the machine because it did not properly indicate that the charge is low. For example, just an hour using the computer, the wifi works, and there are still 100% level.
[Touch CDMA Android Development] loserskater:
Read my post on the previous page regarding the full battery issue.
[Touch CDMA Android Development] sancho1234:
Sorry, okay, thank you!!! :)
[Touch CDMA Android Development] vellowax:
So does it mean that i should set the battery to 2000 or leave it 1350 ?

The new release 3.6.4 does make a different.

Thank you for this great tool.
[Touch CDMA Android Development] loserskater:
Just do what the tool says. Set it as what it says physically on the battery. The tool does the calculations and sets it in the kernel accordingly. So if your battery says 1350 then put 1350.
[Touch CDMA Android Development] loserskater:
Bad news.... I'm upgrading my device in a couple weeks so I probably won't be able to continue this much longer. Although, I think there's not much left to do now.

Good news... I've been rewriting code all last night and this morning, but it's done. *knock on wood*. Now everybody can see how this program works, and it will be much easier to continue on.

Huge thanks to l1q1d for starting it and getting the ball rolling. This should run the same on all platforms now. You need to download python now, but I noticed a lot of "amateur" coding as I was rewriting it, so this version may not be noticeably different from the previous but at least everybody can see what's going on now.
[Touch CDMA Android Development] SuperJMN:
loserskater, you have developed a great tool which, without it, we would have had a lot of troubles with lots of different versions. It's really convenient and it's a pity that your work will remain out of your expertise. I hope somebody could get your newest Python code to implement any possible modification. Your tool is perfect for its use, per se. I cannot see what more have to be done, because you already made it so complete that it's not missing features or any noticeable bug.

Good work and good path the one you took, helping the other. God bless you.
[Touch CDMA Android Development] scooter1556:
Well, great job as always loserskater, good to see you've transformed into a pro programmer and hopefully you will put your new found talents to good use in the future. Thanks for a great application, can't see how you could improve this further so i think it's a good time to close the lid on this one (unless DZO changes the nbh structure, hehe) Anyway, all the best. I'm sure you'll be back again for curiosities sake.
[Touch CDMA Android Development] sancho1234:
Phyton? Too complex for me. :( I'm sorry.

I can not start the 4.0 ver... :(
[Touch CDMA Android Development] loserskater:
I wouldn't call myself a pro programmer in the slightest. I've only scratched the surface. Thanks though. And I'm still around for a couple weeks and I know I'll at least see this project til the end when dzo moves on.
[Touch CDMA Android Development] loserskater:
I'll re-upload the exe version later today.
[Touch CDMA Android Development] sancho1234:
Okay, thank you very much! :)

Question: After opening the file, what do I see? The options for the file, or they are independent? For example: the battery capacity is seen in the file is, or is it a previously saved file is not a value?
[Touch CDMA Android Development] sancho1234:
XDA-Devs Donation

7JK74289VM4436137

Respect!
[Touch CDMA Android Development] loserskater:
When you open the file it shows what that file is set as. Then you change it to whatever settings you want and save it
[Touch CDMA Android Development] loserskater:
Should be an easy fix. I'll have an update later today.
[Touch CDMA Android Development] loserskater:
I had kaiser seeking to the wrong offsets. I figured it out but need to fix vogue and polaris. Will push changes after class
[Touch CDMA Android Development] loserskater:
Battery and system/data partitions should work properly now.

I also included the old version for all of those that don't want to mess with python.
[Touch CDMA Android Development] cruiserrr:
do you plan to add the option to remove double vibration on install for polaris pola100? thanks for the good work
[Touch CDMA Android Development] loserskater:
Ask and you shall receive! New version should have disable vibrate on boot working
[Touch CDMA Android Development] cruiserrr:
thanks so much! I will post my results !
[Touch CDMA Android Development] flinx42:
Hey loserskater

I think you might have a bug in the new python version.

Having just downloaded the latest dzo kernel from 2/09, I used for the first time your python version.

Just out of interest I also used the "old" executable version you've got still posted.

Using the same base parameters (kaiser,froyo,3,normal) I end up with the same nbh except for one byte!

At 0013E01 it has an "e" with the executable, but a "0" with the python script

As that is part of a string reading: "pm.sleep_mod?=1" (? is above byte), I reckon the python one got it wrong
[Touch CDMA Android Development] loserskater:
It's probably just something that seeks to the wrong place. I'll fix it when I get off work.
[Touch CDMA Android Development] cruiserrr:
I am backing up my 16G SDCard to format it to FAT32 so I can flash NAND from the SD...so I have not flashed yet. What I noticed is that the new parameter is only available when the first option "include ppp.start" is ticked. Is that OK?

Another thing is that when I click the new "no vibrate" option and save, if I reopen the saved file is not ticked anymore. I guess it is only saving the parameter but not reading it, is that right?

I will test anyway and report
[Touch CDMA Android Development] loserskater:
Yes. The "include ppp.nostart..." needs to be checked.

The reading system only reads device, panel, res, version, and keyboard at the moment. I need to update it to read more info. But if you saved it with the setting then it should still be there.
[Touch CDMA Android Development] cruiserrr:
Thanks, it double vibrates but anyway it works for me!!!! And overclocking works great also. Regards
[Touch CDMA Android Development] t1mman:
Any plans to enable battery capacity for vogue?

Great work BTW!
[Touch CDMA Android Development] loserskater:
As far as I know, you can only alter Kaiser battery settings. Vogue and Polaris need to be build into the kernel.
[Touch CDMA Android Development] loserskater:
I've been struggling with getting just a standalone exe of the python code, but there seems to be only one way at the moment, and it's bulky. It's about 4MBs but you can use it without installing python. Just extract the folder to wherever and run nbheditor.exe. I'm still trying to figure out how to get it all "compact" but until then expect exe releases to be this way.
[Touch CDMA Android Development] loserskater:
Huge update! Thanks to l1q1d and dzo (for adding the link), you can now download the latest nbh from inside the editor. The icons at the top are Open(local file on computer), Download latest(from dzo's site), and save.
[Touch CDMA Android Development] cruiserrr:
thanks !! 1 questions and 1 suggestion:

can you elaborate on this explanation or put an example? I don't get it:

"-ppp.nostart: If you set this to 1 it should prevent data from starting on boot. Helpful for some people but if you don't have to worry about data then leave it 0."

maybe you can complete new options to define where thinks have to be installed and help creating partitions or needed img files: eg. installing data to sd card, installing apps to sd card, etc.

thanks again
[Touch CDMA Android Development] loserskater:
I'll add to the OP, but basically setting ppp.nostart to 1 will prevent android from trying to automatically start a data connection when it boots. This is helpful for people that don't have a data plan with their provider.
[Touch CDMA Android Development] SuperJMN:
Bug?

Hi loserskater! I've tried your new NBH Editor 4.1 and when I choose to download the .nbh file from the program, the file that is generated has the wrong size. Maybe it doesn't download the whole file (it's a bit smaller).

When I download it separately and open from the Open local file, it works like a charm, though :)
[Touch CDMA Android Development] loserskater:
Are you sure? I just tried and it's the same size as the previous nbh on my desktop
[Touch CDMA Android Development] SuperJMN:
Yes, I'm sure! take a look at the snapshot.*

POLAIMG.nbh was generated from a local file (downloaded by me). It was flashed OK.

POLAIMG 2.nbh has been generated right now from the editor. As you see, it's a bit smaller. The Custom RUU flasher refuses to flash it.

By the way, the options I used to generate it were:

Polaris, 240x320, PanelType=1, overclock to 520 MHz and disable vibrate on boot.

I was using the new editor that comes with a Python runtime (.exe). I think it's the newest. Thanks for your dedication!
[Touch CDMA Android Development] l1q1d:
Hi SuperJMN, i wrote the download part, could you please do the same test with vogue image?

Download the file and save it as it is and post here.

Thank you
[Touch CDMA Android Development] SuperJMN:
l1q1d, I have tried to generate a Vogue .nbh and the size is also wrong. This time I have used the nbheditor.py. I think there's a problem with the original file, being smaller than it should be, or the generated file not being written completely. I can send you the generated file in order to compare it. Tell me your e-mail via PM if you want. Thanks to you!
[Touch CDMA Android Development] l1q1d:
I fixed the bug, try now :-)
[Touch CDMA Android Development] scooter1556:
Strange request and possibly pointless for most but could you put the version number in the 'about' section or toolbar of the program? I have found myself forgetting if i've downloaded the latest one so downloading again everytime i edit a an nbh,lol. Cheers.
[Touch CDMA Android Development] l1q1d:
@scooter1556: done!
[Touch CDMA Android Development] jaypmcwilliams:
Kaiser at&t tilt android 1.6 myn warm donut keyboard backlight

Is there a way to adjust the Kaiser at&t tilt android 1.6 myn warm donut keyboard backlight to timeout like it did with windows mobile????

thank you, jay
[Touch CDMA Android Development] l1q1d:
It's a kernel related features not a simple hack in nbheditor more coding is need for it in kernel sources.
[Touch CDMA Android Development] jaypmcwilliams:
thank you.
[Touch CDMA Android Development] sancho1234:
Where can I found the changelog?
[Touch CDMA Android Development] l1q1d:
First post click on updates
[Touch CDMA Android Development] ZeGuido:
MacOSX problem. FireWall ?

Hy,

I am trying to get nbhEditor working on my MacOS10.5 machine. I did install python 2.7. When I launch NBHeDitor, I get an error message :

"Idle's Subprocess didn't ak connection. Either Idle can't start a subprocess or personal firewall software is blocking the connection. "

Sorry for being a bit paranoid, but I don't disable my firewall without knowing what's going on.

Do you have any detail on this issue ?

Thank you very much.
[Touch CDMA Android Development] loserskater:
I'm not entirely sure because I don't own a mac, but are you trying to download the latest nbh? If you are then all it's doing is connecting to dzo's site. You can try going to his site from your browser (link in first post) and downloading it and then just opening it with the folder icon.
[Touch CDMA Android Development] ZeGuido:
Humm...

In fact I don't even start to do anything. It just gives this error upon launch. But I can figure out that if your soft is trying to get to DZO's .nbh link and it isn't requesting it the way MacOS10 is expecting it it might get blocked as an evilware.

It is too late for testing this evening. I'll try it out with some custom firewall setting in a couple of day and let you know. (Yeh, I'm truly paranoid. )

Thank's for replying.
[Touch CDMA Android Development] l1q1d:
I develop nbheditor on Mac 10.6.4 (aka Snow Leopard) and i haven't this problem. Try to use 2.6 version.

If you want to see the "internet" part search the http addresses in the file.