diff --git a/CONTRIBUTORS.mkdn b/CONTRIBUTORS.mkdn index c0824494..5681086e 100644 --- a/CONTRIBUTORS.mkdn +++ b/CONTRIBUTORS.mkdn @@ -27,6 +27,7 @@ Maintainers (LineageOS 13.0): * __B&N Nook Tablet (acclaim):__ chrmhoffmann * __BQ Aquaris E5 4G/E5 S (vegetalte):__ cmorlok, eloimuns, Kra1o5, stucki, brinlyau (bq-dev) * __BQ Aquaris M5 (piccolo):__ cmorlok, eloimuns, Kra1o5, stucki, brinlyau (bq-dev) +* __BQ Aquaris X5 (paella):__ cmorlok, eloimuns, Kra1o5, stucki, brinlyau (bq-dev) * __BQ Aquaris X5 Plus (gohan):__ cmorlok, eloimuns, Kra1o5, stucki, brinlyau (bq-dev) * __Google Android One:__ varunchitre15 * __Google Galaxy Nexus:__ Ziyan, musical_chairs @@ -60,6 +61,7 @@ Maintainers (LineageOS 13.0): * __Huawei Ascend Mate 2:__ mdmower, u-ra * __Huawei Honor 4/4X (cherry):__ dianlujitao, surdupetru, desalesouche * __LeEco Le 2 (s2):__ codeworkx +* __LeEco Le Pro3 (zl1):__ jrior001, codeworkx * __LG G2 (AT&T) (D800):__ arcee, Rashed97, Shelnutt2 * __LG G2 (T-Mobile) (D801):__ arcee, Rashed97, Shelnutt2 * __LG G2 (International) (D802):__ arcee, Rashed97, Shelnutt2 diff --git a/addonsu/51-addonsu.sh b/addonsu/51-addonsu.sh new file mode 100644 index 00000000..4e36c4cd --- /dev/null +++ b/addonsu/51-addonsu.sh @@ -0,0 +1,37 @@ +#!/sbin/sh + +. /tmp/backuptool.functions + +list_files() { +cat < - + - + - + - + - + - + - + - + - + - + - + diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc index 2a5316d4..53f972c9 100644 --- a/prebuilt/common/etc/init.local.rc +++ b/prebuilt/common/etc/init.local.rc @@ -1,6 +1,4 @@ # CyanogenMod Extras -import /init.superuser.rc - on init export ANDROID_CACHE /cache export TERMINFO /system/etc/terminfo @@ -211,3 +209,19 @@ on property:sys.io.scheduler=bfq write /sys/block/sde/queue/iosched/slice_idle 0 write /sys/block/dm-0/queue/iosched/slice_idle 0 +# su daemon +service su_daemon /system/xbin/su --daemon + disabled + seclabel u:r:sudaemon:s0 + +on property:persist.sys.root_access=0 + stop su_daemon + +on property:persist.sys.root_access=1 + start su_daemon + +on property:persist.sys.root_access=2 + stop su_daemon + +on property:persist.sys.root_access=3 + start su_daemon diff --git a/sepolicy/seapp_contexts b/sepolicy/seapp_contexts index 11c8f00f..6b9c88fb 100644 --- a/sepolicy/seapp_contexts +++ b/sepolicy/seapp_contexts @@ -1,4 +1,4 @@ user=_app seinfo=platform name=com.cyanogenmod.filemanager domain=untrusted_app type=app_data_file user=theme_man domain=system_app type=system_data_file -user=_app seinfo=cmupdater name=com.cyanogenmod.updater domain=system_app type=system_app_data_file -user=_app seinfo=themeservice name=org.cyanogenmod.themeservice domain=themeservice_app type=themeservice_app_data_file \ No newline at end of file +user=_app seinfo=cmupdater name=org.lineageos.updater domain=system_app type=system_app_data_file +user=_app seinfo=themeservice name=org.cyanogenmod.themeservice domain=themeservice_app type=themeservice_app_data_file