yashsingh1/xdaforums huggingface dataset:
[Google Pixel 4 XL Guides, News, & Discussion] wgrant:
Thought I would throw my 2 cents in here. I was on DU (July build) and decided to move up to 11. I used the flash tool through the browser and let it wipe the phone after I backed my stuff up. Booted 11 fine, setup phone, installed magisk manager Canary build, downloaded the full September build of 11 on my phone, extracted till I could pull the boot.img out, patched that with magisk, connected my phone to a computer, used adb to reboot to fastboot and flashed the patched image to boot. Restarted and had root. Root and android 11 working great so far today.
[Google Pixel 4 XL Guides, News, & Discussion] Cares:
I'm rooted using Canary Magisk Manager and patching boot.img and flashing. I can't pass SafetyNet but that appears to be a documented issue. Others are saying SafetyNet doesn't pass but GPay still works. I'll test it later today and see.
[Google Pixel 4 XL Guides, News, & Discussion] Alcolawl:
I enabled Magisk Hide and used the SQLite method for GPay. GPay works great and after initially reporting that SafetyNet didn't pass, it now completely passes after an additional reboot.
[Google Pixel 4 XL Guides, News, & Discussion] imaverik:
Root works great from factory image. I do not use the OTA method.

Android 11 is stable, but battery hungry for initial release.
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
For those of you asking about hiding the navbar, I'll have a mod available soon with ability the hide the 3 button navbar only. This way you can use 3rd party gestures like fluid. You will need to be rooted and use substratum. As you can see I don't have the option to hide navigation bar in fluid enabled, but I do have it disabled via a substratum mod. It will be posted on my thread in the near future.

https://xdaforums.com/pixel-4-xl/themes/substratum-pixel-launcher-editor-t3990687
[Google Pixel 4 XL Guides, News, & Discussion] Balino:
No problems rooting here with magisk canary. All works good. About the release everything seems to be working fine, I'm having good battery life as well but I have to do some more cycle and see how it goes. The only glitch I see is that animations are a bit buggy, sometimes they overlaps
[Google Pixel 4 XL Guides, News, & Discussion] Alvin1983:
Thank you very very very much.

It worked like a charm.

Flashed with latest platform tools r30.0.4 and everything went fine. It booted and root is working.
[Google Pixel 4 XL Guides, News, & Discussion] Thibale:
Still no luck with latest platform tools and even with the img posted by Badger50. (tried with my own patched boot first of course)

Used the factory image method and removed the wipe option (-w) in the bat file.

Exactly the same process I'm used to do for months but this time only the original boot.img let the phone boot otherwise it starts to boot and then back to bootloader telling it can't boot. I really can't figure where the issue could be...

I can't stand ads anywhere so I hope I'll fix it asap :)
[Google Pixel 4 XL Guides, News, & Discussion] KHANrad_SIN:
I also installed dirty, just as I would for a security update except this time I uninstalled magisk manager and then installed the one that was linked somewhere in this thread so I could use the Canary channel. I mean I guess either way it's not working for neither of us so I guess we'll just have to wait until its updated or someone finds a workaround.
[Google Pixel 4 XL Guides, News, & Discussion] Badger50:
I don't know if this will help, but at this point, what the heck.

1. Did you disable/remove all magisk modules before you started the process??

2. Do you have the canary magisk manager channel set to canary before you fastbooted the patched image??

3. Have you tried fastbooting the patched.img to both slots with: fastboot flash boot magisk_patched.img --slot=all

Hope you both find a solution to your dilemmas sooner than latter. :good:
[Google Pixel 4 XL Guides, News, & Discussion] Thibale:
For me yes to 1, 2 and 3.

I'm pretty sure if I run the flash all batch file without removing the -w it will work.

There should be something related to a bad/old magisk module that interfere with the current patching magisk method.

But the factory batch update method is supposed to clean everything except the data partition so I don't get what's wrong.

For now I wait, if the upcoming canary builds won't solve this issue, I'll wipe everything...
[Google Pixel 4 XL Guides, News, & Discussion] WorldOfJohnboy:
This was the only way that worked for me, using your patched img. I updated to Canary, patched my stock boot and the fastboot flashed with no dice. Thanks, [MENTION=3730810]Badger50[/MENTION] !

I've noticed that Root Explorer doesn't seem to like Magisk Canary or something... when I go to the phone root folder, the Magisk "Grant/Deny" pop-up is only up for a split second, then disappears and I get a toast message that it was denied. I even changed the setting to always allow/grant and it still just loops. Anyone else seeing this, or is it just me?
[Google Pixel 4 XL Guides, News, & Discussion] Badger50:
Not seeing that behavior on Root Explorer. Does Root Explorer have SU access in magisk manager settings? Glad you were able to obtain root :good::cool:
[Google Pixel 4 XL Guides, News, & Discussion] WorldOfJohnboy:
No it did not, even before flashing 11. I recently (two weeks ago) had to wipe my device as the battery died and Google paid to have it fixed, but I had to wipe. This was my first time using Root Explorer since the wipe. I have AdAway and Titanium BU as being granted access in Magisk.
[Google Pixel 4 XL Guides, News, & Discussion] hawkswind1:
Managed to get 8 hours sot today after a bit of disabling and tweaking settings & kernel settings. Definitely seems like an improvement from 10

https://ibb.co/vs2bccr

https://ibb.co/b64HK5b
[Google Pixel 4 XL Guides, News, & Discussion] sharpz811:
Can you please please share what settings and kernel settings/tweaks you've done? Thanks
[Google Pixel 4 XL Guides, News, & Discussion] hawkswind1:
Hey, sure. Froze a bunch of stuff with titanium backup including digital wellbeing. ElementalX kernel. All 3 cpu clusters minimum frequenices set to minimum values (404, 710, 825) touchboost off. Maple 384 scheduler. Motion Sense off. Ambient EQ and Smooth Display off. I was also on wifi the whole cycle so I'm sure that helped get me the 8 hours. Animations off too
[Google Pixel 4 XL Guides, News, & Discussion] bsg411:
Geez... You took at the prettiness away from the device... Lol. 8 hrs SOT is impressive nonetheless. I keep all of the stuff on get 6 he SOT
[Google Pixel 4 XL Guides, News, & Discussion] hawkswind1:
Haha you're right but personally I always turn animations off so I don't miss the 90hz much and performance is still really good. Hunting season is coming so I like to see what I can squeeze out of a charge.
[Google Pixel 4 XL Guides, News, & Discussion] sharpz811:
I'm not sure what the hell is going on with my pixel 4 xl and not to mention the ALMOST THE SAME POOR BATTERY LIFE on my old pixel 2 xl. I get so frustrated when I see people paying SOT of not than 5 hours! I've never ever ever ever had more than 4 hours and change off a single charge and for the life of me I can't figure out why like I would be completely satisfied with just 5 hours SOT EVEN 4! I just don't understand and my setup is so minimal rooted with magisk, latest kiri kernel, YouTube vanced, full screen gestures mod, adaway, and literally that's it no other modifications. My battery will drain and drain whether I'm using the phone or not. Better battery stats is useless because all I get is a loading screen so I just don't know man very very frustrating. The most SOT I get is no more than 2 hours before my phone reaches stone 20/30% and those are work days when I barely even use my phone. I just use my pixel buds to send and recieved texts and listen to maybe 2-4 hours of podcasts and or music on Spotify nothing major yet after an 8 hour shift my phone is sitting at around 30% before I even get home smh.
[Google Pixel 4 XL Guides, News, & Discussion] bsg411:
I have the same setup as you minus the kernel. I have the stock kernel and get between 5-6 hrs SOT. Usually closer to 5 though. Right now I have 4hrs 10mins SOT with 40%battery left. There is something definitely wrong though if you only get 3-4 hrs SOT. But you need to get a battery monitoring app like Better battery stats and try another if that wont work. When you go to settings>battery> 3 dots menu>battery usage>3dots menu> show full device usage......what are the top app drainers? you could start there.
[Google Pixel 4 XL Guides, News, & Discussion] sharpz811:
I'll report back with the basic android battery stats since better battery stats is just sitting on the loading screen not sure why that's happening tho. I should also mention I'm running stock android 11
[Google Pixel 4 XL Guides, News, & Discussion] bb709394:
Did you do a dirty flash (or OTA update)? It is recommended that a major update such as from 10 to 11, you do a clean flash. There could be lots of crap leftover from your user data that causes weird conflicts.

It happened to me when I updated from 9 to 10 and on old P2 XL device. I have yet to update to 11 in my P4 XL -- waiting for stable magisk update vs Canary. Custom kernels or switching kernels could also lead to unintended problems.
[Google Pixel 4 XL Guides, News, & Discussion] bsg411:
I'm waiting for stable magisk too. Mannn I miss twrp!!
[Google Pixel 4 XL Guides, News, & Discussion] sharpz811:
Well I was on a clean install of android 10 before I took the ota for Android 11 then I unlocked bootloader and installed magisk canary and custom kernel because I wanted to see how battery life would be running custom kernel but it looks like I'm getting worse results in custom kernels
[Google Pixel 4 XL Guides, News, & Discussion] sharpz811:
This really really really sucks man just got home from work and this is the story of my life with this phone. I've barely touched my phone today and the Google at the top was me listening to podcasts during my morning dog walk before with for half hour then still listened on my way to work which is 20 minutes then I listened for the first 3 hours of work. I stayed connected to my pixel buds all day so I can send and receive texts while I drive my forklift lol very convenient but I'm not sure if the pixel buds being connected to my phone all day is causing the battery drain but I highly doubt it.
[Google Pixel 4 XL Guides, News, & Discussion] KHANrad_SIN:
There's a working beta for V4A that can be found in this thread now...

https://xdaforums.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651/page439
[Google Pixel 4 XL Guides, News, & Discussion] Kris Chen:
Yes, it works but my another audio mod - Dolby Digital Plus fails.

At this moment, you need to make choice between ViperV4A and Dolby Digital Plus.

I hope it can be resolved one day and make both work in R11
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
I am Rooted... do I just DL the OTA file that I am getting through my Notifications?

I have the notification that version 11 is available for DL. I am already rooted and unlocked (Android 10). I have the Google Pixel 4 XL (Bought this Pixel 4 from Google).

Can I just download the OTA image and update to 11 or do I need to do anything special to keep my root and my existing files, settings, etc?

TIA guys!
[Google Pixel 4 XL Guides, News, & Discussion] enndub:
Started failing ctsprofile today out of the blue. Anybody else?
[Google Pixel 4 XL Guides, News, & Discussion] i42o:
I was also failing CTS profile mismatch.. did this and boom, back to o blue

Sqlite module + magisk prop hide module

SU

Props

Force basic key attestation

Reboot

Profit
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
Yep. Google up to their shenanigans again, no doubt. Was fine for the last 2 weeks and this morning ctsProfile started failing, again.

So far Play Store is still certified. We'll see how long that lasts...
[Google Pixel 4 XL Guides, News, & Discussion] enndub:
I've used this before, but it breaks the new Google Assistant ui and face unlock for my banking apps (phone doesn't know it's a pixel anymore) so I prefer not to use this method. Might have to give up on root soon :|. Might add well buy an iphone if Google is gonna force us to use their software.
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
Anyone?

Hi all, can anyone offer a little advise for my post here? Thanks a ton!
[Google Pixel 4 XL Guides, News, & Discussion] CyberpodS2:
Assuming magisk is your ONLY modification, this is what I would do.

I would uninstall magisk, then dirty flash the last pre 11 factory image (-w removed).

Art that point you should be good to go to take the OTA.

If anyone sees something wrong with this or has a better way please jump in...
[Google Pixel 4 XL Guides, News, & Discussion] iisouljaboiii:
[youtube]-7j4OQIy3Gs[/youtube] this could help you
[Google Pixel 4 XL Guides, News, & Discussion] mixtapes08:
What sqlite module did you install.?
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
Thanks guys!

---------- Post added at 07:34 PM ---------- Previous post was at 07:29 PM ----------

That video is exactly what I needed! I have the exact same Pixel 4 XL setup as the guy in the video. I will do this tonight and report back tomorrow with results.

Thanks all!
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
I screwed up!

Well I screwed up big time! I didn't know it but the 11 version was already downloaded! I hit restart without getting to install Magisk into slot B! I tried to stop it but but I couldn't. My phone restarted and I'm now on Android 11 but I've lost root! **** fire ?!!

How can I get my root back?
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
Install Canary Manager, patch your boot.img and fastboot flash the patched boot image.
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
Where is the link

Thank you! Still running into problems.

I went to the Canary Manager link and it's no longer available. Which version do I need and do I need to uninstall my current Magisk?

Isn't Canary an old version?
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
Canary Manager link is working for me. https://github.com/topjohnwu/Magisk

I assumed you didn't have a current Magisk since you said you were unrooted. I would uninstall whatever Magisk you have installed, install the Canary Manager, set the channel to Canary, and use the patch boot image method.

The Canary version is actually the latest version. You must use Canary on Android 11 until the Stable Magisk is updated to support it.
[Google Pixel 4 XL Guides, News, & Discussion] Homeboy76:
Curious

Isn't the default Update Channel on the Canary Manager Canary.
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
It's best to make sure just in case.
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
Rooted

Yes, I was rooted on Android 10 but I screwed up while installing Android 11 and lost my root.

Thanks for sharing that version of Magisk! I wonder why the link was dead if it's the latest version?

I will try this tonight when I get home and post back with my results. Thanks again brah!

---------- Post added at 07:43 PM ---------- Previous post was at 07:26 PM ----------

Crap!

When I try to install the Magisk I keep getting this error...

- Device platform: arm64-v8a

- Copying image to cache

2026+0 records in

2026+0 records out

2074624 bytes (1.9 M) copied, 0.003952 s, 501 M/s

1381+1 records in

1381+1 records out

1415016 bytes (1.3 M) copied, 0.003195 s, 422 M/s

Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]

- Unpacking boot image

! Unsupported/Unknown image format

! Installation failed

I got the Manager installed (version version d6dbab53) but it will not install the Magisk (the top one). How do I take screenshots in Android 11? It's not there anymore when I press the power button. Ughh!

---------- Post added at 07:43 PM ---------- Previous post was at 07:43 PM ----------

Crap!

When I try to install the Magisk I keep getting this error...

- Device platform: arm64-v8a

- Copying image to cache

2026+0 records in

2026+0 records out

2074624 bytes (1.9 M) copied, 0.003952 s, 501 M/s

1381+1 records in

1381+1 records out

1415016 bytes (1.3 M) copied, 0.003195 s, 422 M/s

Parsing boot image: [/data/user_de/0/com.topjohnwu.magisk/install/boot.img]

- Unpacking boot image

! Unsupported/Unknown image format

! Installation failed

I got the Manager installed (version version d6dbab53) but it will not install the Magisk (the top one). How do I take screenshots in Android 11? It's not there anymore when I press the power button. Ughh!
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
What method of installation are you using?

Power + Volume Down to take screenshots.
[Google Pixel 4 XL Guides, News, & Discussion] CyberpodS2:
If you have not done a full wipe and are still trying to hang onto data, maybe someone could link you a patched boot from their 11 install to get you there via fastbooting. It's not the preferred route but lots of folks are updating every month by doing this. As far as I know the only drawback assuming both phones are on the same firmware is you won't have the generated backup like when you patch it yourself.
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
The app

Sorry about that double post last time.

I'm using the Magisk app when I'm trying to install the top one. See screenshot...

In Android 10 all I had to do was push in the power button for a second and I would get a few options pop up. I would get an Emergency box, Restart box, Power off box and a take screenshot box. Three take screenshot is now gone.

I still have the patched boot file from Android 10 but I don't imagine that would work with Android 11 huh?
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
I've noticed that when I go to install the file that Magisk downloaded it's a zip file but Magisk is asking me to select a img file or a tar file! Why is Magisk app downloading a . zip file? No wonder it's failing to install. Where do I get that .img file from since Magisk app is not downloading it? Magisk us downloading this file for some reason.... "Magisk-d6dbab53(20427).zip"!
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
When you select "Select and Patch a File", then hit let's go, then select the stock boot image you extracted from the factory image (latest September R image of course). It will patch that stock boot image (magisk_patched.img) and place it in your download folder.

Then put that patched image in your Platform Tools folder, go into fastboot and use the command "fastboot flash boot magisk_patched.img" (without the quotes) to flash the patched boot image. Then reboot.

No, a patched boot image from Android 10 will not work on Android 11.
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
No one

Hey, no one told me to do that... LOL! Do you mind posting a complete set of instructions for me? I have the OTA image file and I am about to extract the boot image and I will put that on my phone when I get home.

What/How do I do the rest of it? I am still partly a Noob. I am still learning all this Flashing/Fastboot stuff. It took me a while to get my Pixel 4 XL rooted the very first time with Android 10.

Thanks [MENTION=6530865]Lughnasadh[/MENTION];83615029
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
OK....

I downloaded the OTA image (File name :coral-ota-rp1a.200720.009-b447daff.zip) and there is not boot image file in it. Take a look at the screenshot.
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
Do I need to get the stock image file or the OTA file?

OK. I DL both files. The "Boot" image is only in the Stock zip file. I hope it works with my OTA update to 11
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
Here are some guides you should read through to familiarize yourself with the process.

Basically:

1) Download the latest factory image

2) Extract the boot image from the coral-rp1a.200720.009.zip (the latest factory image)

3) Place the boot image on your internal memory

4) Install Canary Magisk and make sure update channel is set to Canary

5) Patch the boot image you placed in your internal memory (It will be saved in your download folder)

6) Place the patched boot image in your platform tools folder

7) Fastboot flash boot magisk_patched.img

8) Reboot

For specific details refer to the guides:

https://xdaforums.com/pixel-4-xl/how-to/guide-root-pixel-4-xl-android-11-r-t4160441/

https://github.com/topjohnwu/Magisk

https://www.xda-developers.com/google-pixel-4-root-magisk/

https://developer.android.com/studio/releases/platform-tools

https://developers.google.com/android/images#coral
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
LOL! I have DL so much from Google that today I earned this....

"You earned the Android SDK Platform Tools User badge"!! YEAH!!! LOL

---------- Post added at 08:46 PM ---------- Previous post was at 08:38 PM ----------

Thanks you so much for this! You rule!
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
You're welcome.
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
Got it!!!

Awesome!!! I now have root back and I am a superuser! Thanks again! :laugh:

Magisk is still failing the safetyNet check though... is that normal?
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
Glad you got it going :good:

It's normal on the Pixel 4 XL for safetyNet to fail as of this moment (basicIntegrity should pass but ctsProfile should fail). You can use the MagiskHide Props Config module or a few custom kernels (Artemis, CleanSlate & fsociety that I know of) to pass if you really need to.

Also make sure you have MagiskHide enabled in the Manager settings.

https://xdaforums.com/apps/magisk/module-magiskhide-props-config-t3789228

https://xdaforums.com/pixel-4-xl/development/artemis-coral-t4024085

https://xdaforums.com/pixel-4-xl/development/kernel-cleanslate-v1-0-0-t4027435/

https://xdaforums.com/pixel-4-xl/development/fsociety-google-pixel-4-xl-t4035463/
[Google Pixel 4 XL Guides, News, & Discussion] derflasher:
I installed the update to Magisk Manager 8, but I didn't get the update notice for Magisk v21.

What to do now? How can I get Magisk 21 in order to update to Android 11?
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
Set the update channel in the manager to Beta.
[Google Pixel 4 XL Guides, News, & Discussion] derflasher:
Alright, thank you
[Google Pixel 4 XL Guides, News, & Discussion] Alvin1983:
Why my patched boot image is 0 bytes?

Can someone post the Ocotber patched boot image of Pixel 4 XL ?
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
Are you using Stable Manager 8.0.1 and then setting the update channel to Beta before patching the boot image? If not, try that.
[Google Pixel 4 XL Guides, News, & Discussion] Alvin1983:
I am using the latest canary build 305 (11)

And it is set to canary build update channel.
[Google Pixel 4 XL Guides, News, & Discussion] Morgrain:
I am on magisk beta and I tried to patch my boot image today, and it did not work (same as yours). Magisk manager simply did not load the task. I guess it's a magisk issue at this point. I also had to fetch a patched image from here to get **** done and upgrade to october.
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
I'm on the October security update with Stable Manager (8.0.1) and the channel set to Beta and just now patched the October boot image to test (I had already done it on Monday with no problems) and it worked fine with a magisk_patched-image=64 mb.

Not sure why it's not working for you guys.
[Google Pixel 4 XL Guides, News, & Discussion] bb709394:
After you patch the boot image, you must reboot the phone. Afterwards, your magisk_patched file will be 64 MB
[Google Pixel 4 XL Guides, News, & Discussion] Alvin1983:
I didn't know that.

Thank you for the info.

Will try it on next update