Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,814 Members 44,244 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Bootanimation.zip zipping ?!

Tip us?
 
sambuculus
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Feb 2014
Default [Q] Bootanimation.zip zipping ?!

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!
 
demkantor
Old
#2  
demkantor's Avatar
Recognized Contributor
Thanks Meter 2,760
Posts: 5,783
Join Date: Nov 2011
Location: mpls
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: [ Click to Expand ]
 
sambuculus
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: 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)
 
divyamg28
Old
#4  
divyamg28's Avatar
Member
Thanks Meter 15
Posts: 59
Join Date: Aug 2013
you have to zip it again using the store option in 7-zip
.
.
.
Its Good to THANKS if someone has helped you..!!! You can do by simply pressing the THANKS button
 
demkantor
Old
#5  
demkantor's Avatar
Recognized Contributor
Thanks Meter 2,760
Posts: 5,783
Join Date: Nov 2011
Location: mpls
Quote:
Originally Posted by sambuculus View Post
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: [ Click to Expand ]
 
hnkotnis
Old
#6  
hnkotnis's Avatar
Senior Member
Thanks Meter 436
Posts: 998
Join Date: Jul 2013
Location: Sangli, Maharashtra, India, Asia, Earth, Solar System, Milky Way Galaxy, Local Galaxy Group,Universe
@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
 
sambuculus
Old
#7  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: Feb 2014
Quote:
Originally Posted by demkantor View Post
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.
 
demkantor
Old
#8  
demkantor's Avatar
Recognized Contributor
Thanks Meter 2,760
Posts: 5,783
Join Date: Nov 2011
Location: mpls
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
 
sambuculus
Old
(Last edited by sambuculus; 7th February 2014 at 09:50 AM.)
#9  
Junior Member - OP
Thanks Meter 0
Posts: 6
Join Date: 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.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


ARChon Lets You Run Android Apps in Google Chrome Browser

Not too long ago, Google added the ability torun select Android applications on … more

Flyme OS Finds Its Way to the Google Nexus 5

Flyme OS is a heavily modified Android variantdeveloped by the Meizu team for their MX … more

MultiROM Makes Its Way to the LG G2

Over the last few weeks, we’ve seen quite a fewflagship (and former flagship) devicesget to … more