[Android Q&A, Help & Troubleshooting] dracable:
Hi there! I am developing a ROM for the Virgin Mobile Alcatel (PCD) Venture, which is listed as having a 240x320 resolution. I have a perfectly working custom boot animation in 240x320, but i cant for the life of me figure out why i cant get a working custom splash screen! ive done sooooo much research, but havent came across any method that has worked yet on the Venture. no matter what i do, the boot splash comes out distorted/scrambled. ive been chatting with a senior member of another popular android development site, and they referred me to here, so im keeping my fingers crossed that SOMEONE out there can help me! The Venture runs Android 2.3.5 (Gingerbread) on kernel 2.6.35.7-perf.

the method i am using is decompiling the boot.img file from my rom via dsixda's kitchen (ubuntu), and replacing the initlogo.rle file with my custom splash file of the same name, and then rebuilding the boot.img. i created the custom splash (240x320) in photoshop cs3, and saved it as a 24 bit png file with transparency enabled. then i converted the png to rle using to565 tool in ubuntu. flashed the rom, still distorted. ive also tried other methods of creating the image, including:

1. [win xp] saving the image in photoshop directly as an rle file

2. [win xp] saving the image in photoshop as a regular png (aslo tried regular bmp), loading in MS Paint, saving as 24bit bmp, and converting to rle using to565 in ubuntu

3. [win xp] saving the image in photoshop for web/devices (24bit PNG), and converting to rle using to565 in ubuntu

4. [ubuntu] loading psd (photoshop save file created in win xp) into GIMP, saving as png, and converting to rle using the following code:

convert -depth 8 initlogo.png rgb:initlogo.raw

./to565 -rle <initlogo.raw> initlogo.rle

sudo chmod 777 initlogo.rle

all methods resulted in the same distorted splash when i tried flashing the rom. im sure that ive tried other methods too, but i just wanted to give you an idea of what kind of methods im using. also, i tried resizing the image down to half the size (240x320÷2=120x160). resulted in the same issue.

i used a tool to convert the stock rle to png so i could check it out, but when it converted the rle, it came out with 2 different png files. one was just a black background, and the other was a black background with the red "Hello" writing, but it looked all distorted in the same way that the custom rle comes out looking on the phone. also, the 2 images had different properties. the black background one was a grayscale, and the other was indexed. interesting. also, does the dpi come into play here at all? ive heard that 72 will pretty much work universally (i dont kno if thats correct or not). the Venture natively runs a lcd density of 120. from all the information that i have dug up, this seems like an uncommonly low dpi on android phones. do i need to compensate for this in any way?

also, an interesting fact, when trying to use ANY screenshot app on the venture (at least, any of the screen apps that i have come across), the output image always comes out scrambled in the same way that it scrambles my custom splash.

any help here would be very appreciated, as i have been stuck on this for almost a week and a half now, and its really holding up the development of my rom. i MUST get this working though! thank you so much for reading!