I posted this in the HD2 Android NAND forum...but think it might be better asked here.
cmylxgo said:
I have tried for a couple weeks off and on to convert or create an logo.rle to build into my initrd.gz without any luck. I've searched and tried to follow and use the tools and steps in these threads without any luck
http://forum.xda-developers.com/showthread.php?t=443431
http://forum.xda-developers.com/showthread.php?t=868109
I will donate to anyone that can either put up a step by step, which includes links to all required binaries or exes, for either Ubuntu or Windows.
or...
I will donate to anyone that can convert my image to a .rle.
Thanks
-CMYLXGO
Click to expand...
Click to collapse
did you solve this man?
Yes I need help also.
Hi i am currently taking request for initlogo.rle files
heres how.
1. pm me with your png logo and your screen size (eg. 800x480)
2. i will create your initlogo.rle file and send it back to you
3. if you like what you see please consider making a donation.
and if you cant or dont know how to decompile your boot.img etc i will do the whole process.
heres how.
1. upload your rom or your boot.img
2. pm me with a link to your rom or boot.img and attach the image you want
to replace your logo with and your screen size (eg. 800x480)
3. i will do everything and reupload your rom or boot.img and send you a link for you to download it.
IF YOU LIKE MY WORK PLEASE CONSIDER A DONATION TO KEEP ME MOTIVATED
Related
was wondering if someone could tell me where to find the nk.nbf from dcd's 2.2.x roms...want to cook up some custom boot screens, but have NO idea where to find it (or get it from). thanks
You need to extract the nbh from the installer (you can use procmon from sysinternals.exe to find out where the installer extracts it).
After that you need to decompile the NBH using various tools, in which will present you with a 00_OS.nb.
After doing that, you need to extract the splash images from other roms, or create your own, then recompile the NBH.
EDIT: wow first post since 2006, you can tell ive been a leech, glad to give back to the community lol...
I was going to post the contents of the readme file that i'm trying to understand...in order for you to see what i'm being told to do, but I really can't decipher it all that well, so i'm going to attach it. This is what I'm being told to do...
Have you looked in to this: http://forum.ppcgeeks.com/showthread.php?t=16939
Yeah I read through that...
Thing is...with dcd's latest roms, the only file you get when you extract his nbh is 00_OS.nb
I have my splash.nb already made from the image i chose, but I'm not sure what to do with 00_OS.nb and splash.nb
Make an NBH from them.
You can use Dutty's NBH Tool patched for the Titan.
Since I can't find the original thread where I got it (took me forever to find in the first place) I uploaded it to fileshex.
Download here
I don't have to name my splash.nb something specific when creating the new nbh? It will just know that it's the splash?
Edit: nevermind, after opening duttys tool it's clear on how it works...thanks
Ahhh..one more question...
Is it possible to just take my splash.nb and make an nbh out of that. Then put it into the RUU and flash just the splash? Or must it be merged with the entire rom and flashed?
I have no idea.. I never did it. I want the original Verizon splash screen back instead of the static Verizon logo.
Try it and let us know if it works.
Can someone upload VZW_Startup.gif from \Windows somewhere I can download it?
I'd appreciate it very much
Confirmed.
Just took splash.nb and created an nbh just including the splash fields. I then inserted it into the RUU, flashed, and worked like a charm, no need to include any other part of the OS or anything.
Looks badass...for any help let me know...now that I know what I'm doing
P.S. It WILL hard reset the phone though upon flashing...
I put all the necessary files in a zip and I'm working on an easy step by step readme...so if anyone wants to change their bootscreen send me a pm.
[TOOL] EZ Splash Screen Flasher and Image Converter>>Converts jpg, png and bmp files
This is a simple tool/script used to convert .jpg .png and .bmp files into the format used for the splash screen on your device. This can also be used to make a copy of your current splash screen or convert a splash screen image into a .png for you to edit. You can also flash the new image using this.
(Currently this has been confirmed working on the HTC devices below)
This is my first attempt at a script. With that being said...Please leave your feedback and ideas for possible updates or any issues. I also understand that there might be other tools like this on the forum but the one I found here didn't work on Windows XP. Plus I was wanting to learn a little about scripts and give people another EZ way to mod their device. There are some things I would like to add and a few little bugs. If some people like this I will make a updated version with more things and options. All the methods and things used in this zip can be found here on XDA. I just packaged them up and did the script.
I found most of the information for the script HERE and of coarse have learned tons in my time here on XDA, so much thanks to everyone here!!
Thanks to Iriscience and the links in his thread for the conversion tools.
And also option94 for his help.
The flash/backup splash option should work for any HTC devices that use a 480x800 splash screen but has been confirmed working with the MT4G, G2, EVO.
REQUIREMENTS
1. PC with Windows XP or better
2. Rooted HTC device with S=OFF and Eng Hboot (if only S=Off you can use Terminal Emulator method below for flash)
3. 480 X 800 png, jpg or bmp image
INSTRUCTIONS
1. Download the attached zip by clicking the rotating skull and then unzip
it to the desktop of your Windows PC.
2. Create or find the 480x800 image you want for your splash screen.
3. Go into the "Splash Flasher" folder you unzipped and place your image
in the "place-image-here" folder.
4. Click on the "CLICK-HERE.bat" and follow the on screen instructions.
NOTE: At this time this does not support having more than one of the
same image type in the "place-image-here" folder when converting and flashing.
Ie: You cant have more than 1 jpg, bmp, png or img in the folder at the same time.
You can have multiple images as long as they are not the same image type.
I don't accept donations but if you like my work
please hit the "THANKS" button
...
...
DOWNLOAD
Reserved for images
I would like to send out a big thanks to all the people here on XDA that have contributed to this collection. There are way to many to try and name. If you see your splash screen here, Thank you!!.
I was browsing the forums and came across a few splash screens that I liked and that were requested, so thought I would add them here for the Glacier family to enjoy.
As I collect more I will put links to the threads I have gotten them from so you can give thanks if you like.
INSTRUCTIONS
1. Click on the image you like (it should open in a new window)
2. Right click on the image in the new window and choose "Save Picture As"
3. You can save it wherever you want (I suggest Desktop\Splash Flasher\place-image-here folder)
4. Convert your image to splash .img format and flash it using my script or the Terminal Emulator method I posted below.
IF you cant use the Splash Flasher/Converter, let me know and I can change any image to the correct splash .img format and post it up for you..
TrueBlue_Drew said:
Here is how to flash a new splash screen image to your phone using Terminal emulator. Please keep in mind that as with any mod you can damage your phone beyond repair if done incorrectly.
1. Rename your 480x800 .img file to custom.img and move it to your sdcard.
2.Open Terminal Emulator and type "su" to get a #
3.Then type this exactly as it appears and hit enter. Make sure not to make any mistakes!!!
Code:
dd if=/mnt/sdcard/custom.img of=/dev/block/mmcblk0p19
It should show you that the file has transfered. You can now back out of terminal emulator and reboot your phone to see the new splash screen.
Click to expand...
Click to collapse
Just remove the .zip from the name on the attatchments below and they are ready to flash.
Very nice... reminds me a little of the Splash Creator for the G1 that I use to make Splash Images for my wife's MT3G-Slide, but the nice added feature of flashing it as well.
Thanks for this, I wondered how to convert jpg/png to IMG files. Now to try and figure out photoshop.
I did a quick test of a file and it worked GREAT.
ziggy34 said:
Thanks for this, I wondered how to convert jpg/png to IMG files. Now to try and figure out photoshop.
I did a quick test of a file and it worked GREAT.
Click to expand...
Click to collapse
If you have any troubles, or need help getting your images put together, let me know.
Awesome!
Just to help with clarity, the description says 480x800 (correct I think?), the requirements say 640x800, and the steps say 640x480. Unless I'm missing something.
darinmc said:
Awesome!
Just to help with clarity, the description says 480x800 (correct I think?), the requirements say 640x800, and the steps say 640x480. Unless I'm missing something.
Click to expand...
Click to collapse
It is 480x800
If you try the wrong size the image won't come out right when you flash it. Other than that it wont mess up your phone or anything. I will make the changes. Thanks
Sent from my HTC Glacier
TrueBlue_Drew said:
Reserved for images
Just remove the .zip from the name and they are ready to flash.
Click to expand...
Click to collapse
Thanks so much!
99danman said:
Thanks so much!
Click to expand...
Click to collapse
No problem. I had to resize it and it made your guy look a little taller and skinnier but hopefully it looks ok for ya.
Will this work on GIFs .. I have an Special File that I have been trying to get created into a splash or Live wallpaper...
NvS said:
Will this work on GIFs .. I have an Special File that I have been trying to get created into a splash or Live wallpaper...
Click to expand...
Click to collapse
This wont support gif's. If you would like to PM me your gif I will be happy to convert it so you can flash it. It will be a still shot though.
I love my new splash screen. And it made things extremely smooth.
I updated the OP with some new images that can be used as lockscreen wallpapers or converted and used as splash screens. Please feel free to make requests
quick question...was the script supposed to reboot the phone out of fastboot?
i flashed a few different screens and it never rebooted the phone out of fastboot
edit: forgot to say thanks a ton for this...been wanting to change that screen just most of the instructions were a little too overly complicated
Freek91 said:
quick question...was the script supposed to reboot the phone out of fastboot?
i flashed a few different screens and it never rebooted the phone out of fastboot
edit: forgot to say thanks a ton for this...been wanting to change that screen just most of the instructions were a little too overly complicated
Click to expand...
Click to collapse
It should reboot after you flash a new splash screen. I will check it out and see if I left something out.
Thanks.
TrueBlue_Drew said:
It should reboot after you flash a new splash screen. I will check it out and see if I left something out.
Thanks.
Click to expand...
Click to collapse
yeah its not a big deal but after doing 4 different screens now...after it says it flashed and the script says hit any key to continue and to make sure to say thanks
you hit any key and the phone just sits on the fastboot and you just have to goto reboot on the phone and all is good
but like i said...its not a big deal just wanted to point it out
and again thanks a bunch for this
Freek91 said:
yeah its not a big deal but after doing 4 different screens now...after it says it flashed and the script says hit any key to continue and to make sure to say thanks
you hit any key and the phone just sits on the fastboot and you just have to goto reboot on the phone and all is good
but like i said...its not a big deal just wanted to point it out
and again thanks a bunch for this
Click to expand...
Click to collapse
Ok...should be fixed now. Can you check it out and let me know.
Thanks
TrueBlue_Drew said:
Ok...should be fixed now. Can you check it out and let me know.
Thanks
Click to expand...
Click to collapse
batch file needs a name change...it downloads as CLICK-HERE.bat.txt
And yeah its reboots itself in fastboot now
hopefully i didnt come across as a pain in the ass...just wanted to point out a couple things being i knew you wanted it to be automated
EDIT: i also noted the adb.exe process doesnt end in task manager when exiting the batch file after your done flashing...this doesnt need to be fixed...but i had noticed it earlier...just wanted to mention it...it may just be an issue on my end
Was wondering when you were finally going to post this. Worked great in my testing.
Freek91 said:
batch file needs a name change...it downloads as CLICK-HERE.bat.txt
And yeah its reboots itself in fastboot now
hopefully i didnt come across as a pain in the ass...just wanted to point out a couple things being i knew you wanted it to be automated
EDIT: i also noted the adb.exe process doesnt end in task manager when exiting the batch file after your done flashing...this doesnt need to be fixed...but i had noticed it earlier...just wanted to mention it...it may just be an issue on my end
Click to expand...
Click to collapse
Ughh..sorry dude. I appreciate the help. Hopefully fixed now. You have to use the quit option to kill the adb server for now but I will change it and add it to all the functions that use adb/fastboot in a few.
Thanks again for all the help. Please let me know of anything else you find or ideas you have.
Thanks
It's not much, but I thought everyone should be able to theme their Legend
Requirements: WinZip(or any other zipping program), Android SDK, testsign, some graphics editor...
So what you need to start with is your framework files:
framework-res.apk, com.htc.resources.apk ... both are located in SYSTEM:framework/
These files are just renamed zip files, so rename them back to .zip and extract them (you can also edit them inside WINRAR or something, but it is more comfortable if you extract them)
In these, images are usually saved in res/drawable-mdpi or such, but you have to think here, allways modify all files from one resource
Now locate the images you want to edit but I only know how to edit .png files (.9.png files are for a different howto, probably not by me as I've never really mastered it)
Pick those you want to edit, and edit them (I'm not gonna tell you how here, I usually use photoshop to do that )
Once you have edited those images, it is recomended to optimize those png's (Firstly to make them smaller, but more importantly, most of the times the png's from Windows graphics editor didn't work for me...)
To optimize png's you can use:
OptiPNG: DOWNLOAD This one is drag'n'drop batch conversion capable...
Pngcrush: DOWNLOAD Command line utility, but it has more settings
...or something else, but I find these two the best
Once you have these optimized, copy and re-write them to folders you took them from to edit...
Now you need to zip these back, for framework files I was told it is usual to zip them as "store", but correct me someone if I'm wrong.
After you have zipped those, they will have to be re-signed. To do this, use testsign from code.google.com
Then run this in cmd line (or create a .bat file as I did, it's much easier):
Code:
java -classpath testsign.jar testsign [COLOR="DarkRed"]file.zip[/COLOR] [COLOR="DarkRed"]file-signed.zip[/COLOR]
Now that you have signed it, it is recomended to zipalign it:
(zipalign.exe is located in /tools in your SDK)
Run this in cmd line:
Code:
zipalign 4 [COLOR="DarkRed"]infile.zip[/COLOR] [COLOR="DarkRed"]outfile.zip[/COLOR]
(4 is alignment in bytes)
Now that you have aligned the .zip, rename it to the original name and then you just need to push it back to your phone:
Code:
adb shell mount /system
adb push [COLOR="DarkRed"]com.htc.resources.apk[/COLOR] /system/framework/[COLOR="DarkRed"]com.htc.resources.apk[/COLOR]
or
adb push [COLOR="DarkRed"]framework-res.apk[/COLOR] /system/framework/[COLOR="DarkRed"]framework-res.apk[/COLOR]
And you're done
I hope this helps someone! Enjoy!
note: This way you should be able to modify any apk I think
Is this the thing that has the potential to break the power menu in BlaY0's ROM, among other things?
Amongst other things...but this works on any ROM as long as you follow the guide I've succesfully ported my BattMod and Cryshop's navbar/lockscreen to B0.8 while doing these exact steps
Dr.Romca said:
Amongst other things...but this works on any ROM as long as you follow the guide I've succesfully ported my BattMod and Cryshop's navbar/lockscreen to B0.8 while doing these exact steps
Click to expand...
Click to collapse
can you post them?
stegg said:
can you post them?
Click to expand...
Click to collapse
Why? He gave you quite simple instructions on how to construct it yourself, so he wouldn't need to do that for every single release for any of you.
Sent from my HTC Legend
Right on I think it's simple enough...besides, I had to figure this all out myself...
It's nice when people use that round head sitting on their neck
BlaY0 said:
Why? He gave you quite simple instructions on how to construct it yourself, so he wouldn't need to do that for every single release for any of you.
Sent from my HTC Legend
Click to expand...
Click to collapse
you have some personality disorder, you'd better see someone specialised in mental health care
stegg said:
you have some personality disorder, you'd better see someone specialised in mental health care
Click to expand...
Click to collapse
I will do that as soon as you contribute at least one theme for three different roms and then supply new updates for every new release of those roms...
Sent from my HTC Legend
stegg said:
you have some personality disorder, you'd better see someone specialised in mental health care
Click to expand...
Click to collapse
Oh come on stegg, that was uncalled for I just think it's a better idea to share how I did it rather then do all the work for you. Hell it would be a full time job - making themes for everyone
...too bad there isn't a "what the hell?" button ...
Question ; are there any limitations to what you can port like different functioning slide bar / nav bar?
Sent from my HTC Legend using XDA Premium App
This howto only tells you how to replace png's inside those framework .apk packages. And you can change navbar as well, but you'd have to make it in the same shape as long as you don't want to decompile the apk...
Cool thanks, I'm giving this a go now
Sent from my HTC Legend using XDA Premium App
I guess my device has to be rooted to do this?
You are correct, sir
Damn...
Does any one know how can I unpack and repack system images using cygwin? can you give me the complete and understandable tutorials on it? I have tried all of the tutorials here in XDA, but it seems that I can't follow the right way. Please to someone, extend a helping hand on me.
Hi guys im a noob to the forums and to rom customisation in general so im hoping someone can help me.
I have a generic MX dual core, and have been supplied a flash firmware and image from the supplier. This image is basic and does not contain all of the repos that i want, nor the apps that I require.
The image supplied is a zipfile and contains:
factory_update_param.aml
hd18d_mx4.zip
recovery.img
I am able to successfully restore my box with this image (so I know that the image is working fine).
Within the hd18d_mx4.zip there is:
Directotories: data, META-INF, recovery, system
files: boot.img, bootloaded.img, logo.img
I can see the all the system APK files within the system/app folder. The problem is when i try to add another APK file into this directory within the archive (in this case videomix.apk), I am not able to restore the image to the MX device.
Can anyone help me with a noobies guide to do this. I have read that the apk file has to be signed, and the zip file has to be signed also?? But im not quite sure what this means, nor how I go about doing it.
Any help or tutorials will be much appreciate. I have downloaded the APK-multi-tool but dont have a clue what I need to do
Look forward to your replies.
P.S. Im using a windows 64 bit machine and not Linux (if that makes any difference).
I'm facing the same thing, did you end up having luck with this?
If not is there anyone that can assist?