View Full Version : Extracting splash screen with RBMC
knfevg
13th May 2007, 04:17 PM
I'm trying to use the RBMC command in the BL to extract the splash screens (as I couldnt find Orange-Israel splash screens anywhere).
I authenticated myself in the BL (btw, I have an exectuable that will do all that is written in POF's wiki). when I use the RBMC command:
rbmc d:\splash.nb 500e0000 40000
alot of garbge starts to flow to the screen in MTTY.
I guess MTTY doesnt saves the file automaticly.
Please help me dumping the Splash using this method (or any other method)
pof
13th May 2007, 06:53 PM
Capture the output with usb-monitor and convert it to binary file.
knfevg
14th May 2007, 11:33 AM
Pog, can you elaborate in this?
I used USB Monitor to log everything. Now I have a HEX and ASCII dump of every packet that cam from the TYTN. How do I save it into something usfull and how do I convert it to binary and then to BMP?
pof
14th May 2007, 12:09 PM
You can do it with unix command 'xxd' (included in vim) or with a simple C program (do a bucle in a shell script for every hex-char):
int main () {
unsigned int c;
unsigned char aux[10];
int s=read(0,aux,4);
sscanf(aux,"%x",&c);
printf ("%c",c);
return 0;
}
If you don't have access to a linux box, attach the dump here and I do it for you.
knfevg
14th May 2007, 12:48 PM
damnit, I wont have access to linux until next week...
I would appritiate your help in converting but I dont know if I did the dump correctly with USB Monitor.
First, it has several packakets with the commands I issued, than it has several LARGE packets with "junk" (I think thats the Splash screen dump).
However, I can export it to TXT and in TXT I see both the HEX and the ASCII part. Is that ok? If not, how do I dump the correct part?
pof
14th May 2007, 12:52 PM
However, I can export it to TXT and in TXT I see both the HEX and the ASCII part. Is that ok? If not, how do I dump the correct part?
Yes this is correct. Attach the dump and if it is useful i make the splashscreens for u.
knfevg
14th May 2007, 01:17 PM
POF, attached is the zipped file with the TXT dump (in unicode).
It would be GREAT if you could help me.
If there is a need in some other kind of a dump, please let me know.
pof
14th May 2007, 01:41 PM
The dump is incomplete, you only dumped 24Kb, a whole splash screen should be at least 128Kb + 128Kb more of padding. Attached is the partial bin file.
mtty is not good for rbmc'ing... the best is to use linux 'cu' comand (included in uucp) like this:
((sleep 2 && echo rbmc file 500E0000 40000 ) | cu -l /dev/ttyUSB0 ) > dump.txt
knfevg
14th May 2007, 03:33 PM
POF,
I think I've attached the wrong file
I hope thats the correct one
pof
14th May 2007, 04:48 PM
there you go, splash in .nb and .bmp :)
scorpio16v
14th May 2007, 05:06 PM
The dump is incomplete, you only dumped 24Kb, a whole splash screen should be at least 128Kb + 128Kb more of padding. Attached is the partial bin file.
mtty is not good for rbmc'ing... the best is to use linux 'cu' comand (included in uucp) like this:
((sleep 2 && echo rbmc file 500E0000 40000 ) | cu -l /dev/ttyUSB0 ) > dump.txt
Hi pof.
Have tried this too, but the dump.txt contains only 46 bytes. What's wrong. :confused:
pof
14th May 2007, 05:18 PM
mm... post the contents and we'll know :)
Probably it's failing because you have to authenticate to the bootloader prior to doing the rbmc command (or use a patched SPL which does not require it, for example latest HardSPL).
knfevg
14th May 2007, 06:31 PM
Pof, THANKS!!!!!
One more question.
The secondary splash is usualy the same as the prime?
What IS SubMain splash? When does it come up?
pof
14th May 2007, 07:00 PM
The secondary splash is usualy the same as the prime?
Generally yes.
What IS SubMain splash? When does it come up?
MainSplash - the one you see with the red letters at bottom when booting
SubSplash - the next one without red letters
If MainSplash and SubSplash are the same, you get the feeling that there's only 1 splash screen, but there are actually two :)
gromel
20th May 2007, 02:13 AM
pof can you make me .bmp from dump? :-)
I can xxd to hex but don't know what's next to got .bmp :P
Thanks
pof
20th May 2007, 03:35 AM
I can xxd to hex but don't know what's next to got .bmp :P
After you xxd the hex, the binary file you get is the actual splash.nb, so you can use nb_image_converter.exe to make a BMP, you can find it here:
ftp://xda:xda@ftp.xda-developers.com/Hermes/Cooked_ROMs/Hermes_SplashScreen_Pack.zip
BTW, before using xxd you'll need to convert the dump from utf-8 to ascii.
If you can't manage to do it yourself, tell me and I'll do it for you.
gromel
20th May 2007, 05:17 AM
Ah, now better understand.
But :P When I try iconv -f utf8 -t ascii dump -o output
then I got always error iconv: illegal input sequence at position 0
PS. In usb-monitor I can export as UNICODE or ANSI (ASCII).
I'm trying and trying and trying.... :(
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.