Has anybody ever figured out a method to ditch the splash and boot screens and get a descriptive loader, like a diagnostic boot? AKA a no-GUI boot?
I have one, but need help!
I made one! But I need help on it, :-(
Here's what I did and what I need help with:
I looked up the boot process for Android and what happens in what order. So I made a "descriptive boot" screen for it. But now, here is my problem:
My DESC.TXT won't play the second folder! It's written as follows:
320 480 4
p 1 20 part0
p 0 0 part1
If someone can please tell me how to fix it so the second part works, I will DEFINITELY upload it for all to share.
Related
Below you'll find two new boot animation clips I've made (it's the android on a skateboard jumping through a hoop of fire) to replace boot1.gif and boot2.gif in the /system/media/bootscreen folder on the filesystem. Can anyone tell me why they don't display properly at boot time?
files:
boot1.gif : http: //picasaweb.google.com/lh/photo/5EPOtJXhVOw1_CIeg6h9Vg?authkey=Gv1sRgCOip8ui3kt7JtQE&feat=directlink
boot2.gif : http: //picasaweb.google.com/lh/photo/BuL7-g9IZnDZ7VE--NI2fA?authkey=Gv1sRgCOip8ui3kt7JtQE&feat=directlink
Are they in the same resoultion (Width by Height) as the originals?
Seems like flash was packing the frames weirdly. After repacking them with another program, it works fine.
Well like the title states, I would like to see the kernel messages instead of a boot animation. Just for the geeky look of course ^__^
So is there a way of doing that?
I'm using a German Vodafone Magic 32B, running Cyanogenmod 5.0.8.
I think you can't put the boot in verbose mode, you could do an animated sequence with PNG files to emulate the verbose mode but it won't be the real boot messages of course, just images
Yeah I'm using a boot animation that imitates the BIOS POST-screen on a PC, it's nice but the verbose mode is much cooler
The boot animation I'm using:
http://forum.xda-developers.com/showthread.php?t=648555
What I'm after:
http://www.youtube.com/watch?v=HQKfeDnMVQ8 (about 2 minutes into the video)
If there was a simple setting in a configuration file, it would be awesome, if it required modifing the boot loader, it would suck
From what I understand, you need to change the init.rc file in \
setprop ro.kernel.android.bootanim 0
setprop debug.sf.nobootanimation 1
or simply change export ANDROID_BOOTLOGO 1 to export ANDROID_BOOTLOGO 0 also in init.rc
However, all changes to init.rc are gone after restarting the phone....
Any ideas?
Hm, it seems like the init.rc we see in our rootfs is part of a ramdisk. A ramdisk created from an image in our boot image, i guess a modification of the boot image would help the cause, but that's way too much trouble
quazar666 said:
From what I understand, you need to change the init.rc file in \
setprop ro.kernel.android.bootanim 0
setprop debug.sf.nobootanimation 1
or simply change export ANDROID_BOOTLOGO 1 to export ANDROID_BOOTLOGO 0 also in init.rc
However, all changes to init.rc are gone after restarting the phone....
Any ideas?
Click to expand...
Click to collapse
I modified the boot.img with the first changes but it just broke it. Apparently the setprop method won't work. I'll try the export suggestion sometime in the next couple days and report back.
Awesome, thanks for trying
No problem. If I get it working I'll post a tutorial on how to rebuild the boot.img to do this. I'll also post a premade boot.img for the latest CM release candidate.
Any news ?
nattiii said:
Well like the title states, I would like to see the kernel messages instead of a boot animation. Just for the geeky look of course ^__^
So is there a way of doing that?
I'm using a German Vodafone Magic 32B, running Cyanogenmod 5.0.8.
Click to expand...
Click to collapse
What you want is this http://www.youtube.com/watch?v=7u6qNzsgbxY
As you indicated yourself.......they are messages from the kernel. You would need a kernel that's verbose instead of having a logo.rle. Kernels have specific headers & hashes so its really hard to just 'add' or 'remove' stuff inside. You would need to compile a special kernel to achieve this. I'm pretty sure the permissions & logo.rle are in the initrd which is 1/2 of the Boot.img alongside the zImage. Hope that helps
Any updates on this? This would be killer!
92drls said:
Any updates on this? This would be killer!
Click to expand...
Click to collapse
Try chainfire's "live dmesg" and " live logcat" boot animations, should be available on the market
Sent from my HTC Desire using XDA App
I just tried the live dmesg. That's absolutly brilliant! Thanks for the tip!
Sent from my XT894 using xda app-developers app
Is it possible ox X8 to have something like this instead of boot animation while phone is booting OS ? And yes I know there is boot animation that looks like boot of PC...I mean real "boot informations" watch?v=5yO2KQHkt4A copy this after youtube.com/ and skip to 1:43 min or find video on youtube names this "Android running on iPhone"
I have modified the latest CyanogenMod bootanimation to 24 frames/sec to fix the jumpy animations. Also, I have added a "loading bars" effect before the animations are displayed to try and hide the fact that the bootanimation starts up in landscape mode before it goes into portrait mode. I have about 120 apps installed, so the timing for this bootanimation is good on my device. But, if you have only a few applications installed on your device, then your loading time might be much faster, and you will need to modify the desc.txt in the bootanimation.zip and zip it up again. Notice how the desc.txt is a bunch of timing loops. Example, change 25 to 20 inside desc.txt to make it display the animations faster, but not too fast or you will get a distorted bootanimation.
Here is how you can zip the bootanimation back up if you need to modify anything for timing purposes:
Code:
7z a -mx0 bootanimation.zip desc.txt part0 part1 part2 part3 part4 part5 part6
To install: copy bootanimation.zip to /data/local/bootanimation.zip
This bootanimation is meant for anyone using CyanogenMod that wants to bootup in portrait mode and not see distorted animations.
EDIT: this modified bootanimation is no longer needed since surfaceflinger has been patched to handle portrait devices. Although, you may want to use a 24fps bootanimation still. Please look here for a better fix.
Wow thanks man! We needed this a looooong time ago.
Awesome,i like potrait :thumbup::thumbup::sly:
Sent from my GT-P3100 using Tapatalk
@Tsjoklat sooo... is it for cm 11/ cm 10.x ?
Clorush said:
@Tsjoklat sooo... is it for cm 11/ cm 10.x ?
Click to expand...
Click to collapse
It should work for all versions of cm.
Thanks a lot!
I´ll try it later
Flashable zip attached can be flashed in recovery
Tried and found it incredibly slow loading. :'(
Sent from my GT-P3110 using XDA Premium 4 mobile app
james59802 said:
Tried and found it incredibly slow loading. :'(
Sent from my GT-P3110 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
The boot animation probably appears slow loading on your device because you probably have fewer apps starting up on boot up than I do (which makes your tablet startup faster). So, what you want to do is adjust the timing inside desc.txt by lowering the number of loops of frames to be shown.
Inside desc.txt, try changing where it says 25 loops to 20 loops (on the first four lines) and rezip the file with the command line above to test it. Depending on how much you have installed on your device, will determine how long your system needs to wait for it to fully load the video driver on boot.
Example:
The current desc.txt is the following:
Code:
600 1024 24
p 25 0 part0
p 25 0 part1
p 25 0 part2
p 25 0 part3
p 10 0 part4
p 1 0 part5
p 0 0 part6
part0 to part4 show the loading bars and blue background when the video driver is just fully loaded. Right when the display goes fullscreen blue is when the video driver is fully loaded and when we want part5 and part6 to startup (which is the modified 24 frames/sec part of the CM boot animation).
If you look at the first line in desc.txt, This command tells part0 (which is 5 frames) to loop 25 times then go to the next line. If we changed the loop to 24 times, then it would take ~5 seconds to loop 5 frames 24 times (since the framerate is 24 frames/second). Therefore, this gives us about a 5 second pause between each line that displays the next "bar".
So, there are 4 lines with those 25 time loops plus one line with a 10 time loop, which adds up to about 23 seconds before starting the CM boot animation part. Your device may load the driver in ~15 seconds... so you could figure it out how many loops you need. Just remember that there are 5 frames for each loop and the framerate is 24 frames/second.
Edit:
I created another version of the bootanimation.zip with faster timings if anyone thinks the first version I posted loads too slowly. But, if you have lots of applications installed, then the timing on this new version might start displaying the CM boot animation part too quickly and it will look distorted again.
This is what the desc.txt looks like in the second version posted here:
Code:
600 1024 24
p 20 0 part0
p 20 0 part1
p 20 0 part2
p 20 0 part3
p 5 0 part4
p 1 0 part5
p 0 0 part6
Thanks! Works fine on cm10.2
Ps:think it should be in theme and app section
Sent from my Xperia Neo V
mitchellreece said:
Thanks! Works fine on cm10.2
Ps:think it should be in theme and app section
Click to expand...
Click to collapse
Thanks for testing. Yah, this could have been created in the theme/app section. :-/ If the mods would like to move it over, no problem with me.
Awesome work bro
Can someone help and tell me if this boot animation works for Oxygen OS on the Oneplus 3t? If not, can anyone tell me how to fix it?
P.S. Please be a good doggy and DO NOT steal my animation.
P.P.S. Except for the water drip part. The idea came from: https://forum.xda-developers.com/android/themes/bootanimations-50-flashable-t3059659
Boot Anim. Link: http://bit.ly/KairuBoot
Theoretically it should.
Just place the zip to system/media (Replace the excsisting one.
pahapoika91 said:
Theoretically it should.
Just place the zip to system/media (Replace the excsisting one.
Click to expand...
Click to collapse
Thanks, needed to make sure that my desc.txt and things we're correct before I try it and possibly brick my phone.
opsElyK said:
Thanks, needed to make sure that my desc.txt and things we're correct before I try it and possibly brick my phone.
Click to expand...
Click to collapse
No worries. You can't brick a device with a buggy bootanimation.
At the worst case you'll have a black screen instead of the animation (but the phone will boot to Android).
EDIT @opsElyK
here is your desc.txt:
Code:
1080 1920 30
p 1 0 Transition
p [B][COLOR="Red"]0[/COLOR][/B] 0 Pixeldrip
p 1 0 Kairu
This 0 means that your folder 'Pixeldrip' will loop until Android is ready. In other words, Kairu won't be used.
More information
Primokorn said:
No worries. You can't brick a device with a buggy bootanimation.
At the worst case you'll have a black screen instead of the animation (but the phone will boot to Android).
EDIT @opsElyK
here is your desc.txt:
Code:
1080 1920 30
p 1 0 Transition
p [B][COLOR="Red"]0[/COLOR][/B] 0 Pixeldrip
p 1 0 Kairu
This 0 means that your folder 'Pixeldrip' will loop until Android is ready. In other words, Kairu won't be used.
More information
Click to expand...
Click to collapse
Crap. How would you make it so that Kairu will play last?
It's definitely possible because it does it with the oxygenos boot animation.
opsElyK said:
Crap. How would you make it so that Kairu will play last?
It's definitely possible because it does it with the oxygenos boot animation.
Click to expand...
Click to collapse
Replace 0 by 1 or higher
Code:
1080 1920 30
p 1 0 Transition
p 1 0 Pixeldrip
p 1 0 Kairu
It depends on what you want. 'p' can also be replaced by 'c' and so on...
Primokorn said:
Replace 0 by 1 or higher
Code:
1080 1920 30
p 1 0 Transition
p 1 0 Pixeldrip
p 1 0 Kairu
It depends on what you want. 'p' can also be replaced by 'c' and so on...
Click to expand...
Click to collapse
Thanks, I got it now.