yashsingh1/xdaforums huggingface dataset:
[Google Pixel 5 Guides, News, & Discussion] Raz0Rfail:
I think next Monday the new factory images (with december Android security patch) will be available from google.

You have to follow my second post, to install it, get magisk and safetynet as well:

https://xdaforums.com/t/tutorial-un...ot-and-valid-safetynet.4178673/#post-83743275

I myself have already switched to PROTON ROM and am waiting there for the update with December Security Patch.

But this will be very exciting, because XDA has completely changed everything here and the ROM thread is completely empty.

The advantage concerning the ROM is that Securitynet is already patched in the core, so I don't have to do it myself and there are some optical gimmicks like a half transparent notification interface.

Normally the rom url would be this one:

https://xdaforums.com/pixel-5/development/rom-protonaosp-t4188129/

if you are interested, check this out:

Releases · ProtonAOSP/android_device_google_redbull

Contribute to ProtonAOSP/android_device_google_redbull development by creating an account on GitHub.

github.com

Youtube Link which describes install process:
[Google Pixel 5 Guides, News, & Discussion] skytbest:
With this method of rooting is there no factory restore or loading of a new factory image necessary? I've seen a few other threads mentioning a full factory reset being required to root. Looking through the steps here it doesn't appear to be necessary.

Will this method of root allow for OTA updates as well, or would that break the root?
[Google Pixel 5 Guides, News, & Discussion] LeoPosas:
You can flash ota sideload to update, but you must have to do the whole process for rooting, grab de boot.img and patch with magisk, then flash it.
[Google Pixel 5 Guides, News, & Discussion] Sh0X31:
Can I use pixel 4a or 4a 5g for fingerprint
[Google Pixel 5 Guides, News, & Discussion] j0nnyd:
Using the 4a or 4a 5G fingerprint would still make you fail SafteyNet. People use the 3a because that was the last Pixel device that didn't have the hardware that trips SafteyNet.
[Google Pixel 5 Guides, News, & Discussion] KHANrad_SIN:
Does setting the "fingerprint" of the phone to Pixel 3a have any disadvantages? Like will it affect other things like app updates etc.?
[Google Pixel 5 Guides, News, & Discussion] srqrob:
I've been rooting Android phones for quite a few years but I'm beginning to wonder if it's still worthwhile.
[Google Pixel 5 Guides, News, & Discussion] digger16309:
Please forgive my ignorance. I rooted and updated for many years on OnePlus phones and made use of TWRP. I'm not concerned with passing Safetynet at this time, just having root without wiping my data.

It seems like there are a number of update possibilities, Full Image, OTA, etc... I'm confused as to when I reboot, or don't reboot, if I should uninstall Magisk first or not? Can I take an OTA update over a rooted device? I know I have to re-root after, but I'm not clear if I have to uninstall Magisk first?
[Google Pixel 5 Guides, News, & Discussion] motes:
In the december update, when i flash the patched boot image the phone get's stoned at G logo with animated bar, it never boots... I try to patch afew times but nothing... Any clue what can be??
[Google Pixel 5 Guides, News, & Discussion] Raz0Rfail:
You have used the latest canary build from magisk manager to create a patched boot image ?

https://raw.githubusercontent.com/topjohnwu/magisk_files/canary/app-debug.apk

If not you have to patch the original boot image on a other device, in an Android vm, or other xda members can patch it for you.

If you used the latest canary build to create the boot image, the best thing you can do to create an issue at the github page. Topjohnwu answer most in a hour.

Issues · topjohnwu/Magisk

The Magic Mask for Android. Contribute to topjohnwu/Magisk development by creating an account on GitHub.

github.com

Sorry can't help you much, because I stuck on proton aosp rom and won't go back to stock pixel rom and could be in the same situation as you.
[Google Pixel 5 Guides, News, & Discussion] motes:
Fixed flashing original boot, entering in safe mode flash patched boot, boot on safety mode and then reboot👌👌
[Google Pixel 5 Guides, News, & Discussion] cheptii:
Just follow this tutorial to update and keep root:
[Google Pixel 5 Guides, News, & Discussion] digger16309:
This is to upgrade from A10 to A11. It seems unnecessarily complex for an A11 OTA update?
[Google Pixel 5 Guides, News, & Discussion] digger16309:
When I first rooted my Pixel, I wasn't on Magisk Canary. I was on MM 8.03, v21.1 beta. Is Canary necessary now, or is beta fine to use?
[Google Pixel 5 Guides, News, & Discussion] Raz0Rfail:
At the moment you have to use the magisk manager canary builds, which currently only supports Android 11. I don't know when beta release or stable release will support android 11 boot images.
[Google Pixel 5 Guides, News, & Discussion] digger16309:
v21.1 is beta, is on my device working well, and I rooted A11 Nov update boot.img with it.
[Google Pixel 5 Guides, News, & Discussion] mordof:
Do you have any solution how to update my rooted device for Dec Ota?
[Google Pixel 5 Guides, News, & Discussion] cheptii:
Well, if you don't want to wait for the OTA update and install it manually, I'm pretty sure this is the only way to do it
[Google Pixel 5 Guides, News, & Discussion] digger16309:
I don't understand. The video you posted was an extensive procedure for upgrading from A10 to A11, keeping root, etc... Great, but the P5 came with A11 and all we're doing is updating, right? Why all of those steps just to flash a same OS version update?
[Google Pixel 5 Guides, News, & Discussion] cheptii:
Bro its always the same procedure to update (no matter whether A10 or A11)
[Google Pixel 5 Guides, News, & Discussion] digger16309:
Sorry Bro, you should watch the video you posted. That is not the procedure for a simple update. If people follow that video they are doing way more than is necessary.
[Google Pixel 5 Guides, News, & Discussion] MonztA2:
I was wondering the same.
[Google Pixel 5 Guides, News, & Discussion] donlu30:
Great answer on another thread. Check the rooting guide post #34. https://xdaforums.com/t/guide-root-pixel-5-xl-android-11-r.4187609/post-84023711
[Google Pixel 5 Guides, News, & Discussion] soCram:
I have followed exactly the tutorial. However, I ended up with the following error (phone is unlocked - however, unlocked_critical did not work and my boot partition seems still locked).

Is there any chance to unlock the boot partition to flash magisk? It's definitely the correct rom I downloaded from Google.

fastboot flash boot magisk_patched.img

target reported max download size of 268435456 bytes

sending 'boota' (98304 KB)...

OKAY [ 0.374s]

writing 'boota'...

FAILED (remote: Not allowed to flash (boota))
[Google Pixel 5 Guides, News, & Discussion] Ducter:
If you're indeed certain you've unlocked the bootloader, it shows unlocked in red now you can try fastboot flashing unlock_critical and see what you get. I've not run across that issue before. Also, I followed this guide.

Mainly just because I found it less confusing, not saying the one posted here doesn't work.
[Google Pixel 5 Guides, News, & Discussion] soCram:
Thank you very much for your fast reply. Yes, the bootloader is indeed unlocked and it tells me so in fastboot mode. Of course, I also tried fastboot flash unlock_critical before posting here. Unfortunately, this also fails:

fastboot flashing unlock_critical

FAILED (remote: 'Invalid argument unlock_critical')

fastboot: error: Command failed

And I also followed exactly the instructions in the link you provided.
[Google Pixel 5 Guides, News, & Discussion] digger16309:
@soCram - Are you using the most up to date, SDK tools? Old versions sometimes don't work on A11 bootloaders.
[Google Pixel 5 Guides, News, & Discussion] soCram:
Oh my god, thank you so much. How stupid of me :-( I just downloaded the current tools from here: https://dl.google.com/android/repository/platform-tools_r30.0.5-windows.zip

Thanks a lot for your support. It was obviously too late yesterday, otherwise I would have read that this is an outdated version: https://xdaforums.com/t/official-to...vers-15-seconds-adb-installer-v1-4-3.2588979/
[Google Pixel 5 Guides, News, & Discussion] digger16309:
Happy to help. Usually it's me in the ditch looking for answers, and I think that very thing happened to me on my Pixel 4a.
[Google Pixel 5 Guides, News, & Discussion] Neuken6969:
My Pixel 5 should be here in 2 days. How do i know if i have Pixel 5 without the KDDI Version, or not? and what is VDDI?
[Google Pixel 5 Guides, News, & Discussion] Ducter:
KDDI is a network provider in Japan. I'll assume VDDI is a typo and not proof reading what you typed... If not, I have no idea.
[Google Pixel 5 Guides, News, & Discussion] Neuken6969:
Ok cool, i was just making sure and checking all boxes so i am ready when my P5 gets here and im ready to root.
[Google Pixel 5 Guides, News, & Discussion] leveleyed:
How do I find the "Terminal" app specifically? I downloaded and installed one called "Terminal Emulator", but when I opened it and typed in "adb shell" it shows "adb: inaccessible or not found".

Can you please give more details on these two steps? I also don't understand what you mean by "the following commands are for both ways". What exactly is the other way besides installing/using the Terminal app?

Can you please add a link for the specific "Terminal" app I should be using? And if I'm not using that, how do I enter the adb shell command after activating USB debugging?

EDIT: I took a guess, and connected my phone to my MacBook Pro via USB after enabling USB debugging, opened Terminal app on my Mac, navigated to the directory where I have adb installed, and typed in "adb shell". Looks like I guessed correctly! And I suppose in step #13 by "both ways" you just meant 'whether you are using a Terminal app on the phone (I would still like to know which one you used that allowed you to enter adb commands on the device, since the one I tried didn't seem to work) or via USB connection on your PC.

Thank you for a great tutorial! I'm all rooted and ready to roll now. :)
[Google Pixel 5 Guides, News, & Discussion] Raz0Rfail:
You only need to use the adb commands on your PC / Mac. On your P5, you skip these adb commands and enter the terminal commands directly.

adb is only for connecting to the internal Android terminal.

So you have done everything right.
[Google Pixel 5 Guides, News, & Discussion] Az Biker:
If anyone is still uncertain about "update" procedures, I've followed this method twice now with no issues at all, kept all my data, including the Elemental X kernel.

Follow the standard update factory image routine for the Pixel series of devices:

After extracting the primary factory zip, and the secondary zip that is created from the first extraction (all done within the platform tools folder with the fastboot app)

Edit the FLASH-ALL file.... keep the -w for a clean install that wipes everything, or remove the -w to keep your data.

This will install the latest factory image and remove root.

Follow these steps here, they're perfect.

If you were previously rooted, and just updating the next factory image, you can skip the entire sections on installing and hiding magisk manager, etc.

And you're done.

As far as being able to cut out all these steps by just extracting the boot.img from the latest factory image, I don't think that will work since the current factory image on your device is the previous month's image, and the boot.img file you just patched is for the new factory image.

I believe it is necessary to redo ALL the steps. (but I have been wrong before, just ask my wife)

Hopefully this helps clear up any potentially lingering questions on the updating process after the initial unlock, and root in the OP.

Cheers!
[Google Pixel 5 Guides, News, & Discussion] leveleyed:
Aha! Good to know. Thanks!

So is there a specific Terminal app that is known to be stable/well-maintained, or that is a solid choice for those of us on OS11? I saw a message starting Terminal Emulator that it was built for an older version of Android OS, so concerned there could be some issues using that one.

Not noticing I had a reply here (must be something wrong with my email/notification settings), I ended up fumbling around and figuring it out on my own.

For posterity, or in case this might help anyone else, I installed WiFi ADB on my P5 to set up the connection, and the Remote ADB Shell terminal app on a OnePlus 8 Pro (which I'll soon be returning). Then I just enabled the ADB over WiFi developer setting, toggled on WiFi ADB in the app, connected to the IP of the P5 from the OP8P, and sent the su and prop commands. W00t! All rooted and passing SafetyNet now, and didn't need to use the desktop or a USB cable! :D🥳🎉

And yeah, I know some here might think I'm crazy considering the higher-spec of various features of the OP8P. But the Oxygen OS was just far too much of a change for me after so many years of building muscle memory using stock/AOSP OS (all the way back to Nexus 4, before Google was even making the hardware).

Also, the Oxygen launcher wasn't compatible to receive the Pixel launcher data from my P2, or to send its home screen layout to the P5, and I utterly loathe needing to redo all of my home screen layouts. Beyond that, in the few week's I've owned it, I've encountered a number of other problems/bugs/compatibility issues that just made it not worth the trouble and extra cost.

Thanks again for the info/help!
[Google Pixel 5 Guides, News, & Discussion] Sh0X31:
Safetynet always passed but now it doesn't. I update the magisk hide module and still doesn't pass :(
[Google Pixel 5 Guides, News, & Discussion] Ahmad Taha:
Hi ALL,

any chance that anyone rooted the Pixel 5 or pixel4a 5G then get the NSG working?

the device i have is rooted correctly and checked by (Root checker) however the Diag port is silent and not producing any log, need to get the NSG working...

please help !

Thanks
[Google Pixel 5 Guides, News, & Discussion] jwedda:
I have root via Magisk, and I can pass Safetynet, tested via Safetynet Test app on the playstore.

The strange thing is that my banking app ( Rabobank) works ok after I reboot my phone, but after a little while >10 mins, it won't open up properly anymore. A reboot takes care of that again.

I really have no clue on how to solve this issue
[Google Pixel 5 Guides, News, & Discussion] cescman:
Are you using magisk hide?
[Google Pixel 5 Guides, News, & Discussion] jwedda:
I am using Magisk Hide, renamed the app, all apps requiring root work as advertised, and according to the tests safetynet passes as well..

And now I just received a notification that Revolut won't work on rooted devices..

I guess I'll start all over again.
[Google Pixel 5 Guides, News, & Discussion] hamooz92:
Thanks for the instructions. I was able to re-root the device for the latest update , but I couldn't pass SafetyNet Attestation.

My P5 has updated to: 11.0.0 (RQ1A.210105.003, Jan 2021)

I used MagiskHide Props Config (updated) method. which is:

#su

#props

#1 (edit device fingerprint)

#f (Pick a certified finger print)

#7 (google)

#20 (pixel 3a)

#3 (Android version 11)

#y (restart)

The devices rebooted but still, no SafetyNet pass.
[Google Pixel 5 Guides, News, & Discussion] Golf c:
As of January 12 that no longer works or is necessary for your device. You will have to flash this fix in this thread to pass safetynet.

https://xdaforums.com/t/magisk-module-universal-safetynet-fix-1-1-0.4217823/
[Google Pixel 5 Guides, News, & Discussion] hamooz92:
I have also flashed Universal SafetyNet Fix but no luck
[Google Pixel 5 Guides, News, & Discussion] l7777:
What fails? ctsProfile or basicintegrity? What other modules do you have installed?
[Google Pixel 5 Guides, News, & Discussion] Golf c:
Get rid of Magisk props. I'm on Pixel 5. Unfortunately, you will still be a 3a. Until you clean flash.
[Google Pixel 5 Guides, News, & Discussion] hamooz92:
basicintegrity ☑

ctsProfile 🛇

Only Universal SafetyNet Fix module is installed

Update: SafteyNet Pass! Thanks
[Google Pixel 5 Guides, News, & Discussion] hamooz92:
I did get rid of Magisk props, and all other modules, and I've re-installed Universal SafetyNet Fix, and finally, SafetyNet passed!

Thanks!!
[Google Pixel 5 Guides, News, & Discussion] Golf c:
Weird. Did you reboot and check Magisk hide in settings?
[Google Pixel 5 Guides, News, & Discussion] hamooz92:
Problem solved! Thanks

So my posts above
[Google Pixel 5 Guides, News, & Discussion] tjustice86:
Anyone able to help? I tried flashing the patched img and now all I get is a bootloop. I can't even get into recovery mode. I tried the factory images flash all from google too. Any help would be greatly appreciated.

Edit: Nevermind, just needed updated fastboot
[Google Pixel 5 Guides, News, & Discussion] Elyey:
Hello everyone

1) Sorry, manual from message #1 is wrong?

I enter:

#su

#props

#2, and it's mistake. I made screenshots, #1 and #2.

Should I take the instruction from message #225? And enter: "1, f, 7, 20, 3, y" ?

2) The second strange moment.

I check SafetyNet test

without

this MagiskHide Props settings. As Pixel 5 device. I made screenshots, #3 and #4.

It's not normal?

I follow for manual from message #1, installed universal safetynet patch, reboot and it's all.
[Google Pixel 5 Guides, News, & Discussion] unibombz:
Hello,

As I am looking to get the P5, what is the KDDI variant?

Keep in mind I only want to unlock the boot loader and be able to install TWRP for backup purposes. At this time I do not want to root (though I would love to) it is a work phone and will be on a MDM back end, which normally can detect rooted devices --

I ponder If I do root the device if I can do magisk hide and use it without detection on the MDM system.

Thoughts?

I am open to suggestions.

Thanks all
[Google Pixel 5 Guides, News, & Discussion] l7777:
Unlocked bootloader will trigger safetynet and fail a lot of security checks. Only way around it is to go all in with magisk or not at all.
[Google Pixel 5 Guides, News, & Discussion] unibombz:
I see, makes sense, and good to know. It requires magisk canery, so I need to make my own patched image for my specific device, correct?
[Google Pixel 5 Guides, News, & Discussion] hanni2301:
yes, beta works fine as well
[Google Pixel 5 Guides, News, & Discussion] l7777:
The patching process is the same regardless of Magisk version. It sounds like the code for the Pixel 5 has been merged to Beta as well as Canary.
[Google Pixel 5 Guides, News, & Discussion] unibombz:
Hm interesting.

So basically the OP (which is really well done) is the best method to follow?

I need to find out what the KDDI variant is and what it is referring to.

Also need to be 100% sure I can pass safetynet before proceeding.

Thank you kindly for the follow ups
[Google Pixel 5 Guides, News, & Discussion] l7777:
I believe KDDI is a cell carrier in Japan. Assuming you are in the US, just buy from Google and don't select the Verizon variant or bootloader unlock and root become a moot point as they are not possible. There are no permanent effects of bootloader unlock & root. You can simply restore the factory images and lock the bootloader to go back to normal but each change in bootloader state will wipe the device for security.
[Google Pixel 5 Guides, News, & Discussion] unibombz:
OK thanks.

nope in .ca

nope work is getting me the phone, I choose the model.

Guess we will see when the device lands in my hands.

Also good to know you can restore to stock and lock the BL again.
[Google Pixel 5 Guides, News, & Discussion] unibombz:
Hello I followed the guide and don't have the #2 option 'Force BASIC key attensation"

on props on my phone. Anyone know why?

However, when I check magisk safetynet everything looks good, without completing the above process

2 + Enter 'Force BASIC key attensation" (which isn't available on my device)

d + Enter

7 + Enter

20 + Enter

y + Enter

y + Enter
[Google Pixel 5 Guides, News, & Discussion] Raz0Rfail:
Could be possible they have removed 'Force BASIC key attensation" inside the props module.

But yeah you only need the universal safetynet fix zip file and your fine.

I update the Post :)
[Google Pixel 5 Guides, News, & Discussion] unibombz:
Awesome thanks.

Thank you to everyone here as well for the wonderful detail, much appreciated!
[Google Pixel 5 Guides, News, & Discussion] l7777:
The instructions are outdated. Altering the model property with Magisk Hide Props is no longer needed and also no longer works to flip safetynet back to software attestation.
[Google Pixel 5 Guides, News, & Discussion] unibombz:
Interesting and good to know.

so you're saying the props install step is not needed at all

Just use Magisk Hide and toggle all the 'google hooks' on and good to go?
[Google Pixel 5 Guides, News, & Discussion] l7777:
and the safetynet fix module.
[Google Pixel 5 Guides, News, & Discussion] endyfrs:
I feel like I have a very dumb question. I'm trying to unlock my P5 but can't get past the first step. I enabled OEM Unlocking in dev options, and USB Debugging. I open the command prompt in the platform tools directory, try to do the "fastboot devices" command, I get nothing. I've tried multiple USB C-C cables, and A-C cables in different ports. It shows up just fine in Windows, but while in fastboot it seems like I can't do anything.

Edit: Used this, ran fastboot from here:

[OFFICIAL][TOOL][WINDOWS] ADB, Fastboot and Drivers - 15 seconds ADB Installer v1.4.3 | XDA Developers Forums (xda-developers.com)
[Google Pixel 5 Guides, News, & Discussion] Az Biker:
Make sure you are unzipping the original zip AND the new zip it creates when unzipped. If you're in the second zip properly, you'll see the fastboot application file. Go to the URL field and type CMD and hit enter.

Try following the Pixel 5 guide linked in my sig.

It's pretty thorough.
[Google Pixel 5 Guides, News, & Discussion] unibombz:
Check the OP

download platform tools

open the ADB dir with powershell (admin)

Proceed with the steps
[Google Pixel 5 Guides, News, & Discussion] endyfrs:
I should've clarified my edit made things work. I did end up using that guide, thanks!
[Google Pixel 5 Guides, News, & Discussion] JkdJedi:
I'm getting a failed to write partiton Not Found.. on FAstboot flash boot ... so close yet so far from rooting this phone.. ideas?
[Google Pixel 5 Guides, News, & Discussion] JkdJedi:
well...

fastboot getvar current-slot

fastboot flash boot_"slot" "whatever the boot.img is named"

WIN ...ROOTED
[Google Pixel 5 Guides, News, & Discussion] jawonder:
Just got my pixel 5 and there is an update , should i take it ?.
[Google Pixel 5 Guides, News, & Discussion] jawonder:
After flashing the patch Magisk file my phone won't restart into system it keeps going back to fastboot mode. Now when i click on start in fast boot nothing happen .
[Google Pixel 5 Guides, News, & Discussion] Johnrob011045:
Is it safe to relock your bootloader after this? I don't like the unlocked notice at first boot. I'd hate to attempt a relock on a modified boot image and find out my phone is dead afterward. Just curious.
[Google Pixel 5 Guides, News, & Discussion] Golf c:
That would be a really bad idea. Your chances of a hard brick,with no way to recover are huge.
[Google Pixel 5 Guides, News, & Discussion] RBEmerson:
At the moment, I get LOCKED when I "adb reboot bootloader".

I can't figure out if there's any hope of unlocking the bootloader. I've seen suggestions that the answer is a definite maybe. I seem to have made the mistake of thinking this Pixel 5 is carrier agnostic, but I guess it's not. I bought the phone as an "open box" eBay, with AFAIK no indication being tied to a particular carrier. The model is QD1YQ - any guesses as which carrier uses this model number?
[Google Pixel 5 Guides, News, & Discussion] subzerorabee:
Hi. Did you figure it out? Same is happening with my 4xl.
[Google Pixel 5 Guides, News, & Discussion] RBEmerson:
Short answer, no.

Longer answer, when you root the phone, you're supplying everything to run the phone, written over anything else. Updating doesn't change that.