yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Lord_Quack:
Well then use that instead of complaining about a tool someone created for the people who might only be starting out to flash or who cannot get the hang of command-line.

Its an excellent tool that does what it says on the tin, I have flashed the splash screen, and tested out the boot-animation too. It works, and many people use it. Do you see them complaining that its not full of flowers, or that it 'only' works on windows? Prove you can do better if you are really frustrated that this 'only' works on windows, and design a better one yourself.

As for me, I'm grateful for the tool, I can use adb and fastboot, but this saves me time. Few problems as I got to learn the tool, but now I'm fine.

Be grateful for what someone has created, don't spurn their work.
[Android Software Development] kellyj1978:
I asked the same question on the two pages back... I was advided to delete the two spash files in the data folder.

however i flashed again but this seems to give a different error

C:\androidSDK\tools>@echo off

cd data\

taskkill /F /IM adb.exe

SUCCESS: The process "adb.exe" with PID 6084 has been terminated.

taskkill /F /IM fastboot.exe

SUCCESS: The process "fastboot.exe" with PID 1760 has been terminated.

adb.exe reboot bootloader

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

ffmpeg -i splash1.bmp -f rawvideo -pix_fmt rgb565 splash1.img

ffmpeg version git-N-29638-g95f163b, Copyright (c) 2000-2011 the FFmpeg developers

built on May 6 2011 12:50:01 with gcc 4.5.3

built on May 6 2011 12:50:01 with gcc 4.5.3

configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib --pkg-config=pkg-config

libavutil 51. 2. 1 / 51. 2. 1

libavcodec 53. 3. 0 / 53. 3. 0

libavformat 53. 0. 3 / 53. 0. 3

Del splash1.img

Del splash1.bmp

libavfilter 2. 4. 0 / 2. 4. 0

fastboot.exe reboot

libswscale 0. 14. 0 / 0. 14. 0

libswscale 0. 14. 0 / 0. 14. 0

[bmp @ 0034CFC0] bad magic number

[image2 @ 0034AD80] Could not find codec parameters (Video: bmp)

splash1.bmp: could not find codec parameters

error: cannot load 'splash1.img'

Could Not Find C:\androidSDK\tools\Data\splash1.img
[Android Software Development] goofylad:
worked for me cheers! :)

you tried to open the BMP in paint and then resave it as 24bit bmp then try again? it looks (from my very very very limited idea) that it's not able to open the file to write it?
[Android Software Development] Lord_Quack:
Are you sure your image is in the location you specified?

I.E

C:\androidSDK\tools\Data\splash1.img

I have no idea about this, but I used version 1.7.5.23 of the utility, it worked fine after a few attempts.

What program are you using to make the bmp file?

I downloaded GIMP (free) because macromedia fireworks images weren't working, the GIMP ones did because FW didn't create them as 24-bit...

Anyway, maybe it'll help, maybe not, but here is the version of the flasher I'm using.
[Android Software Development] kellyj1978:
Thanks, just tried that. But that version of android flasher just crashes out every time for me..
[Android Software Development] kellyj1978:
Tried your advice and it seemed to get a little further, but now sticks again. lol

C:\Users\JK\Desktop>@echo off

cd data\

taskkill /F /IM adb.exe

SUCCESS: The process "adb.exe" with PID 7248 has been terminated.

taskkill /F /IM fastboot.exe

SUCCESS: The process "fastboot.exe" with PID 7612 has been terminated.

adb.exe reboot bootloader

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

ffmpeg -i splash1.bmp -f rawvideo -pix_fmt rgb565 splash1.img

built on May 6 2011 12:50:01 with gcc 4.5.3

configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib --pkg-config=pkg-config

libavutil 51. 2. 1 / 51. 2. 1

libavcodec 53. 3. 0 / 53. 3. 0

libavformat 53. 0. 3 / 53. 0. 3

libavdevice 53. 0. 0 / 53. 0. 0

libavfilter 2. 4. 0 / 2. 4. 0

libswscale 0. 14. 0 / 0. 14. 0

Input #0, image2, from 'splash1.bmp':

Duration: 00:00:00.04, start: 0.000000, bitrate: N/A

Duration: 00:00:00.04, start: 0.000000, bitrate: N/A

Stream #0.0: Video: bmp, bgr24, 480x800, 25 tbr, 25 tbn, 25 tbc

[buffer @ 02DB85E0] w:480 h:800 pixfmt:bgr24

[ffsink @ 02DB8980] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'

[scale @ 02DCD160] w:480 h:800 fmt:bgr24 -> w:480 h:800 fmt:rgb565le flags:0x4

Output #0, rawvideo, to 'splash1.img':

Metadata:

encoder : Lavf53.0.3

Stream #0.0: Video: rawvideo, rgb565le, 480x800, q=2-31, 200 kb/s, 90k tbn, 25 tbc

Stream mapping:

Stream #0.0 -> #0.0

Press [q] to stop encoding

frame= 1 fps= 0 q=0.0 Lsize= 750kB time=0.04 bitrate=153600.0kbits/s

video:750kB audio:0kB global headers:0kB muxing overhead 0.000000%
[Android Software Development] fragargon:
hi,

you don't need anything more than android flasher to do what is has been design to.

however if you want use adb which is something else uou should install it + sdk platform.

hope this answer Ur question ;)
[Android Software Development] H88RRY:
OK so i tried using this excellent bit of kit to flash a new radio but my comp cut out and now i think i might of f'ed my phone....

instead of getting my roms usual boot animation i get the plain blue "android" one which i know means trouble lol

anyone please help a guy just starting to try new things lol ;)
[Android Software Development] Lord_Quack:
Flashing a radio shouldn't cause any problems... Seeing as it cut out part way through, I guess you can just try reflashing the radio.

Some things you can try;

1) Reflash radio, or previous version.

2) Reflash the actual ROM, it should come with a radio built in, so that might work.

3) See if you can get into HBOOT menu, restore your backup (I assume you have one... you should ;))

I don't know that much about problems like this... I heard that flashing a radio is a simple and safe process, and you would just have to do one of the above...

Does the phone actually boot up if you leave it for a while? Or does it stick on that screen?
[Android Software Development] kellyj1978:
Ive tried to flash 480x800 splash1.bmp now as 16, 24, 32 via photoshop and i still get the above message. Any ideas, please?
[Android Software Development] freak69ize:
Im not sure what im doing wrong here.. I choose " splash " click on begin.. choose my splash screen wich i saved as bmp.. click on yes when it asked if image was right.. it goes through the process.. my fone boots to fastboot.. fone reboots with old splash screen and inside android flasher after it says writing image it says FAILED: remote not allowed
[Android Software Development] Lord_Quack:
Are you sure you have S-OFF?

Boot into Bootloader and check the top line that it says S-OFF somewhere there, not S-ON
[Android Software Development] freak69ize:
Yea im positive i have S-OFF.. was just there earlier and thats what it still says. Could it be cuz im CDMA? I wouldnt doubt it.. lol
[Android Software Development] Meaple:
Just use fastboot, more stable.

fastboot flash splash filename.bmp

Think that's the command for it.
[Android Software Development] freak69ize:
Im not to familar with using fastboot. I just tried changing it using a PB99IMG zip that i made.. it said parsing but didnt ask if i wanted to install it. I used the same kinda zip someone else made yesterday and it worked but its not reall the splash screen i wanted.. but oh well.. atleast its off the boring Alltel splash
[Android Software Development] Lord_Quack:
If you look in the data file that comes with this, you will see some files. I can give you a manual step by step mini guide if you want...

1) Make sure your BMP is 24 bit and 800x480.

2) Put your phone into fastboot, plug it up to the computer (power off, then volDown and power until white screen, wait for dialog to appear then disappear, then press VolDown, then power. Connect to PC)

3)open command prompt.

4)Drag and drop nbimg.exe, press space the type "-F" (minus quotes) then another space, then drag and drop your BMP image.

It will create an image with an extension nb.img.

5) Manually rename to "splash1.img"

6)Drag and drop fastboot.exe, press space, type "flash splash1" then space, and drag and drop your .img file. Press enter.

This should write the image as the splash.

(OPTIONAL)

7) drag and drop adb.exe, press space, then type "reboot"

If it has done it correctly, you should see your splash screen. Either use the command above, or manually reboot.

Hope this helps. Any questions feel free to ask, I don't think I've missed anything out. If it works, don't forget to press "Thanks" =D
[Android Software Development] freak69ize:
Ok ill give that a try.. I went ahead and clicked thanks anyway.. atleast you tried to help and thats more then alot can say.. thanks and ill let ya know if it works out
[Android Software Development] freak69ize:
Ok i have 1 question.. pretaining to step 6.. when you say .img file do you mean the splash1.bmp?
[Android Software Development] ziggy1001:
Just a suggestion and not a request as i have no problem with ADB

But how about a USB brick fix function for the ADB phobic

So it simply runs

fastboot oem enableqxdm 0
and then
fastboot oem eraseconfig
[Android Software Development] Domey2510:
Cant seem to get this to work, i downloaded the cm7 hboot and tried flashing but the phone just stays in fastboot, should i be renaming the .img file before trying to flash?

sent from my HTC Desire
[Android Software Development] ziggy1001:
Does it say Fastboot USB on your phone?
[Android Software Development] Domey2510:
Yeah shows up as fastboot usb

sent from my HTC Desire
[Android Software Development] Lord_Quack:
No, you are using the splash1.img that you created... The one you rename from splash1.nb.img to splash1.img.

This should be created in the same place the original bmp was.
[Android Software Development] ziggy1001:
The MD5 value is correct? AFAIK no need to rename just select flash HBOOT from menu
[Android Software Development] Domey2510:
Yeah checked the md5 and they matched... I load the flasher, plug my phone in and select hboot, phone goes into fastboot, i select the cm7 img file and it says flashing hboot cm7 img but doesnt do anything, waited 10mins this morning and no success.

sent from my HTC Desire
[Android Software Development] duryard:
Before I make a mess of my desire will this tool work on Leedroid 3.06 rom (GB) All I want to do for now anyway is change the joker from alpha rev
[Android Software Development] ziggy1001:
It does of course say BRAVO PVT* S-OFF at the top of the phone's menu?
[Android Software Development] Seronez:
I've got exactly the same problem. My Desire disconnects in Fastboot USB Mode. S-OFF and rooted with Leedroid 2.4. I tried to reinstall adb drivers...no luck... in Fastboot usb it shows up in the device manager as Bootloader i don't know if i have to have special drivers but i think it should be fine worked before by the way

PS: I tried to install Recovery
[Android Software Development] ziggy1001:
Don't quite understand if "My Desire disconnects in Fastboot USB Mode" that indicates you have the wrong drivers and if it is disconnected in Fastboot USB Mode how does it "in Fastboot usb it shows up in the device manager as Bootloader"
[Android Software Development] epivitor:
I'm trying to flash the new radio but it's in zip format and this app flashes only img radio extensions.

What can I do?
[Android Software Development] Lord_Quack:
If you have clockworkmod recovery (i dont know if ra has it too) then copy the radio zip to your sd card, put your phone into recovery> install zip file> install zip from sd> then find the radio zip on the list. Hope this helps.

Remember to say Thanks if it works! =D
[Android Software Development] epivitor:
I have clockworkmod 3.1.0.1 and what you said didn't work.

What I did was unziping the radio.zip and inside it there was the img radio file (with some other files i didn't use) so I flashed it with this app and works fine.
[Android Software Development] Lord_Quack:
Hmm, thats weird, thats how i flash my radios... Ah well, at least you managed to sort your problem.
[Android Software Development] kellyj1978:
Hi, I tried this method but i get an error

FAILED <remote partition does not exist!>
[Android Software Development] epivitor:
Yes it was weird as I used to flash my radios as you (in amonra).

Maybe in a previous version of clockworkmod that was possible but in 3.1.0.1 i had a message that i need a script to flash this radio or something like that (can't remember exactly)
[Android Software Development] Lord_Quack:
Yeah, I agree ziggy, I don't understand what this means...

Seronez, have you got the drivers for you desire on your computer?

Try downloading latest version of HTC sync, install all options, then uninstall the actual HTC sync program, and leave the drivers... That might sort it?
[Android Software Development] Domey2510:
Yeah it does say that... Ive given up on it for now

sent from my HTC Desire
[Android Software Development] freak69ize:
Ok i know someone is gonna laugh at this question but.. How do you change it to 24 bit using Paint? Ive never really had much of a reason to use paint programs so i never learned them.. or do i need a different program?
[Android Software Development] ziggy1001:
Save as menu then save as whatever format etc you want

I promise i'm not laughing;)

The pain from banging my head against the wall stopped that:p
[Android Software Development] Tamen:
Can this be used the with Desire HD?
[Android Software Development] spikey68:
I have never flashed a radio before so i thought i would use this tool. I needed the orange uk radio.

I have downloaded radio to hd, run tool, it goes all through the motions but when I check baseband its same as before. I am using latest version of miui. No error messages or nothing, as follows:

Radia copied

ADB Reboot command sent

Pushinh and flashing radio

I has completed your radio flashing

Rebooting...

It reboots but as i say, baseband still reads as before.

Do you think it might be a miui thing? that the radio is there and its still reading the same file name as it was before from the file discription? Can i look anywhere.... actually... i will look in root now with explorer but any ideas would help.

tnx
[Android Software Development] spikey68:
I hope so dude... that's what I have. No luck on first run so waiting for feedback.
[Android Software Development] ziggy1001:
Hardly definitive, but i'm using a port from Ace S 2.36.405.8 WWE (RCMix s) on a Desire and this works fine have flashed multiple radio's and recoveries
[Android Software Development] Seronez:
yes sorry what i said was hard to understand it doesn't really disconnect i mistook the sound it means there is an issue with the device and it's not recognized in the right way i looked in device manager and it shows a yellow sign where Bootloader is written. i don't know why and i don't think i've got the wrong drivers since it worked before but if anyone got a link to the driver i will try it of course
[Android Software Development] ziggy1001:
"in device manager and it shows a yellow sign" = Incorrect drivers so obviously won't work

You could try disabling it from device manager menu and re-enabling it might reload the correct drivers as you said it worked before

If you are on Windows x86 try the attached drivers i think they are the one's i used
[Android Software Development] freak69ize:
Save as menu? I see no option anywhere for that.. lol
[Android Software Development] ziggy1001:
Still banging my head to stop from laughing:p

Any photo manipulation program will have a save/save as menu how would you keep the changed image if it didn't have that function!
[Android Software Development] freak69ize:
Ahhh ha.. lol I knew how to resize the pic and save as a bmp.. jus didnt know how to save the file type.. i guess i should start going through paint program and learn how to use it.. :D
[Android Software Development] Lord_Quack:
Haha, you learn something new everyday! ;)

Have you tried using GIMP? Its free, and its a pretty versatile tool... Some nice features, and definitely an upgrade to paint :D
[Android Software Development] freak69ize:
Yea i downloaded Gimp months ago but have never really tried to figure it out..

Ive tried everything to get this to work.. idk i guess im missing something cuz i know it works cuz everyone says it does.. Any ways i jus figured out SDK and got adb working with that today so maybe ill try to do it with that sometime..

I have on the other hand changed the splash screen using a PB99IMG zip someone else made.. i jus didnt want this to get away with kicking my ass.. lol

Thanks to all that tried to help.. i clicked all ya alls thanks button
[Android Software Development] Lord_Quack:
Returned the favour :)

And if you have any questions, feel free to PM me, I'll try to help you as best as I can.
[Android Software Development] Seronez:
Ok i reinstalled the drivers now the yellow sign is gone i did think of it earlier but just did it with the normal usb driver now everything is working fine again thx
[Android Software Development] freak69ize:
I would say jus give it a try and and see.. if you have problems post them and someone will get back to you.. :D
[Android Software Development] freak69ize:
Ok im determined not to let this thing beat me.. Ive managed to get splash1.bmp converted to splash1.bmp.nb and then i renamed it splash1.img then i dragged fastboot exe into command prompt hit space then typed flash splash1 and this is what i get
[Android Software Development] angusc:
Check out my post here

http://xdaforums.com/showpost.php?p=11917608&postcount=422

Sent with Desire.
[Android Software Development] freak69ize:
Ok.. another stupid question.. when i rename the file to splash1.img my paint program takes it over.. how do i keep it from doing that?
[Android Software Development] Lord_Quack:
Basically, paint is associated with .img files on your comp... You could change it by right-clicking, clicking open with and then selecting a different image editing program from there... click 'always use this program to open this type of file' tickbox at the bottom. although I've set mine to detect it as a zip. Did you get my mail btw?
[Android Software Development] freak69ize:
Yea i got it.. ill give it a try here in a bit.. thanks bud. :D
[Android Software Development] freak69ize:
Ok this is what comes up when i tried to rename it.. I tell ya.. ive never had so much trouble with anything then ive had with this.. Ive even ported LeeDroid to work ( all except Data connection ) on a CDMA desire.. still trying to work that data connection out though.. but this has got me beat i think.. lol
[Android Software Development] philJ:
nbimg is not working ... im running x64 WIN7.

Flashing over command line manual Fastboot without your batch is working ... have the skateboard androids, but not my own.
[Android Software Development] Th1rteenth:
Works perfect :D

Thank you :)
[Android Software Development] danward:
I'm on WIN7 x64.. nbimg is the converter. It should be working fine. Try the 1.2 version.

Dan
[Android Software Development] philJ:
Are you useing 64 or 32 bit os?

OK will try 1.2 ... thanks
[Android Software Development] danward:
I'm using a 64bit os. kk, tell me how it goes!
[Android Software Development] philJ:
Same error. Exception with the converter. Your gui calls the Batch? The batch calls the converter so same error.

OK tried 32 Bit now same Netframework error.
[Android Software Development] danward:
So, whats your error? You seem to be the only one having troubles atm.
[Android Software Development] AndroHero:
24bit .bmp images work 4 me........
[Android Software Development] magic_moe_:
Great! Takes a bit of tipping :D
[Android Software Development] philJ:
Too stupid ;-)

You have to use 24 Bit! Thought i read 16 bit works ... NO!

All ok now ... works with the gui now, too! 64 and 32 Bit.

Thanks!
[Android Software Development] herogangzta:
it stands -OpenFileDialog1-

what do I do now??
[Android Software Development] danward:
Choose the BMP you made earlier (the 480x800 res, 24bit depth one)
[Android Software Development] herogangzta:
The picture I've made.. 24 bit..

put in the same folder as the program..

named in splash1.bmp

start the prog.. -picture is gone

and now opened the dialog ..openfiledialog..

where is my picture down from the folder???

now???
[Android Software Development] danward:
Yeah, tis a bug atm. I'll have it fixed soon. Ill have it uploaded as build 1.2.2. Sorry guys.
[Android Software Development] ernest33:
Great idea to made this :)

But i got an exception (can't find the file 'spla....')in the open dialog box if i cancel :D.
[Android Software Development] danward:
Yeah, its supposed to do that, mainly because you aren't supposed to cancel lol. I'll get around to umm, replacing it later lol. What it does is copies that file to the working directory and then works from there. So when it doesn't have the file, it cant continue. But yeah, a later fix. It's almost 1am. Night guys.

I'll leave you with this. 1.2.2 is live! Enjoy!
[Android Software Development] herogangzta:
thanks! With the new version it works good!!
[Android Software Development] raze1000:
Excellent works great here, just flashed a new boot logo.

Had to install net framework 4 on my windows 7 64 bit machine first.

I created a logo and saved as .bmp 24 bit size 480 x 800

Hooked up the phone via usb with usb debugging enabled and set to disk drive mode.

ran the program, opened my bitmap, phone rebooted and flashed the logo automatically.

here it is:
[Android Software Development] landwomble:
Care to post a copy? That's nice!
[Android Software Development] Lord_Quack:
Yeah, just accept it. Don't worry about it, its a pop up message whenever you try to change an extension of a file... just click ok and it will be fine.
[Android Software Development] freak69ize:
Yea its jus not working out for me bud.. Ive tried it every way suggested to me.. i tried Android flasher, Splash flasher, the way decribed on page 54, ive tried Angusc's post and even making my own PB99IMG.zip and a big fat nothing i get.. lol I do seem to get a lil further with it everyday so im gonna give up on it for a day or so.. thanks bud
[Android Software Development] duryard:
Thanks danward worked a treat for me straight off

What formay size etc do I need to change the boot animation?
[Android Software Development] Philstadt:
driver?

Hey,

so, now my Desire is S-OFF.

I now that I have to install the hboot driver to use this tool.

But, what does this mean? Must I install everything from the install-CD which was in the Desire pack?

Would be nice if anyone could help me :)
[Android Software Development] Pedimento:
Read below page and install Hboot drivers.

Also install HTC Sync and after uninstall only HTC Sync, leave the drivers.

http://unrevoked.com/rootwiki/doku.php/public/unrevoked3
[Android Software Development] Philstadt:
ah okay,

thanks
[Android Software Development] wildcheese:
Works like a charm, even though it looks like I've s-on (at least at boot it shows as s-on). Thanks so much!

Maybe as a futere extension: flash downanimation :)
[Android Software Development] freak69ize:
Ahh ha!! Success!! Ive managed to finally change my splash with a PB99IMG.zip that i made.. I would still like to get the flasher to work though.. dont really like it getting away with kicking my ass.. lol I remember reading in this thread other CDMA users having problems with it too..