diff options
author | Michael Bestas <mkbestas@gmail.com> | 2024-04-04 18:48:47 +0300 |
---|---|---|
committer | Michael Bestas <mkbestas@gmail.com> | 2024-04-04 19:11:21 +0300 |
commit | 867f0ada9a7d9f1b381063b32c040327e5598f86 (patch) | |
tree | 34a63a0c2482d7f50d2bdf7126d95d49c730aa33 | |
parent | bf332686958bfd59c773a2a8ff18c89e9c40d33b (diff) | |
download | core-867f0ada9a7d9f1b381063b32c040327e5598f86.tar.gz |
init: Remove encryption=DeleteIfNecessary from /data/misc/bootanim
/data/misc already sets encryption=Require and this causes certain
devices not being able to boot with the following error:
init: Failed to set encryption policy of /data/misc/bootanim to
a5a40d896b46d8c6 v1 modes 127/4 flags 0x0: The directory already
has a different encryption policy.
init: Setting a5a40d896b46d8c6 policy on /data/misc/bootanim failed!
init: Setting policy failed, deleting: /data/misc/bootanim
init: Failed to set encryption policy of /data/misc/bootanim to
a5a40d896b46d8c6 v1 modes 127/4 flags 0x0: The directory already
has a different encryption policy.
init: Setting a5a40d896b46d8c6 policy on /data/misc/bootanim failed!
init: Rebooting into recovery
init: Got shutdown_command 'reboot,recovery' Calling
HandlePowerctlMessage()
Test: m; fastboot flashall, observe device boots successfully
Change-Id: I86a2b2b8fe8e438ca405a0e901739d11550d3ebd
-rw-r--r-- | rootdir/init.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index d4cd4b834..fb411b7d6 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -1031,7 +1031,7 @@ on post-fs-data perform_apex_config # Create directories for boot animation. - mkdir /data/misc/bootanim 0755 system system encryption=DeleteIfNecessary + mkdir /data/misc/bootanim 0755 system system exec_start derive_sdk |