Someone asked for a DK28 kernel that supports EXT4 without custom boot animation support.
They wanted the stock boot animation. This is the result.
Here is a link to the original thread.
:[Installer]:
epic_stock_boot.zip
What it does:
Restores stock animation files into /system/media
Code:
bootani.qmg
bootsamsung.qmg
bootsamsungloop.qmg
Restores the stock boot sound into /system/etc
Installs a single black frame bootanimation.zip into /system/mediaThis was the only way I was able to get the stock boot screen to show with out flickering.
Basically, it plays a single black frame and then continues into the stock animation.
The single black frame is not noticeable (at least to me).
:[Cleaner]:
epic_stock_boot_cleaner.zip
What it does:
Removes stock animation files from /system/media
Code:
bootani.qmg
bootsamsung.qmg
bootsamsungloop.qmg
From my experience, the 3 stock qmg files will cause a conflict with custom boot animations.
Both animations seem to be shown at the same time with mad crazy flickering.
Use the cleaner before you install a custom animation.
:[Testing]:
This has been tested and is working on Bonsai v2.0.1
:[Changelog]:
2-12-11
Added cleaner zip.
Updated installer to use PowerOn.wav from DK28 (instead of one I found on the forums).
2-12-11
Initial release.
=]
Thank you for this
Sent from my SPH-D700 using Tapatalk
dreamsforgotten said:
Thank you for this
Click to expand...
Click to collapse
NP. In the end I kind of tricked it into working.
I tried to modify the init.rc file on my phone and only use the stock files.
Couldn't get it to work, and I don't think we can automate an init.rc mod w/o re-packing the whole kernel anyway.
I tried using the 1st frame of the sprint animation but it had a flicker.
Also tried using the samsungmobile splash screen, again slight flicker at the start.
So this is as good as it gets for now (black no flicker), and it's acceptable in my opinion.
I just hoped someone finds it useful, and it seems you have.
;]
Thanks Nube! So could I edit-add files to the bootanimation.zip in the files folder to make a custom boot ani?
I.e. set a path for the parts of the custom boot under the desc.txt and create parts folders with the boot frames in them?
running_the_dream said:
Thanks Nube! So could I edit-add files to the bootanimation.zip in the files folder to make a custom boot ani?
I.e. set a path for the parts of the custom boot under the desc.txt and create parts folders with the boot frames in them?
Click to expand...
Click to collapse
You would not want to use this as a base for creating your own custom boot animation!
From my experience the 3 qmg files this file restores will conflict with a normal custom boot animation.
I should have mentioned that in the OP (I'll add it). I'll throw together a stock animation removal zip.
If you want to create your own custom animation, I would say you should start with this guide here (best resource I've found).
And then once you feel you understand what's being done, I would say you should check out this program here.
That should get you going.
=]
Thanks again Nube. I'll review those threads
running_the_dream said:
Thanks again Nube. I'll review those threads
Click to expand...
Click to collapse
NP.
[edit]
Oh, I should add that I totally ignored the scripting (zip scripting) part of that guide.
The guide might be outdated and might still be using amend scripting.
I already know my way around an edify script, so I didn't pay attention to that part.
[/edit]
OP updated.
=]
Haha yup I figured those threads assumed amend scripting. I remember someone posting the steps to convert amend script to edify (might have been you in fact). Looks like I'll need to do a lot of reading...when I get to a computer
running_the_dream said:
Haha yup I figured those threads assumed amend scripting. I remember someone posting the steps to convert amend script to edify (might have been you in fact). Looks like I'll need to do a lot of reading...when I get to a computer
Click to expand...
Click to collapse
Probably was me or Dameon87, I made the amend2edify converter also.
A simple script for a boot animation would be:
Code:
ui_print("Mount /system.");
run_program("/sbin/mount", "/dev/block/stl9", "/system");
ui_print("Install files.");
package_extract_file("files/PowerOn.wav", "/system/etc/PowerOn.wav");
package_extract_file("files/bootanimation.zip", "/system/media/bootanimation.zip");
ui_print("Set permissions. Just to be safe.");
set_perm(0, 0, 0644, "/system/etc/PowerOn.wav");
set_perm(0, 0, 0644, "/system/media/bootanimation.zip");
ui_print("Unmount /system.");
run_program("/sbin/umount", "/system");
That would be for the animation and the sound.
The files would be in a folder named "files" in the zip.
package_extract_file("files/PowerOn.wav", "/system/etc/PowerOn.wav");
package_extract_file("files/bootanimation.zip", "/system/media/bootanimation.zip");
Click to expand...
Click to collapse
=]
Thank you for posting this
changing the wav file in there would affect the boot sound right?
just simply change the file name to poweron
I wanted to change it to say something like "this shi7 is epic!!! haha
Thanks for remover zip
THANKS! I didn't really need the stock one but the remover did come in handy rather than going in and removing them myself.
Would this work with restoring the stock animation on any version, for example EB13? Or is this only for DK28?
klownin816 said:
Would this work with restoring the stock animation on any version, for example EB13? Or is this only for DK28?
Click to expand...
Click to collapse
Yes it will work with EB13
iamchocho said:
THANKS! I didn't really need the stock one but the remover did come in handy rather than going in and removing them myself.
Click to expand...
Click to collapse
Glad it was useful to you.
klownin816 said:
Would this work with restoring the stock animation on any version, for example EB13? Or is this only for DK28?
Click to expand...
Click to collapse
As long as the file names have not changed, it should.
AJC9000 said:
Yes it will work with EB13
Click to expand...
Click to collapse
And thank you for the confirmation that it does.
=]
Perfect, thanks!!
sorry for the noob question, but do i just apply th cleaner from th sdcard in cwm? i have stock eb13 w genocide kernal and th stock animation runs in th background to th android logo in th forground. I just wanna make sure all that remains is th android logo. thanx for any help
jspsuperman said:
sorry for the noob question, but do i just apply th cleaner from th sdcard in cwm? i have stock eb13 w genocide kernal and th stock animation runs in th background to th android logo in th forground. I just wanna make sure all that remains is th android logo. thanx for any help
Click to expand...
Click to collapse
If you just want the default "no animation" shimmering android logo, then yes just run the cleaner from CWM.
=]
bringing back an old thread b/c this is a great idea for kernels with custom boot animation support enabled where the user still wants to remain on a stock rom (with the stock boot animation)
i've linked this thread into my kernel's OP...thanks nubecoder
Hi guys
I'm trying to make a boot animation. I took the original CM7 animation and replaced the files but it doesn't work. Can anyone make this for me or tell me where i went wrong?
Thanks
http://forum.xda-developers.com/showthread.php?t=623960
I created your bootanimation, but I don't know what the screen size of your device and I do not know the fps you want, then configure it to your taste.
SWEET! Thanks dude. I figured out my problem. If I dragged and dropped my edited files it wouldn't work. If I open up the archive and edited it , it works. Probably has to do with the compression
im struck with a seroius bootloop while trying to create a rom. i took the system dump from my phone and boot.img from stock. and im unable to produce meta-inf folder. i tried to create update-script using autoupdatecreator tool from here and copied cm's updater-script, i know it is the mistake. and i would be happy if someone can help me creating a updater-script for this rom.....
Hello guys, I've been struggling since two and a half hours now to unpack boot.img taken from cm10.1 zip (get.cm). I have an error about the magic header, here it is.
Code:
Android Magic not found in boot.img. Giving up.
Fyi, I need to unpack/repack the boot image to change the bootlogo and kernel.
I've tried with any tool available (dsixda kitchen, championswimmer kernel kitchen, simple mkbootimg or unmkbootimg, xperia boot tools and more), no results. Anyone please?
Try asking in the question and answer section, that may help
Sent from the luxury of my tent
That's actually a kernel.elf, not boot.img Rename it to kernel.elf, and use the kernel kitchen to extract it's contents.
..
NuriJ said:
That's actually a kernel.elf, not boot.img Rename it to kernel.elf, and use the kernel kitchen to extract it's contents.
..
Click to expand...
Click to collapse
Thank you man, you're a lifesaver. It works.
NuriJ said:
That's actually a kernel.elf, not boot.img Rename it to kernel.elf, and use the kernel kitchen to extract it's contents.
..
Click to expand...
Click to collapse
Hi.. I found this dead thread when i googled for the same thing that OP also had,, I managed to unpack the kernel's boot.img by renaming it to kernel.elf.. I have to edit init,rc file in order to get bootclasspath lines from a cm10 fxp kernel and put it in my port ROM's init.rc and replace the bootclasspath.. But i never found init.rc file anywhere, there is an init file which doesn't have a bootclasspath but only PATH.. Can u help me with this?
tOrNadO_007™ said:
Hi.. I found this dead thread when i googled for the same thing that OP also had,, I managed to unpack the kernel's boot.img by renaming it to kernel.elf.. I have to edit init,rc file in order to get bootclasspath lines from a cm10 fxp kernel and put it in my port ROM's init.rc and replace the bootclasspath.. But i never found init.rc file anywhere, there is an init file which doesn't have a bootclasspath but only PATH.. Can u help me with this?
Click to expand...
Click to collapse
Are you looking in ramdisk?
NuriJ said:
Are you looking in ramdisk?
Click to expand...
Click to collapse
Yes.. I did that too.. Unfortunately all the methods didn't work.. One simple method worked though.. Change the permissions of all the unpacked files and mount the ramdisk.img and then extract it and change contents of any file of your choice and then repack it.. It works like a charm..
Hi, I would like some help with changing first boot logo that I understand is in the kernel, also I would like to know how do you change the animation when you reboot or shut down your phone, if some other phones have similar, same instructions I would like to know which phones or just pointing me the right direction would be much appriciated. Because I have seen quite few threads around the net about similar things, but they are not for XZ.
If this helps - im running
C6603 with Unlocked bootloader
Boot Splash Logo Is in the kernel! (That big Sony Logo appear on first screen) for modify you need linux as you need to modify ramdisk and you need to create a raw file for your device, for boot animation (which will apear second and is that flying colorful) is in the /system/media/bootanimation.zip as Jpeg sequence it can be easily modify and you can put it back afterward just don't forget to look at the text file in it and also don't forget to rw-r--r-- permission after you put modified bootanimation back. (there's bunch of tools and tutorials about this one) good luck
sijav said:
Boot Splash Logo Is in the kernel! (That big Sony Logo appear on first screen) for modify you need linux as you need to modify ramdisk and you need to create a raw file for your device, for boot animation (which will apear second and is that flying colorful) is in the /system/media/bootanimation.zip as Jpeg sequence it can be easily modify and you can put it back afterward just don't forget to look at the text file in it and also don't forget to rw-r--r-- permission after you put modified bootanimation back. (there's bunch of tools and tutorials about this one) good luck
Click to expand...
Click to collapse
I know about, the second boot animation, but I need a full tut about the 1st boot logo, and linux is not a problem, but what about restarting and shutting down animation?