Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
mengpo
Old
(Last edited by mengpo; 18th August 2012 at 12:44 PM.)
#1  
Member - OP
Thanks Meter 48
Posts: 64
Join Date: Nov 2010
Location: lyon
Default [Q] Enabling bootanimation from kernel source (P6810 7.7 samsung gtab)

Hi all !

I'm trying to release a custom kernel for the P6810 7.7 samsung tab with bootanimation support. I managed so far to enable init.d scripts support, undervolting and governor's stuff which is a good start.

However, I don't get why the bootanimation method is not working. I tried to take bootanimation.zip from cm9, cm10 (from Locerra which work with his kernel) and others. All I have is a black screen.

This is what I did (I took this from the eZynow) :

I copied bootanimation and samsungani from the cm10 bin folder to mine : I tried with stock files and theses one but none of them worked.
I added this to the init.rc :
Code:
service samsungani /vendor/scripts/bootanimation.sh
    class main
    user graphics
    group graphics
    disabled
    oneshot
and this is the bootanimation.sh :
Code:
#!/sbin/sh
if [ -f /system/media/bootanimation.zip ]; then
    /system/bin/bootanimation
else
    /system/bin/samsungani
fi;
Permissions' files have been checked and are 755 for all of them.

What am i missing ? Should I enable some option(s) in the kernel's configuration ?

Thanks for your answers !
 
umberto1978
Old
#2  
umberto1978's Avatar
Senior Member
Thanks Meter 312
Posts: 380
Join Date: Sep 2011
Quote:
Originally Posted by mengpo View Post
Hi all !

I'm trying to release a custom kernel for the P6810 7.7 samsung tab with bootanimation support. I managed so far to enable init.d scripts support, undervolting and governor's stuff which is a good start.

However, I don't get why the bootanimation method is not working. I tried to take bootanimation.zip from cm9, cm10 (from Locerra which work with his kernel) and others. All I have is a black screen.

This is what I did (I took this from the eZynow) :

I copied bootanimation and samsungani from the cm10 bin folder to mine : I tried with stock files and theses one but none of them worked.
I added this to the init.rc :
Code:
service samsungani /vendor/scripts/bootanimation.sh
    class main
    user graphics
    group graphics
    disabled
    oneshot
and this is the bootanimation.sh :
Code:
#!/sbin/sh
if [ -f /system/media/bootanimation.zip ]; then
    /system/bin/bootanimation
else
    /system/bin/samsungani
fi;
Permissions' files have been checked and are 755 for all of them.

What am i missing ? Should I enable some option(s) in the kernel's configuration ?

Thanks for your answers !
+1. i'm facing the same issue with my kernel on galaxy s2... i hope some one skilled enough can answer to this question
!!!!HIT THE THANKS BUTTON if you like my work!!!!
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...