SuperSU v2.70 BETA RC - N Preview
Another day another update. The SuperSU updates brings a few fixes to yesterday's release, while the FlashFire update brings (only) N Preview compatibility.
Notes on SuperSU
This update must be flashed through TWRP or CF-Auto-Root (see XDA thread linked below). If you extract the APK from the ZIP, install that, and update binaries, you will not get all the fixes.
Encryption
Some users noticed that flashing the previous version of SuperSU started re-encrypting the device if it was unencrypted. This has been fixed.
Remounting /system read/write
There have been some issues with this. This update alleviates the issue somewhat, but the fix will not work for all root apps. I will dedicate a post to the details after I'm done writing this post.
Log daemon and permissive mode
While this is something I would wholeheartedly advise against, I know some of you like to call "setenforce 0" and switch SELinux to permissive mode. If you've tried this on N Preview, you'll notice that it reboots your device into safe mode.
Normally the device would stay in safe mode because of this until a data wipe or new OTA install, but SuperSU automatically clears the flag for you on the next boot, so you don't get stuck.
Anyway, the trick to get "setenforce 0" to work is to call "stop logd" first.
Temporarily disabling root
Some users have been having issues with the Enable superuser option in SuperSU settings, which is used to temporarily disable root. I have rewritten the code behind this (for system-less roots only), let me know if it still gives you issues.
Notes on FlashFire
All this update really brings is compatibility with N Preview, but it already requires SuperSU v2.70 for this. So if you are already on N, you cannot use this version FlashFire to update SuperSU from v2.69 to v2.70.
However, you can use this version of FlashFire to flash N Preview itself to a currently Marshmallow device, and in the process root it with v2.70.
Downloads
SuperSU: http://download.chainfire.eu/927/SuperSU/RC-SuperSU-v2.70-20160314191951.zip
(CF-Auto-Roots with this SuperSU version are available from the XDA thread linked below)
XDA
SuperSU: http://forum.xda-developers.com/apps/supersu/wip-android-n-preview-t3335726
Changelogs - SuperSU
- Rewrote re-enabling root after temp-disable
- supolicy: Improve permissive domain handling
- N: Disable forced encryption
- N: Fix remounting /system for some apps (relatime becomes noatime for ro mounts)
- ZIP: call users scripts without setting LD_LIBRARY_PATH
Another day another update. The SuperSU updates brings a few fixes to yesterday's release, while the FlashFire update brings (only) N Preview compatibility.
Notes on SuperSU
This update must be flashed through TWRP or CF-Auto-Root (see XDA thread linked below). If you extract the APK from the ZIP, install that, and update binaries, you will not get all the fixes.
Encryption
Some users noticed that flashing the previous version of SuperSU started re-encrypting the device if it was unencrypted. This has been fixed.
Remounting /system read/write
There have been some issues with this. This update alleviates the issue somewhat, but the fix will not work for all root apps. I will dedicate a post to the details after I'm done writing this post.
Log daemon and permissive mode
While this is something I would wholeheartedly advise against, I know some of you like to call "setenforce 0" and switch SELinux to permissive mode. If you've tried this on N Preview, you'll notice that it reboots your device into safe mode.
Normally the device would stay in safe mode because of this until a data wipe or new OTA install, but SuperSU automatically clears the flag for you on the next boot, so you don't get stuck.
Anyway, the trick to get "setenforce 0" to work is to call "stop logd" first.
Temporarily disabling root
Some users have been having issues with the Enable superuser option in SuperSU settings, which is used to temporarily disable root. I have rewritten the code behind this (for system-less roots only), let me know if it still gives you issues.
Notes on FlashFire
All this update really brings is compatibility with N Preview, but it already requires SuperSU v2.70 for this. So if you are already on N, you cannot use this version FlashFire to update SuperSU from v2.69 to v2.70.
However, you can use this version of FlashFire to flash N Preview itself to a currently Marshmallow device, and in the process root it with v2.70.
Downloads
SuperSU: http://download.chainfire.eu/927/SuperSU/RC-SuperSU-v2.70-20160314191951.zip
(CF-Auto-Roots with this SuperSU version are available from the XDA thread linked below)
XDA
SuperSU: http://forum.xda-developers.com/apps/supersu/wip-android-n-preview-t3335726
Changelogs - SuperSU
- Rewrote re-enabling root after temp-disable
- supolicy: Improve permissive domain handling
- N: Disable forced encryption
- N: Fix remounting /system for some apps (relatime becomes noatime for ro mounts)
- ZIP: call users scripts without setting LD_LIBRARY_PATH
출처 : https://plus.google.com/+Chainfire/posts/cX2eLb4fkTB