FORUMS
Remove All Ads from XDA

TWRP RC1 for Pixel Devices

1,682 posts
Thanks Meter: 12,328
 
View First Unread Post Reply Email Thread
TLDR: It's finally here in alpha form, may eat your data, and you will lose SuperSU root if currently installed. READ the install instructions carefully!

Pixel XL

Pixel

DO NOT RESTORE DATA FROM alpha builds of TWRP using RC1. You will probably lose all data including internal storage. If you need to restore a data backup from an alpha build, reinstall the alpha and restore using the alpha and make a new backup using RC1.

Note: Do not use if you have multiple users (including a guest user)

File Based Encryption (FBE) can be a bit tricky. If a restore doesn't work correctly, it can trigger an automatic wipe of your data. I've tested it a little on my Pixel XL, but I haven't had time to test it extensively. Sometimes TWRP will fail to prompt you to enter your password or otherwise fail to set up decrypt properly. If this happens, reboot TWRP. It seems to be some kind of timing issue and I haven't had time to track it down yet.

Pixel devices have 2 "slots" for ROMs / firmware. TWRP will detect whichever slot is currently active and use that slot for backup AND restore. There are buttons on the reboot page and under backup -> options to change slots. Changing the active slot will cause TWRP to switch which slot that TWRP is backing up or restoring. You can make a backup of slot A, switch to B, then restore the backup which will restore the backup of A to slot B. Changing the slot in TWRP also tells the bootloader to boot that slot.

The zip install method installs TWRP to both slots.

Installation:
If you already have TWRP installed: Download the latest zip and install the zip using TWRP.

If you do not already have TWRP installed: Download both the img and the zip. Copy the zip to your device. You will need to have fastboot binaries and the correct drivers installed. Power off your device completely. Hold volume down and turn on the device. Your device should now be in the bootloader. Connect the device to your PC. Open a command window and run the following command from the proper location:

fastboot boot path/to/twrp.img

This will temporarily boot TWRP on your device. If you are using a lockscreen pin/pattern/password and do not get prompted to enter your passord, reboot to the bootloader and try again. Go to install and browse to the zip and install the zip. If you are currently rooted with SuperSU, you will need to reflash the stock boot image before installing TWRP. After installing the stock boot image, follow the instructions for installing TWRP. Once TWRP is installed, grab the very latest SuperSU released on 2015-11-15 or later and install SuperSU.

If you accidently flash TWRP to your device using fastboot instead of temporarily booting the image, you will need to download the latest factory image for your device and reflash the boot image.

alpha2 should hopefully improve decrypt reliability.

RC1 supports true backup and restore of ext4 crypto policies on folders along with support for the newer style AB OTA update zips.
The Following 149 Users Say Thank You to Dees_Troy For This Useful Post: [ View ]
 
 
15th November 2016, 04:15 AM |#2  
Dees_Troy's Avatar
OP Senior Recognized Developer
Flag KC MO
Thanks Meter: 12,328
 
Donate to Me
More
How to install SuperSU SR5 on TWRP RC1: In TWRP tap on Advanced -> File Manager and scroll to and select the fstab.marlin or fstab.sailfish file and then delete it.
The Following 50 Users Say Thank You to Dees_Troy For This Useful Post: [ View ]
15th November 2016, 04:20 AM |#3  
Senior Member
Flag Chesapeake, VA
Thanks Meter: 16
 
More
You're the man! Props for all the hard work you've put into this.
15th November 2016, 04:21 AM |#4  
Member
Thanks Meter: 11
 
More
TY!!!!
15th November 2016, 04:40 AM |#5  
BlackHoleSlam's Avatar
Senior Member
Flag Central NJ
Thanks Meter: 211
 
Donate to Me
More
Awesome. I might have to wait a bit to install but glad to see the Pixel getting twrp.

Sent from my Pixel XL using Tapatalk
15th November 2016, 04:42 AM |#6  
clockcycle's Avatar
Senior Member
Flag Miami, FL
Thanks Meter: 803
 
More
Wow, and so it begins. Thanks!
15th November 2016, 04:46 AM |#7  
CZ Eddie's Avatar
Senior Member
Flag Austin, TX
Thanks Meter: 1,998
 
Donate to Me
More
Thank you!!
15th November 2016, 04:48 AM |#8  
mrjaydee82's Avatar
Recognized Contributor
Flag Naples, FL
Thanks Meter: 12,435
 
Donate to Me
More
Nice!!! Awesome job @Dees_Troy

Sent from my Pixel XL using Tapatalk
The Following 2 Users Say Thank You to mrjaydee82 For This Useful Post: [ View ] Gift mrjaydee82 Ad-Free
15th November 2016, 05:02 AM |#9  
CZ Eddie's Avatar
Senior Member
Flag Austin, TX
Thanks Meter: 1,998
 
Donate to Me
More
I just installed the IMG w/out issue.
I can't find the zip in TWRP file manager to flash though.
Everything looks encrypted.

EDIT: It went through on the 4th try of flashing the IMG, now I can see my /sdcard and install the zip.
But somehow this killed my OS.
Just flashed the flash-all.bat after removing -w so it doesn't wipe.
Now I'll try TWRP install again.

EDIT 2: Okay, after restoring to stock, the TWRP install went fine.
Maybe it didn't like my elementalx kernel or the existing root. The OP did mention something about root conflicts, I guess it may prevent TWRP installs too? But now I have OS *and* TWRP.

And I'm getting "Unspecified Error" when trying to copy my EFS backup from /sdcard/twrp/backup to my local computer. I am able to copy other non-TWRP files though.

.
.
.

Does a full backup on Pixel include System Image and Vendor Image? I don't recall seeing these on other devices.
Or do I just back up boot, system and data like usual?

***Hey ya'll, don't forget to back up EFS at least once and copy it to your computers!
The Following 4 Users Say Thank You to CZ Eddie For This Useful Post: [ View ] Gift CZ Eddie Ad-Free
15th November 2016, 05:08 AM |#10  
networx2002's Avatar
Senior Member
Thanks Meter: 33
 
More
Yea! Worked perfect!!!
The Following User Says Thank You to networx2002 For This Useful Post: [ View ] Gift networx2002 Ad-Free
15th November 2016, 05:15 AM |#11  
beepFTW's Avatar
Senior Member
Thanks Meter: 28
 
More
Would the flashable SuperSU v2.78 SR3 zip work?

Looked it up and because of conflicting init binaries between TWRP and the current root method, it just wouldn't work.
Post Reply Subscribe to Thread

Tags
pixel, recovery, team win, twrp

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread