[UPDATE/KEEP ROOT GUIDE] AUG 2020 (QQ3A.200805.001) "FLAME" Magisk/Stock Boot Images

i5lee8bit

Senior Member
Jul 18, 2006
283
376
93
New Jersey
[UPDATE/KEEP ROOT GUIDE] AUG 2020 (QQ3A.200805.001) "FLAME" Magisk/Stock Boot Images

Sorry I'm a little late this month. Didn't have time to update my wife's phone for a few days. I know the P4 forums aren't as "alive" as the P4XL forums, but I still wanted to continue sharing since I'm doing the work anyway. Hope you guys are still finding these guides and files useful.

IMPORTANT!! THESE FILES / THIS THREAD IS FOR PIXEL 4 "FLAME" ONLY, NOT PIXEL 4-XL "CORAL"!!

Here are the factory and Magisk Patched (v.24 is still the latest as of typing this) boot images for the August 2020 (QQ3A.200805.001) update.

**IT IS HIGHLY RECOMMENDED TO PATCH THE STOCK BOOT IMAGE YOURSELF, FROM YOUR OWN DEVICE, USING MAGISK MANAGER. WHILE THERE'S A GOOD CHANCE THE FILE I PROVIDED BELOW WILL BE IDENTICAL (USE A FILE HASH CHECKSUM TOOL IF YOU'RE CURIOUS), THERE IS ALSO A CHANCE THEY MAY HAVE SMALL, BUT SIGNIFICANT, VARIANCES**
Thanks for the info and link, @wrongway213
Link to @topjohnwu's post: https://twitter.com/topjohnwu/status/1272136975022084097?s=19


ALL FILES BELOW ARE FOR AUGUST 2020 QQ3A.200805.001!
Magisk v20.4 Patched Boot Image: https://www.androidfilehost.com/?fid=8889791610682911607
Factory Untouched Boot Image: https://www.androidfilehost.com/?fid=8889791610682911606
Factory Untouched DTBO Image: https://www.androidfilehost.com/?fid=8889791610682911608

THESE FILES ARE FOR "10.0.0 (QQ3A.200805.001, Aug 2020)" ONLY! PLEASE ONLY FLASH IF YOU KNOW WHAT YOU'RE DOING!

Also, as most of us know by now, it looks like Google flipped HW attestation back on, and so SafetyNet will now fail (not just on August, but even previous builds). basicIntegrity test passes, but ctsProfile fails (due to hardware attestation method Google flipped back on), regardless of EdXposed / Magisk Hide status. Until people way smarter than us figure it out, if ever, I can't tell you how to fix it other than reverting back to full stock and locked bootloader. Oh well, carry on. Root is still more important to me anyway - for me the pros still far outweigh the cons.

[SAFETYNET UPDATE!!]: Another temporary SafetyNet fix available, thanks to @Displax. Just note some users have mentioned it could have some unforeseen side effects, as it changes your build prop's entry for your device model name to an unknown in order to force BASIC hardware attestation. Use at your own risk. Big thanks to Displax! Face unlock now working again on my TD Bank and Citi mobile apps. Also worked on my wife's P4 "flame". =)
Just flash Displax's zip file in Magisk Manager: https://forum.xda-developers.com/showpost.php?p=83028387&postcount=40656
 
Last edited:

i5lee8bit

Senior Member
Jul 18, 2006
283
376
93
New Jersey
EASY UPDATE / SEAMLESS KEEP-ROOT UPDATE PROCESS (using a PC - a very intuitive, effective, and relatively safe method).
** You can only follow this guide verbatim if coming EXACTLY from build "10.0.0 (QQ3A.200705.002, Jul 2020)". But the general idea is the same for other builds, you just need the correct files for your device.

flame-qq3a.200705.002-factory-dtbo.img: https://www.androidfilehost.com/?fid=8889791610682886735
flame-qq3a.200705.002-factory-boot.img: https://www.androidfilehost.com/?fid=8889791610682886734
August 2020 sideload OTA zip: https://dl.google.com/dl/android/aosp/flame-ota-qq3a.200805.001-dc4e0a1b.zip

I DID NOT BOOT BACK INTO O/S UNTIL ALL STEPS WERE COMPLETED - I DID THIS TO ENSURE EVERYTHING WOULD BOOT BACK UP WITH MAGISK / EDXPOSED ALL RUNNING PROPERLY RIGHT AWAY

1. boot into bootloader
----------------
** I was on custom kernel, so I needed to flash BOTH the stock boot and dtbo images
2. fastboot flash boot flame-qq3a.200705.002-factory-boot.img
3. fastboot flash dtbo flame-qq3a.200705.002-factory-dtbo.img
......* these steps to restore stock recovery; dtbo.img also necessary for some kernel installations.
......* won't hurt to flash both anyway, so if you're unsure, go ahead and do both.
-----------------
4. use volume keys to change selection to boot to Recovery Mode
......- when you reach the android symbol with No Command, hold power button, tap volume up, in case you've forgotten
5. choose option "Apply update from ADB"
6. adb sideload flame-ota-qq3a.200805.001-dc4e0a1b.zip
7. Once the OTA sideload is done, Reboot to bootloader (you'll also notice it's now on the other slot after OTA flashed)
8. fastboot flash boot flame-qq3a.200805.001-magisk_patched-20.4.img
9. done, start the phone
(Optional - Flash custom kernel. If you had a custom kernel, you need to re-flash it. I've only personally tested with Kirisakura though.)
*Kirisakura 5.2.2 works beautifully.

This was a 100% seamless update that required no additional / re-setup of any of my Magisk or EdXposed setups. All of the factory files can be found here https://developers.google.com/android/images. boot.img and dtbo.img are in their corresponding full Factory Image zips, and the ota zip is under Full OTA Images.

SafetyNet not passing? READ OP AGAIN.
 
Last edited:

i5lee8bit

Senior Member
Jul 18, 2006
283
376
93
New Jersey
Issues after updating?

If you end up unable to boot or bootlooping afterwards, you most likely have an old Magisk module that isn't playing nice with the new build. There are 2 main things you can do:

1. Flash the new factory untouched boot image. You will of course lose root, and all modules will be disabled. However, it should at least get you able to boot back up quickly and have a working phone if you're in a bind.

2. I would recommend checking Tulsadiver's thread: https://forum.xda-developers.com/pixel-4/how-to/magisk-modules-disabler-booting-magisk-t3991739
Instead of reverting to stock boot image, fastboot boot (NOT FLASH) Tulsadiver's boot image. This will boot your phone in Magisk Core-Only Mode, with all modules disabled but root retained. From here you can open Magisk Manager and disable suspect modules. Before rebooting, go to Magisk Manager's settings and disable Magisk Core-Only Mode. Once you disable the incompatible module, the phone should boot back up.
- See this post (or thread) for more tips / context / an example: https://forum.xda-developers.com/showpost.php?p=82509691&postcount=16

Coming from an earlier build than July 2020?

Download the July 2020 Full Factory Image .zip file and extract it. BEFORE RUNNING THE FLASH-ALL BATCH / SHELL FILE, EDIT THE FILE AND REMOVE THE "-w" FLAG FROM THE LAST FASTBOOT LINE. If you fail to remove -w, your phone will be wiped when it reaches this step. After flashing the full factory image, your phone will automatically reboot into O/S. From here, reboot back into bootloader, and flash the new Magisk patched boot image.

SafetyNet not passing? READ OP AGAIN.
 
Last edited:

gmmurphy

Senior Member
Aug 3, 2010
54
2
0
Is it possible to get canary the build with the custom URL option? I remember at some point was possible, however all my searches have come up empty. Or is it best to install the canary apk? Thanks in advance.
 

thrutheeyes

Senior Member
Oct 18, 2011
703
32
0
30
Milton Keynes
I rebooted my phone due to 0 signal and now it's just stuck on 'phone is starting' for hours. QQ. I think it was due to Magisk.

I dirty flashed September Unicorn ROM but still no luck. Ahh don't know what to do.
 

i5lee8bit

Senior Member
Jul 18, 2006
283
376
93
New Jersey
Sorry for going off the grid for a while everyone. I've been busy with life stuff, baby stuff, family travels, etc.

Also want to note that I don't actually officially own a Pixel 4, but rather is my wife's phone. And I've held off on updating our phones to Android 11 until GravityBox is updated for Android 11. But I did create a guide for my phone (Pixel 4 XL) for September, and now October. I still plan on continuing to make these guides for the P4, but even for the P4XL I had to be careful and have someone test last month since I wasn't updating myself. There are a few additional warnings in terms of making sure any modules are updated before upgrading or much higher risk of bootloop than previous updates.

When I get some time, hopefully sometime this weekend, I'll publish the guides for both months with the proper files for Pixel 4 (flame). Sorry for the wait, stay tuned...