Shared publicly  - 
 
SuperSU v2.78 SR4 (Pixel TWRP)

If you are not using a Pixel device, the only change in this SuperSU release is improved detection of file-based encryption. This should get rid of the issue where some Nexus devices suddenly got encrypted after flashing SuperSU.

The rest of this text applies only to Pixel and Pixel XL

Earlier today Dees_Troy released the alpha of TWRP for these Pixels. TWRP unfortunately breaks the boot-to-root images I prepared for the Pixels earlier. We do talk so this came as a surprise to neither of us.

As everybody probably knows by now, both normal Android boot as well as recovery share a boot image now. This requires some trickery to get everything we want up and running.

Both SuperSU and TWRP need to replace /init. Funnily enough, my first roots for the Pixels actually did this in such a way that flashing it over TWRP would not have been an issue (not the other way around, though), but this functionality was later removed as a size optimization.

That optimization has now been adjusted to keep both working at the same time.

Aside from that, there have been various fixes to the installer script to work around the differences between the boot-to-root/CFAR environment and TWRP.

That being said, issues can occur, so please take care to follow the instructions exactly.

It is very important to keep in mind the differences between using TWRP and flashing SuperSU through the ZIP file, or using boot-to-root (and in the future: CF-Auto-Root).

When switching between the two, you must re-flash your firmware's stock boot image. Advised is to flash to both boot partitions:

fastboot flash boot_a /path/to/boot.img
fastboot flash boot_b /path/to/boot.img

Failing to do this can lead to bootloops, or cause the device to always boot into Android (instead of recovery), or cause the device to always boot into recovery (instead of Android).

boot-to-root / CF-Auto-Root

These have not been updated to SR4, just use the SR3 version from the post linked further below.

- reflash stock boot.img
- fastboot boot /path/to/boot-to-root.img

You will end up with only SuperSU.

TWRP + SuperSU.ZIP

See Dees_Troy's post linked below for the links to download both the twrp img and zip files.

- reflash stock boot.img
- fastboot boot /path/to/twrp.img
- TWRP install twrp.zip
- reboot into recovery
- TWRP install supersu.zip

You will end up with both SuperSU and TWRP.

Full unroot

If you're using TWRP, please note that the 'full unroot' functionality present in the SuperSU GUI will (if it works at all) restore the original TWRP boot image from which SuperSU was flashed, rather than return you to the real stock boot image.

suhide

Let me just note again that suhide is not compatible with the Pixels (or Android 7.1 for that matter). Expect bootloops if you try to use it.

Links

Flashable ZIP download:
https://download.chainfire.eu/1013/SuperSU/SR4-SuperSU-v2.78-SR4-20161115184928.zip

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

Dees_Troy's Pixel (+XL) TWRP Alpha post:
https://plus.google.com/+DeesTroy/posts/1osyLdG4eB4

Pixel 'boot-to-root' images with v2.78 SR3:
https://plus.google.com/+Chainfire/posts/24xhJN724HG

Changelogs
- sukernel: improve FBE detection
- suinit: TWRP compatibility on slot-based systems
- ZIP: TWRP compatibility on slot-based systems
Downloads served: SuperSU: 62 239 148. This file: 654. Support my efforts, get SuperSU Pro ! Follow @ChainfireXDA · Follow me on Google+ Download SR4-SuperSU-v2.78-SR4-20161115184928.zip. Want to keep root next time you upgrade firmware? Try FlashFire! Copyright © 2011-2016 - Chainfire.
376
29
Ryan Foret's profile photoBarry Arrindell's profile photoMachlen Polfliet's profile photoChainfire's profile photo
78 comments
 
Ok is this version works in s7edge on N beta rom??? 
 
+michael pap no, and until there's a downloadable flashable firmware for me to test with, it won't be.
 
But there is, i download mine from xda thread
 
+michael pap please link a non-edge firmware then. I'll put it on my list to check out. However, the S7 is my daily-driver so I don't like to tinker with it much.
 
so after we flash stock boot, and do the steps to get superSU and TWRP, we can flash a custom kernel or no?
 
+John hale what was your exact process? I just tried with EX and I got a boot loop, I flashed stock boot.img of course, then booted to TWRP img, then flashed TWRP, then flashed SuperSU, booted up, back to boot loader and flashed kernel and boot loop
 
+Chainfire​​ here is link with Beta Nougat for many variants of S7 flat. I hope it can be helpfull
 
+John hale did you not flash stock boot images before hand, I am guessing that may have been your case, or did you flash kernel very last and was on stock boot image?
 
+John hale I mean the stock boot.img? So you started with Franco, in the directions it says to flash the stock boot.img before doing TWRP and SuperSU.....
 
+Aaron DeArmitt I started with Franco and just flashed away. It's a nexus if it broke I'd flash back. Big deal. But it worked just fine ergo it works. 👍
 
Anyone that wants to know, I was able to flash Franco after following this process, booting up, then you will have no supersu binary, go back into TWRP and flash superSU again and it will be good to go. I tried the same process with EX kernel, and I got a bootloop, flashed supersu again, and then lost TWRP. I think this is because Franco does not modify ramdisk and EX kernel does, if I am correct in this statement
 
I also flashed Franco kernel and reflash su zip and all is good
 
+Christian Walker​ I think ex is screwy because of modifying ramdisk, but I'm not developer so not certain, but I think, lol. I don't know if could completely start with EX, and maybe it stay but I wanted follow directions and flash stock boot.img first
 
How to get passed the encrypted TWRP folders. I have tried removing my pattern security. 
 
Yeah I did same thing,flashed stock boot first and all was well
 
In the twrp it says this happens sometimes, try rebooting within twrp
 
+Chainfire I managed to patch libandroid_runtime.so for pixel devices to prevent bootloops, but suhide... hides the bind mounts I used to overlay them. Is there a method by which I can exclude those binds from suhide?
 
Put in your pattern based on phone dialer and put in the numbers you would have swiped
Translate
 
Is Flashfire going to be updated any time soon with an up to date version of SuperSU only it's still on 2.78SR1. Thanks.

 
got TWRP & SuperSU-SR4 running without issue. Follow the instructions above, fyi ;) Question though, if I want to install a custom kernel such as Despair, Franco, etc, do I still need to flash the stock boot image first, then flash the custom kernel? Also, do we need to reflash SuperSU v2.78-SR4 after flashing the custom kernel?
 
Worked perfectly. Thanks for cranking this out so quickly!
 
I understand all the steps... One question though. When i'm in TWRP from boot, i can't get any files off the phone? It's not showing up only shows root? Any ideas? (i created a folder in solid explorer for those 2 zips files but can't see them in TWRP)

Thanks alot Team!!!!!!
 
Just curious, what is the last firmware that is supported for this root method? I'm running P now and am caution of taking the OTA update as I don't want to reflash the phone to regain root.

 
+Jamie McInteer ya I tried ex kernel, Sharkey kernel, and franco, and if you have the kernel flashed before u start the process of installing TWRP and superSU they all stock as the kernel, so I don't want to over step my boundaries, but I did not need to use the stock boot image for any of the three time I tried those kernels, and had no errors and no errors all night.
 
I read comments on the XDA site that the boot-to-root method only works for NDE63P or earlier. Would that be true also for this method?
 
I have been having issue on my 6p with root, it says it rooted but when i try to use the function in my root apps they crash.. could this be because i have flashed a zip for google asistant and it now says Pixel as the device name?
 
+Chainfire​​​​ You could implement the mode of the automatic root of supersu?
Because I do not trust kingroot
Your application does not go out of Huawei mediapad t1-a21L
 
Does this work with the qualcomm S7 variant with the Eng-root ?
Translate
杨勇
 
Can you give me all the SuperSU files?
Thanks
 
+Chainfire just wanted to give huge thank you for making this work on Pixel(XL) just a few days before I needed to migrate off a bad device to a new one. Thanks to you I was able to use TiBackup and move my data easily.
I've just bought SuperSu Pro and if you have a donate link I can send another thank you to, let me know :)
By the way, initially I didn't want to buy the SuperSU Pro because the author was "codingcode" whereas your app is "chainfire" that looked fishy and I was afraid someone else might want to get money from your work. Your SuperSu app mentions in app purchases as donations (which I didn't find) and no reference to SuperSu Pro as a way to send you money. Maybe make it more clear how to send money to say thanks and/or a paypal link?
 
I am two Galaxy j7 I installed him en route, but your root did not work all the stuff like the game hacker program possible solution
 
+Chainfire​ dumb question...how do I get an OTA update after flashing the boot-to-root? 
 
I am using an infinix hot 2 how can i make it support otg
 
Work around for pokemon go for all phones would be awesome!
 
I didn't try it, gave you the google resource that should answer your question, go read it :)
 
Hey guys, I was trying to get the boot-to-root.img to work and ended up getting the never ending loading screen. I installed TWRP and now my device won't recognize/mount any partitions. Started a thread here, any help would be appreciated. I'm a noob when it comes to troubleshooting android stuff pre OS. I've rooted every phone I've had before, first time I got it this jacked up. I can only boot into recovery.

http://forum.xda-developers.com/pixel-xl/help/partitions-to-mount-twrp-root-t3506048#post69764960

Thanks,

Chris
 
+Chainfire can you expand on why Pixel 7.1 is different from Nexus 7.1 (DeveloperPreview)? DP does not have the same partition layout as Pixel? Or should we expect "fastboot boot" boot-to-root for Nexus as well once 7.1 is stable? Last time you mentioned DP was on the SR2 changelog...
 
ANDROID PAY not working. I've been up for a week now rooted with the boot-to-root and SuperSU-SR3 method. Thanks Chainfire! No issues with any other apps requiring root (tasker,titanium,FX file, etc). Just tried to use Android Pay and when I reach the screen to add a card I get the following error:

--------------------------------------------------------------------
Android Pay can't be used:
Google is unable to verify that your device or the software running on it is android compatible.
-----------------------------------------------------------------------

Anybody know what's going on? Do I need to lock the bootloader back? And will it keep root and SU if I do? I read that re-locking the bootloader will factory reset the data, but that's not problem since I have it backed up.

Thanks
 
Anyone who knows how i can root my android one??? 
 
I can't find su update in recovery when download in phone .cant find please help
 
I have no computer.and I have use kingoroot to root my blu studio 5.0ce and it work but i am still getin full root access to read flash drive so can i use to fix iss
 
I don't understand how to flash how to do it .OK when go into recovery mod I am not finding the file su bb installer zip when I download it ???
 
+Hilton Augustine, Jr. This is because of the unlocked bootloader. Unlocking your bootloader trips a test put out for security measures by various banking/financial apps along with a few others. Unfortunately, there is no way around this as of now. DO NOT attempt to relock your bootloader while still rooted. If you MUST use Android pay, flash the stock pixel image to get rid of root, then relock your bootloader (this will wipe all data on your device) and Android pay should be functioning.