Replacing offline charging animation to a Samsung offline charging animation. - ONE General

Hello User and Developers,
I’m a very happy owner of a Oneplus one. I opened this tread because of the following problem. I want to change the offline charging animation from Oneplus one to a Samsung offline charging animation.
Now the thing is I find the Offline charging animation of the Oneplus a bit boring. It’s just a simple white battery. I would like to change this charging animation to something more stylish and better looking.
I’ve seen the refueling charging animation used by Samsung on their flagship phones https://www.youtube.com/watch?v=q3VmpG-zUMcand I would love to have this on my Oneplus one.
I changed my boot animation and that was just simply replacing some files and flashing a bootanimation.zip via TWRP. But after some research on the Samsung charging animation I noticed Samsung is using .SPI files and .QMG files for their animations. (normally it’s multilayer PNG for android)
Via googling, I found out that I need the following files form a Samsung ROM (can’t find any GIF or PNG images of the animation anywhere on the internet):
Particle_intro.spi
Particle_loop.spi
Wave_loop.spi
Percentage.spi
Source: http://forum.xda-developers.com/galaxy-s5/help/galaxy-s5-battery-charging-animation-qmg-t3061577
I derived these .SPI files from a Samsung s7 rom but noticed I could not open them or convert them to PNG. (These extensions are normally used for incremental backup images.)
Shadow protect software, suggested by serval sites won’t do the trick. (source: http://www.file-extensions.org/spi-file-extension) (Thankyou Samsung for making things difficult).
I know the .SPI files are serval PNG files with some sort off instruction converted in to one image and I know I need to convert the .SPI files to PNG files to convert those PNG images in the multi-layer PNG files for the charging animation to work for the Oneplus one.
I know I need the to replace the .PNG files in res/images/charger. But that is where my knowledge ends.:silly: Is these even possible, is this to embedded in the firmware or am I wrong and should I take a different approach? I’m not really in to coding or programming but not a complete stranger to flashing ROMs or modifying boot animations via TWRP or ADB.
Does anyone know somethings more about replacing these offline charging animations and be willing to help me out with converting/reading the .SPI files? (if it’s even possible).
With regards and thanks for helping in advance:good:,

POV: 6 years later: its located at system/media for Samsung oneui users

BrotherBoard said:
POV: 6 years later: its located at system/media for Samsung oneui users
Click to expand...
Click to collapse
6 Years later, first commnet .
It is supposed that this program should not open the file because there the .spi format is established as backup, so the program instead of opening and seeing the content, what it does is put a message that says "Backup image file security is invalid."

Synx94 said:
6 Years later, first commnet .
It is supposed that this program should not open the file because there the .spi format is established as backup, so the program instead of opening and seeing the content, what it does is put a message that says "Backup image file security is invalid."
Click to expand...
Click to collapse
I think if custom roms managed to edit it, then we can

Related

nexus s Boot Animation Problem

Hello everyone. I have a problem I'll break your head about two days . I own a mobile device samsung nexus s . I try to change the animation that comes when the device turns on a single image. I could replace the existing one animation ready and everything worked fine but when I want to put just one picture that I have created I can not the mobile device is a black screen I do not understand where my mistake might have any idea what I was doing wrong. I will raise the image I want to tell me what was wrong with her and have someone video that explains what size and what software you can edit the picture so it will work for me.Thanks to everyone that help is very important to me I uploaded the image and the file I made to Tomer me what's wrong
nope, that didn't fix it.
gonna play with it some more.
Ah...always look at the obvious first.
Your zip file is compressed.
The bootanimation.zip file must be made with the "store only" or whatever setting your zip application uses to save the file as UNCOMPRESSED.
Here's your file repacked without compression. It just worked on my phone.
Also, That "10" you have in your desc.txt instructs a 10 second pause, that's not necessary.

Custom boot animation for Motorola bravo

For those of you who are fed up with AT&T original boot animation
and want to bring a little touch of originality to your phones;
I will give you the tools to do so and then i would like this topic
to be the display of all the talent behind your idea's. Dont be affraid
to post your creations here
So lets get started.
In order to change the bootanimation on android phone you need first to be ROOTED.
that will help you in the futur with you phone anyway... but will also give you access
to root files on your phone.
Now!!!
The file that has the bootanimation data is:
system/media/bootanimation.zip
and it is formed of 4 or less items inside.
folder : part0
folder : part1
folder : part2
.txt : desc.txt
the mechanism behind these files is simple.
the 3 folders have inside of them PNG image sequences that creates the animation.
and the .TXT "desc.txt" is the script that puts it all together.
* You will notice that inside the :
system/media directory there is an audio folder as well.
This is where the sound associated to the bootanimation is stored
originally called :
boot_att.ogg or anything else the carrier wants to call it... (we'll talk about it later)
OK. If you were Able to follow sofar you must have an idea of what is next.
the idea is to replace that bootanimation.zip file and that boot_att.ogg sound to
change the bootanimation to your own.
I highly recommand to backup these existing files just in case you want to put the
phone back to it's original state...
This is where it is getting fun!
"HOW TO CREATE ANOTHER bootanimation.zip?"
sofar the best result would be obtained by creating a flash animation
of your own using adobe flash software. The screen size to select when
creating file should be in pixel the size of your android phone listed on the specs . final file will be then
published as .SWF
Once you have your SWF file you need to convert it to a PNG animation.
(what is a PNG animation?) well it is a sequence of PNG images that are put one after the other to create an animation just like the one on part0 folder of bootanimation.zip
There is a cool software that makes that convertion. It
breaks your SWF animation to a frame by frame PNG sequence.
ADShareit SWF to Video Converter Pro v5.3.zip (attached below)
....shhhhhh!!! yes i gave you a cracked one.
so when you add your SWF movie onto ADShareit you go to settings:
-Export type: Image sequence
- Sequence : Normal sequence (interact)
... the rest will pretty much adjust to the original swf file specs.
since the convertion of your swf to PNG animated is going to create a lot of PNG images
you want to create a folder on your desktop called "part0"
and on ADShareit settings you would select that folder as Export point.
Hit OK!
and let the convertion take place.
You should have now on your destop a folder name "part0" that has your SWF movie broken into several PNG
images.
At that point you have created the main animation for your bootanimation.zip file
But since the animation should play just once and then wait for the phone to boot up, you dont want it to loop.
That is why you have to create another folder "part1" that will have inside the last image of your "part0" sequence.
and that one will loop till phone boot up.( being just one image it will feel as if movie stopped.)
so i repeat:
create another folder called "part1" on witch you copy/paste the last PNG on folder "part0" you just created.
so now you have two folders:
"part0" main animation.
"part1" animation ending loop.
That's it for the animation part!
NOW THE DESC.TXT .
is just a basic txt doc on witch you type what will become the "action script"
of your bootanimation.
here is what you type: "this was when i was creating it for a motorola bravo"
480 854 30
p 1 3 part0
s loading.mp3
p 0 0 part1
now let me explain what it stands for
-first line: is the size of your animation : 480 by 854 (motorola bravo screen resolution)
then "30" stands for the speed of your animation .(30 frames per seconds/fps)
- second line part 1 of 3 (meaning first part to play) is "part0"
- third line is the sound that will play with the animation
* i said i'd talk about this later.
so here it is:
The sound format does not have to be in .ogg only it can be .mp3 or any other format your phone
recognize. the name of it also can be anything as long you use the same name for the sound file
you want to add.
(note that in front of sound line you have a "s" , and not a "p" it stands for "sound".
- fourth and last line is always the loop image file (that will be the last thing played and it will loop)
p 0 0 part1 (part1 is to be played as last.)
save .txt created as desc.txt
We have all the files now created . we need to zip:
- part0
- part1
- desc.txt
But this is not zipped just in any manner ...
you need to use 7Z compression software from there:
http://www.7-zip.org/download.html
and zip by adding to archive and setting compression to :
-achive format : ZIP
- Compression level : store
or else it will not work if compressed any other way !!!
save compressed file as bootanimation.zip
here you go.
You have now:
- bootanimation.zip
- loading.mp3
copy both to your phone SD card. and push bootanimation.zip to :
system/media
and loading.mp3 to:
system/media/audio.
reboot phone and enjoy!
I.E: I am adding my bootanimation below along with sound that goes with it.
It was too big to attach on XDADev.
so i give you mediafire download links.
bootanimation.zip
loading.mp3
Ahhhh. Thank you for this. Going to give it a go when I get off work.
Thank you I hated the stock one!
Now I have a nice Android Scribble boot
Thanks for the tut, I'll try to make my own on wednesday since I have no school. In the mean time, does anyone mind uploading one they've made?
proutpa said:
Thank you I hated the stock one!
Now I have a nice Android Scribble boot
Click to expand...
Click to collapse
Is that the stock android screen? That's what i wanna do. Lol
Sent from my MB520 using XDA Premium App
Search this site for "Android Scribble" you will find many topics.
Can't remember which link I used but I'm sure all will work fine.
Alright thanks
Sent from my MB520 using XDA Premium App
Yes jared152,
I 've updated my post, and added my bootanimation and sound that goes with it .
I'd appreciate you giving it a try. Would be curious to see your creation!
Have fun.
lecelui, Very nice job on your instructions and explanations! It got me thinking about how much I hated the AT&T woosh boot and then the dropping globe. I'm a novice at android programming altho I have got my phone rooted and bloatware frozen. I found an app called root tools by JRummy in the market and he has included some boot animations that are clever. So now I have some dancing droids!! Hopefully 2.2 froyo will be released to everyones Bravo soon, it really speeds functions up. Thanks again for your efforts!
michaelvan8 said:
lecelui, Very nice job on your instructions and explanations! It got me thinking about how much I hated the AT&T woosh boot and then the dropping globe. I'm a novice at android programming altho I have got my phone rooted and bloatware frozen. I found an app called root tools by JRummy in the market and he has included some boot animations that are clever. So now I have some dancing droids!! Hopefully 2.2 froyo will be released to everyones Bravo soon, it really speeds functions up. Thanks again for your efforts!
Click to expand...
Click to collapse
does anyone have the original boot animation .zip file I could get? I am really stuck the custom animation I have is keeping me from being able to update to 2.2. you can pm me or email me that would be awsome. thanks
Still kinda new to this, but:
I was able to push the animation, but the sound isnt working. Phone is not on silent when it reboots either. I'm using bandroidx's RC2 rom with Froyo, and when I tried to push into system/media, the command prompt told me it was a read-only file system. So I tried pushing into data/local and the animation was working, just without the sound. Any help would be appreciated, as I would like to make my own custom animations with sound.
chemicalsmile said:
Still kinda new to this, but:
I was able to push the animation, but the sound isnt working. Phone is not on silent when it reboots either. I'm using bandroidx's RC2 rom with Froyo, and when I tried to push into system/media, the command prompt told me it was a read-only file system. So I tried pushing into data/local and the animation was working, just without the sound. Any help would be appreciated, as I would like to make my own custom animations with sound.
Click to expand...
Click to collapse
There's a way to mount /system as rw in adb, but I don't know it. Do you have cwm? You can easily mount /system in cwm recovery and then push the file there I think.
I have bandroidx's bootstrapper CWM from when I flashed the ROM, and found the mount /system option, do I simply just mount it and push to the aforementioned directory with adb while in CWM? As I said, I'm still rather new to android filesystems and I don't want to do anything to brick my phone. Thanks for the patience and any help you can provide.
Sent from my MB520 using XDA App
i use the bravox rc2x rom that bando made, will it be any different if i try to change it?
chemicalsmile said:
I have bandroidx's bootstrapper CWM from when I flashed the ROM, and found the mount /system option, do I simply just mount it and push to the aforementioned directory with adb while in CWM? As I said, I'm still rather new to android filesystems and I don't want to do anything to brick my phone. Thanks for the patience and any help you can provide.
Sent from my MB520 using XDA App
Click to expand...
Click to collapse
Yea, make sure the USB cable is plugged in when cwm recovery turns on, mount /system in the cwm menu, then push the files to where the tutorial tells you.
And if you do somehow brick, there's always an sbf.
slowcurve said:
i use the bravox rc2x rom that bando made, will it be any different if i try to change it?
Click to expand...
Click to collapse
Maybe, the boot animation for that might be in /data/local/ so either delete that file and put your boot animation in /system/media/ or just overwrite the file in /data/local
chemicalsmile
* You will notice that inside the :
system/media directory there is an audio folder as well.
This is where the sound associated to the bootanimation is stored
originally called :
boot_att.ogg

[HOW-TO] Create a custom boot animation

Creating your own boot animation is an easy process. Here is a short guide showing you how:
You must create a series of .png files. There are many programs out there to do so. There are basic ones like Easy Gif Animator. Or more professional ones like Adobe After Effects.
__________________
The package you will create is made up of two main parts:
The first part is the text file:
The 'desc.txt' file tells your device how to play the sequence of images. It will look something like this:
Code:
1282 802 30
p 1 20 folder1
p 0 0 folder2
In the example above the files will be stretched to fit the screen, will play at 30fps, folder1's contents will play once, then wait 20 frames, then folder2's contents will play infinitely, until the device has booted.
The '1282 802' figures are the resolution you wish the files to be displayed at. The screen is obviously 1280x800 but I've found that if you set it to that resolution you get a border of coloured pixels around the extreme edge of the display, so I suggest you set it to 1282 802 to make sure your animation looks fine.
The '30' is the frames per second (fps), the speed at which you would like your animation to play.
p = a break in the text file to show a new command will be issued.
In the next column the '1' means it plays that sequence once (setting it to '0' means it plays infinitely), with the '20' meaning it will wait 20 frames before it continues onto the next line of the file (if set to 0 it doesnt pause at all).
folder1 and folder2 are the names of the folders containing your PNG images. You can use multiple folders if you wish, or just one folder. It doesnt matter what you name the folders, as long as you specify their names in the desc.txt file properly.
The second part are the actual images you have created:
The files must be named in a progressive numerical format, e.g. 0.png, 1.png, 2.png, 3.png, etc. and placed in a folder.
If there is a gap in the numbers or any missing, the animation will look jerky, or if you are just testing via ADB it will just fail altogether.
When you are satisifed with your files, they all need to be packaged up into a zip file. Use any program like Winzip or Winrar to do this. You need to name your file 'bootanimation.zip' and make sure it's not compressed, so choose the 'store' or 'not compressed' options when you are creating your final file.
To test your file works nicely follow the 'How to Install' guide I made HERE.
If you wish to upload so others may use your creation, you can use THIS handy site to upload to multiple sites at once for free.
------
Tips:
Creating a series of images 1280x800 will result in a massive zip file. You're better off scaling down your images (e.g. 640x400). They will be stretched to fit the screen so don't worry about that. Also a max of about 100kb each is advisable for a series of up to about 100 images total.
Depending on the length of your animation you may need to scale your images down or reduce their quality so that the end files will play properly. Total size shouldn't really exceed about 8mb (the TF can still play the files if they are larger in size, but they don't run nearly as well). A 1.5mb sized package seems to play best however. The original TF animation package is about this size.
------
Troubleshooting:
If your sequence doesn't play on your device, make sure you have done all of the following:
Sent the file across properly using ADB.
Saved the zip file with no compression.
Renamed it bootanimation.zip.
Included the desc.txt file.
Make sure there is an extra blank line at the end, inside the desc.txt file.
------
I've included an example .zip file below with the basics in it. It's not a full animation file, but an example so you can familiarise yourself with the settings/structure. If you want to download and check out some fully compiled sample files you can do so in my thread [url="http://forum.xda-developers.com/showthread.php?t=1101535]HERE[/url].
____________________
Any questions? Have I missed something? Comment below...
____________________
Thanks for the guide. I have found this works fine for a single folder setup, but all my double folder attempts have failed, using your exact guide and ensuring consecutive numbers between folders. The terminal says "alloc iovmm" and terminates shell when I get to the second folder. I was hoping to have a "start up" sequence, with just part of the animation looping until the end of start up, but no joy.
--Jak
You need to make sure there are no hidden files inside the folders, so make sure (if you are using windows) that everything is set to show up in your file manager/explorer. Sometimes there are hidden files like 'thumbs.db', etc. You also need to make sure that the folder1 and folder2 lines, are on separate lines in the 'desc.txt' file.
any chance on audio support for boot animations? I remember it working in 2.2, but haven't really messed with it since then.
Thank you very much for this detailed tutorial.
I've noticed that if you change the image from RGB mode to indexed the size of the file will drastically decrease without much of change to the picture.
thank you very much for the info....you rock man !!!
Awsome
As soon as I read your post, went to testing, took an image and edited in MSPaint, created the zip, 480x800, and it works perfectly, as long as the FPS is set to 24 for my LG Optimus Black.
Forgot to look at the size of the archive, it turns to be 27MB, but the thing just works. Thanks, man!
Boah.. will try this some time. Thanks for posting!
would someone mind taking a look at my animation and tell me where i've gone wrong? im feeling pretty thick as this should be an easy procedure and i just cant get it working.
when i try running it with adb it runs through folder0 then stops and says 'segmentation fault' in my command prompt. when i reboot it just shows a black screen after running through folder0.
thank you!
jimmygoska said:
would someone mind taking a look at my animation and tell me where i've gone wrong? im feeling pretty thick as this should be an easy procedure and i just cant get it working.
when i try running it with adb it runs through folder0 then stops and says 'segmentation fault' in my command prompt. when i reboot it just shows a black screen after running through folder0.
thank you!
Click to expand...
Click to collapse
Instead of folder0 and folder1 try renaming them to part0 and part1
baseballfanz said:
Instead of folder0 and folder1 try renaming them to part0 and part1
Click to expand...
Click to collapse
That's actually what I had them named as originally, also tried p0 and p1.
thanks though.
jimmygoska said:
That's actually what I had them named as originally, also tried p0 and p1.
thanks though.
Click to expand...
Click to collapse
Try here, it's a recent bootanimation discussing thread.
http://forum.xda-developers.com/showthread.php?t=1537798
baseballfanz said:
Try here, it's a recent bootanimation discussing thread.
http://forum.xda-developers.com/showthread.php?t=1537798
Click to expand...
Click to collapse
Cheers, going through it now.
How to enable boot sound. What will i edit?
Sent from my GT-S5670 using xda premium
There is no boot sound that I am aware of...no device I've ever booted had sound (until it booted completely)..there may be a way to enable it but thus far I haven't found one.

[Q] Bootanimation failure

Hello guys!
OK, so here we go. I installed CM12 official nightly on my samsung galaxy s4 GT-I9505 and i wanted to change the boot aninmation, normally a simple task. so I installed the disco ball boot animation from this thread: http://forum.xda-developers.com/showthread.php?t=2334927
this worked totally fine, but i decided to make the bootanimation a little bit more personal, so i went to photoshop and eddited all 30 PNG files, put it back together as a bootanimation.zip and installed it in my phone.
now when i go to the theme engine in CM12, and i go to my current theme (the original cm12 theme) and i preview the bootanimation, it shows my own made animation perfect, but when i restart my phone to actually view it, it becomes just a black screen
Download This is the original discoball bootanimation.
Download This is my own one. (i know its not much but i would like to have this one)
and yes i did change the permissions.
URL's uploaded via Airload
Fix the following problems with your zip and the boot animation will work properly.
1. You have a "thumbs.db" file in your personal version of the boot animation. Remove this.
2. When you made the zip file, you compressed the images within it. In order for a boot animation to work the images within it must be stored in an uncompressed form. For example, WinRAR has a setting titled "Compression Method". You would set this to "store".
Strephon Alkhalikoi said:
Fix the following problems with your zip and the boot animation will work properly.
1. You have a "thumbs.db" file in your personal version of the boot animation. Remove this.
2. When you made the zip file, you compressed the images within it. In order for a boot animation to work the images within it must be stored in an uncompressed form. For example, WinRAR has a setting titled "Compression Method". You would set this to "store".
Click to expand...
Click to collapse
thanks man, i dont know how that thumbs.db file got in there but it works fine now, thanks!
Windows automatically drops them into every location that has a picture or document. It is possible to disable this behavior, by following the instructions here.

change boot animation xdauto 1.6.2c

Hi,
is there a way to change the boot animation in xdauto 1.6.2c ? I would like to see my Chrysler car logo animation.
Thanks in advance
any luck with that yet? been thinking of changing the boot animation too.
Well, I have gone through a series of trial and error, and have successfully gotten my own created boot animation to work. However, I havent figured out the max resolution I can use (my animation looks to small from the one I originally created. Using xdAuto, the current boot animation resolution is at 480x292. Anything bigger than that, causes a black screen during the boot process (or at least this is what I've led myself to believe, if anyone finds anything different please update let us know.) Although I was under the assumption that I could use 1024x600 but my animation won't work if I use this big of a resolution.
It goes basically like this:
1. on your computer - Create a new folder and rename it to bootanimation
2. Create a folder inside bootanimation called part0 (you can add more parts if you wish increasing by increments of 1. part1, part2, part3, etc.)
3. in the part0 folder, make sure all images are in the same format. I used .png format, and make sure the pictures are in order, eg. 00000.png, 00001.png, 00002.png, etc. (You are essentially making a slideshow that plays at a max of 30 frames per second)
4. Install "boot animation creator." You can google for this or search for it here on XDA. (I cant post urls yet.)
5. open boot animation creator, follow the prompts to make your boot file, don't forget to add a loop when that section comes up for making your bootanimation.zip file.
6. place your bootanimation.zip file in your android HU (I'm using a carpad III).
7. (root required) go to the root of your Android HU/carpad. Go to this path /system/media
8. make a backup copy of the current bootanimation.zip file and place it in a safe place.
9. copy and paste your created bootanimation.zip file in /system/media
10. reboot, if done correctly you should see your new bootanimation.
Hope this helps.
Update: So my main problem, was that root browser was giving me a "operation failed" error. Its strange because sometimes it would let me write to the /system/media
folder. I was able to get a 819x432 bootanimation.zip to write. But now for some reason I can't get anything else to write to it... very strange. I am pretty sure that the max resolution for bootanimation.zip for Carpad II / III is 1024x600, getting it to write when I want it to is the issue I am having now.
Okay, well I found out why I was getting the write errors. Well, at least this worked for me.
I went into SuperSU, settings, and unchecked Mount namespace sepraration.
This allowed me to write my bootanimation.zip file to the /system/media/ folder.
I was also able to use my original 1024x600 bootanimation.
Hope this helps.

Categories

Resources