For starters I've been trying to change my boot animation, something I put together myself. Tool used to swap the repacked bootanimation.zip was Root Explorer and I do have Superuser/ root permissions and it all appeared to swap over without fuss but somehow doesn't show booting the phone. While I successfully killed off the old animation. mine is not appearing. The bootanimation file being used is .pngs with the original file structure, all I did was overwrite existing ones on my pc with my preferred images so no need to overwrite the existing desc.txt file. Any suggestions on where I boofed things?
The shutdown animation I can't find, browsed the system/media and data folders without joy. Could any of the learned members here be able to direct me to where the shutdown animation is hiding as I so hate telco provider logos left on phones not tied to contracts?
Any assistance would be greatly appreciated and thanks in advance.
This little tool did the trick for the boot animation and should work for the shutdown animation when I find the little sod.
http://forum.xda-developers.com/showthread.php?t=1234611
Shut down animation is in the power off apk I believe I made it black and white in my theme back in the day
Thanks for the tip there Samno, looks I'm off googling now to see how to recompile Apks.
You can just drag and drop in winrar just don't change the compression settings should work as long as there named the same and in the right format, won't hurt for you to learn though
Learning by my errors by the looks of things, unpacked and repacked with Winrar and a rename to apk utility found here after doing my file swap and now getting reboots instead of shutdowns.
I should have kept an eye on this thread before charging off like a nutter.
Thanks again Samnos.
Sorted the reboot issues as I hadn't dumped off the original APK and just edited the archive to replace my ingloriously modified version..
Related
Is there anyway to change the second boot screen?
http://forum.xda-developers.com/showpost.php?p=3133153&postcount=91
prolly not talking about splash2, but the Android animation and logo after splash1 & splash2. But i could be wrong.
Theres a folder in framework-res.apk/assets/images that seems to contain the images used in the second boot screen. I haven't had a chance to play with it to see if anything happened. I guess I'll try now and get back to you in 10 minutes. =]
ok so far, I was able to change the second boot screen image without using fastboot, and just modifying the android_320x480.png itself in framework-res/assets/images, but the animation goes out of whack when trying to replace boot_robot.png and boot_robot_glow.png with other images. I'm going to keep at it to see if i can get anywhere.
Hi, i edited the boot_robot_glow.png in PS and it shows up fine when booting
EDIT: I've edited the android_320x480.png but when it boots it shows the original then flicks to the modified one
EDIT: needed to replace boot_robot.png in res/drawable aswell!
Attached images aren'y quite aligned, moves about when booting :S
EDIT: Everything's aligned now
ximonx said:
Hi, i edited the boot_robot_glow.png in PS and it shows up fine when booting
EDIT: I've edited the android_320x480.png but when it boots it shows the original then flicks to the modified one
EDIT: needed to replace boot_robot.png in res/drawable aswell!
Attached images aren'y quite aligned, moves about when booting :S
EDIT: Everything's aligned now
Click to expand...
Click to collapse
would you mind telling us how to replace the files?
adb pull /system/framework/framework-res.apk to your computer,
rename it to framework-res.apk.zip
open framework-res.apk.zip
copy all 3 files into /assets/images
copy boot_robot.png into /res/drawable (in assets/images aswell)
(Uploaded my new boot_robot_glow to use with above files)
ximonx said:
adb pull /system/framework/framework-res.apk to your computer,
rename it to framework-res.apk.zip
open framework-res.apk.zip
copy all 3 files into /assets/images
copy boot_robot.png into /res/drawable (in assets/images aswell)
(Uploaded my new boot_robot_glow to use with above files)
Click to expand...
Click to collapse
Cool... Thanks guys!
Used your images and created a burning Droid for the boot up image.
Adapted the code slightly to run the commands on the phone itself then copied the zip file off the SD card through usb.
Thanks
any pitfalls?
does the image have to be a certain size before 'push' ing it back to the phone?
I like your design so Ill start there, thanks for sharing the work, people have been speculation on how to change this and you did it.
bhang
I'd play it safe and keep everything the size it is, although if you have the dev BL then go for it. It will probably start from the same location on the screen but extend further across and down
This will surround the that icon better than the round glow i made this just now. Looks better just change the hue and make it red if you like.
I can confirm that this work fine on RC30 and ADP1 (there is no reason why it shouldn't but I bet someone will ask...).
So i went ahead and tried to modify the images that make up the animation, got it all repackaged, and pushed it onto the phone. I rebooted and my animation came up like a charm, looking pretty cool, but it got stuck there and the animation kept running. I tried rebooting it several times and then restored it using a backup which fixed it. I am still trying to figure out what i did wrong. Could someone take a look?
Everything seems to work fine so far, but I've hit a snag.
Here's what happens. I've made some changes to my rom. I'm on modaco's latest, I have theme with the battery percentage mod installed (can't remember which), but everything runs perfectly with no hiccups or hangups.
The problem I'm running into is with the battery icons.
Here's what I do.
1) Pull framework-res.apk from device(to keep my changes)
2) Pull battery icons from framework-res
3) Modify icons
4) Put icons back into framework-res
5) Push framework-res back to device
As soon as I push this back to the device, everything starts force-closing. Phone, gmail, launcher, contacts...everything.
I've made changes like this before and this has never happened. Am I doing something wrong here? Any help would be appreciated. I would like to eventually release this as a theme that people can flash.
try pushing the modded files while in recovery...
..never pushed framework-res.apk.
In recovery sounds good..
But why not makin a morph?..or you could do an update.zip.
i am assuming you rebooted after pushing the new framework-res.apk across?
Did you zipalign before pushing? I know CM zipaligns on boot after changes in recovery but can't remember for stuffed pushed across- i either just zipalign it myself or the easiest and best thing to do is what rori~ said- just make a metamorph- that way when the rom gets updated you dont have to change anything at all (assuming there are no xml changes)..
eg. i have been using the same CM metamorph theme i made since about 5.0.X and it still works on every nightly- i have had tyo remove xml edits etc as CM now does that itself but it makes it all so easy.
instead of using adb, try doing it the easy way with Metamorph. Basically you'll need to create custom pngs with the same name as the ones you want to replace in the framework-res.apk.
So get a copy of your framework-res.apk and rename it to .zip and unzip it. Erase all the folders where you have no custom images to push. You'll prob just end up with some nested folders like "framework-res-->res-->drawable-hdpi" or a similar last folder. Place the custom images in there, then just reuse this attached xml file, making sure to change the pertinent information such as the file structure to be the correct path so the images push to the correct folder when you apply it with Metamorph. Be sure to save the xml file with a reasonable name, then zip the xml and framework-res folder containing your custom images together. Make sure the zip has the same name as the xml file only with .zip extension or you may get an error.
From there install Metamorph. Load the zip you created onto your sd card inside the "android themes" folder. Launch Metamorph, grant su, then "unzip new theme", and "apply all".
Hope this is helpful. A bit longer than I pictured it, but easy to do. If you run into trouble just DL a couple ones other people did and it should become easier to figure out.
^^^ what they said
made life even easier ......
here is a blank framework-res morph drag drop your desired pngs in the drawable-hdpi folder within the zip and morph away
http://www.mediafire.com/file/d1zr12fke13i61l/Framework_res_obama.zip
icegad said:
^^^ what they said
made life even easier ......
here is a blank framework-res morph drag drop your desired pngs in the drawable-hdpi folder within the zip and morph away
http://www.mediafire.com/file/d1zr12fke13i61l/Framework_res_obama.zip
Click to expand...
Click to collapse
Awesome! Thanks a ton! I'll report back my findings...
Sorry, no such luck. Endless force closes and reboots. Bummer. I'll have to sleep on it for a day or two and come back to it.
If anyone has any ideas, please let me know.
If u like u can upload the images and ill try to morph it on my phone and see what causes the fcs if any
icegad said:
If u like u can upload the images and ill try to morph it on my phone and see what causes the fcs if any
Click to expand...
Click to collapse
That would be great, thanks!
morphed the icons onto my phoneno fc or bootloops here
see screenshot....(i have a black status so it maybe hard to see your icons )
only thing i can think of is.... dont know if you were putting your folder within the drawable-hdpi folder that can cause errors..put the standalone images only
and i went ahead and put the icons in the morph you so you can jus morph this zip >>>
http://www.mediafire.com/file/9ldnfsf4t894kz6/Framework_res_obama.zip
Let me preface this statement with the chance that I may have put this in the wrong thread entirely and if the powers to be deem it to be moved, so be it and I apologize for posting improperly.
Ok, that out of the way, I have an issue! I have taken my time to go through and create a "fade in" effect with a logo that I would like to replace my boot animation with. First and foremost, here are my specs:
Rooted nexus one
Locked bootloaded
Stock ROM, FRF91 2.2
I've examined the stock animation and the custom animations that came included with the boot animation changer app. I have no idea what I am doing wrong but I am sure it has to do something with the desc.txt file. If anyone would be so kind as to modify the attached files (probably just the desc.txt), it would be appreciated. Better yet, explain what I am doing wrong and I will do it myself. Attached is bootanimation.zip with a compression type of *store*, including ~100 .png files.
Much thanks
Bump, ~50 views and no reply.
Bump. ~100 views..
Mods / Admins
Please close.
I haven't read your .txt file because I'm at work, but did you compress the .zip? And make sure you're not using transparent images. I heard it causes problems.
Did you try zipping up just the contents? When I unzip the file, it looks like -
/bootanimation/bootanimation/part0/
/bootanimation/bootanimation/desc.txt
Looking at a known, working bootanimation, it looks like this -
/bootanimation/folders
/bootanimation/desc.txt
This is a common problem when devs first start out. I've done it myself when signing a new ROM and trying to flash it.
Not too sure what was wrong other than maybe the "false" line breaks in notepad or something.
Opened a shell in cygwin, nano'd the txt file and made my changes. Wrote it, and dos2unix'd it. Proceeded with a "zip -r -0 part*/*.png desc.txt" and everything is working. Although after I figured it out, I appreciate your responses.
its not working for me D:
I cannot for the life of me get custom boot animations to work. I'm rooted. using root explorer i've used every tutorial on the internet! i'm on an Motorola Milestone running GOT 2.2 rom.
I put the "bootanimation.zip" on my SD card, i then move it to system/BIN and replace my original boot animation. Reboot the phone and nothing. just about 10 seconds or so of the Motorola "M" logo. I've tried everything. putting the files in there unzipped. The only thing that looks a bit odd to me is that the original "bootanimation" file's icon is just a plain white icon. but when ever i move the new bootanimation file over it shows up as a zip file. this has to have something to do with it? i also screwed around with the permissions so that the new bootanimations permissions matched the old one. anyone have any idea what i'm doing wrong here?
Hey everyone, it's my first time creating a custom boot animation and I've run into some trouble. After placing my animation on my device whenever it should play I just get a black screen. With any other animation, like one from the internet, it works fine. I've tried changing the resolution of the frames and the settings in desc.txt to my phone's native resolution (540x960), but to no avail. I've included the .zip file for it in my post. Can anyone tell me what I've done wrong?
EDIT: My phone is not rooted, by the way.
Try this...fixed and it works for me now
Thanks! That seem to have fixed it, but there is a white flash whenever part2 loops, and a few black flashes/glitches in between parts. Is there any way to fix this?
Also, what exactly did you do to it?
No, seriously, how did you do that? D:
Answer maybe
Im still pretty new to this too but I had an issue with this the first time I repacked an animation. (the Paint one, cuz i wasnt on HTC)
When I rezipped it the sanim.zip refused to work. After looking at every other boot animation file I had, and learning a lot, i think, i noticed the zip files were all set to store and not compress the files. so when you zip a file, however you do it, set it to "no compression" or "store" on the compression settings. otherwise, i think what happens is your phone has to decompress every image and by the time it would be done with that youve booted.
I used 7zip to do it and it was pretty straightforward.