Disabling Android Boot Animation in Oreo and after.

1,243 views
Skip to first unread message

Ranjeet Upadhyay

unread,
Oct 16, 2018, 11:09:02 AM10/16/18
to android-porting
Hi, 
I wanted to disable android's boot animation i am able to do it by placing the flag debug.sf.nobootanimation 1  in init.rc file but this flag doesn't work if i place it in device.mk.
Could you please let me know why this flag doesn't work if declared in the correspoding device.mk file.

Satish Patel

unread,
Oct 18, 2018, 12:06:08 PM10/18/18
to mypuls...@gmail.com, android-porting
Hi,
Another way of achieving this is -
Add below line to BoardConfig.mk
TARGET_SYSTEM_PROP := $(LOCAL_PATH)/system.prop

and 
add system.prop file to device/<your device>/ with
debug.sf.nobootanimation=1

or 

if you would like to include inside device.mk then use
PRODUCT_PROPERTY_OVERRIDES += \
    debug.sf.nobootanimation=1


--
satish


--
--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porti...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Regards,
satish patel

parthibx24

unread,
Oct 18, 2018, 12:06:11 PM10/18/18
to android-porting
Did you just added the line "debug.sf.nobootanimation=1" in your device.mk file?

Satish Patel

unread,
Oct 19, 2018, 11:21:41 AM10/19/18
to sirajammun...@gmail.com, android-porting
On Thu, Oct 18, 2018 at 9:36 PM parthibx24 <sirajammun...@gmail.com> wrote:
Did you just added the line "debug.sf.nobootanimation=1" in your device.mk file?
PRODUCT_PROPERTY_OVERRIDES += \
    debug.sf.nobootanimation=1 

--
--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porti...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Regards,
satish patel

Ranjeet Upadhyay

unread,
Oct 23, 2018, 10:02:58 AM10/23/18
to android-porting
I already have achieved this by adding required flag in init.rc but i want the reason wht it doesn't work when provided in device.mk? is there any restriction? or what could be the possible reason?

Satish Patel

unread,
Oct 24, 2018, 10:38:47 AM10/24/18
to Ranjeet Upadhyay, android-porting
On Tue, Oct 23, 2018 at 7:32 PM Ranjeet Upadhyay <mypuls...@gmail.com> wrote:
I already have achieved this by adding required flag in init.rc but i want the reason wht it doesn't work when provided in device.mk? is there any restriction? or what could be the possible reason?
Could be 2 reason

look at out/target/product/<>/system/build.prop : if this property does not list here, then 
 
- Possibly build  system would have remove considering "PRODUCT_PROPERTY_OVERRIDES". 
- or somewhere else it is getting reset. Atleast in my case it is working and i am on 8.1.0_r25

-
satish

--
--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting

---
You received this message because you are subscribed to the Google Groups "android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-porti...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Regards,
satish patel

Ranjeet Upadhyay

unread,
Oct 26, 2018, 1:28:54 PM10/26/18
to android-porting
Okay, Thank You! Satish I will look into it and update you my finding. 
Reply all
Reply to author
Forward
0 new messages