SuperSU v2.70 BETA RC - FlashFire v0.28 BETA - N Preview
Posted on 2016-03-14, 35 comments, 354 +1's, imported from Google+/Chainfire

NOTICE: This content was originally posted to Google+, then imported here. Some formatting may be lost, links may be dead, and images may be missing.

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. EDIT: https://plus.google.com/+Chainfire/posts/dGPQytapwe3

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)

FlashFire: sign up for the Play Store BETA program through this link - https://play.google.com/apps/testing/eu.chainfire.flash (note that it may still offer you v0.27 for the next few hours) - or download the latest APK directly from my site - http://download.chainfire.eu/928/FlashFire/FlashFire-v0.28-20160314195220.apk

XDA

SuperSU: http://forum.xda-developers.com/apps/supersu/wip-android-n-preview-t3335726

FlashFire: http://forum.xda-developers.com/general/paid-software/flashfire-t3075433

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

Changelogs - FlashFire

  • N preview compatibility (requires SuperSU v2.70)

  • Properly copy selinux contexts

  • Updated embedded SuperSU version to v2.70


[WIP][2016.03.14] Android N Preview - v2.70

+1354
Ed Bailey commented on 2016-03-14 at 21:35:

+Chainfire​ thanks for doing everything that you do!

Youssef S. commented on 2016-03-14 at 21:50:

Hey Chainfire, can you search for a root for Motorola Moto X Play(XT1562) without openning bootloader ? Please, I need this :(

Shawn commented on 2016-03-14 at 21:52:

So much awesome.

Seth McGinnis commented on 2016-03-14 at 21:53:

Thanks CF!

Spartan11710 commented on 2016-03-14 at 21:59:

Is this for sgh t399

Seth McGinnis commented on 2016-03-14 at 22:01:

2.70 SuperSu running fine on MM-MHC19I with Franco kernel on my Nexus 6p. Just updated from 2.69 tks.

Brian Petroski commented on 2016-03-14 at 23:02:

Fricken genius

Jose C Martinez commented on 2016-03-14 at 23:09:

This guy is pirating your work if you care/can do anything +Chainfire

https://plus.google.com/+MuhammadNauman0/posts/AFtrNAA1JZR

brian watkins commented on 2016-03-14 at 23:34:

I reported his post. No one deserves to have their work stolen

Jesus Figueroa commented on 2016-03-14 at 23:40:

+Jose Martinez I reported him too

William Fleitz commented on 2016-03-15 at 00:13:

My download not working

Sathira Katugaha commented on 2016-03-15 at 00:25:

+brian watkins ikr, no one deserves to have their work stolen, especially one of the gods of the dev community! Like what was this twat thinking pirating chainfire's work!

Tigerstown commented on 2016-03-15 at 01:57:

With CF the rooting Community would be in some serious trouble. What a joke dude is

Danijel Jovanovic commented on 2016-03-15 at 08:13:

Thank you very much now is possible to update binary directly from application. Meizu pro 5

Seva Petrov commented on 2016-03-15 at 15:19:

What a guy, eh. Freaking legend.

Matt Gianni commented on 2016-03-15 at 17:19:

So if I use the latest Flashfire on Android N it will automatically push the newest SuperSU in? Is that correct?

Dominique Buzon commented on 2016-03-15 at 18:29:

+Chainfire

YOU ROCK !!

Darian Long commented on 2016-03-16 at 01:10:

So. Just thought I'd post this here incase anyone has a stubborn Angler like I do. Even with CFAR 2.70 my device finally made it past the animation and spelled ANDROID but the screen went black and stayed that way. After rebooting to TWRP 3.0.0, and noticing while flashing the RC SuperSu 2.70 zip, the script was aborting at the end. So while still in TWRP, I loaded the stock N boot.img, flashed it in TWRP, followed by +Chainfire​ RC SuperSu where the script succeeded without aborting. Then flashed Kylo Kernel R4 4.9 by +Despair Dev​. Rebooted and all is well. Apps such as root explorer, Layers manager etc need to be updated for N. But Rom Tool Box Pro works as a root browser/reboot recovery app, and kernel auditor works. Thanks a ton for all your hard work sir!

Darian Long commented on 2016-03-16 at 03:54:

+Jeremy Blackwell You'll need minimal adb and fastboot installed to flash the TWRP 3.0.0 image you'll download from their website. Or try Chainfires FlsshFire

John Kavanaugh commented on 2016-03-16 at 21:48:

Check out the new update of flash fire

hamed sangare commented on 2016-03-16 at 23:00:

O

Steven Porteous commented on 2016-03-17 at 18:34:

The man with the superuser plan. sterling job

Ashikur Tipu commented on 2016-03-18 at 20:21:

is it work in android 6.0.1 marshmallow (android one),currently um using beta 2.68

qing gao commented on 2016-03-19 at 10:39:

@Chainfire   Twrp after installation, mobile phone does not recognize the SIM cannot open WiFi

After root, normal

My mobile phone is Hongkong G9350

shahab .j commented on 2016-03-19 at 12:41:

Could i ask you guys if you have tried this version on the latest m or it is only works on N preview , Thank you

Steven Porteous commented on 2016-03-19 at 22:51:

+shahab .j​ using 2.70 on lollipop

Lover Boy commented on 2016-03-20 at 16:10:

Will this work on CM12.1 currently I am on 2.65 stable ..

Lover Boy commented on 2016-03-20 at 16:11:

+Steven Porteous using 2.70 in lollipop ? Did u flash it through recovery r updated the binaries via APK ??

David Newman commented on 2016-03-21 at 22:08:

I just used you new su and Flashfire "I LIKE IT" You must have put alota work it works wonderfully. David SPH-L710 WITH CM 13.0 MARSHMELLOW 6.01

KH SHAFI DAR commented on 2016-03-28 at 02:40:

Hi

Hi

nards casquejo commented on 2016-05-04 at 18:02:

leizil letwgio

nards casquejo commented on 2016-05-04 at 18:05:

leiziletegio

Gonzalo Devia commented on 2016-05-24 at 19:50:

any way to work on x86 5.1 lollipop? thanks in advance

Burhan Rakhmad commented on 2016-06-10 at 05:14:

Please help my superuser in my device

Ñâs Åb commented on 2016-07-30 at 11:00:

Nice job

This post is over a month old, commenting has been disabled.