SuperSU v2.72 BETA released
Posted on 2016-05-10, 71 comments, 480 +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.

This is a relatively minor update. Support for the patching ChromeOS-wrapped Android boot images has been added (Pixel C), some logcat and fsck issues were fixed in the SELinux policy, and some flags have been added to the ZIP installer.

Force encrypt

Some recent devices do not get a signal - for reasons yet unknown - unless /data is encrypted. The SuperSU ZIP installer by default removes the forceencrypt flag from fstab, so you can run your device unencrypted if you want to. In some cases this may cause you to run unencrypted while you want to be running encrypted, such as on these recent devices. That is what the KEEPFORCEENCRYPT flag is for.

I am open to debate (in the BETA thread on XDA) as to whether the situation should be switched around, keeping the forceencrypt flag enabled by default, and have removing it be the case that requires extra action. It seems to me like those who want to run decrypted may be the more advanced users as well as the minority.

To clarify: the situation right now is still the same as in 2.71, there is now just the option to change the behavior. The point of discussion is whether that option should become the default in the future.

Compatibility

Not a day goes by since the release of 2.69 - sometimes not even an hour, or a full page in the thread - that somebody doesn't complain or ask about ES File Explorer or Secure Settings or whatever root app not getting root.

I want to emphasize again that these are bad apps that are hardcoding the path to the su binary. This has always been a bad idea and I have been warning against it since 2012.

In the early days of systemless root a compatibility mode hack was enabled by default, but this has been disabled since 2.69. It will not come back, because it's a bit of a dirty hack, and I'm not going to keep forcing millions upon millions of users running that hack just for a handful of outdated apps to work.

You can manually re-enable that compatibility mode by setting the BINDSYSTEMXBIN flag before re-flashing SuperSU, see http://forum.xda-developers.com/showpost.php?p=66140836&postcount=5493

I suggest writing the authors of these apps to inform them that their apps will no longer work with SuperSU on Marshmallow by default, and ask them to fix their code. Said fix is generally one line or less, so there really isn't much of an excuse to not just fix it.

Links

ZIP: https://download.chainfire.eu/supersu-beta

SuperSU BETA thread on XDA: http://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133

SuperSU subforum on XDA: http://forum.xda-developers.com/apps/supersu

Changelogs

  • Add support for ChromeOS boot images (Pixel C)

  • supolicy: Fix logging to logcat for some processes on some firmwares

  • supolicy: Fix fsck of /data/su.img being denied on some firmwares

  • ZIP: Add LESSLOGGING flag

  • ZIP: Add KEEPVERITY flag

  • ZIP: Add KEEPFORCEENCRYPT flag

  • ZIP: Also read flags from /cache/.supersu (aside from /data/.supersu and /system/.supersu)


SuperSU Download

+1480
Wietse de Vries commented on 2016-05-10 at 10:17:

How to update if your on system less 2.71? Just flash the zip?

Masta DeYuS commented on 2016-05-10 at 10:19:
Masta DeYuS commented on 2016-05-10 at 10:24:

Well for the force encrypt part, i don't understand

If your device is encrypted. You flash SuperSU it will not decrypt it so were was the problem. HTC 10 is the only reason for that?

Also if you're unencrypted you flash SuperSU v2.72 that's mean now it will force encryption and you'll loose your data cause it will messed up? Wow that's a big warning for people that don't flash kernel with force encrypt disable right after SuperSU

That's mean also that custom kernel have to be flashed after SuperSU now?

Chainfire commented on 2016-05-10 at 10:35:

+Masta DeYuS Nothing has changed operationally between 2.71 and 2.72. You get the option only. You will not suddenly lose data flashing 2.72. The kernel flashing order does not change from 2.71.

You are right, flashing SuperSU itself does not decrypt data. However, if you have SuperSU flashed with forceencrypt disabled (default), followed by using any of:

  • fastboot format userdata

  • fastboot erase userdata

  • TWRP format /data

  • TWRP wipe /data (if your TWRP version does not understand your device's encryption, as is the case with the current HTC10 TWRP releases)

... then you will end up with unencrypted /data.

The HTC10 bootloader unlock / root / S-OFF process as described in the forums does one (or more) of these, so you end up running unencrypted.

Paulo Sergio de Assis commented on 2016-05-10 at 10:39:
Tom Rowland commented on 2016-05-10 at 10:44:

Your work is legendary +Chainfire​. Thank you for your efforts.

Candra Yudha tama commented on 2016-05-10 at 10:51:

Thanks ?

Younes Layachi commented on 2016-05-10 at 10:55:

+Chainfire good to know, thanks :)

Btw, does the SuperSU installer flash modified boot images for that purpose ?

Christopher Cote commented on 2016-05-10 at 10:55:

I think that users who run unencrypted are the advanced/minority users and should be treated as such. They/I will figure it out.

Henny Roggy commented on 2016-05-10 at 11:02:

+Christopher Cote Why would the people who run unencrypted be the advanced ones? :o

Filipe Sousa commented on 2016-05-10 at 11:42:

Thanks! 100%?

Chainfire commented on 2016-05-10 at 11:52:

+Total Security this post is about SuperSU, not about anything else. Post in the correct place.

Henny Roggy commented on 2016-05-10 at 12:26:

+Chainfire Where is the correct place? :/

Adam Walker commented on 2016-05-10 at 14:04:

+Koushik Dutta​+ClockworkMod​ Helium doesn't work with the new systemless root. It needs to be fixed as described above.

Nikolay Elenkov commented on 2016-05-10 at 14:37:

Better keep forceencrypt by default, and allow removing for device that have problems (no compatible recovery, etc.)

Note that N also supports file-based encryption, which allows you to write stuff to /data, but not read the encrypted files (unless the recovery setups up the kernel keychain). Optional now, but may become the default on new devices (Cf. direct boot)

BTW, SuperSU modified boot.img currently doesn't boot if FBE is one, not sure why.

Lawrence Hults II commented on 2016-05-10 at 14:47:

once again +Chainfire thanks for the hard work. though I agree with +Nikolay Elenkov that Forceencrypt is probably the wave of the future as far as /data is concerned, based on the intelligence wars between os vendors and the governments of the world. only older hardware that can't handle decryption on the fly or at all will likely forgo it.

Chainfire commented on 2016-05-10 at 15:23:

+Total Security Since your comment was about Recently, perhaps the XDA thread for Recently, that is linked from the app's description?

Chainfire commented on 2016-05-10 at 15:25:

+Nikolay Elenkov accept my hangouts for the boot.img thing...

Lilly Who commented on 2016-05-10 at 15:32:

May I ask if there are more flags for /data/.supersu, for instance disabling systemless installation? I've been looking around and couldn't find anything about it.

Abubakar Ibrahim commented on 2016-05-10 at 16:08:

Hello everyone I do have some issues

  1. If I do flash my HTC m7 recovery from 2.6.0.1 to 2.7 , 2.8 & 3.0 recovery wouldn't not open pls help

  2. When I recovery I get this error message root permission May be lost ( fix root permission

3 I will like to flash my custom Rom please advise me thanks

Niraj Yadav commented on 2016-05-10 at 21:26:

Great work, as always, ChainFire.

Andre Vilani commented on 2016-05-11 at 02:21:

Wow cool

Andre Vilani commented on 2016-05-11 at 02:21:

Im need using it

Mathieu Tournier commented on 2016-05-11 at 06:45:

Works on pixel C even on Android N preview 2 ! Thanks a lot !

Andre Vilani commented on 2016-05-11 at 10:28:

Works on any devie , flash it with cwm

Samuel Holland commented on 2016-05-12 at 13:46:

Thank you very much sincerely and may the good Lord bless what ever your hand finds to do. Thank you for your dedication, and patience, and commitment all this time. Your work has truly inspired me and I hate to see you move on with the super su deal. I have a lot of catching up to do but am hoping maybe one day to be able to broaden my coding and development skills and maybe be able to contribute like yourself have done. Just felt the need to share since you're truly an inspiration.?

Prince Rock commented on 2016-05-12 at 18:29:

He doesn't work

rubens martins commented on 2016-05-12 at 19:40:

SuperSu autualiza applications.

rubens martins commented on 2016-05-12 at 19:46:

Congratulations on your application being at first had difficulty installing the binary now can't install without problems without changing cell phone originidade leaving it as official.

Adam Svälas commented on 2016-05-12 at 22:23:

I can't uppdate my binary! Why?

Andre Vilani commented on 2016-05-13 at 16:51:

Update it with normal update

Shannon Bishop commented on 2016-05-14 at 03:57:

Stupid question, how do you tell if you're using systemless root? I have the latest beta installed, and the install SuperSU into /system option is greyed out.

Andre Vilani commented on 2016-05-14 at 13:41:

??

Wind World commented on 2016-05-14 at 17:38:

With last samsung security update Samsung has blocked root!!

(("updates security policies". In galaxy s6 plus, is in "settings/lockscreen and security/other security settings/update security polices) )

The reflash of cf autoroot not work. To restore root i have make an hard reset+ reflash stock rom+ flash cf autoroot. At reboot don't connect to wifi, because security update automatically in wifi. Damned samsung +Chainfire

Rain Master commented on 2016-05-15 at 12:15:

+Flo webRadio This maybe explains some difficulies that I had. THX

Now maybe I have to go for another round. Damned Samsung

Wind World commented on 2016-05-15 at 18:59:

+Rain Master For "Security update" i do not mean the monthly security patch, but the "updates security policies". In galaxy s6 plus, is in "settings/lockscreen and security/other security settings/update security polices

Rain Master commented on 2016-05-15 at 19:54:

+Flo webRadio Your description covers my problem. After the unecpected message "System update installed" my root is gone.

First I will try to reflash supersu with not too much hope.

Second reflash all.

Poor me. One day of setup apps lost.

Wind World commented on 2016-05-15 at 20:03:

+Rain Master probabily is not necessary to reflash all. Maybe only hard reset to refresh "old security policy"

Chainfire commented on 2016-05-16 at 09:20:

I will release an update to fix that security update thing within a few days.

Andre Vilani commented on 2016-05-17 at 02:04:

You are the best chainfire :v

Rain Master commented on 2016-05-17 at 05:05:

Great work. Thank you +Chainfire

Walter White commented on 2016-05-17 at 10:10:

yes, thx for your good work ;)

Igor Jerčić commented on 2016-05-17 at 20:57:

Great job

Warrock Z commented on 2016-05-18 at 10:52:

how to hide su? thanks

Daniel Tejeda commented on 2016-05-18 at 16:40:

+Chainfire​, how can I unroot my huawei mate 8 if the unrooting option within the pro superSU app does not work?, thanks!

Rodrigo Luiz commented on 2016-05-19 at 01:48:

+Chainfire supersu 2.73? Just flash the zip?

Canyn Latham commented on 2016-05-20 at 13:04:

Is there anyway to root sprint Samsung Galaxy S7? +Chainfire

كمال أحمد commented on 2016-05-26 at 06:17:

Good

كمال أحمد commented on 2016-05-26 at 06:17:

Good

Abo ALoOoL commented on 2016-05-30 at 12:50:

Nice

Anwar Boluch commented on 2016-06-03 at 21:17:

There no such binary installed error how to fix it

abe bangsat commented on 2016-06-14 at 20:18:

How to repair null imei. I have lost my umei

Ronel Regis Raotraot commented on 2016-06-19 at 01:33:

Akin nalang

Gabriel Jack commented on 2016-06-22 at 09:30:

i like ur post

Ben Sanders commented on 2016-06-23 at 04:19:

What devices are compatible?

Ronisha Smith commented on 2016-06-28 at 23:21:

yyubuuuuu

Alex Aquino commented on 2016-06-29 at 19:34:

v

Alex Aquino commented on 2016-06-29 at 19:34:

uiwolnmzxcv

Alex Aquino commented on 2016-06-29 at 19:35:

mamaie

Alex Aquino commented on 2016-06-29 at 19:42:

vxczooizawwermnvczx aenmweriolase eyukvthkmpqudhhjxebcznkjukoyiyooi??❤??

Randy Reid commented on 2016-07-02 at 16:54:

Kmt

John Mijoy commented on 2016-07-05 at 16:48:

k

Guillermo Muñoz commented on 2016-07-07 at 14:43:

Please cf autoroot s5 g900h androit 6.0.1

Guillermo Muñoz commented on 2016-07-08 at 14:28:

Please Update CF AUTOROOT FOR GALAXI S5 G900H ANDROID 6.0.1...... G900H

Freddie Drake commented on 2016-07-24 at 05:28:

I need to come back to this. Thanks

soma soma commented on 2016-07-24 at 22:12:

Please let me know if you have any way to get root for my device Galaxy not 4 SM-N910V 5.1.1 version

josephat ndungu commented on 2016-08-01 at 17:52:

Hello chain fire,how can replace KingRoot app with SuperSU now that they have programmed this app in such a way that any attempt to replace it with SuperSU deletes it and ends up loosing root

TheShadow Hunter commented on 2016-09-03 at 12:20:

Please help me to root my sc-03e please runnning on JSS15J.SC03EOMUBOG5

GAROU SILVERFANGS commented on 2016-09-05 at 15:23:

+saeed alhussini i have a note 4 N910C, i upgraded to marshmallow and now im trying to root it, at least, try firts to upgrade your OS.

Deisy Palacio commented on 2016-09-13 at 16:27:

+Freddie Drake llllww

John ara commented on 2016-09-19 at 10:18:

Is it possible in the near future to have a root possibility for Samsung Galaxy xcover 3 value edition SM-G389F with Android 6.0.1 ? I'd gladly pay for it, thank you.

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