android - Unable to boot freshly built CyanogenMod 13 -
after playing around latest build of cm device (12.1), decided try , build first rom. got linux, synced sources 13, etc. (my device tree here.)
i had grapple few audio-related build errors before got build. (if makes difference, commits had revert related pcm audio offloading.)
now, when try boot rom, reboots recovery without displaying boot animation. looking @ /proc/last_kmsg
, problem seems selinux:
... [ 4.340084] init: (initializing selinux enforcing took 0.51s.) [ 4.349071] type=1400 audit(1468237723.015:4): avc: denied { fowner } pid=1 comm="init" capability=3 scontext=u:r:kernel:s0 tcontext=u:r:kernel:s0 tclass=capability permissive=0 [ 4.349387] init: selinux: not set context /init: operation not permitted [ 4.349506] init: restorecon failed: operation not permitted [ 4.349699] init: security failure; rebooting recovery mode... [ 4.350353] sysrq : emergency remount r/o (triggered init:1) [ 4.350581] emergency remount complete [ 4.350889] reboot - triggered task: init (1:1) ...
i'm not familiar selinux apart fact makes system modifications lot harder, i've seen, both device-specific , general init.te
files in android source allow init
use fowner
capability.
i've tried:
- modifying
sepolicy
file makinginit
domain permissive - rebuilding entire rom
permissive init;
ininit.te
- commenting out
restorecon /adb_keys
,restorecon_recursive /mnt
ininit.rc
- rebuilding device kernel
extra_cflags += -dconfig_always_enforce=true
- searching solution on google - person on xda had exact same problem me subsequent posts him/her did not yield progress or solutions on matter
none of them made difference, basically, i'm fresh out of ideas.
what doing wrong?
Comments
Post a Comment