[ROOT] SuperSU

Search This thread

Chainfire

Moderator Emeritus / Senior Recognized Developer -
Oct 2, 2007
11,441
87,692
www.chainfire.eu
This thread was originally for Pixel-specific rooting instructions, but by now the SuperSU ZIP and TWRP are fully supported:

- Fastboot boot TWRP
- Install latest SuperSU ZIP (v2.79-SR3 at the time of writing)

Note that at this time I recommend against fastboot flashing TWRP. With the Pixel's new partition layout, the recovery files are inside the boot partition, and so is SuperSU. If you flash both, SuperSU's internal boot image backup will not be of the original boot image, but of TWRP. This means that neither the 'full unroot' option in SuperSU, nor incremental OTA update through FlashFire, will work as expected.

OR

- Use CF-Auto-Root for Pixel (not released at the time of writing, but should be released soon)
 
Last edited:

marc.ientilucci

Senior Member
Dec 8, 2007
866
244
Rochester, NY
www.starvingmarc.com
can someonone please post the exact steps they are using?

I just unlocked my bootloader. then tried flashing the root-boot img file, it did the reboots, but when i complete android setup, theres no SuperSU and if i install the .apk, it still does not detect root...

just reflashed stock boot.img, locked and unlocked bootloader. waiting for instrustion.

thanks!
 

Anjustice1

Member
Aug 28, 2010
10
15
Here is everything you need.

can someonone please post the exact steps they are using?

I just unlocked my bootloader. then tried flashing the root-boot img file, it did the reboots, but when i complete android setup, theres no SuperSU and if i install the .apk, it still does not detect root...

just reflashed stock boot.img, locked and unlocked bootloader. waiting for instrustion.

thanks!

http://www.xda-developers.com/root-is-now-available-for-the-google-pixel-and-pixel-xl/
Here is everything you need.
 

clockcycle

Senior Member
Dec 28, 2007
3,666
811
Miami, FL
Once again you're the man Chainfire, thanks for all your hard work ;)

- An unnamed tester needed to do the whole thing twice for the root to stick. While I assume this was Jeff's own fault, we can never be sure. -lol


---------- Post added at 09:17 PM ---------- Previous post was at 09:14 PM ----------

can someonone please post the exact steps they are using?

I just unlocked my bootloader. then tried flashing the root-boot img file, it did the reboots, but when i complete android setup, theres no SuperSU and if i install the .apk, it still does not detect root...

just reflashed stock boot.img, locked and unlocked bootloader. waiting for instrustion.

thanks!


According to the post..

The images for the Pixels need to be 'fastboot boot'ed, not flashed. After a few minutes (have patience) and a couple of (automatic) reboots, Android should boot fully rooted. Read the README in the ZIP.
 
Last edited:
  • Like
Reactions: ummmmdamn101

marc.ientilucci

Senior Member
Dec 8, 2007
866
244
Rochester, NY
www.starvingmarc.com
Once again you're the man Chainfire, thanks for all your hard work ;)

---------- Post added at 09:17 PM ---------- Previous post was at 09:14 PM ----------




According to the post..

The images for the Pixels need to be 'fastboot boot'ed, not flashed. After a few minutes (have patience) and a couple of (automatic) reboots, Android should boot fully rooted. Read the README in the ZIP.

needed to set everything up and enable usb debugging - thennnn boot into bootloader and flash boot-to-root.img.

all is well!
 

ne0ns4l4m4nder

Senior Member
Oct 21, 2016
202
60
root issues

Pixel 32gig bought from google store unlocked bootloader and did as tutorial said, i have superSU icon but not asking for root privilage, apps saying no root?
 

mrnovanova

Senior Member
Jun 28, 2011
3,166
829
Montreal
You're doing something wrong, it all works fine.

fastboot flash ElementalX and then fastboot boot Chainfire's boot-to-root.img
Yup. It seems I was just booting the kernel image without flashing it. All good now followed directions on your last post where you say fastboot flash boot and not fastboot boot. I think that made all the difference.

Sent from my Pixel using XDA-Developers mobile app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 81
    This thread was originally for Pixel-specific rooting instructions, but by now the SuperSU ZIP and TWRP are fully supported:

    - Fastboot boot TWRP
    - Install latest SuperSU ZIP (v2.79-SR3 at the time of writing)

    Note that at this time I recommend against fastboot flashing TWRP. With the Pixel's new partition layout, the recovery files are inside the boot partition, and so is SuperSU. If you flash both, SuperSU's internal boot image backup will not be of the original boot image, but of TWRP. This means that neither the 'full unroot' option in SuperSU, nor incremental OTA update through FlashFire, will work as expected.

    OR

    - Use CF-Auto-Root for Pixel (not released at the time of writing, but should be released soon)
    7
    Just posting some windows command line if anyone has to use it:

    I don't recommend using these steps unless you are coming from the same setup/variables listed below. I am not responsible if you use the following and lose your data.

    Coming from:
    Google Store Pixel
    7.1.0 NDE63V
    TWRP alpha2
    SuperSU SR5

    Updating to:
    7.1.1 (NMF26O, Dec 2016)
    TWRP alpha2
    SuperSU SR5

    Now that's out of the way - The update went fine for me with all of my pictures/files/sms/etc.. intact.

    TL; DR... just my commands:

    Code:
    fastboot flash boot_a boot.img
    fastboot flash boot_b boot.img
    fastboot flash bootloader bootloader-sailfish-8996-012001-1610061102.img
    fastboot reboot bootloader
    fastboot flash radio radio-sailfish-8996-012511-1611190200.img
    fastboot reboot bootloader
    fastboot flash system_b system.img (MAKE SURE U FLASH YOUR CORRECT SYSTEM SLOT)
    fastboot flash vendor_b vendor.img (MAKE SURE U FLASH YOUR CORRECT SYSTEM SLOT)
    fastboot reboot bootloader
    fastboot boot twrp-3.0.2-0-alpha2-fastboot-sailfish.img
    
    #The commands below simply move the files from your local PC to the Pixel.
    
    adb push twrp-pixel-installer-sailfish-3.0.2-0-alpha2.zip /sdcard
    adb push SR5-SuperSU-v2.78-SR5-20161130091551.zip /sdcard
    
    # From here I did the rest in TWRP
    
    # 1) Install TWRP.zip 
    # 2) Reboot back into Recovery
    # 2) Install SuperSU SR5

    A bit more verbose...

    Code:
    C:\Users\Marc>adb reboot bootloader
    
    #from bootloader I booted into Recovery
    
    C:\Users\Marc\Downloads\sailfish-nmf26o>fastboot flash boot_a boot.img
    target reported max download size of 536870912 bytes
    sending 'boot_a' (24821 KB)...
    OKAY [  0.728s]
    writing 'boot_a'...
    OKAY [  0.604s]
    finished. total time: 1.335s
    
    C:\Users\Marc\Downloads\sailfish-nmf26o>fastboot flash boot_b boot.img
    target reported max download size of 536870912 bytes
    sending 'boot_b' (24821 KB)...
    OKAY [  0.768s]
    writing 'boot_b'...
    OKAY [  0.608s]
    finished. total time: 1.379s
    
    C:\Users\Marc\Downloads\sailfish-nmf26o>fastboot flash bootloader bootloader-sailfish-8996-012001-1610061102.img
    target reported max download size of 536870912 bytes
    sending 'bootloaderb' (32728 KB)...
    OKAY [  0.916s]
    writing 'bootloaderb'...
    (bootloader) Valid bootloader version.
    (bootloader) Flashing active slot "_b"
    (bootloader) Flashing active slot "_b"
    OKAY [ 12.471s]
    finished. total time: 13.389s
    
    C:\Users\Marc\Downloads\sailfish-nmf26o>fastboot reboot bootloader
    rebooting into bootloader...
    OKAY [  0.015s]
    finished. total time: 0.015s
    
    C:\Users\Marc\Downloads\sailfish-nmf26o>fastboot flash radio radio-sailfish-8996-012511-1611190200.img
    target reported max download size of 536870912 bytes
    sending 'radiob' (57192 KB)...
    OKAY [  1.516s]
    writing 'radiob'...
    OKAY [  0.899s]
    finished. total time: 2.416s
    
    C:\Users\Marc\Downloads\sailfish-nmf26o>fastboot reboot bootloader
    rebooting into bootloader...
    OKAY [  0.015s]
    finished. total time: 0.016s
    
    #NOTE: my current active system slot is slot_b - check to make sure u if u have to flash system_a or system_b
    
    C:\Users\Marc\Downloads\sailfish-nmf26o>fastboot flash system_b system.img 
    target reported max download size of 536870912 bytes
    erasing 'system_b'...
    OKAY [  1.210s]
    sending sparse 'system_b' 1/3 (516463 KB)...
    OKAY [ 14.216s]
    writing 'system_b' 1/3...
    OKAY [  6.645s]
    sending sparse 'system_b' 2/3 (520623 KB)...
    OKAY [ 14.462s]
    writing 'system_b' 2/3...
    OKAY [ 11.349s]
    sending sparse 'system_b' 3/3 (517483 KB)...
    OKAY [ 14.303s]
    writing 'system_b' 3/3...
    OKAY [  8.257s]
    finished. total time: 70.451s
    
    #NOTE: This should match your sysetm slot.. if you are on system_b, then flash vendor_b, etc...
    
    C:\Users\Marc\Downloads\sailfish-nmf26o>fastboot flash vendor_b vendor.img 
    target reported max download size of 536870912 bytes
    erasing 'vendor_b'...
    OKAY [  0.585s]
    sending 'vendor_b' (235186 KB)...
    OKAY [  6.455s]
    writing 'vendor_b'...
    OKAY [  6.753s]
    finished. total time: 13.796s
    
    C:\Users\Marc\Downloads\sailfish-nmf26o>fastboot reboot bootloader
    rebooting into bootloader...
    OKAY [  0.015s]
    finished. total time: 0.016s
    
    #The commands below simply move the files from your local PC to the Pixel.
    
    C:\Users\Marc\Downloads\sailfish-nmf26o>fastboot boot twrp-3.0.2-0-alpha2-fastboot-sailfish.img
    downloading 'boot.img'...
    OKAY [  0.727s]
    booting...
    OKAY [  0.867s]
    finished. total time: 1.597s
    
    C:\Users\Marc\Downloads\sailfish-nmf26o>adb push twrp-pixel-installer-sailfish-3.0.2-0-alpha2.zip /sdcard
    [100%] /sdcard/twrp-pixel-installer-sailfish-3.0.2-0-alpha2.zip
    
    C:\Users\Marc\Downloads\sailfish-nmf26o>adb push SR5-SuperSU-v2.78-SR5-20161130091551.zip /sdcard
    [100%] /sdcard/SR5-SuperSU-v2.78-SR5-20161130091551.zip
    
    C:\Users\Marc\Downloads\sailfish-nmf26o>
    
    # From here I did the rest in TWRP
    
    # 1) Install TWRP.zip 
    # 2) Reboot back into Recovery
    # 2) Install SuperSU SR5

    I hope this helps someone!

    Cheeeeeeeeeers!
    6
    Here is everything you need.

    can someonone please post the exact steps they are using?

    I just unlocked my bootloader. then tried flashing the root-boot img file, it did the reboots, but when i complete android setup, theres no SuperSU and if i install the .apk, it still does not detect root...

    just reflashed stock boot.img, locked and unlocked bootloader. waiting for instrustion.

    thanks!

    http://www.xda-developers.com/root-is-now-available-for-the-google-pixel-and-pixel-xl/
    Here is everything you need.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone