Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,783,129 Members 45,900 Now Online
XDA Developers Android and Mobile Development Forum

[release] nbimg: HTC splash screen tool

Tip us?
 
roboprint
Old
(Last edited by roboprint; 28th August 2011 at 10:36 AM.)
#101  
roboprint's Avatar
Senior Member
Thanks Meter 397
Posts: 703
Join Date: Jan 2011
Location: warsaw
Hi,
I have small problem with command in nbimg.
I type
nbimg.exe -w 480 -h 800 -F splash1.bmp | rename .bmp to .img
and file splash1.bmp.nb is created but not changing a name to img.
What can be wrong?
Edit: Solved
Can be :
nbimg.exe -w 480 -h 800 -F splash1.bmp
rename *.bmp.nb splash1.img

Phone: HTC Desire HD
ROM: Android Revolution HD 6.3.3 by Mike 1986
Kernel:RCMIX3D V12.2 CALL RECORD
Radio: 12.65.60.29_26.14.04.28_M ( exe version)
Mods: BlueHD for ARHD 6.3.x (includes beats audio) v3.9,


Thanks received are appreciated

 
RuLEoF2
Old
(Last edited by RuLEoF2; 27th April 2012 at 01:39 PM.)
#102  
RuLEoF2's Avatar
Member
Thanks Meter 6
Posts: 69
Join Date: Sep 2010
Location: Baltimore, MD
Can someone help me out?

I used this tool for my Incredible at least a couple dozen times and never had a problem. The string that worked for that was... "nbimg.exe -F splash1.bmp -w 480 -h 800". Worked every time.

Now, I'm trying to make some screens for my rezound and I keep getting the error below.



Thanks.
 
bgcngm
Old
#103  
bgcngm's Avatar
Recognized Developer
Thanks Meter 3,384
Posts: 3,360
Join Date: Apr 2007
Location: Lisbon

 
DONATE TO ME
The image that you have attached is broken.
Latest custom ROMs: ZTE V987 (MT6589) / ZTE V970 (MT6577)

If you like my work, please feel free to donate...

 
RuLEoF2
Old
#104  
RuLEoF2's Avatar
Member
Thanks Meter 6
Posts: 69
Join Date: Sep 2010
Location: Baltimore, MD
Sorry, try this.
 
vladnosferatu
Old
#105  
vladnosferatu's Avatar
Senior Member
Thanks Meter 1,700
Posts: 3,616
Join Date: Feb 2011
Location: Leiria

 
DONATE TO ME
i did make a nb splash file for sensation its 540x960.

now i'm trying to make for one x 720 x 1280.
but the nbimg crashes

any ideas ?



could be the bmp format ?
Quote:

dev | Sam i9505
rcv | CWM Touch
krn | kt-sgs4 4
rom | AOSPA3.99
btr | 2600 mAh
----------------
2dv | LG Nexus4
rcv | CWM Touch
krn | Franco191
rom | AOSPA3.99
----------------
lch | ADW EX
adw | i2 [1804 icons]

old :
Ericsson GH688 / Nokia 6150, 6210, 7610, N70, E71 / HTC Desire, Desire HD, Sensation, One X / Samsung Galaxy Nexus , S3

 
lt1pnyklr
Old
#106  
Senior Member
Thanks Meter 8
Posts: 249
Join Date: Aug 2009
Location: Greenville, SC
Can someone please explain how you use this nbimg script? Is it used from a pc or the phone? If the phone where do you put the file, root of sdcard? Then run terminal with the proper commands to convert? If you use cmd on a pc are you placing this file in your platform-tools directory? I don't get it.
HTC Sensation
Whatever rom works...
 
eclyptos
Old
#107  
eclyptos's Avatar
Senior Member
Thanks Meter 614
Posts: 2,991
Join Date: Jun 2008
Location: Planet Earth
GUYS, it's seems your don't know how works nbimg v1.1.

I try to explain because who use nbimg v1.1 don't know there is no way to go back if for curiosity someone try the second splash screen of the application.

Nobody write a warning about that.

I did 20 custom splash screen, like I like, and I do them today if I want. So I convert any .jpg file into .png 24 bit and i flash it. Ok, no problem.

BUT, with nbimg v1.1 you can chose to do 2 different splash screen 1st and 2nd, EVERYBODY think 2nd is AFTER R.G.D, is not.

Before that anybody on boot have only 1 splash screen, but if you do with nbimg v1.1 the second splash screen the first ORIGINAL splash screen will be SPLIT into 2 splash screen, AND AFTER THIS IS NO WAY BACK.

One beautiful day I try the second splash screen and now I got this crap.

Which problem I have now?

I can flash any stock/custom ROM from entire world via SDcard or pc but the second splash screen when show up the R.G.D don't go away.

I DON'T WANT MALGRD just to replace the picture.

Currently many application for change the splash screen work on phones which has never been flashed with nbimg v1.1.

Who did second splash screen with nbimg v1.1 have this problem.

Now I want have full sequence of this boot http://forum.xda-developers.com/showthread.php?t=625911 but it not replace the second bloody splash screen.

This is the problem.

To the OWNER of this application, PLEASE, remove the option of the 2nd splash screen because that option make many victims!

So people, DO NOT EVER TRY THE SECOND SPLASH SCREEN WITH nbimg v1.1.
 
charlietron
Old
#108  
charlietron's Avatar
Member
Thanks Meter 0
Posts: 54
Join Date: Mar 2008
Location: Barcelona
Gràcies pof! Jo encara vaig amb el meu HTC HD2 amb WinMo6.5 i això m'ha anat de perles!
 
dmonium
Old
#109  
dmonium's Avatar
Senior Member
Thanks Meter 149
Posts: 213
Join Date: Dec 2007
Location: Ambato

 
DONATE TO ME
Default nbimg.exe has stopped working

hi I'm trying to convert in BMP the orginal splah of HTC ONE but i get this error message

nbimg.exe has stopped working

this is the command

D:\Desktop>nbimg.exe -F splash1.nb -w 1080 -h 1920
=== nbimg v1.1
=== Convert NB <--> BMP splash screens
=== (c)2008 Pau Oliva - pof @ xda-developers

[] File: splash1.nb
[] Image dimensions: 1080x1920

D:\Desktop>

Could you help me with this?
thanks
ζΦ®d Đα®k ĐmΦηiμm.ςΦm

HTC One - 801s 64GB Black
ROM = MaximusHD 44.0.0 with Lyapota's modPack and more features DEVELOPED by myself
Base: 6.09.401.5
Android: 4.4.3
Sense: 6



HTC One X STOCK DEODEX Base 4.19.707.3
----DISCONTINUED
HTC Wildfire S EQDKP 5.0 Sense 3.5 - GB2.3.5 & Dmonium ONE RING LockScreen
HTC Wildfire DK Custom Froyo V4.7
HTC Touch HD Energy™ 6.5 & Dmonium Windows 7 Theme
HTC Touch P3450
 
Modding.MyMind
Old
(Last edited by Modding.MyMind; 23rd August 2014 at 02:53 AM.) Reason: Added .rle support
#110  
Modding.MyMind's Avatar
Senior Member
Thanks Meter 1,447
Posts: 1,646
Join Date: Nov 2013
Location: Richmond, Virginia

 
DONATE TO ME
https://github.com/ModdingMyMind/Android_Splash_Image

Requires NBIMG/to565, BUSYBOX, and GM (GraphicsMagick)!

NBIMG/to565 and GM are all included in this repo. They have been statically compiled for ARM to work with PRE-JB devices as well as being in compliance with Android L (latest release).

-- Clone, or download Repo
-- Place binaries and script to /system/bin on your Android device
-- Set permissions to 755 (rwxr-xr-x)
-- Open Terminal then type and enter, SPLASH, to run the script.
-- Enter the root directory of where your image(s) are located as requested by the script
-- Enter your device resolution as requested by the script
-- Select either .img or .rle format
-- Check directory after completion, enjoy

Ok, so, what exactly does this script do? Valid question, so let me go ahead and answer this for you.

When you run the script it will ask where the image(s) are located on your device. It will check to see if the directory exists and if it doesn't it will let you know. This check is mainly there in case you made a typo (I recommend copying and pasting if this is a problem for you).

Next, it will ask for your device resolution so it will know what size to make the image. Again, it will check the info you tell it and if not correct it will ask you again.

The script will then ask you if you wish to convert the pictures to either "splash".img format or "splash".rle format. Pick your option.

Once the script has this information it will proceed to read the entire directory and take note of all the pictures. The pictures do not have to already be in .bmp format. They can be .jpg, .png, etc.

Important: The script will check for Busybox, gm, nbimg, and to565 as needed and if what is needed to run the script is not found it will inform you then abort.

After it takes note of all your images it will proceed to use GraphicsMagick to resize the images based on the info you gave it as well as convert it to .bmp or .raw. Afterwards, it will call on nbimg/to565 to convert the newly created .bmp/.raw image in to the properly formatted splash image whether it be .img or .rle based on the option you initially chose at the beginning.

It's rather simple but very useful when dealing with multiple images.

It doesn't take long for the process even if you are dealing with, say, 50 pictures lol.

When it is finished go to the directory and you will see the .img or .rle and picture for each. The picture is kept so you may view it through your gallery and determine if you will like it as your splash screen. If you do, then go to the .img or .rle file of that picture and rename it accordingly.

I won't go in to details on how to apply the images since I expect this to be used as assistance for devs out there - experience is expected in this case.

-- Happy Hunting!

The Following 4 Users Say Thank You to Modding.MyMind For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes