Guest Frankish Posted November 26, 2010 Report Posted November 26, 2010 Just flashed a Desire splash image to my San Fran and it's upside down for starters...easily fixed just flash it wrong way around. However it is also not displaying right due to size...how do i find the right size?
Guest Mike_P Posted November 26, 2010 Report Posted November 26, 2010 What size is it, is it different to the San Fran (2.1) default 480x800?
Guest Frankish Posted November 26, 2010 Report Posted November 26, 2010 Well that's the same size as desire but displays totally wrong.
Guest Matty-p Posted November 26, 2010 Report Posted November 26, 2010 Well that's the same size as desire but displays totally wrong.480 800 pulled from desire with the blades desc file was fine for me with image flipped in photoshopdesc.txt
Guest Frankish Posted November 26, 2010 Report Posted November 26, 2010 ...hmm guys are you talking about boot animation? I'm talking about the non-animated initial screen...the splash screen.
Guest Lew247 Posted November 26, 2010 Report Posted November 26, 2010 (edited) The splash screen (splash.rgb565) is 480X800 remember to flash it upside down Edited November 26, 2010 by Lew247
Guest Frankish Posted November 26, 2010 Report Posted November 26, 2010 That's what I thought. Maybe the fact its a desire one matters? It's in img format however it does show up just not fitting screen properly.
Guest Lew247 Posted November 27, 2010 Report Posted November 27, 2010 (edited) That's what I thought. Maybe the fact its a desire one matters? It's in img format however it does show up just not fitting screen properly. you need a bmp picture 480X800 then rotate it so its upside down then use nbimg.exe Search for nbimg.exe, save i to a folder put the picture you want to convert in that folder Change your imagename to splash.bmp what you do is in windows open a command prompt then type nbimg -F splash.bmp -w480 -h800 It will convert it and change the filename to splash.bmp.nb type ren splash.bmp.nb splash.rgb565 (or rename it to splash.rgb565 in windows) then flash it onto your phone Its a couple of weeks since I did it and I cant remember the exact command, I have problems remembering things due to a brain injury, I should write them all down I THINK it was something like, start your phone with the volume UP key pressed then using windows cmd type (I think) fastboot flash splash1 splash.rgb565 it may be fastboot flash splash splash.rgb565 someone should be able to tell you exactly, and I will start writing things down so I remember properly, instead of playing around, trying things till I get it right and then forgetting what I did Basically try it, once you have converted the image file to the right format, thats the biggest step. Edited November 27, 2010 by Lew247
Guest Frankish Posted November 27, 2010 Report Posted November 27, 2010 Everything you just listed is what I have done already. With the exception of the renaming. I did it in desire format, imagename.img and flashed that. Will try renaming to rgb 565 file.
Guest Lew247 Posted November 27, 2010 Report Posted November 27, 2010 let us know how it goes the splash screen stays even after wiping cache and doing a factory reset and installing a new rom I went from 2.1 to 2.2 and its still the same screen the good thing with 2.2 is now animated boot screens are much simpler too
Guest Frankish Posted November 27, 2010 Report Posted November 27, 2010 Still a no go. It's flashed ok but the same as flashing a splash.img. Here is a pic of it...the size seems wrong. It's like setting a wallpaper to "tiled" on windows. Sorry for the quality...Blackberry Curve.
Guest Lew247 Posted November 27, 2010 Report Posted November 27, 2010 You've done something wrong, looks like your image was the wrong size Check your original image size, do it again from the start to double check get your image resize it so its 480 wide and 800 tall save it as a .bmp turn it upside down and save it again then convert it to .nb format following the instructions above rename it to splash.rgb565 flash onto the phone I've done it with 3 different San Francicso's and it works perfectly in all of them ps when converting it to .nb format REMEMBER to put the spaces in -w 480 -h 800 (even though the image MUST already be 480x800)
Guest Frankish Posted November 27, 2010 Report Posted November 27, 2010 The image was definitely 480 by 800. Without a doubt. Can you post a ready made one you have done?
Guest Lew247 Posted November 27, 2010 Report Posted November 27, 2010 (edited) Yep, both bmp and converted to nb enclosed, I just tried it and it definately works fine Had to zip up the splash.nb as it wouldnt allow me to upload otherwise just extract it and you can try it Edited November 27, 2010 by Lew247
Guest oh!dougal Posted November 27, 2010 Report Posted November 27, 2010 (edited) Yep, both bmp and converted to nb enclosed, I just tried it and it definately works fine Had to zip up the splash.nb as it wouldnt allow me to upload otherwise just extract it and you can try it Ummm, does that come out "left justified" (like the bmp shows on the computer screen)or with a (wrapped-round blue) left-hand side margin to (near enough) centre the picture? Edited November 27, 2010 by oh!dougal
Guest Lew247 Posted November 27, 2010 Report Posted November 27, 2010 (edited) try it and see, its easy enough to take it back off afterwards and put the original one on it, or any other. it comes out as a full screen boot image Oh one thing I remember from when I was doing it, I had to "shift" the picture to the left, because for some reason the blade wrapped it round the screen thats why I have the background one colour. (easy enough to hide that and make it lok like its done right) I'd actually forgotten about that or I would have said earlier "shift the picture to the left = not centre the picture, its just slightly off centre that way it displays properly" Edited November 27, 2010 by Lew247
Guest oh!dougal Posted November 27, 2010 Report Posted November 27, 2010 (edited) ... Oh one thing I remember from when I was doing it, I had to "shift" the picture to the left, because for some reason the blade wrapped it round the screen thats why I have the background one colour. (easy enough to hide that and make it lok like its done right) I'd actually forgotten about that or I would have said earlier "shift the picture to the left = not centre the picture, its just slightly off centre that way it displays properly" Yes that's precisely the relevant point! :D ISTR Paul mentioning something about this in a very early thread. ("Going in", maybe?) I think this is a definite rock-solid 'quirk' of the phone, so you have to work with it! And it makes things a bit more complicated if you DON'T want a plain background colour! (Like Frankish - he seems to want a full-screen photo.) If you strip off the leftmost {about} 40 pixel wide strip, and put it on the right-hand side of your image, and THEN turn it upside down, then it'll look right on the phone ... :P There might be a 1-pixel vertical offset between the two sections, but, hey, you can shunt a 1-pixel wide strip from bottom to top if you need to. I'm guessing 40 pixels. (Thinking that 800x400 would be centred.) I can think of three ways you could find the exact number. 1/ Trial and error. 2/ Look at a splash screen that works - how much is it offset? (There's a reason they use a plain background!) 3/ Or measure it. On your picture the screen bottom left corner is where it wraps round. Or you could make your own 'test and measurement' screen with bars of various specific lengths on it to measure the wrap-round (which one ends at the wrap point?) I'd expect the wrap to be a nice round number of pixels ... Edited November 27, 2010 by oh!dougal
Guest Frankish Posted November 28, 2010 Report Posted November 28, 2010 I've managed by trial and error to get an image centred with a black border. This will do at least for now :P Thanks for the input guys.
Guest oh!dougal Posted November 28, 2010 Report Posted November 28, 2010 I've managed by trial and error to get an image centred with a black border. This will do at least for now :P Thanks for the input guys. What offset did you end up with? Or rather, narrowing your image to centre it, what number of pixels did you use for the image width? (Just so its recorded somewhere for the benefit of others ...)
Guest Frankish Posted November 28, 2010 Report Posted November 28, 2010 Not really sure. I have a bmp of an image as centred as i could get it and i make new ones according to that just by centring that image.
Guest oh!dougal Posted November 28, 2010 Report Posted November 28, 2010 (edited) Not really sure. I have a bmp of an image as centred as i could get it and i make new ones according to that just by centring that image. So, if you don't have the info, could you post a sample (accurate as you can) phone-centred image, please, and we'll measure it? Noted that you have posted a download link for a splash screen on another thread, but as an img file, I can't do anything with it ... (fastboot and sdk don't come in ppc mac versions! Edited November 28, 2010 by oh!dougal
Guest Frankish Posted November 28, 2010 Report Posted November 28, 2010 So, if you don't have the info, could you post a sample (accurate as you can) phone-centred image, please, and we'll measure it? These are two images i use as templates. They are as centred as i could get quickly.splash.bmptemplate.bmp
Guest oh!dougal Posted November 28, 2010 Report Posted November 28, 2010 Thanks, got that. So if the Android logo is centred, my measurements put its centre 280 dots from the left. For the 480 wide screen, the centre should be at 240. So... The wraparound is 40 pixels (or very very close to that) and a 400x800 image should appear to be centred (with a 40 pixel border on left and right)
Guest kallt_kaffe Posted November 29, 2010 Report Posted November 29, 2010 (edited) I've done some splash experimenting and here's what I've learned. - Size should be 480x800 each pixel using 16 bits in 565 format. That means the file will be 768000 bytes. - Image should be rotated 180 degrees - Image is shifted 36 pixels (72 bytes) to the left unless you add a 72 bytes "header". I use 72 bytes of zero and it worked fine. Here's the command I used for converting a (allready rotated) png file to a flashable splash screen. convert -depth 8 splash.png rgb:splash.raw to565 < splash.raw > splash.raw565 dd if=/dev/zero of=splash.img bs=1 count=72 cat splash.raw565 >> splash.img The resulting splash.img should be 768072 bytes large. - convert is part of ImageMagick - to565 can be found here (needs to be compiled): http://android.git.kernel.org/?p=platform/...8340455;hb=HEAD EDIT: Correction... it's 35 pixels so change count=72 to count=70 in the example above. Edited November 29, 2010 by kallt_kaffe
Guest RielN Posted January 27, 2011 Report Posted January 27, 2011 Just want to say: INSTRUCTIONS WORKS LIKE A CHARM Command: ./fastboot flash splash splash.img
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now