Skip to content
This repository has been archived by the owner on Dec 28, 2020. It is now read-only.

Commit

Permalink
Merge branch 'z9s' into z9s_luci
Browse files Browse the repository at this point in the history
# Conflicts:
#	init.sh
  • Loading branch information
jjm2473 committed Jul 27, 2019
2 parents 9e54a4f + 1469c95 commit 45d4e43
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 7 deletions.
5 changes: 3 additions & 2 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ echo './proc
./mnt
./dev
./acct
./data' | xargs -n1 sh -c 'mkdir -p root/mnt/android/$0'
./data' | xargs -n1 sh -c 'mkdir -p root/mnt/android/$0; chmod 755 root/mnt/android/$0'

chmod 771 root/mnt/android/data
chmod 750 root/mnt/android/sbin
chmod 771 root/mnt/android/data
chmod 770 root/mnt/android/cache
8 changes: 4 additions & 4 deletions root/mnt/android/default.prop
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ debug.atrace.tags.enableflags=0
#
# BOOTIMAGE_BUILD_PROPERTIES
#
ro.bootimage.build.date=2019年 01月 24日 星期四 17:44:33 CST
ro.bootimage.build.date.utc=1548323073
ro.bootimage.build.fingerprint=realtek/rtk_kylin32/kylin32:7.1.1/N9F27C/jiangb01241744:eng/test-keys
persist.sys.usb.config=adb
ro.bootimage.build.date=2019年 07月 11日 星期四 18:39:44 CST
ro.bootimage.build.date.utc=1562841584
ro.bootimage.build.fingerprint=realtek/rtk_kylin32/kylin32:7.1.1/N9F27C/jiangb07111839:eng/test-keys
persist.sys.usb.config=none
Binary file modified root/mnt/android/file_contexts.bin
Binary file not shown.
26 changes: 26 additions & 0 deletions root/mnt/android/init.kylin.rc
Original file line number Diff line number Diff line change
Expand Up @@ -307,3 +307,29 @@ service gapps_installer /system/bin/gapps_installer.sh
group root
disabled
oneshot

#jiangbo one rooot
service zidoo_root /system/bin/zidoo_root.sh
user root
group root
disabled
oneshot

service zidoo_unroot /system/bin/zidoo_unroot.sh
user root
group root
disabled
oneshot
#jiangbo one rooot

#jiangbo su daemon
service su_daemon /system/xbin/su --daemon
seclabel u:r:sudaemon:s0
oneshot

on property:persist.sys.root_access=0
stop su_daemon

on property:persist.sys.root_access=1
start su_daemon

Binary file modified root/mnt/android/sbin/adbd
Binary file not shown.
2 changes: 1 addition & 1 deletion root/mnt/android/selinux_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
realtek/rtk_kylin32/kylin32:7.1.1/N9F27C/jiangb12291112:eng/test-keys
realtek/rtk_kylin32/kylin32:7.1.1/N9F27C/jiangb06271734:eng/test-keys
Binary file modified root/mnt/android/sepolicy
Binary file not shown.

0 comments on commit 45d4e43

Please sign in to comment.