能力值:
( LV5,RANK:60 )
|
-
-
2 楼
沙发,哈哈哈哈
|
能力值:
( LV2,RANK:10 )
|
-
-
3 楼
谢谢楼主的分析
|
能力值:
( LV3,RANK:20 )
|
-
-
4 楼
看了下4.3源码中Nexus4的挂载选项,没有看到楼主所述去掉suid
@@device/lge/mako/fstab.mako
/dev/block/platform/msm_sdcc.1/by-name/system /system ext4 ro,barrier=1 wait
/dev/block/platform/msm_sdcc.1/by-name/cache /cache ext4 noatime,nosuid,nodev,barrier=1,data=ordered wait,check
/dev/block/platform/msm_sdcc.1/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,data=ordered,noauto_da_alloc wait,check,encryptable=/dev/block/platform/msm_sdcc.1/by-name/metadata
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 nosuid,nodev,barrier=1,data=ordered,nodelalloc wait
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,uid=1000,gid=1000,dmask=227,fmask=337 wait
.........
看了SuperSU-v1.43.zip里边的update-script,
su还是设置了suid/sgid的,system分区肯定不能nosuid挂载,否则这肯定会失效
ui_print("- Setting permissions");
set_perm(0, 0, 0777, "/system/bin/.ext");
set_perm(0, 0, 06755, "/system/bin/.ext/.su");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 06755, "/system/xbin/daemonsu");
set_perm(0, 0, 0755, "/system/etc/install-recovery.sh");
set_perm(0, 0, 0644, "/system/app/Superuser.apk");
set_perm(0, 0, 0644, "/system/app/Maps.apk");
set_perm(0, 0, 0644, "/system/app/GMS_Maps.apk");
set_perm(0, 0, 0644, "/system/app/YouTube.apk");
|
能力值:
(RANK:270 )
|
-
-
5 楼
你是对的,感谢指正!
|