Shattered Screen? Turn Your Broken Device into a Complete Media Center!

A cracked screen usually means you’ll have to spend a hefty … more

Gmail 5.0: Material Design and Multiple Account Support

Google started to materialize many of its applications right after announcing the … more

Some of Our Favorite Features in Android 5.0 Lollipop

Android 5.0 Lollipop is the latest major revision to Google’s mobile operating … more

Sony SmartEyeglass SDK Developer Preview Released

A little over a month ago in Tokyo, Japan, Sony unveiled its new SmartEyeglasstechnology. … more
Post Reply

[Q] Bootanimation.zip zipping ?!

OP sambuculus

6th February 2014, 02:55 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Feb 2014
Hi everyone,

I've been looking around these forums for days now, but it seems nobody else has had this problem. It's about boot animations. My screen just stays black. I have narrowed it down to the zipping process.

I've tried it with somebody else's bootanimation.zip to make sure it is not about my .pngs or .txt file.
When I put a downloaded .zip directly inside system/media/ or data/local…it works like a charm!

But as soon as I unzip and then zip it again (on Mac OS, Windows as well as 7zip for Android), it won't work anymore! There must be something apart from the "store" method and the permissions.

Things I tried:
(Mac OS Terminal) zip -r -X -0 bootanimation.zip bootanimation -x "*.DS_Store"
(Mac OS) "Keka" app (unofficial 7zip port) "store" method
(Windows) 7zip , "store" method
(Android) "7Zipper" app, "store" method

Phone:
Rooted Xperia Arc ("Anzu") with CM9 (also tested on CM10)

I need your help, I don't know what else I can do!
6th February 2014, 03:39 PM   |  #2  
demkantor's Avatar
XDA: ASSIST
Recognized Contributor
Flag mpls
Thanks Meter: 2,851
 
5,963 posts
Join Date:Joined: Nov 2011
More
Well that's hard to say, it looks like you are doing things correctly, I use 7zip on Linux and windows and it always works when compression is set to store
Maybe upload the copy of working one and the one you played with and I'll take a look when I get home

Sent from my Nexus 4 using XDA Premium 4 mobile app
The Following User Says Thank You to demkantor For This Useful Post: [ View ]
6th February 2014, 04:05 PM   |  #3  
OP Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Feb 2014
First off - thanks very much for your helpfulness! I won't be able to figure this out by myself.

Att. #1 is an already zipped download.
Att. #2 is the exact same, except that I unzipped it and then zipped it again (via Terminal "zip -r -X -0…")
Attached Files
File Type: zip bootanimation_notWorking.zip - [Click for QR Code] (1.35 MB, 2 views)
File Type: zip bootanimation_working.zip - [Click for QR Code] (1.35 MB, 4 views)
6th February 2014, 05:59 PM   |  #4  
divyamg28's Avatar
Member
Thanks Meter: 15
 
59 posts
Join Date:Joined: Aug 2013
More
you have to zip it again using the store option in 7-zip
6th February 2014, 09:08 PM   |  #5  
demkantor's Avatar
XDA: ASSIST
Recognized Contributor
Flag mpls
Thanks Meter: 2,851
 
5,963 posts
Join Date:Joined: Nov 2011
More
Quote:
Originally Posted by sambuculus

First off - thanks very much for your helpfulness! I won't be able to figure this out by myself.

Att. #1 is an already zipped download.
Att. #2 is the exact same, except that I unzipped it and then zipped it again (via Terminal "zip -r -X -0…")

ok, so what you are doing is zipping up a folder nameded bootanimation, in this folder there is
part0
part1
desc.txt

but you dont want that folder!
so when zipping just highlight the three from above and zip those, do not add an extra level
than you will be all good!


let me know if you have further questions but im guessing you'll be just fine now!
The Following User Says Thank You to demkantor For This Useful Post: [ View ]
6th February 2014, 09:44 PM   |  #6  
hnkotnis's Avatar
Senior Member
Flag Sangli, Maharashtra, India, Asia, Earth, Solar System, Milky Way Galaxy, Local Galaxy Group,Universe
Thanks Meter: 442
 
999 posts
Join Date:Joined: Jul 2013
More
@sambuculus
You may be interested in this.
If you have gif for bootanimation then use Bootanimation Creator from ROM Toolbox app (No PC, no zipping, software does everything).
I have used this and works fine.

Sent from my GT-S5360 Gadget of Mass Destruction by xda-app
using CWM........Busybox commands........ No I use my hands
6th February 2014, 09:44 PM   |  #7  
OP Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Feb 2014
Quote:
Originally Posted by demkantor

ok, so what you are doing is zipping up a folder nameded bootanimation, in this folder there is
part0
part1
desc.txt

but you dont want that folder!
so when zipping just highlight the three from above and zip those, do not add an extra level
than you will be all good!

let me know if you have further questions but im guessing you'll be just fine now!

Just did that, but it didn't work o.O I actually think that the outcome is the same.

Instead, I had a TeamViewer session on a Windows PC. Here's the outcome:
Unzip Mac - Zip Mac : Doesn't work
Unzip Mac - Zip Win : Doesn't work >> that's interesting I think
Unzip Win - Zip Win: Works!
> I forgot to test if unzipping on Windows and then re-zipping on Mac would work…

So what finally brought my own bootanimation.zip onto the device was using the BootAnimationFactory on the PC. Pretty sure it would have also worked if I manually wrote the desc.txt but whatever.

For now, that's an acceptable workaround for me, but it bugs me that I don't know the reason it doesn't otherwise.
6th February 2014, 09:54 PM   |  #8  
demkantor's Avatar
XDA: ASSIST
Recognized Contributor
Flag mpls
Thanks Meter: 2,851
 
5,963 posts
Join Date:Joined: Nov 2011
More
Very strange, the only thing I found wrong with the .zip you posted was the the extra folder in there, to double check I removed it and flashed it to one of my devices and it worked just fine.
But if you found a solution than good! Let me know if you want to try again with teamviewer or something

Sent from my Nexus 7 using XDA Premium 4 mobile app
7th February 2014, 09:33 AM   |  #9  
OP Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Feb 2014
@demkantor It WAS the folder! It worked!

Info for Mac users:
I saw that opening a .zip on PC doesn't render a Folder like it does on Mac. That may be the reason why I couldn't see a difference on OSX, as it shows me the additional bootanimation folder, whether I zipped the whole folder or just its contents.

Anyways, thanks again for your help!

@hnkotnis Thanks for the tip! If only the color range on a .gif wasn't that bad, it would be a convenient workaround as well.
Last edited by sambuculus; 7th February 2014 at 09:50 AM.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Q&A, Help & Troubleshooting by ThreadRank