[Q] How do I convert a PNG image to a boot image? - XPERIA X10 General

I made a boot image on Photoshop, for Gingerbread, and I know where to change the boot image in the media folder, i just don't know how to convert a PNG image to a boot image.
Can someone tell me how to do it please
Thanks

CuBz90 said:
Can someone tell me how to do it please
Click to expand...
Click to collapse
You'll need to make another 36 pngs that make up the animation then put them in the appropriate folders in the bootanimation.zip

XperiaX10iUser said:
You'll need to make another 36 pngs that make up the animation then put them in the appropriate folders in the bootanimation.zip
Click to expand...
Click to collapse
Even if it's not animated?

CuBz90 said:
Even if it's not animated?
Click to expand...
Click to collapse
No, you just need to make a single folder and add your image. See attachment, add your image named 00001 to the part0 folder and that should be it.

Related

Building splash screen

Hey,
I'm a noob dev, and was curious about building a splash screen from a Mac. I have the .gif animations done, not sure how to compile though!
Also curious about building themes and roms.
Any pointers/sites to help?
Thanks!
Sent from my HTC Glacier using XDA App
Are you talking about making splash screens or boot animations?
Splash Screens = Static screen that displays myTouch4G
Boot Animation = Animated images that display prior to the operating system
Preferably both.
But I'm assuming boot animation would be the proper term for what I was trying to describe.
Sent from my HTC Glacier using XDA App
Splash screens are really easy. The file that you will need to create to convert will have to be a 480x800 png, jpeg, or bmp. Then just visit TrueBlue_Drew's thread and grab his app for converting/flashing splash screens.
Boot animations are a little trickier. You must take your animation and split it into a png sequence. Then you will create two folders and a txt file. The folders will be named part0 and part1. The txt file will be named desc.txt. Inside the folder part0 you will place your png sequence. Then in part1 you will place any of the png sequence you want to loop until the OS finishes booting. The desc.txt will look like this
Code:
480 800 30
p 1 0 part0
p 0 0 part1
The first line contains the animation's size and frame rate. Then the second and third line will begin with a 'p' then the number of times the animation will loop is the first number. I honestly don't know what the second number does. I haven't messed with it as the guide I originally found didn't have the function of that number either. Then of course it has the folder name at the end of the line. Then you zip the two folders and the txt with storage compression and you have your bootanimation! Can't wait to see what you come up with! I'll keep this thread saved if you need any more help!
Thanks!
I have created my basic animation and splash screen image. However, I am running on a mac and very against using parallels/partitioning my hard drive. Are there any other alternatives as to creating the correct form of .img file?
There is a way to convert the pngs to img files through the command line. I'm not sure if it will work for mac. But as it's done through the AndroidSDK/tools folder I'm assuming it should.
http://forum.xda-developers.com/showpost.php?p=10552423&postcount=129
follow this link. The files that you need are there, along with a link to the original thread containing the line of code you'll need to input to convert the png. If you have any more questions I'll be here.
Iriscience said:
There is a way to convert the pngs to img files through the command line. I'm not sure if it will work for mac. But as it's done through the AndroidSDK/tools folder I'm assuming it should.
http://forum.xda-developers.com/showpost.php?p=10552423&postcount=129
follow this link. The files that you need are there, along with a link to the original thread containing the line of code you'll need to input to convert the png. If you have any more questions I'll be here.
Click to expand...
Click to collapse
FFMPEG will work with a mac. Just follow the links that Iriscience provided.

[Q] PRO extension in stock APK

Probably all know that a drawing in stock APK is packed in .pro extension. Who can help to open to me this images.
TroyxRUS said:
Probably all know that a drawing in stock APK is packed in .pro extension. Who can help to open to me this images.
Click to expand...
Click to collapse
Ive looked into this, i dont know how to opep them, but to replace them with other images, just get the image you want to replace it with and rename it .pro instead of .png
It's a secure png created with a nokia or something sdk. A trick I used to view them was to rename them to .png . Put that on my sdcard and then look at them through gallery

[Q] Bootanimation zip method

Hey i saw one cool bootanimation on the internet but it was of size 640*480
i resized the images to 320*480 (resolution of x8 )
And then i replaced it with the original files and zipped them normally..
It did not work.. no bootanimation on the screen after the kernel logo
Was there another method to zip it? do i have to zip align it?
Happened to me too. Apparently only resizing doesn't work. Did you apply the changes in the desc.txt file?
Chris95X8 said:
Happened to me too. Apparently only resizing doesn't work. Did you apply the changes in the desc.txt file?
Click to expand...
Click to collapse
no.. the one in system/bin right?
What changes are to b made in that?
Edit:
Hey.. im an idiot really
made changes in the desc.txt file..
now working properly.. also some other mistakes.. too embarrassed to tell them anyway thanks for replying and making me realize my mistake..
Thanks button pressed

Custom Boot Animation not working

Hey, first of all. I have root and TWRP installed.
Tried to make an custom boot animation (converted from .gif to .zip,containing 19 frames.) moved it to system/media and replaced it with the custom animation, renamed the custom animation to bootanimation.zip and changed the stock animation to bootanimation.zip1, rebooted and ots still the same. I know i am doing slmething wrong, but what?
Thanks in advance
If you're using a stock ROM, it doesn't support boot animation zips.
As to your zip, the files cannot be compressed, only stored. The text file that controls the settings cannot be edited using Windows notepad.
Strephon Alkhalikoi said:
If you're using a stock ROM, it doesn't support boot animation zips.
As to your zip, the files cannot be compressed, only stored. The text file that controls the settings cannot be edited using Windows notepad.
Click to expand...
Click to collapse
Converted the gif via Boot Animation(s) app. So i need to install a custom rom like CyanogenMod?
I forgot to mention the individual frames of the boot animation also must either be in .jpg or .png format. An AOSP ROM is required to use the bootanimation, unless you want to play around with Samsung's boot animation creator.
Strephon Alkhalikoi said:
I forgot to mention the individual frames of the boot animation also must either be in .jpg or .png format. An AOSP ROM is required to use the bootanimation, unless you want to play around with Samsung's boot animation creator.
Click to expand...
Click to collapse
Going to try Boot animation factory (since boot animation creator is outdated) also, my pics are in .jpg
.kyon said:
Going to try Boot animation factory (since boot animation creator is outdated) also, my pics are in .jpg
Click to expand...
Click to collapse
When compressing the images use the "store" option.
Also, make sure the zip is structure correctly.
When opening the zip you should have part0, part1 and desc.txt.
Those files should be in the root of the zip, not in other folders.

Deleted. Moderator attention wanted

Deleted.
turkkilainenpippuri said:
Hi!
I would like to create a boot animation that uses the basic J5 bootloop.
I would need you to convert the .qmg to .png and send to me. It's very simple with this app created by @xperiacle (Original thread). I would do it myself but the ROM used to convert the file must be either stock or stockish to work and I would lose so many settings, tweaks etc. by flashing stock and then back. As a reward I would of course hit the thanks button, send you the animation (if you please) and honor you as my savior for life! :angel: Also if you have an idea or reasonable preference(s) for the boot animation, I will make it happen.
Anyways here are the instructions stolen from the original thread (don't kill me xperiacle!):
"So just download the app(Qmg2Png), install, and pick an apk(Extract_this.apk) from sdcard and the app will extract the qmg resources and convert them to png format and saving them in the QMg2Png folder in the sdcard. The output folder retains the folder structure of the extracted apk."
Thank you in advance! Peace! :good:
Click to expand...
Click to collapse
If you want the stock boot animation then download the relevant firmware and pull it out of the system.img.
Please don't ask me to guide you how as there are plenty already out there.
ashyx said:
If you want the stock boot animation then download the relevant firmware and pull it out of the system.img.
Please don't ask me to guide you how as there are plenty already out there.
Click to expand...
Click to collapse
It's in the .qmg format. There is no other way to extract it that I know of. Bootanimation.zip? No problem. Qmg? Pain in the ass.
Edit: just to be clear the stock rom uses an encoding/decoding method for qmg files that don't exist in custom roms nor is it used by any other than samsung phones. But anyhow it is not the end of the world for me if I don't get it extracted. Then I just focus on some other ideas for animations.
turkkilainenpippuri said:
It's in the .qmg format. There is no other way to extract it that I know of. Bootanimation.zip? No problem. Qmg? Pain in the ass.
Edit: just to be clear the stock rom uses an encoding/decoding method for qmg files that don't exist in custom roms nor is it used by any other than samsung phones. But anyhow it is not the end of the world for me if I don't get it extracted. Then I just focus on some other ideas for animations.
Click to expand...
Click to collapse
It's in the stock system image. All you need do is extract it.
@ashyx You just don't get it.. I have already extracted it from the system img. I need to convert the qmg to png files to edit it. Read my posts more carefully to understand.
turkkilainenpippuri said:
@ashyx You just don't get it.. I have already extracted it from the system img. I need to convert the qmg to png files to edit it. Read my posts more carefully to understand.
Click to expand...
Click to collapse
OK let me ask you this?
What is preventing yourself from making a backup of your device with twrp which literally takes minutes, install the rom you require, do what you need and then simply restore?
@ashyx You are right but I don't want to flash any rom since when I do, I get this weird issue with my screen; I am unable to turn it off and it seems to be a matter of luck to get it working again. Thank you anyways! https://forum.xda-developers.com/galaxy-j5/help/screen-help-t3585090

Categories

Resources