[Tutorial] Flashing OTA Updates on Unlocked, Rooted Pixel 2 w/o Custom Recovery - Google Pixel 2 XL Guides, News, & Discussion

PLEASE READ MY IMPORTANT NOTICE ABOUT 8.1 BELOW
See update as well!
Hey, guys! This is my first thread ever, so please give me some grace. (I do not know all the formatting stuff yet)
I decided that because I had to wipe my Pixel 2 XL twice in the process of trying to figure this out, I may as well write a quick tutorial on how to do this the easy (and mostly safe) way.
This is where they all insert the disclaimer:
Code:
This tutoial is based on software I did not write or contribute to in any way, If you have issues with it, contact their respective developers, Google can help with this. DO NOT blame me for your now-a-fancy-paperweight-pixel,
I have diplomatic immunity and will tell you to contact my lawyer who doesn't care. You risk what you risk, take responsibility for that.
Now for the meat....
What you need:
Unlocked bootloader with MAGISK ROOT (other root may work, only tested magisk beta)
The Latest OTA File from the official download page, saved to your device
The Flashfire App by one of the greatest XDA legends of all time, Chainfire
The flashable zips for Magisk and any other stuff you want installed (like a custom kernel) when the update gets flashed (typically magisk modules do not need to be reflashed, they stay installed)
Advisable: nothing that has modified your system partitions (only have systemless mods like magisk)
Now that you're all set:
Open Flashfire and grant it root permissions.
Tap through all the warnings
Hit the plus sign and hit "Flash ZIP or OTA"
Find your stored OTA file you downloaded from the Google OTA page.
Check all three available options, (Auto-mount, Mount system..., and Restore Boot and Recovery)
Repeat step #3 with your newfound ability to flash zips, add a kernel (I use Flash Kernel) and flash the newest official magisk beta the same way. NOTE: Check boxes for these shouldn't need to include "auto-mount" or "restore boot and recovery images"
DISABLE ever-root settings completely from the flash queue.
Click the red lightning button at the bottom left.
Give it up to 5 minutes to do its business.
Reboot and profit.
If that didn't make sense, watch my simple video!!
(there is one mistake in the video, on all other things than the OTA itself, DO NOT check the box for restoring stock boot and recovery)
NOTE: You are unable to flash recoveries through this method, I've tried it and so far no luck. We may be able to later when apps let us flash the boot partition properly but for now, it won't stick.
Credits:
Chainfire for his amazing flashfire app!
Team Pixel for their awesome phone.
XDA for all the years of being awesome.
topjohnwu for magisk badassery
If you should be credited, PM ME.
IMPORTANT NOTICE:
Magisk beta thread clearly states that currently (12/05/2017) Magisk 14.5 with official pixel support is only tested up to 8.0, NOT 8.1 yet. Due to this and the fact that aosp 8.1 is super duper new and most kernels likely don't have an 8.1 version, I'd recommend waiting till this post is updated to flash anything 8.1
UPDATE 12/29/2017: As of now flashfire works for some things on oreo, but Ill need to look into it after we get another Oreo update to see if it can be flashed from there, however this may become obsolete assuming you can just use magisk's new features to do updates the official way. (google it)
That's all, Folks!
If this helped you, SMASH that thanks button! Also, Please try to keep OT stuff to a minimum.
I'll be posting a video soon that shows the flashfire process in a little better detail. Posted it, in the instructions!!

Nice work man. Always nice seeing people share their processes.
Sent from my Pixel 2 XL using Tapatalk

I've done similar ota flash with Flashfire on other devices. Will try this on my Pixel XL 2 with the next ota! Kudos

This method should work to flash the DP2 OTA from november update right?

Triscuit said:
This method should work to flash the DP2 OTA from november update right?
Click to expand...
Click to collapse
As long as the update is a newer one than your current one, is NOT an 8.1 beta, and is a FULL Ota (as in, it's larger than 1gb file) then it should flash. Of note: these are NOT the factory images you find on a very close by page from Google, they have to be the OTA zips.

What do you need to do if you have TWRP installed already? Can you still use this method?

uofirob said:
What do you need to do if you have TWRP installed already? Can you still use this method?
Click to expand...
Click to collapse
From what I remember from my Nexus 6p, having TWRP or Stock recovery made no difference flashing the update in FlashFire. But if you want TWRP installed you'll have to flash it again after the OTA due to the OTA replacing it unless you chose "Restore boot and recovery" during the zip selection process. Eben then I am not 100% sure TWRP will remain.
Sent from my Pixel 2 XL using Tapatalk

Does the OTA with this method delete the userdata partition? Or does it keep personal data intact?

so the magisk "install to Second slot (After OTA)" doesnt work?

FlashFire has not been updated since the Pixel 2 was released. Is it really meant to work with the Pixel 2?

cb474 said:
FlashFire has not been updated since the Pixel 2 was released. Is it really meant to work with the Pixel 2?
Click to expand...
Click to collapse
This is what I'm thinking. I doubt this will work at all. Flashfire is finicky at best. Works great when it works. Has never been updated to work on our device.

rester555 said:
Does the OTA with this method delete the userdata partition? Or does it keep personal data intact?
Click to expand...
Click to collapse
Nope. It updates, just like the title says. No wiping your rear required. Just a clean plop.

JeffBea said:
This is what I'm thinking. I doubt this will work at all. Flashfire is finicky at best. Works great when it works. Has never been updated to work on our device.
Click to expand...
Click to collapse
It fully recognized my device as supported, and the update worked, I have tested it.

thomasamas said:
It fully recognized my device as supported, and the update worked, I have tested it.
Click to expand...
Click to collapse
I'll definitely try this then when December updated hits then. This was my preferred update method on my 6p.

JeffBea said:
I'll definitely try this then when December updated hits then. This was my preferred update method on my 6p.
Click to expand...
Click to collapse
Make sure to check for Magisk and your preferred kernel compatibility with the 8.1 update when it comes. Flashing Magisk when the OS doesn't yet work with it could cause some serious headaches, so check the Magisk thread. I'm sure you know what happens when you flash an incompatible kernel too....
In the case Magisk isn't compatible yet, you can always check for SUPERSU systemless compatibility, and do that instead of flashing Magisk.

linezero said:
so the magisk "install to Second slot (After OTA)" doesnt work?
Click to expand...
Click to collapse
This is what I would like to know as well

For those of us that were on the original pixel phone without a custom recovery, the blow method was always the fastest and easiest way to update without losing root. Anyone tried on the Dec update?
https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips

Just tried this method and worked flawlessly.. Thank you OP!
Sent from my Pixel 2 XL using Tapatalk

mrbracht said:
Just tried this method and worked flawlessly.. Thank you OP!
Sent from my Pixel 2 XL using Tapatalk
Click to expand...
Click to collapse
Did you use this process to upgrade to the release build of 8.1 (Dec update)?

Jexx11 said:
This is what I would like to know as well
Click to expand...
Click to collapse
As far as I know, Magisk 14.5 understands both partitions now, and will flash to BOTH a/b, if you check the script for it, that's what it does. If this isn't what you're looking for, please clarify!

Related

M8 Eye Recovery and Root

Hello everyone. Finally i found it. I want to help everyone who search along time this recovery.
This is twrp recovery for One M8 Eye. First please unlock bootloader via HTC DEV. Than ( fastboot flash recovery twrp-m8eye-2.8.0.3.img ) After that flash UPDATE-SuperSU-v2.46.zip ( http://download.chainfire.eu/supersu). Now you have root :good::good:
Thanks Iman Mark and Chainfire
Link: https://drive.google.com/file/d/0B71KxMi9guCSN0V5bU1DSUNaX2c/view?usp=sharing
Please don't forget thanks
This update supersu no longer works. I installed that twrp and did the process for that version of supersu and it said successful. Upon checking supersu, it says the binary files are missing. Then I installed the newer supersu verison through twrp, without deleting the old supersu and now the phone is stuck on htc boot screen. This may work for some, but DO NOT install another supersu over an old one without deleting it first. You WILL get stuck on boot.
Weisheit7 said:
Then I installed the newer supersu verison through twrp
Click to expand...
Click to collapse
"Newer" meaning what? Always be specific, otherwise we can only guess. For all we know, you flashed 2.47, which is "newer" than 2.46.
You should be using the latest stable version, which is currently 2.78, which you can obtain the zip from here: http://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
Try flashing this, and hopefully that works. I'm not certain, but as far as I know, you don't need to delete an old SuperSU app, in order for the proper updated one to work.
Also, a word of basic good practice when modding any Android device: Always make sure you are using the current updated methods according to your OS version.
The files in the OP are from July 15, 2015. That is well before Marshmallow existing. Root methods almost always need to be updated with each major OS version update. There is really no reason to have thought SuperSU from over a year ago would work on a current OS version device.
redpoint73 said:
"Newer" meaning what? Always be specific, otherwise we can only guess. For all we know, you flashed 2.47, which is "newer" than 2.46.
You should be using the latest stable version, which is currently 2.78, which you can obtain the zip from here: http://forum.xda-developers.com/apps/supersu/stable-2016-09-01supersu-v2-78-release-t3452703
Try flashing this, and hopefully that works. I'm not certain, but as far as I know, you don't need to delete an old SuperSU app, in order for the proper updated one to work.
Also, a word of basic good practice when modding any Android device: Always make sure you are using the current updated methods according to your OS version.
The files in the OP are from July 15, 2015. That is well before Marshmallow existing. Root methods almost always need to be updated with each major OS version update. There is really no reason to have thought SuperSU from over a year ago would work on a current OS version device.
Click to expand...
Click to collapse
You're right, and as of right now I have a different issue. I found a link for the Chinese ROM of the htc m8 eye and I successfully installed it. Now the device is on 4.4.4 rooted. I've tried to do the OTA update but each time in stock recovery it fails after about 20-25% and says "system/bin/reboot has unexpected contents" and fails every time. I have uninstalled supersu from the app itself, deleted all of the residual files and checked the phone for root. Root checker says it's not rooted.
How can I fix the OTA problem through stock recovery? I checked the /system/bin/reboot file and there's nothing there specifically that I can see is corrupted or changed. Is there any possibility that supersu has system permissions and is causing this error? If so, how do I fix the /reboot has unexpected contents problem? How can I delete supersu (su) from having system permissions over everything?
I cannot find a stock Chinese ROM for this device, only the rooted one. I'm at a loss here..
Weisheit7 said:
I've tried to do the OTA update but each time in stock recovery it fails after about 20-25% and says "system/bin/reboot has unexpected contents" and fails every time. I have uninstalled supersu from the app itself, deleted all of the residual files and checked the phone for root. Root checker says it's not rooted.
Click to expand...
Click to collapse
Unrooting in order to OTA doesn't work, you need the stock never rooted ROM.
redpoint73 said:
Unrooting in order to OTA doesn't work, you need the stock never rooted ROM.
Click to expand...
Click to collapse
I've read online that if you unroot it the OTA update should go through. It depends on how the root was done, correct? If root has (owner) permissions over system files, how can I put it back to stock? Are you aware of any HTC One M8 eye mels_tuhl stock rom China region? I've scoured the internet forever and cannot find one. If you need my getvar info I'll post it here and I appreciate any help you can potentially give me.
Weisheit7 said:
I've read online that if you unroot it the OTA update should go through.
Click to expand...
Click to collapse
I can't speak to what you read, if you are vague and don't reference any specific website.
What you read is not correct. Its been verified in the M8 forums many times (at least on the "regular" M8). The fact you unrooted, and the OTA doesn't work, also proved it.
Weisheit7 said:
It depends on how the root was done, correct?
Click to expand...
Click to collapse
Incorrect. I haven't seen any root method on the M8, which allows OTA updates after unrooting.
Weisheit7 said:
Are you aware of any HTC One M8 eye mels_tuhl stock rom China region?
Click to expand...
Click to collapse
Unfortunately, no.
redpoint73 said:
I can't speak to what you read, if you are vague and don't reference any specific website.
What you read is not correct. Its been verified in the M8 forums many times (at least on the "regular" M8). The fact you unrooted, and the OTA doesn't work, also proved it.
Incorrect. I haven't seen any root method on the M8, which allows OTA updates after unrooting.
Unfortunately, no.
Click to expand...
Click to collapse
Thanks for taking the time to reply. Since then I have corrected the problem. I downloaded a TWRP backup of Marshmallow from another user on here in a different thread, placed it into my TWRP backup folder, wiped system, internal storage, cache etc and then flashed the backup. Everything went well...marshmallow is on the phone and root is gone.
necaticetinkaya said:
Hello everyone. Finally i found it. I want to help everyone who search along time this recovery.
This is twrp recovery for One M8 Eye. First please unlock bootloader via HTC DEV. Than ( fastboot flash recovery twrp-m8eye-2.8.0.3.img ) After that flash UPDATE-SuperSU-v2.46.zip ( http://download.chainfire.eu/supersu). Now you have root :good::good:
Thanks Iman Mark and Chainfire
Link: https://drive.google.com/file/d/0B71KxMi9guCSN0V5bU1DSUNaX2c/view?usp=sharing
Please don't forget thanks
Click to expand...
Click to collapse
Can you provide another share of the file? The previous link has expired

OTA Update with systemless root

I just received a notification on my 6P saying that the january security update is available. The thing is that I'm rooted with systemless root, xposed, EX Kernel and TWRP. Can I update using the update button?
With systemless I believe you should be able to.
I just posted about this too....no one got back to me. I got the same message and have more or less the same setup as you. I'm scared to reboot and update lol
Pain-N-Panic said:
I just posted about this too....no one got back to me. I got the same message and have more or less the same setup as you. I'm scared to reboot and update lol
Click to expand...
Click to collapse
No.
If you have TWRP installed you will not be able to take an OTA.
Why bother?
Just flash what you want.
Ok, so if I reboot and my phone tries to install the OTA, what happens?
I have exact the same setup and tried to let the OTA install but in TWRP it aborted because of the mismatching kernel I think (at least it said it expected the generic device name Google angler etc and in stead it found Huawei nexus 6P Dees-troy etc)
So no harm is done when you try to update other than it doesn't work
But as far as I know when using xposed there's no use for systemless root because xposed is changing system partition
This update message won't go away. Can I flash it myself through TWRP with Xposed installed?
You cannot use twrp with an OTA. You need stock recovery. Also I believe that Xposed modifies /system and that in itself would prevent the OTA with stock recovery.
dratsablive said:
You cannot use twrp with an OTA. You need stock recovery. Also I believe that Xposed modifies /system and that in itself would prevent the OTA with stock recovery.
Click to expand...
Click to collapse
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
I used step 10 from this guide then re-flashed TWRP, Super Su, ElementalX and everything seems to be fine, no data loss.
Pain-N-Panic said:
Ok, so if I reboot and my phone tries to install the OTA, what happens?
Click to expand...
Click to collapse
Nothing happens. it'll just fail to flash the update. It'll reboot to twrp, attempt to flash the update, and it'll fail the flash. So it just won't flash. Then you'll just reboot the system and nothing will be changed. I think you can flash these minor changes, but if you try to flash a major update through OTA it won't work with out stock recovery because that's part of the flash I think
---------- Post added at 03:40 PM ---------- Previous post was at 03:38 PM ----------
regenwurm16 said:
I have exact the same setup and tried to let the OTA install but in TWRP it aborted because of the mismatching kernel I think (at least it said it expected the generic device name Google angler etc and in stead it found Huawei nexus 6P Dees-troy etc)
So no harm is done when you try to update other than it doesn't work
But as far as I know when using xposed there's no use for systemless root because xposed is changing system partition
Click to expand...
Click to collapse
It does not bored because of mismatched kernel. Because I tried flashing the stock kernel and then OTA and it still did not work
kirkgbolton said:
http://forum.xda-developers.com/nexus-6p/general/guides-how-to-guides-beginners-t3206928
I used step 10 from this guide then re-flashed TWRP, Super Su, ElementalX and everything seems to be fine, no data loss.
Click to expand...
Click to collapse
This. At this time it's the only fix. I did it as well. Never flashed a factory image via fastboot before so I was a little intimidated but Heisenberg's guide is so smooth and easy to follow I did it in about 5 minutes lol. Plus it was a great learning experience for me.
Is it likely that eventually TWRP flashable zips will make this process easier? Or is there some sort of restriction with these updates for Nexus phones that will always require fastboot?
Not sure. I do know that the above method only took me about 10 minutes. Yeah it sucks you have to utilize a PC to do it but its really not that bad. Maybe in the future someone will figure out how to implement the updates via flashable zip in recovery.
I struggle with this too. I really hope that someone will find a solution to flash it via .zip (sadly I'm more a programmer than an Android-hacker, otherwise I would try my very best right now ).
Just to point it out, it looks like the article you are referring to has been updated since it was linked. I wouldn't want to wipe userdata, so I think 11. How To Flash The Factory Images (Return To Stock But Leaving Internal Storage Intact) is what you were referring to at the time. Apologies for the resurrection.
I just used the FlashFire app to update my Nexus 6p with the February update and it worked like a charm.
http://nexus5.wonderhowto.com/how-t...thout-losing-root-no-computer-needed-0168428/

Update OTA with root and TWRP

I know theres treads out there but i feel like they are complicating things or old posts. I am currently rooted with TWRP and stock rom. I want to get rid of damn android update notification. I have the april patches and this is for the may patches. I tried downloading the incremental zip and flashing it in twrp but that didnt work. Can i sideload it with adb? Do I need to remove root before doing that?
ponzi314 said:
I know theres treads out there but i feel like they are complicating things or old posts. I am currently rooted with TWRP and stock rom. I want to get rid of damn android update notification. I have the april patches and this is for the may patches. I tried downloading the incremental zip and flashing it in twrp but that didnt work. Can i sideload it with adb? Do I need to remove root before doing that?
Click to expand...
Click to collapse
*EDITED*
I just faced a similar situation. I was still on the stock launch image (MDA89D), but rooted and using Xposed. I just never took the time before then to update to a newer build, but finally wanted to.
I was going to sideload the most recent OTA update manually via ADB. Then I realized that the Nexus Root Toolkit by WugFresh (link here) should work for that. I performed a nandroid backup, attempted to unroot via SuperSu (which failed), disabled my Xposed modules uninstalled Xposed, then used the Sideload OTA Update option in the toolkit's Advanced Utilities to install the latest OTA (downloaded from Google's site here).
I was a little doubtful that it would work for me on the first try, but it did! I re-rooted using the Toolkit, got things re-enabled, and it's all good.
Also, if you use Xposed, the GravityBox module allows you to suppress notifications, so you could get rid of the update one.
Best of luck getting updated!
ponzi314 said:
I know theres treads out there but i feel like they are complicating things or old posts. I am currently rooted with TWRP and stock rom. I want to get rid of damn android update notification. I have the april patches and this is for the may patches. I tried downloading the incremental zip and flashing it in twrp but that didnt work. Can i sideload it with adb? Do I need to remove root before doing that?
Click to expand...
Click to collapse
The best way to flash an OTA while your phone is rooted and has TWRP, is by installing it through the FlashFire app. Easy and extremely reliable.
Link: http://forum.xda-developers.com/general/paid-software/flashfire-t3075433
ponzi314 said:
I know theres treads out there but i feel like they are complicating things or old posts. I am currently rooted with TWRP and stock rom. I want to get rid of damn android update notification. I have the april patches and this is for the may patches. I tried downloading the incremental zip and flashing it in twrp but that didnt work. Can i sideload it with adb? Do I need to remove root before doing that?
Click to expand...
Click to collapse
You must do the following:
1. Return to complete stock - that means get rid of root and TWRP. Best way to do that is download the factory image from Google, extract the boot, recovery, and system images from the factory image, and Flash those, for example: fastboot flash recovery recovery.img Don't flash data.img so you can keep your data.
2. OTAs depend on stock recovery to load, so now that you're back to stock, you have 2 choices. You can simply boot your phone normally, wait for the notification for the update, install it, and you're done - or, you can access android's stock recovery and side load the OTA zip using ADB. Good luck
Sent from my Nexus 6P using Tapatalk
Gamer_Josh said:
*EDITED*
I just faced a similar situation. I was still on the stock launch image (MDA89D), but rooted and using Xposed. I just never took the time before then to update to a newer build, but finally wanted to.
I was going to sideload the most recent OTA update manually via ADB. Then I realized that the Nexus Root Toolkit by WugFresh (link here) should work for that. I performed a nandroid backup, attempted to unroot via SuperSu (which failed), disabled my Xposed modules uninstalled Xposed, then used the Sideload OTA Update option in the toolkit's Advanced Utilities to install the latest OTA (downloaded from Google's site here).
I was a little doubtful that it would work for me on the first try, but it did! I re-rooted using the Toolkit, got things re-enabled, and it's all good.
Also, if you use Xposed, the GravityBox module allows you to suppress notifications, so you could get rid of the update one.
Best of luck getting updated!
Click to expand...
Click to collapse
I forgot to mention that I also had TWRP recovery installed. The result was like it is with a normal OTA update, as none of my data/apps/settings were affected. Worked like a charm!
DJBhardwaj said:
The best way to flash an OTA while your phone is rooted and has TWRP, is by installing it through the FlashFire app. Easy and extremely reliable.
Link: http://forum.xda-developers.com/general/paid-software/flashfire-t3075433
Click to expand...
Click to collapse
I tried doing it via the app but it doesnt work. It says its installing then reboots and im still on same version. I used Default settings in the app.
ponzi314 said:
I tried doing it via the app but it doesnt work. It says its installing then reboots and im still on same version. I used Default settings in the app.
Click to expand...
Click to collapse
You are sure that you used the correct OTA file?
DJBhardwaj said:
You are sure that you used the correct OTA file?
Click to expand...
Click to collapse
Pretty Sure. My build is MHC19Q and i used the incremental zip from https://android.googleapis.com/packa...rom-MHC19Q.zip which i got from http://forum.xda-developers.com/showpost.php?p=63049054&postcount=3
ponzi314 said:
Pretty Sure. My build is MHC19Q and i used the incremental zip from https://android.googleapis.com/packa...rom-MHC19Q.zip which i got from http://forum.xda-developers.com/showpost.php?p=63049054&postcount=3
Click to expand...
Click to collapse
That's weird. It has worked for me everytime, and most users here.
DJBhardwaj said:
That's weird. It has worked for me everytime, and most users here.
Click to expand...
Click to collapse
I just download the monthly update and use fastboot without the wipe option and it does the incremental.
I've done this for the last three months, including this one.
Once you are rooted and have TWRP, just use fastboot for updates.
tech_head said:
I just download the monthly update and use fastboot without the wipe option and it does the incremental.
I've done this for the last three months, including this one.
Once you are rooted and have TWRP, just use fastboot for updates.
Click to expand...
Click to collapse
Sideloading the update, right?
DJBhardwaj said:
Sideloading the update, right?
Click to expand...
Click to collapse
I guess you can call it that.
The bottom line is, once you root or install TWRP; the only reliable method is some sort of flash.
If you rooted the phone manually and didn't use some one click tool, then this should be easy.
I shy away from the one click tool because if the tool is not updated or becomes unsupported, what then.
tech_head said:
I guess you can call it that.
The bottom line is, once you root or install TWRP; the only reliable method is some sort of flash.
If you rooted the phone manually and didn't use some one click tool, then this should be easy.
I shy away from the one click tool because if the tool is not updated or becomes unsupported, what then.
Click to expand...
Click to collapse
I also avoid using any toolkits. Yes I know they are fast and easy, and of course someone's hardwork. But I like to everything manual, same as you. :highfive:
I usually like to do things like that manually, because I like to know how things work. But I was under a bit of a time crunch at that point, so decided to try the Nexus Root Toolkit. Though I do understand the procedure of sideloading OTA updates via ADB, from researching and reading on the forums here.
Anywho, I hope you are able to get it going OP.
The OTA fixed it for me, thank you so much!

Supersu abort on 7.1.1

Has anyone had any issues trying to flash the latest supersu beta on 7.1.1? I get an abort message whenever I flash
Guitarboarder28 said:
Has anyone had any issues trying to flash the latest supersu beta on 7.1.1? I get an abort message whenever I flash
Click to expand...
Click to collapse
Chainfire has stated before that root with SuperSU on 7.1 may be a while, that he's working on it but a lot has changed (at least I read this all from him on a Pixel related thread...I assume much of it holds true for 7.1 in general).
ohlin5 said:
Chainfire has stated before that root with SuperSU on 7.1 may be a while, that he's working on it but a lot has changed (at least I read this all from him on a Pixel related thread...I assume much of it holds true for 7.1 in general).
Click to expand...
Click to collapse
Oh thanks. I've seen others talk about rooting on 7.1 no problem. I'll have to do more digging I guess
I rooted the 7.1 DP 1 With supersu SR1-v2.78.
No issues at all (even A.R.I.S.E. worked after deleting audio_effects.conf)
Mgrev said:
I rooted the 7.1 DP 1 With supersu SR1-v2.78.
No issues at all (even A.R.I.S.E. worked after deleting audio_effects.conf)
Click to expand...
Click to collapse
Did you root after flashing the ota or full image? I've been trying sr1 and for whatever reason after the ramdisk patch script it fails.
Guitarboarder28 said:
Did you root after flashing the ota or full image? I've been trying sr1 and for whatever reason after the ramdisk patch script it fails.
Click to expand...
Click to collapse
I used Fastboot and flashed every image manually (so that i wouldn't loose data). I used twrp 3.0.2-2 fyi. What about you?
Mgrev said:
I used Fastboot and flashed every image manually (so that i wouldn't loose data). I used twrp 3.0.2-2 fyi. What about you?
Click to expand...
Click to collapse
I was trying after flashing the ota. I even tried the full image without wiping (same version of twrp as you). Something must have just gotten messed up flashing the ota though. I gave up and did a full flash with wipe and sr1 flashed no problem. Thanks for trying to help me out though, I appreciate it
Edit: worded better. @Mgrev no hate was meant, thanks for trying to help me out!
Guitarboarder28 said:
you sound like you need a hug!
Oh thanks. I've seen others talk about rooting on 7.1 no problem. I'll have to do more digging I guess
Click to expand...
Click to collapse
Interesting...maybe he was exclusively referring to the new Pixel partition structure, etc...Not sure. Good luck
I was able to flash SuperSU R1 from TWRP and it worked, but when I added SUHIDE it hangs at boot animation. I flashed the factory image file by file, and not the OTA.
ohlin5 said:
Interesting...maybe he was exclusively referring to the new Pixel partition structure, etc...Not sure. Good luck
Click to expand...
Click to collapse
Yes that's my guess too I'm assuming he's talking about the pixel and it's new partitions
dratsablive said:
I was able to flash SuperSU R1 from TWRP and it worked, but when I added SUHIDE it hangs at boot animation. I flashed the factory image file by file, and not the OTA.
Click to expand...
Click to collapse
oh thanks for the heads up. Who knows if we'll ever see an updated suhide with safetynet checking the bootloader it may never be possible to pass safety net anymore
Guitarboarder28 said:
Yes that's my guess too I'm assuming he's talking about the pixel and it's new partitions
oh thanks for the heads up. Who knows if we'll ever see an updated suhide with safetynet checking the bootloader it may never be possible to pass safety net anymore
Click to expand...
Click to collapse
Well not worried about passing safetynet, since I can do without Android Pay, just want to hide root to play PoGo.
dratsablive said:
Well not worried about passing safetynet, since I can do without Android Pay, just want to hide root to play PoGo.
Click to expand...
Click to collapse
Oh is it no longer using safetynet? There's a new hide method with magisk V8 maybe that'll work
Guitarboarder28 said:
Oh is it no longer using safetynet? There's a new hide method with magisk V8 maybe that'll work
Click to expand...
Click to collapse
Well my bootloader is unlocked, but having suhide installed on the developer preview causes a boot hang. Will have to try the other method out. Thanks.
Guitarboarder28 said:
I was trying after flashing the ota. I even tried the full image without wiping (same version of twrp as you). Something must have just gotten messed up flashing the ota though. I gave up and did a full flash with wipe and sr1 flashed no problem. Thanks for trying to help me out though, I appreciate it
Edit: worded better. @Mgrev no hate was meant, thanks for trying to help me out!
Click to expand...
Click to collapse
I didn't think you meant to express hate either!
I seemed to forget to mention that i backed up my data with titanium backup, flashed, then wiped, and then restored it. So in the end, you probably need to wipe (just like you did)
dratsablive said:
Well my bootloader is unlocked, but having suhide installed on the developer preview causes a boot hang. Will have to try the other method out. Thanks.
Click to expand...
Click to collapse
Magisk hide just hides Magisk itself... it doesn't do anything for root. As for PoGo, right now the only way to do that on 7.1.1 is to NOT be rooted.
Once the kernel sources for the 7.1.1 are released, this patch will make its way onto custom kernels, which means you'll still be able to edit /system while rooted, unroot, and keep the changes via the patched kernel, as well as bypassing the SafetyNet bootloader check.
A kernel does exist now with that patch (francokernel), but it is based on the 7.0 kernel sources, so some things are broken if used on 7.1.1.
In re: to the superSU ramdisk install failure, this will happen if there are old files left over in /data from a previous magisk install and/or patched boot images. The SuperSU installer script will detect those and step into code branches that it doesn't need to be in, and thus fail. The solution is deleting the offending files from TWRP w/ adb, and installing SuperSU zip again.
/thread
Thread cleaned a bit, please stay on topic.
Have a good day!
Forum moderator,
Matt
Works fine for me flashed 7.1.1 OTA then flashed SuperSU zip

Root working

I just wanted to say that root is possible with the magisk/patch boot.img method. I am currently running the latest Oct. 011.C4 image with root. Titanium Backup is restoring as we speak...
dethknite said:
I just wanted to say that root is possible with the magisk/patch boot.img method. I am currently running the latest Oct. 011.C1 image with root. Titanium Backup is restoring as we speak...
Click to expand...
Click to collapse
Mind sharing your extracted boot.img?
dethknite said:
I just wanted to say that root is possible with the magisk/patch boot.img method. I am currently running the latest Oct. 011.C1 image with root. Titanium Backup is restoring as we speak...
Click to expand...
Click to collapse
I can confirm, root working on my Pixel 4. Used the same method as with the Pixel 3 on Android 10, Magisk patched the boot img, then fastboot flash. I used the canary channel of magisk.
(Link for the factory images)
https://developers.google.com/android/images
---------- Post added at 09:14 PM ---------- Previous post was at 09:03 PM ----------
Shponglized said:
Mind sharing your extracted boot.img?
Click to expand...
Click to collapse
PM sent.
dethknite said:
I just wanted to say that root is possible with the magisk/patch boot.img method. I am currently running the latest Oct. 011.C1 image with root. Titanium Backup is restoring as we speak...
Click to expand...
Click to collapse
Have you got any magisk modules working? If so, which ones?
I tried to root my Pixel 4 using the Pixel 3 method but no luck. Pulled the boot.img from "10.0.0 (QD1A.190821.011.C4, Oct 2019)" for "flame" for Pixel 4. I used the Canary Magisk Manager and patched the boot imaged.
Got this error when trying to flash from ABD.
FAIL (remote: Failed to write to partition Not Found)
Anyone one else successful?
inclusive said:
I tried to root my Pixel 4 using the Pixel 3 method but no luck. Pulled the boot.img from "10.0.0 (QD1A.190821.011.C4, Oct 2019)" for "flame" for Pixel 4. I used the Canary Magisk Manager and patched the boot imaged.
Got this error when trying to flash from ABD.
FAIL (remote: Failed to write to partition Not Found)
Anyone one else successful?
Click to expand...
Click to collapse
You have to flash with fastboot, not adb
Sent from my Pixel 4 using Tapatalk
ajrty33 said:
You have to flash with fastboot, not adb
Sent from my Pixel 4 using Tapatalk
Click to expand...
Click to collapse
I was using ABD with fastboot but was getting that error. Redownloaded to a newer version and was able to root successfully. Now, just to get adaway to work. Thank you
How do I know which system image I should download?
Thanks dude! I just succeed to root my Pixel 4, too!
marc.ientilucci said:
How do I know which system image I should download?
Click to expand...
Click to collapse
Check your current build number under About Phone.
Oh yes..... Best news I've heard so far today.
I'm doing this right now!
cntryby429 said:
Check your current build number under About Phone.
Click to expand...
Click to collapse
What about for future updates?
marc.ientilucci said:
What about for future updates?
Click to expand...
Click to collapse
I'm not entirely sure. I came from the Pixel 2 and, as I recall, anytime there were multiple releases of a monthly patch they would have one generic image and one or more labeled for specific carriers. For example:
9.0.0 (PPR1.180610.009, Aug 2018)
9.0.0 (PPR1.180610.011, Aug 2018, Telstra)
I wonder if this will get corrected or if future patches will be named more clearly.
marc.ientilucci said:
How do I know which system image I should download?
Click to expand...
Click to collapse
I recommend flashing the updated Oct. image (without -w) and then subsequently using its boot image... that is what I am on.
10.0.0 (QD1A.190821.011.C4, Oct 2019)
KHANrad_SIN said:
Have you got any magisk modules working? If so, which ones?
Click to expand...
Click to collapse
I have several modules running--all of the same as my P3 (except edxposed). Even have Viper4Android running using the same AML hack for Android 10.
Noob question, but if I unlock the bootloader and root the device. Do I still get the lastest updates from google?
Vedrick said:
Noob question, but if I unlock the bootloader and root the device. Do I still get the lastest updates from google?
Click to expand...
Click to collapse
Yes. An unlocked bootloader itself won't break OTAs. Being rooted (requiring an unlocked bootloader) requires re-rooting after an OTA since the boot.img is overwritten. Having a custom recovery (not yet available for the Pixel 4) will preclude you from taking an OTA (from within the os, see below).
You can always flash the flashall.bat from the system image using fastboot for a clean install or an edited version of flashall.bat (removing the "-w") to effectively OTA and preserve your data.
what does it exactly mean to patch the bootimage, i want to root my phone because there a few google apps that I really have no need for. Especially considering the limited space on my 64gb model, wanna get rid of all the crap
KHANrad_SIN said:
Have you got any magisk modules working? If so, which ones?
Click to expand...
Click to collapse
KHANrad_SIN said:
Have you got any magisk modules working? If so, which ones?
Click to expand...
Click to collapse
For anyone who is curious, I went ahead and tried some modules myself. I'll list the ones I tried and whether they worked or not.
Viper4Android FX (working)
- so I got this to work, but in order to do so I believe you need to also install AML (Audio Modification Library) and reboot a few times after opening the V4A app and installing the driver, I don't know the exact method I just played around with it until it worked.
Ainur Sauron (working)
- I installed this along with V4A and it seems to be working
AML (Audio modification Library) (working)
- This needs to be installed in order to allow Ainur Sauron and V4A to work in conjunction
- It also needs to be installed for V4A to work in general on Android 10
Youtube Vanced (not the black themed one) (working)
- this was also kind of finicky, I had to install the module, then reboot, go to the settings app --> apps & notifications --> see all apps --> youtube --> disable/uninstall --> re-enable it, then reboot, then uninstall the youtube vanced module, reboot again, then go back to settings and uninstall the youtube app, now finally reinstall the youtube vanced module and reboot
- not entirely sure if all these steps need to be done to get it to work but that's what I did
Active Edge Mod for Pixel devices (was not working before, but is now currently working)
- the official changelog says support was added for the Pixel 4 XL so I figured I would give it a shot out of curiosity
- I tried it and it soft bricked my pixel 4, it got stuck on the "pixel is starting" animation and then I tried to reboot but every time it did it would just go to a black screen after the G logo
- Even doing a clean flash of the factory image didn't get rid of it
- I manged to fix it by relocking and then unlocking the bootloader again
- I have provided the developer with the necessary files to support our devices though and he said he is working on it
- UPDATE: As of October 25th 4:31AM PST he has now updated the module to be compatible with the smaller Pixel 4 and I can confirm it is working
Substratum Lite (some working)
- I only installed the Swift Dark substratum theme
- I also only tried it on a few apps like instagram, snapchat, maps, google play music, and google home
- I have not tried it on the other apps/elements like system UI or any other app so I can't really confirm if those work or not, but I can at least say some apps can be overlayed
Remember YMMV, and I am not responsible for your device getting bricked lol
ahsank128 said:
what does it exactly mean to patch the bootimage, i want to root my phone because there a few google apps that I really have no need for. Especially considering the limited space on my 64gb model, wanna get rid of all the crap
Click to expand...
Click to collapse
Magisk is the current root method. You download Magisk Manager and from within its UI you provide it the stock boot.img and it'll spit out a patched version that you can then flash to the boot partition using fastboot.
Magisk Manager + flashing the Magisk-patched boot.img = root access

Categories

Resources