Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/osm0sis/mkbootfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorosm0sis <osm0sis@outlook.com>2016-11-24 15:29:08 +0300
committerosm0sis <osm0sis@outlook.com>2016-11-24 15:29:08 +0300
commitc41be2ac4e956d0f52fddf0e3703c8746f5c128f (patch)
tree83f3702aeb2f4756fae66ac56407ac0e21b51441
parent007e89fa3f6bc2a467922f0a8814fabd71db2c43 (diff)
private: finish SuperSU slot-based system rule updates in fsconfig
- full rooted Pixel support, thanks @franciscofranco for the boot.img dump - we must define the whole boot/ directory like / for all things to behave normally
-rw-r--r--private/android_filesystem_config.h21
1 files changed, 17 insertions, 4 deletions
diff --git a/private/android_filesystem_config.h b/private/android_filesystem_config.h
index 9a1f2111..63718c73 100644
--- a/private/android_filesystem_config.h
+++ b/private/android_filesystem_config.h
@@ -316,8 +316,14 @@ static const struct fs_path_config android_dirs[] = {
/* SuperSU ramdisk special directories */
{ 00000, AID_ROOT, AID_ROOT, 0, ".subackup" },
{ 00000, AID_ROOT, AID_ROOT, 0, ".sufrp" },
- { 00000, AID_ROOT, AID_ROOT, 0, "boot/.subackup" },
{ 00000, AID_ROOT, AID_ROOT, 0, "boot/.sufrp" },
+ { 00771, AID_SYSTEM, AID_SYSTEM, 0, "boot/bt_firmware" },
+ { 00500, AID_ROOT, AID_ROOT, 0, "boot/config" },
+ { 00771, AID_SYSTEM, AID_SYSTEM, 0, "boot/data" },
+ { 00755, AID_ROOT, AID_SYSTEM, 0, "boot/mnt" },
+ { 00750, AID_ROOT, AID_SHELL, 0, "boot/sbin" },
+ { 00751, AID_ROOT, AID_SDCARD_R, 0, "boot/storage" },
+ { 00755, AID_ROOT, AID_SHELL, 0, "boot/vendor" },
{ 00770, AID_SYSTEM, AID_CACHE, 0, "cache" },
{ 00500, AID_ROOT, AID_ROOT, 0, "config" },
@@ -366,15 +372,22 @@ static const struct fs_path_config android_files[] = {
/* SuperSU ramdisk special files */
{ 00640, AID_ROOT, AID_ROOT, 0, ".subackup/0001_fstab.*" },
+ { 00750, AID_ROOT, AID_ROOT, 0, ".subackup/0001_init*" },
{ 00750, AID_ROOT, AID_ROOT, 0, ".subackup/0002_init*" },
{ 00750, AID_ROOT, AID_ROOT, 0, ".subackup/0003_init*" },
{ 00755, AID_ROOT, AID_ROOT, 0, ".sufrp/frp_install" },
{ 00700, AID_ROOT, AID_ROOT, 0, "sbin/launch_daemonsu.sh" },
- { 00640, AID_ROOT, AID_ROOT, 0, "boot/.subackup/0001_fstab.*" },
- { 00750, AID_ROOT, AID_ROOT, 0, "boot/.subackup/0002_init*" },
- { 00750, AID_ROOT, AID_ROOT, 0, "boot/.subackup/0003_init*" },
+ { 00750, AID_ROOT, AID_ROOT, 0, "init.environ.rc" },
+ { 00750, AID_ROOT, AID_ROOT, 0, "init.rc" },
+ { 00750, AID_ROOT, AID_ROOT, 0, "init.supersu.rc" },
{ 00755, AID_ROOT, AID_ROOT, 0, "boot/.sufrp/frp_install" },
{ 00700, AID_ROOT, AID_ROOT, 0, "boot/sbin/launch_daemonsu.sh" },
+ { 00750, AID_ROOT, AID_SHELL, 0, "boot/sbin/*" },
+ { 00640, AID_ROOT, AID_SHELL, 0, "boot/fstab.*" },
+ { 00750, AID_ROOT, AID_ROOT, 0, "boot/init.environ.rc" },
+ { 00750, AID_ROOT, AID_ROOT, 0, "boot/init.rc" },
+ { 00750, AID_ROOT, AID_ROOT, 0, "boot/init.supersu.rc" },
+ { 00750, AID_ROOT, AID_SHELL, 0, "boot/init*" },
{ 00440, AID_ROOT, AID_SHELL, 0, "system/etc/init.goldfish.rc" },
{ 00550, AID_ROOT, AID_SHELL, 0, "system/etc/init.goldfish.sh" },