yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL Guides, News, & Discussion] fenchai:
But its strange that I am the only one having this issue... I may just factory reset and not flash root until there is safer/stable method.
[Google Pixel XL Guides, News, & Discussion] TonikJDK:
You are not the only one. Hit the SU thread....Last couple of pages...There is a file you need to delete.
[Google Pixel XL Guides, News, & Discussion] fenchai:
mmm the only person I found that had almost the same issue as me flashed alpha 2? what is that supposed to be? I may try to flash a lower version to see.
[Google Pixel XL Guides, News, & Discussion] bajasur:
Sorry

Can you give a detailed explanation of how you came to have your issue?

I'm trying to understand where things went wrong for you.

Thanks
[Google Pixel XL Guides, News, & Discussion] fenchai:
So, to be short, I started stock, then unlocked bootloader, loaded twrp then installed TWRP along with SuperSu 2.78 latest beta. rebooted, but Supersu app nor root is present on the device.

I tried the other ways to root but useless. none work

update: it says in SuperSU app I have not SU Binary installed. Â¯\\\_(ãƒ„)\_/Â¯
[Google Pixel XL Guides, News, & Discussion] :
To install SuperSU reboot to TWRP after you've booted the OS once. Tap on Advanced -> File Manager and scroll to and select the fstab.marlin and then delete it. Flash SU SR5 reboot.
[Google Pixel XL Guides, News, & Discussion] fenchai:
That Worked!!! can we update the post? There should be at least one more guy like me searching like crazy from post to post. :/

Thanks for the guide :)
[Google Pixel XL Guides, News, & Discussion] :
no problem....glad you got it rooted
[Google Pixel XL Guides, News, & Discussion] mancman:
I needed to use the delete fstab.marlin and SR5 trick as well to get it to work..

Can someone tell me why we need to do this?
[Google Pixel XL Guides, News, & Discussion] wtherrell:
Because the mouth of one who knows far more than we hath spoken it.

Seriously, I haven't a clue. I'm just glad it works.
[Google Pixel XL Guides, News, & Discussion] Paz9:
Anyone know how i can temporarily unroot my phone?

ive disabled a service in disableservice app that causes the phone to reboot now i cant undo it...
[Google Pixel XL Guides, News, & Discussion] Kris Nelson:
You'll need to flash the stock boot.img
[Google Pixel XL Guides, News, & Discussion] Paz9:
thank you

do you have to wipe cache/dalvik after rooting? is it a good practice?
[Google Pixel XL Guides, News, & Discussion] TonikJDK:
Never done it, never heard of anyone doing it.
[Google Pixel XL Guides, News, & Discussion] Paz9:
why are rotational flags still enabled in the OS? i remember the first tweaks id ever do when getting a new android is to disable the rotational and iostats flags, and disabling all logging.

unnecessary.
[Google Pixel XL Guides, News, & Discussion] mac796:
great guide I have Verizon pixel, got to very end unlocked bootloader twrp rc1 , when I try to find super su to flash its nowhere to be found in twrp, I tried downloading su sr5 and 4 doesn't see either of them, I tried deleting the file fstab.marlin. my next move was going to be with pc to flash. Any ideas?

also I had no problems finding twrp zip.

---------- Post added at 04:25 PM ---------- Previous post was at 03:31 PM ----------

ok I got root with fastboot method, still curious why twrp doesn't see zip files anymore, is that a common problem , being its still in testing phase?
[Google Pixel XL Guides, News, & Discussion] Paz9:
anyone know to to enter "service mode" on the pixel xl to view fast dormancy and to disable it.
[Google Pixel XL Guides, News, & Discussion] mojolive:
I want to reflash te stock firmware files, just to be sure are these the correct steps to installing the stock firmware manually? (I use a mac so I have added the "./" in front of the commands .. just want to make sure I have the correct Sequence to flash the stock images. can anyone confirm or tell me what I need to do to make it correct if not already correct?

./fastboot flash bootloader

./fastboot reboot-bootloader

./fastboot flash radio

./fastboot reboot-bootloader

./fastboot flash boot

./fastboot erase cache

./fastboot flash cache

./fastboot flash recovery

./fastboot flash system

./fastboot flash vendor

./fastboot format userdata

./fastboot reboot
[Google Pixel XL Guides, News, & Discussion] cam30era:
No. The format is essentially "./fastboot flash" followed by "where you want to flash" followed by "file name". So for example: ./fastboot flash system system.img
[Google Pixel XL Guides, News, & Discussion] mojolive:
Hi great! thanks for the info.. :)
[Google Pixel XL Guides, News, & Discussion] cam30era:
Welcome. Your other "non flash" commands are OK.
[Google Pixel XL Guides, News, & Discussion] bajasur:
At this time I would recommend using the flash-all script within the factory image until [MENTION=4395895]BeansTown106[/MENTION] clarifies further or [MENTION=6842057]The Flash[/MENTION]
[Google Pixel XL Guides, News, & Discussion] cam30era:
In principle, I agree. But he did say that he wanted to learn how to do it manually. I think we should encourage this kind of attitude.
[Google Pixel XL Guides, News, & Discussion] bajasur:
Oh most definitely I agree. I'm just waiting for [MENTION=4395895]BeansTown106[/MENTION] to get off his lazy butt and come in here discussing the principles of manual image flashing on dual partitions.

[emoji13]
[Google Pixel XL Guides, News, & Discussion] mojolive:
Great advice, thank you! Best to be safe, rather then break my tel. I will do it with the script
[Google Pixel XL Guides, News, & Discussion] bajasur:
I promise you soon we will have reliable image flashing instructions for A/B partitions. I would not listen to other guide threads on how to do this until you hear from Recognized Developers in here
[Google Pixel XL Guides, News, & Discussion] TonikJDK:
Learning with an RC release with lots of open questions on a new dual boot system we are still unsure of is bad.
[Google Pixel XL Guides, News, & Discussion] Kris Nelson:
You had me at waiting for [MENTION=4395895]BeansTown106[/MENTION]:eek:
[Google Pixel XL Guides, News, & Discussion] bajasur:
I think we are all waiting for [MENTION=4395895]BeansTown106[/MENTION] [emoji13]
[Google Pixel XL Guides, News, & Discussion] jerryatherton:
I have a Google Version XL. I unlocked with fastboot before I inserted my Verizon sim., currently on Build NMF260. I would like to try Android Pay but I get the Google can't confirm I meet security standards. I am not rooted and on stock rims, I think it is only because my bootloader is unlocked. Can I toggle my bootloader lock on and off since I have a. Google phone?

Thanks for your comments.
[Google Pixel XL Guides, News, & Discussion] cam30era:
Toggling won't do anything, per se. You can relock and unlock your bootloader as often as you want, but it will wipe your device every time.
[Google Pixel XL Guides, News, & Discussion] bajasur:
Yes you can. I believe there is an Suhide thread as well that may let you do this without having to lock again. I could be wrong
[Google Pixel XL Guides, News, & Discussion] cam30era:
Waiting for Godot...
[Google Pixel XL Guides, News, & Discussion] TonikJDK:
As long as you have not made any other mods you can flash one of the kernels that hide the unlock for you. For example Franco's kernel. I don't believe suhide will help, that is for hiding root.
[Google Pixel XL Guides, News, & Discussion] bajasur:
I'll just leave these here...
[Google Pixel XL Guides, News, & Discussion] Scott:
I would add a note to Verizon users NOT to update to the 7.1.1 because depixel8 does not work on 7.1.1 :highfive:

But a great guide indeed!
[Google Pixel XL Guides, News, & Discussion] Scott:
[MENTION=4395895]BeansTown106[/MENTION] Damn man! Been a long time!
[Google Pixel XL Guides, News, & Discussion] mlin:
It may be worthwhile to mention that the newest version of adb and fastboot are absolutely necessary to flash factory images on the Pixel due to the new partition layouts. I think the minimum version of adb required is 1.0.36 which happens to be the newest version.
[Google Pixel XL Guides, News, & Discussion] Nebul0us:
Anyone that can help me with updating my unlocked, Verizon"sailfish" to 7.1.1 will get a gold star ;) I'm nervous doing it myself right now because of the dual partition deal...
[Google Pixel XL Guides, News, & Discussion] BeansTown106:
Oh why look at that haha

Definitely man it's been too long hope all is well, merry Christmas!
[Google Pixel XL Guides, News, & Discussion] Scott:
Yes, you are correct on that 100%. Well 99.99% because no one is perfect!

What are you having an issue with. I updated my phone 3 times in the last 24 hr period.

Thanks man! Peace out to you and family! Also, why on earth did I think you were a Mod??? Am I just getting that old, lol

Side Note: This is starting to feel like the old S3 Forums, lol :highfive:
[Google Pixel XL Guides, News, & Discussion] Nebul0us:
No issues. I just have heard the process might be different with the new partition setup and am looking for a guide.
[Google Pixel XL Guides, News, & Discussion] bajasur:
This guide should help you. It is meant for those coming from a complete stock device. Id be glad to help you with any specifics needed
[Google Pixel XL Guides, News, & Discussion] ithehappy:
Damn it! I just found this thread! I did use the Minimal ADB Fastboot tool to flash the latest stock firmware, and then flashed the SuperSU 2.79 via TWRP interface. So that might have created a problem then huh?
[Google Pixel XL Guides, News, & Discussion] bajasur:
If it worked then your golden. However that can cause problems historically
[Google Pixel XL Guides, News, & Discussion] heardamir:
I'm on 7.1.1. I can't get boot-to-root method to work. I've tried a couple of times, and it gets stuck at the leapfrogging coloured dots. tried a few times now. What am I doing wrong? This i getting frustrating. The only way to boot again is sideload the OTA for my device...
[Google Pixel XL Guides, News, & Discussion] bajasur:
It should work if you follow the guide step by step. You can also update to SuperSU 2.79 and flash TWRP instead of boot to root
[Google Pixel XL Guides, News, & Discussion] ithehappy:
Well it worked, but I'm gonna follow this guide only from now anyway.

OP says have Java installed, but may I know which Java exactly? There are so many Java versions!
[Google Pixel XL Guides, News, & Discussion] spaceman860:
This does not work on pixels.
[Google Pixel XL Guides, News, & Discussion] ithehappy:
I am having trouble following this guide. I am stuck at a certain point! At the below stage specifically. I have downloaded the SDK tools from that website, which was around 290 MB and then extracted the same under SDK folder under C drive. The extracted folder's label is "tools_r25.2.3-windows". Then in that folder there are a bunch of files, but where is the C:SDKandroid-sdk-windows and how do I open SDK Manager.exe?

PS: Please see the screenshot attachment. Am I doing it right?

Up until the bold, underlined part its done, but then what?

Update: Well it was the android.bat file which did it. Double clicking on it opened the Android SDK Manager, and from there it was easy following as usual. Probably my setup was different from yours, but you could mention it, should save another idiot like me like an hour or something LOL!

Check the second screenshot. That file marked in red box will open the SDK Manager.
[Google Pixel XL Guides, News, & Discussion] flo7002:
Does the first boot into TWRP supposed to take a long time? Phone's been on the google logo for 10-15mins now. Is that normal or something went wrong?
[Google Pixel XL Guides, News, & Discussion] Ajayzz:
Ur bootloader must be unlocked
[Google Pixel XL Guides, News, & Discussion] bajasur:
Good work! I'm glad you got it figured out. Thanks for the post.
[Google Pixel XL Guides, News, & Discussion] Riley Martin:
How can I relock phone? When I try doing it with fastboot it will unlock the phone but that gives me the red error screen that says the phone is corrupt. If I relock the bootloader the issue is fixed. If you care I want to relock so I can use android pay and my phone freezes few times a week.
[Google Pixel XL Guides, News, & Discussion] cam30era:
The error screen during is normal/standard when your bootloader is unlocked.

First, make sure that your phone is 100% stock. Then boot to bootloader and issue the following command: fastboot oem lock

Edit: your freezing issue is unrelated to your bootloader being unlocked.
[Google Pixel XL Guides, News, & Discussion] Drashnar:
Question. I have TWRP installed, and the SUPERSU zip on the phone. Install appears to go fine in TWRP. But when I boot up the phone, I'm not seeing SuperSU at all. I'm following all steps exactly. Can anyone tell me what I'm missing? Thanks.

EDIT: Nevermind. Went over to the dev forum and found that I'm not the only one with this issue.
[Google Pixel XL Guides, News, & Discussion] haevolution:
Did you get SuperSU installed? If not there is another step that is detailed in page 5 or 6 of this thread. I had the exact same problem and this fixed it for me:

To install SuperSU reboot to TWRP after you've booted the OS once. Tap on Advanced -> File Manager and scroll to and select the fstab.marlin and then delete it. Flash SU SR5 reboot.
[Google Pixel XL Guides, News, & Discussion] TonikJDK:
With the latest rc1 of TWRP and SU 2.79 SR2 you don't need to do that anymore.
[Google Pixel XL Guides, News, & Discussion] haevolution:
Perhaps however the link in the guide takes you to 2.78 which is what used and hence had to make the change in TWRP before SuperSU would install.
[Google Pixel XL Guides, News, & Discussion] Drashnar:
I was advised to try SR1 instead of the SR4 I was using. Using SR1 worked for getting SU installed, though I'm wondering if me using SR1 (instead of SR4 or SR5) is a factor in the suhide issues I was having.
[Google Pixel XL Guides, News, & Discussion] jschill31:
Hi all,

Long time Android user...but have been getting lazy in my old age. I got my Pixel XL launch day and of course unlocked my bootloader, RC1 & SU2.79. I have no issues with ADB or Fastboot...but I have been lazy on updating and still sitting with NDE63P for Verizon. I figure I should catch up a bit but would like some clarity if the updates need to be stacked or can I just jump to the newest Verizon? I see no reason to go to NDE63X rather than NMF26U but still a bit foggy on these Pixels. I also see a couple different ways to go about updating but as I see several old timers on this thread I suspect this is the way to go. I fully understand I will need to re-root and boot, then flash TWRP again. I have no issues using Fastboot, just looking for advise as I am still a bit hazy on the A&B partitions. Up until writing this I have only used my B slot and I suspect several failed updates on the A. I would rather sideload an OTA and save my data as I use my phone for work. I want to get up to speed as I see several ROMs are in the works.

Sorry, I do read...just looking for a bit of advise?

Update, brilliant guide. Went from October 7.1 to January 7.1.1 wile maintaining data. Booted RC1, flashed TWRP and SU2.79 and fully up and running in 20 minutes. Thank you for this thread...looking forward to some ROMs soon.

Cheers
[Google Pixel XL Guides, News, & Discussion] TonikJDK:
Jump straight to the latest.

I would, and do, use the flashall.bat file that comes with the Google image. Edit it and remove the -w so you save data.

Check it. Then reboot into fastboot, fastboot boot TWRP, then flash it.

Then flash kernels and root. Order depends on the kernel.
[Google Pixel XL Guides, News, & Discussion] jschill31:
Thank you, took 20 minutes to get fully updated with TWRP and root!
[Google Pixel XL Guides, News, & Discussion] bajasur:
Welcome aboard!
[Google Pixel XL Guides, News, & Discussion] ithehappy:
Google released a small tool for ADB and fastboot. In case you are setting up the environment freshly might give it a look, just 3.5 mb. If you already have studio or the SDK setup no need to bother.

http://www.androidpolice.com/2017/0...ble-without-full-sdk-android-studio-download/
[Google Pixel XL Guides, News, & Discussion] bajasur:
This is awesome. I am going to update the OP shortly
[Google Pixel XL Guides, News, & Discussion] vavix:
Hi OP,

I appreciate your efforts in making this guide, but because it has some wrong information, me (and it seems many other people) lost a lot of time debugging problems not explained properly in these steps. I've compiled a list of things that I would really appreciate you update in the original thread for newbies or casuals like myself who don't want to spend 5 hours digging every time they root a new phone:

1. Android SDK tools link: Need to download the file under "Get just the command line tools" on the page you linked.

2. Instead of SDK Manager.exe you need to click android.bat in the root folder

3. Please update the superSU link to the most recent one, because older superSU is problematic and doesn't show up after reboot to OS.

Thank you a lot for you efforts!
[Google Pixel XL Guides, News, & Discussion] dinkoh:
I think it is the most recent version. Which version are you talking about? https://xdaforums.com/pixel-xl/development/root-supersu-t3490156

Correction: As of this post, the latest version is 2.79 SR2 https://download.chainfire.eu/1019/SuperSU/SR2-SuperSU-v2.79-SR2-20170103215521.zip
[Google Pixel XL Guides, News, & Discussion] aholeinthewor1d:
2.79 SR 2 is the latest
[Google Pixel XL Guides, News, & Discussion] dinkoh:
Thank you for the correction!
[Google Pixel XL Guides, News, & Discussion] bajasur:
One day... When I have time I will update this thread to reflect the must current info.

In the mean time, I think it contains most of the relevant information needed.
[Google Pixel XL Guides, News, & Discussion] rickysidhu_:
Hey [MENTION=4854133]bajasur[/MENTION] I have a question regarding the section that has to do with returning back to stock.

So I have Android Studio installed, which I assume includes all necessary files/drivers to issue fastboot commands. I tried to double click the flash-all.bat file as instructed, but for some reason I would get errors that would say 'FAILED' in cmd. I don't want to recreate the issue, now that I have my phone all setup and working via the Skipsoft toolkit. However, I am still curious as to why this error occurred back when I tried it via this guide's method.

I know I haven't given a lot to go on, and I'm more than happy to try and provide you with any further information you need to get a better idea of this error I had. I tried putting all the files in the marlin zip into the same folder that has fastboot files, and even tried your method, which is the reverse, putting all fastboot files in the marlin folder. Both ways still gave me that 'FAILED' error in cmd.

Lastly, I sincerely apologize if this issue has already been discussed and resolved! I'm fine with using the Skipsoft toolkit moving forward, but like I said, the errors leave me curious/intrigued as to why it was happening. Thank you in advance!
[Google Pixel XL Guides, News, & Discussion] ithehappy:
Show us a screenshot of the fastboot folder.
[Google Pixel XL Guides, News, & Discussion] rickysidhu_:
Here's the screenshot. After this, I double clicked the flash-all.bat and started getting those failed errors.
[Google Pixel XL Guides, News, & Discussion] Nebul0us:
Awesome. So I have just downloaded the January release (NMF26U) and am ready to flash it. I am coming from NDE63X on my "sailfish." I have TWRP-3.0.2-0 installed. I have also just finished updating with SDK Manager.

So do I just flash the boot, system, and vendor images and wipe the dalvik/cache??? Will I have to flash TWRP again?
[Google Pixel XL Guides, News, & Discussion] jackburnt:
I just did all this last night. Once you flash your new update, you'll need to do TWRP and SuperSU again (just leave the zips on your phone).

Also, don't forget to take out the -w if you want data.
[Google Pixel XL Guides, News, & Discussion] Nebul0us:
What do you mean take out the -w? As long as I don't flash userdata then my data should stay, correct? I really hate that recovery is part of boot.img now. What does keeping the TWRP zip on phone do to help? Don't I have to flash again with fastboot?
[Google Pixel XL Guides, News, & Discussion] cam30era:
The flash-all contains a "-w" on the last line. If you don't edit it to remove this, it will wipe your device.
[Google Pixel XL Guides, News, & Discussion] Nebul0us:
I am not in the habit of using the flash-all. I have been put under the impression ever since I started using fastboot with my Nexus 5, that flashing manually is best practice. Furthermore, am I correct in that I will successfully update and keep my data if I don't use flash-all, and manually flash the boot, system and vendor images? Or do I need to also flash the radio and bootloader? Or have things changed and I need to use flash-all? I appreciate everyone's help.
[Google Pixel XL Guides, News, & Discussion] cam30era:
You are correct. Things have not changed, other than there are a lot more files now.
[Google Pixel XL Guides, News, & Discussion] Nebul0us:
More files...Okay, so what are all the images I need to flash, and in what order?
[Google Pixel XL Guides, News, & Discussion] cam30era:
Unzip the factory image and you'll see all the files. There's a lot. I haven't manually flashed them all on this phone, so I don't know. This is why most are using the flash-all.
[Google Pixel XL Guides, News, & Discussion] Nebul0us:
If I want to use the flash-all, do I just edit it in notepad to remove the -w?
[Google Pixel XL Guides, News, & Discussion] cam30era:
Yup
[Google Pixel XL Guides, News, & Discussion] Nebul0us:
Thanks man! Relying on a script to not flash over my data makes me nervous, lol
[Google Pixel XL Guides, News, & Discussion] Nebul0us:
[MENTION=4854133]bajasur[/MENTION] [MENTION=726657]jackburnt[/MENTION] [MENTION=3209971]cam30era[/MENTION]

Thank you all, including those I haven't mentioned that have worked on the development. I got updated to NMF26U with TWRP 3.0.2-0 RC1 successfully. Thanks again!
[Google Pixel XL Guides, News, & Discussion] jackburnt:
Welcome aboard buddy! I think the hardest thing about the whole process for me was getting the damn Java to work in adb. After that, smooth sailing!
[Google Pixel XL Guides, News, & Discussion] stargate125645:
I plan to get the Pixel XL and load it on Verizon. I imagine I will get 7.1.1. I read here earlier the method suggested here for Verizon doesn't work on 7.1.1. So, I have a couple questions:

1) Does this special note only apply to the phone bought directly from Verizon?

2) If not, where is the information for this step for Verizon? I see no link in the guide.
[Google Pixel XL Guides, News, & Discussion] cam30era:
Devices bought from VZW and Best Buy have an "unlockable" bootloader, that can be unlocked with dePixel8 if running 7.1.

Devices bought from Google directly can unlock bootloader regardless of what version or carrier.
[Google Pixel XL Guides, News, & Discussion] stargate125645:
So I ignore the note about Verizon entirely if I'm buying directly from Google even though I intend to use it with Verizon? That's what makes the most sense, but the OP is not worded explicitly in this matter.
[Google Pixel XL Guides, News, & Discussion] haevolution:
Correct that only applies if you bought the phone from Verizon.
[Google Pixel XL Guides, News, & Discussion] bajasur:
I just want to say thanks to [MENTION=3209971]cam30era[/MENTION] for helping out in here.

Thanks bud
[Google Pixel XL Guides, News, & Discussion] cam30era:
Welcome. I do enjoy helping others.
[Google Pixel XL Guides, News, & Discussion] auriken:
Hello, I have unlocked the bootloader and have currently flashed Pure Nexus, the latest, but I've tried several times to install Super SU 2.78 SR4, but when the SuperSU app says I don't have a binary installed. Is there any other guide to get root in?

Edit: I just tried 2.79 and it still says no binary.
[Google Pixel XL Guides, News, & Discussion] Old Man Dave:
What 2.79 are you using? Sr2 worked fine for me.