[Q] Boot animation creation - What is being done wrong? - Android Software/Hacking General [Developers Only]

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:

Related

Having trouble theming Rosie.

ok, so I am working on reskinning sense, I'm using DamageControl 2.1 right now and I was able to edit some of the files used in com.htc.resources.apk without problem.
The problem I am having right now is whenever I try and modify a file in rosie, repack and resign and adb push it back to the phone, sense force closes until I revert back to the orginial file, has anyone run into the same issue?
I am going to download the latest framework to see if there might be an issue with signing caused by not having the latest one. I really can't remember which version I'm running.
i give you credit, i wouldn't even attempt to try this on my phone.
Quick question, is there a reason why you're resigning the .apk? There is no need too.
I was under the impression, perhaps uneccesarily, that whenever you modify an apk it needs to be resigned to prevent problems.
I've always done this, I have never had a problem with that practice in the past which is why it perplexed me now. As I already stated, there was no problems when I modified com.HTC.resources.apk
I'm drunk
obelisk79 said:
ok, so I am working on reskinning sense, I'm using DamageControl 2.1 right now and I was able to edit some of the files used in com.htc.resources.apk without problem.
The problem I am having right now is whenever I try and modify a file in rosie, repack and resign and adb push it back to the phone, sense force closes until I revert back to the orginial file, has anyone run into the same issue?
I am going to download the latest framework to see if there might be an issue with signing caused by not having the latest one. I really can't remember which version I'm running.
Click to expand...
Click to collapse
There is images where the name is yadayad08.png, well the number might not be 08 it might be another number and i really dont feel like diggin into it right now, but the images with that number in the end have scripts attatched to the or it written into the image. Have you looked into that. Sorry if I have been %100 clear but ther is images with scripts actually written inside of them......... if you can follow what i'm sayin...:\ I'm drunk......... anyway i'll look into it right now and be back so I dont look like a complete douchebag
So some images have a script stored in the same file? I have never heard of that before. I'd like to see some examples if possible, and how exactly do you modify them?
Time to put my Google-fu to good use.
Edit: whatcha drinking?
The file I am trying to modify is common_mainnav_scroller3.png. maybe that will help. I'm not at my laptop right now, so I am not able to try modifying it without resigning.
I also found some info about the images with scripts attached to them. I have a utility now to modify that stuff, however looking around some more I also think the files with a filename.9.png are the applicable files. I'm not modifying them right now.
obelisk79 said:
The file I am trying to modify is common_mainnav_scroller3.png. maybe that will help. I'm not at my laptop right now, so I am not able to try modifying it without resigning.
I also found some info about the images with scripts attached to them. I have a utility now to modify that stuff, however looking around some more I also think the files with a filename.9.png are the applicable files. I'm not modifying them right now.
Click to expand...
Click to collapse
yea i know forsure the.9 files have scripts attached however if your just changing something as small as an icon I don't think it should matter. Not sure though, i was trying to port a theme and i ran into this situation im not a linux guru so I kind of gave it up
I do not resign the .apk after modifying them If you are only changing images just make sure the new image has the same name and just open the .apk and drag n drop the image into the folder where it needs to be it will over write the old image and store the new one.
I have modified the Rosie.apk and com.htc.resources.apk many times to change things in the taskbar change over to Espresso etc
if you are only changing .png files just drag and drop.
Also like cheyne1 said files or .png's with xxxx.9.png etc in them are more than just .png files and replacing them will cause all sorts of issues if the new file is not made correctly
well, lesson learned... drag-n-drop worked. didn't think rosie apk was going to be so testy. thanks for the help.

[Q]Samsung Galaxy S bootscreen

Hello,
I know you guys probably get this answer often but can someone explain to me very slowly and clearly what i'm doing wrong.
I tried to edit the bootscreen of my custom rom (from romkitchen)
I got a file from the interwebz named bootscreen.zip and edited this with my .png
Than i copied it to my phone via BT and used rootexplorer to paste it in system/media i set the permissions to read only and execute... no1 can write it. than i changed rootexplorer back to RO. so now it is in there ( still the good 1 with my .png)
than i closed rootexplorer and tried to reboot, but now it doesn't show my bootscreen nor the bootanimation from romkitchen, but the standard bootscreen from Samsung (the shiny S)
is there something wrong with my bootanimation.zip or am i doing something wrong?
Please help me
PS this image is just the basic one... gonna make a glowing animation of it later on ( with multiple .png's with succeeding numbers right?)....... i hope...
-EDIT-
Ok so i think i found out what the problem is... the bootanimation.zip is wrong i just examined a bootscreen from a romkitchen .tar and that has a different structure, because this one has a part 0 and a part 1 with jpg's instead of png's so i guess that's the problem. But where do i put my bootscreen? in part 0 or 1? and do i have to delete one? What is the difference even between the 2? It's kinda odd because part 0 goes from image 1-9 and part 1 10-30ish
-EDIT2-
Using the new bootanimation.zip i've made a little progress.... its custom now... custom black. i get an entirely black screen. made me even panic for a sec there but still booted afterwards
I googled it and some1 had the same problem, but his solution didn't help me. apparently android cant play this animation ( still 1 pic but now i dupped it like 50x XD
I've added the .zip as it looks right now i made it a zip as a store... no compression at all... so that isn't the problem
I really don't know enough to tell you why its not working but it's my understanding that part 0 runs once & then part 1 runs in a loop.
3rdstring said:
I really don't know enough to tell you why its not working but it's my understanding that part 0 runs once & then part 1 runs in a loop.
Click to expand...
Click to collapse
hmmm that would make sense.... as u'll only want to fade in once... Still haven't fixed black screen problem tho.
Find your bootanimation file. on my SGS Continuum it is in the /system/media folder as bootsamsung.qmg and bootsamsungloop.qmg. if you have these.qmg files, there is currently no easy away around them. they do not use the common bootanimation.zip like most other phones. search the forums for the ".qmg" boot images and there are some not so perfect ways around this without a whole new kernel flash.
Ok i just examined a .tar from romkitchen.... and in it is a bootanimation.zip so if i change that with my own animation and flash the kernel it should work right? or is there an easier way? and if u use the same settings for romkitchen that i have right now i dont even need to flash right?

[Q] Custom Boot Animation (Black Screening)

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.

[Q] boot and shutdown animation headaches

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..

Boot Animation Creation Help Required

I am not sure why I can't figure out how to make this work, so I am pleading for assistance. I am trying to take the standard Nexus boot animation and make it work for the Moto X. I've already done all the work to the files (cropped them down to our screen size, and removed the ones that were unnecessary). I have included a link to the files I put together, if someone would be so kind as to create the boot animation from them I would really appreciate it!
Edit: Got it to work! Thanks for the help nate! Instead of the files I have now put in place the boot animation and the CLogo I paired together. If you didn't know any better you would think your phone's a Nexus.
https://drive.google.com/folderview?id=0BwiMelVh_Za-WVRsTUdxbUZXUkU&usp=sharing
Thanks!
I have put a compressed folder in the download link called "files.zip" to make it easier to download all the images. Thanks again to anyone willing to help.
I don't feel like making you one... but here is one that I've made a while back that's the same.
Here you go. Tell me how that works.
Edit: Don't flash this. You need to manually place it in /system/media/ and set the permissions correctly.
I managed to finally make my own version work. I used the desc.txt from the file you uploaded, modded it slightly to match the resolution of the images I had cropped and it worked! No idea why my desc.txt was screwed up before. I paired it with a "Google" clogo on boot, and it's seamless. I'll be posting my results to share here after work today.

Categories

Resources