yashsingh1/xdaforums huggingface dataset:
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] Nut35679:
I am trying to get bootloader image to unlock my device but I am not receiving any image to my gmail.

Can someone help me. My device serial no: 4068b8bf , lenovo z2 plus.

Thank you so much
[Lenovo ZUK Z2 (Plus) Guides, News, & Discussion] Thanos:
Duplicate:

https://xdaforums.com/lenovo-zuk-z2/help/help-please-to-unlock-bootloader-zuk-z2-t4003785

Thread closed.
[Moto G6 Play Questions & Answers] HenryBrian14:
I was wanting to install an android 10 gsi but I wasn't getting it so I found that I needed to be in stock rom, so I downgrade to 8.0 and then installed android 10, but I had some bugs so I decided to go back to stock pie, but In this I lost my imei and I realized that in bootloader mode it says "Baseband: Not Found" does anyone have a solution?
[Moto G6 Play Questions & Answers] dotKin:
Try flashing NON-HLOS over the ROM "Fastboot flash modem NON-HLOS.bin".

Sometimes the NON-HLOS of certain firmwares may not work. When I switched back to 8.0 I had to flash a different modem from a Pie firmware to have the IMEI working
[Moto G6 Play Questions & Answers] kacikepopular:
muchas gracias por tu ayuda,a mi me sirvio

thank you very much for your help, it served me
[Lenovo ZUK Z2 (Plus) Questions & Answers] underworld_king:
Can someone please let me know or recommend the best digitiser for our phone!

My top screen has got some scratch! I wanna know a way to fix it!
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
*Note* Some people have had success with this, while some others have not. You do this at your own risk.

Prerequisites:

Magisk Manager might need to be unhidden based on reports from some users.

Magisk needs to have a backup of stock boot.img.

Preserve AVB 2.0/dm-verity must be enabled. (Have gotten mixed reports on this it might or might not be needed)

Check the following post if you don't meet the prerequisites

https://xdaforums.com/showpost.php?p=81186247&postcount=73

Update Process

When phone detects update

1. Disable any desired Magisk modules, ex. Edxposed (I usually disable all modules just to be safe)

2. Reboot

3. In Magisk, select Uninstall, press Restore Images

4. Do NOT Reboot

5. Install OTA Update via Settings -> System -> System Updates

6. When prompted to reboot, Do NOT Reboot

7. In Magisk Manager press Install

8. Select Install to Inactive Slot

9. Reboot

10. Enable the Magisk modules one by one

In case of bootloop after enabling a module there are 2 ways that I know of on how to retain root and fix bootloop.

One requires ADB

While phone is stuck in bootloop, connect phone to PC and run this commands via ADB.

adb wait-for-device shell magisk --remove-modules

adb reboot

This will remove all modules and you should be able to boot.

The second way is via fastboot. More information in this thread.

https://xdaforums.com/pixel-4-xl/themes/magisk-modules-disabler-booting-magisk-t3990557

Some information that might help some people.
[Google Pixel 4 XL Guides, News, & Discussion] airmaxx23:
If you do it this way you'll be using the patched boot image from the previous update and not the current one.
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
No it doesn't. When you select install to inactive slot it patches the newly installed boot.img that has been installed to the inactive slot. Only reason phone promts you to reboot after an update is to switch slots.
[Google Pixel 4 XL Guides, News, & Discussion] pdfruth:
For whatever reason, whenever I would try to do Uninstall - Restore images (in step 3 of the OP), I would get a toast error saying "Stock backup does not exist"

I'm not sure why the expected backup files hadn't been created. I suspect it has to do with the process of manually patching the boot image whilst initially rooting, as suggested in this Git issue.

Anyway, I was ultimately able to work around this, and was eventually able to get Uninstall - Restore images to work.

I wrote about my workaround method here.
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Yeah, there needs to be a backed up stock boot img for this to work. Being able to restore images the way stated in the issue would solve this as you could just restore a stock boot.img then continue doing the steps.
[Google Pixel 4 XL Guides, News, & Discussion] DemonicMurderer:
So does this work for every update? Just do the steps and it works? Im a complete noob when it comes to this stuff i just follow the write ups and pray!
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Yes, it has worked for me all the time. These are the exact steps recommended by topjohnwu, I just made them more readibly available to users. Here is a link to his tutorial.

https://topjohnwu.github.io/Magisk/tutorials.html#ota-installation
[Google Pixel 4 XL Guides, News, & Discussion] SAMCR02018:
This work for the Verizon Pixel 4 XL???
[Google Pixel 4 XL Guides, News, & Discussion] Badger50:
Why would you need to since your not rooted with a locked bootloader? Just take the OTA.
[Google Pixel 4 XL Guides, News, & Discussion] SAMCR02018:
Ok the can the Verizon version get the BL unlocked?
[Google Pixel 4 XL Guides, News, & Discussion] Badger50:
Nope. Unless you got lucky and they sold you a google version by mistake.
[Google Pixel 4 XL Guides, News, & Discussion] DemonicMurderer:
There is a write up for that.
[Google Pixel 4 XL Guides, News, & Discussion] Donric13:
Does anybody know if this also work with a custom kernel? I thought removing root and let magisk install old (boot) image should reinstall stock boot.img (if magisk first was installed through fastboot with stock kernel). Then i can take ota, patch inactive slot with magisk and then reboot. After reboot i can install custom kernel again througj ex kernel manager app. Does anybody know if this works?
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Yes this method works with custom kernel. Magisk removed custom kernel when it restores stock boot.img
[Google Pixel 4 XL Guides, News, & Discussion] in_dmand:
When does the dec patch come out, on the 5th?

I just started the process then realized it wasn't out yet so I haven't rebooted. When I go to the step of installing to the inactive slot I get a warning that you should only do this after the ota update - does anyone know if I'll be OK to go ahead with it even though I haven't done the ota yet?
[Google Pixel 4 XL Guides, News, & Discussion] Jiggs82:
I wouldn't do it until the Dec ota comes out and that may be later today or sometime this week. Which is weird since all the other Pixels got it but hey it's Google
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Since it's not out yet, just do a direct install in Magisk to re-install it
[Google Pixel 4 XL Guides, News, & Discussion] mkpansare:
Thanks for this guide !

Does anyone know how to update and maintain root for manually updating using OTA files ? Usually the update takes a long time to reach my phone, so I update using OTA files.
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
The other way I update is using full factory images. Once you download the zip, extract it and find and open (via Notepad++ or similar advanced text editor) the flash-all.bat or flash-all.sh (depends on your system), find this line

fastboot -w update

replace with

fastboot update

Basically remove the -w, this will prevent a factory reset (wipe) on your device. Once it is done you will need to patch new boot.img via magisk and flash the newly patched boot.img via fastboot.

Hope this helps!

ps. I recommend to always disable Magisk Modules before updating as they could cause FC
[Google Pixel 4 XL Guides, News, & Discussion] in_dmand:
Thanks that worked perfect... Was gonna be a long week without adblocker and lmt pie lol
[Google Pixel 4 XL Guides, News, & Discussion] GokuSSJgod:
So I should look for Edxposed instead of regular xposed?
[Google Pixel 4 XL Guides, News, & Discussion] XSLdesire:
i have not used xposed for years, but regular xposed doesn't work on Android 10... i am not sure
[Google Pixel 4 XL Guides, News, & Discussion] GokuSSJgod:
I guess I'm going to make a new thread about it I'll probably get flame for it because I didn't use the search function but I did use a search function and I'm not getting the results I would like so check it out if you want so you have a Pixel 4 or Pixel 4 XL?
[Google Pixel 4 XL Guides, News, & Discussion] XSLdesire:
xl, I like big screen:D big is good isn't it? haha
[Google Pixel 4 XL Guides, News, & Discussion] Jiggs82:
Guys how do i restore images or unistall magisk in magisk canary app?

Edit : nvm i just installed magisk to inactive slot , rebooted and all good lol
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Sorry didn't respond in time to help. Glad you figured it out.
[Google Pixel 4 XL Guides, News, & Discussion] mydjtl:
What if my phone still hasn't detected update since March? I've hit check for updates, nothing.
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Many people have not had luck getting the ota with magisk installed. In this case manually download the firmware zip and flash via fastboot. Remove the -w from the script if you don't want the update to reset your phone.
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
No Update...

This has been my problem. I have not had any OTA updates at all on my Pixel 4 XL since I rooted it back in December 2019.

Now... which image file do I need to download for me phone? I am currently on 10 (QQ1B.200105.004)? Should I install this one 10.0.0 (QQ3A.200605.001, Jun 2020)?

TIA!
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Yeah that should work. I don't see a need to flash the full updates chronologically. Now if you are side loading an ota, then I do believe that you need to install them chronologically.
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
Instructions?

Hey guy, can you please post detailed instructions to do a manual flash using ADB? I browsed through this thread but I didn't see any. I might have overlooked it though.
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Prerequisite: ADB and fastboot must be working on PC and USB debugging must be enabled on phone. There are many threads on how to setup these if you need assistance.

1. Download full firmware zip https://developers.google.com/android/images#coral

2. Extract zip

3. If you don't want to reset phone find the FlashAll file for your system (.bat for windows, others are for Linux or Apple...not really sure). If you want to factory reset it. Jump to step 4.

3a. Open the FlashAll.bat (or the one pertaining to your system) with an advanced text editor such as Notepad++.

3b. Remove the -w from a line towards the bottom and save. Close Notepad++

4. Boot into bootloader and connect phone to pc

5. Double click on the modified FlashAll.bat (or equivalent file for your system)

6. Script will update your phone, once it's done you will need to re-root your device with Magisk. (Stock boot.img can be found inside the zip you extracted)
[Google Pixel 4 XL Guides, News, & Discussion] pdfruth:
[MENTION=7344499]eg1[/MENTION]22 Are you passing SafetyNet Check?

I was running along fine on June update... until a week (or so) ago.

Running June update, Magisk 20.4, Riru Core V21.1, EdXposed V0.4.6.3 (4552) YAHFA

Now ctsProfile fails.
[Google Pixel 4 XL Guides, News, & Discussion] fuarkgl3:
It's not edxposed related. My CTS profile fails since some days ago and i don't use xposed
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
I'm on stock everything except for stable Magisk 20.4 and I am also failing ctsProfile since Saturday and several other Pixel 4 XL users in other threads have also reported the same. As Badger50 pointed out in one of those threads, seems as if Google may have enabled their "attestation shenanigans" again.

What's interesting is that I haven't seen much talk about it on the Magisk thread from non-Pixel 4 XL users and seems as if it may be just the Pixel 4 XL users that are experiencing this, but I could be wrong.
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Yeah been a few days since it won't pass anymore but everything is still working on my end including gpay.
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
Thanks!

Thanks man! That is awesome! Just what I needed! ;)

---------- Post added at 06:01 PM ---------- Previous post was at 05:58 PM ----------

So... is it OK if I go from 10 (QQ1B.200105.004) to 10.0.0 (QQ3A.200605.001, Jun 2020) or should I go to 10.0.0 (QQ3A.200605.002.A1, Jun 2020, Telstra Only)?
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
About to update today and keep root

Hey Guys, I am going to attempt to update my Pixel 4 XL today and I noticed that when I went here https://developers.google.com/android/ota to get my zip image there is a update for July 2020 "10.0.0 (QQ3A.200705.002, Jul 2020) - https://dl.google.com/dl/android/aosp/coral-ota-qq3a.200705.002-f7e8f879.zip. I didn't even hear about this one.

So.... is it cool if I go from (QQ1B.200105.004) to the newest July update ((QQ3A.200705.002)? Where can I find what has been updated and/or changed in this July update?
[Google Pixel 4 XL Guides, News, & Discussion] Lughnasadh:
If you are using the method in this thread you don't need to download the OTA zip from the site. This method utilizes updating through Settings>System>System update.

The first Monday of every month Google publishes a security update. That's why you see a new update. Yes you can go from what you are on to the newest.

You can find what is new here... https://source.android.com/security/bulletin/2020-07-01

You can also sideload the OTA via ADB or fastboot flash the factory image to update. There are guides in this device's forums concerning these methods.
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
Hey guys, me again.... does the instructions on page 1 (https://xdaforums.com/t/guide-update-and-retain-root.4003839/post-80905895) still apply? I just got the OTA update this week (1-14-2021) and was just wondering how I should go about updating? Right now I am on Android 11 (RP1A.200720.009). Will the instructions in the first post still work for us rooted folk? ;-)

TIA!
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Things have changed a bit.
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
As in?? Do you have a link or instructions for the new changes? Thanks man!
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
I haven't updated here as I don't have this device anymore. But on pixel 5 we are not able to update via OTA at all if rooted. We have to flash the firmware zip from google with the -w removed then reroot. I'm positive same thing applies to the 4XL but I didn't want to post anything that I myself have not tested.
[Google Pixel 4 XL Guides, News, & Discussion] Zander_Sig:
Ughhh! That blows! I will try it later this week and report back.
[Google Pixel 4 XL Guides, News, & Discussion] kidhudi:
Magisk doesn't have a "install to inactive slot" option.

i am using the latest canary
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Yeah this thread is outdated. Things changed on android 11 that make it impossible to update and flash to inactive slot. You have to either do ota then reroot by patching stock boot.img then flashing it or flash firmware zip then rerooting with the same method as mentioned above
[Google Pixel 4 XL Guides, News, & Discussion] kidhudi:
thanks for the response. i already have updated and rooted. this way of upgrading was just so much easier than using fastboot.

thanks
[Google Pixel 4 XL Guides, News, & Discussion] mkpansare:
Great ! I will give this a try once full images are out with December update.
[Google Pixel 4 XL Guides, News, & Discussion] GlitchMob:
So what do I do if I'm already rooted with no stock boot img saved? I'm having the same issue trying to update.
[Google Pixel 4 XL Guides, News, & Discussion] Donric13:
Method seems not to work with December update with custom kernel.... After restoring images got a failure message when trying to install ota... Did anybody update the device successfully retaining root with stock kernel using this method? I even got failure message after installing stock boot and trying to install ota.
[Google Pixel 4 XL Guides, News, & Discussion] hthiengo:
I'm experiencing the same issue. Is there any way to update via OTA and retain root without the original boot image? Also, I don't remember any option to backup boot img when installing Magisk. When are we supposed to do this? Really don't wanna go through the same problem in the next update.
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
The backup happens when you do the initial patch of the boot.img I haven't received the ota yet. I do have a custom kernel so I'll let you guys know what happens on my end once I receive it.
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
This
[Google Pixel 4 XL Guides, News, & Discussion] hthiengo:
Thanks for the reply! Now I completely unninstalled Magisk and tried to update via OTA, but it's showing an error message "Couldn't install system update". Maybe it's because I'm using a custom kernel? Just hoping I won't need to do a clean install via adb =/
[Google Pixel 4 XL Guides, News, & Discussion] Donric13:
Flash November dtbo.img to both slots. Then try again. Worked for me but lost root....
[Google Pixel 4 XL Guides, News, & Discussion] ayed78:
how...i try fastboot flash dtbo --slot all dtbo.img fail
[Google Pixel 4 XL Guides, News, & Discussion] Donric13:
Fail to flash or to apply ota? If ota failed then first flash stock kernel to both slots and then dtbo to both slots. This worked on my device. Also make sure you have the latest platform tool installed (29.0.5).
[Google Pixel 4 XL Guides, News, & Discussion] ayed78:
means both slot a and b or what...sorry noob question
[Google Pixel 4 XL Guides, News, & Discussion] Donric13:
Yes (--slot all)

fastboot flash boot --slot all boot.img

sudo fastboot flash dtbo --slot all dtbo.img
[Google Pixel 4 XL Guides, News, & Discussion] ayed78:
not working..there was message remote fail something
[Google Pixel 4 XL Guides, News, & Discussion] Donric13:
Hmm no idea. Last hope is to check platform tool on your computer or wait for the factory images for December coming alive and update through fastboot.

Edit: Failure message "remote...." definitely points to an outdated platform tool. So my advice is to update the tool. Otherwise you'll have also problems updating with factory images....
[Google Pixel 4 XL Guides, News, & Discussion] in_dmand:
I followed this guide and it gets about 75% done before I get an error "couldn't update, installation problem". Any ideas why?
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Some people are suggesting to flash stock dtbo.img I haven't received the updated so I haven't had a chance to test anything. Look up a couple of posts
[Google Pixel 4 XL Guides, News, & Discussion] Donric13:
When you receive update could you try this (think your on a custom kernel too): flash stock boot and stock dtbo to both slots. Root again with magsik. Then follow your procedure to retain root after ota. Would be interesting, if with this you are able to retain root.... For me it's to late.... I took ota direct after flashing stock boot and dtbo and so i lost root.
[Google Pixel 4 XL Guides, News, & Discussion] HailNibbler:
How is this problem not consistent across every rooted Pixel user who attempts OTA? Are you guys doing something to make Magisk back up the stock boot.img for you or something else that I missed while installing?

I encountered it myself, and as explained by [MENTION=5931606]pdfruth[/MENTION] it's easy to solve assuming there's a computer around, and that kind of makes the whole thing not very over-the-airy...
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
I know some users flash patched boot.img that someone else patched, thus bypassing the creation of a backup. I think choosing or not choosing to preserve avb 2.0/dm-verity also affects if phone will take OTA. I always preserve mine and always patch my own boot.img so I haven't ran into any issues. I'll just have to wait and see what happens on my end once I get the update. This reminds me of some issues some people where getting early on when rooting. Some people had to flash the patched boot.img to both a/b slots and some people didn't. Having both slots with a patched boot will also break the restoring of stock boot.img as Magisk only restores the active slot.
[Google Pixel 4 XL Guides, News, & Discussion] in_dmand:
Well I'm not on a custom kernel or anything so I was hoping I could just keep getting the ota updates using this method without having to go back to stock first.
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
By any chance did you have to flash patched boot.img to both partitions or did you preserve dm-verity?
[Google Pixel 4 XL Guides, News, & Discussion] MicroMod777:
Man, I selected to install to inactive slot, then upon OTA reboot I lost root! :confused:
[Google Pixel 4 XL Guides, News, & Discussion] Donric13:
Think this information would be great to assist the instructions in op. I gonna try from now on to keep dm-verify even on custom kernel. The patched boot i flash always only to the active slot through fastboot. So maybe until next monthly update the process is polished out.
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
That is odd. Really odd. Maybe something is different with Dec update. I still haven't received it :(
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
I added it to the op. If I can confirm that dm-verify is the issue I'll rewrite instructions with requirements for this to work.
[Google Pixel 4 XL Guides, News, & Discussion] MrPhilo:
Is there anyway to flash a custom kernel as well after step 8 before rebooting? If not I'll just flash the kernel again after rebooting!
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
I don't think so
[Google Pixel 4 XL Guides, News, & Discussion] in_dmand:
No I didn't do any of that, I just followed the op about disabling modules, uninstalling and updating the system.
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Sorry should have been a bit clearer. When you first rooted did you preserve dm-verify or did you have to flash patched boot.img to both a/b partitions? If so, that is a possibility for the update not going through. I'm trying to figure out what setups are and are not compatible with this method of updating and retaining root.
[Google Pixel 4 XL Guides, News, & Discussion] MohamedRaafat:
Hi,

I can't seem to follow the guide because I don't have the stock boot.img and magisk can't restore it. I already received the OTA so how can I put back the stock one and and uninstall magisk and update then reinstall magisk ? Would that work and how to make magisk keep a copy of the boot.img for future updates ? I rooted using the guide posted in the guides section

Edit: I have been reading the comments here and I really don't know if I preserved dm-verity or if I have flashed the boot.img to both partitions so please let me know how can I check. What I did was I flashed the magisk patched boot.img
[Google Pixel 4 XL Guides, News, & Discussion] in_dmand:
Gotcha. When I rooted I flagged the patched boot.img via magisk so that must be why. I'm not even sure what dm-verify even is
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Advance setting in magisk
[Google Pixel 4 XL Guides, News, & Discussion] GlitchMob:
If I patch my own boot.img using the new firmware and flash it, will it wipe everything?
[Google Pixel 4 XL Guides, News, & Discussion] madmack:
I personally used this guide to get going and it worked to update from nov to dec via OTA.
[Google Pixel 4 XL Guides, News, & Discussion] MohamedRaafat:
I can't follow it because I don't have the config file in the sbin folder and I don't have Linux to archive the files can you possibly send me the files and would they work and what about the config file ?

I would really appreciate the help
[Google Pixel 4 XL Guides, News, & Discussion] eg1122:
Patching your own boot.img and flashing won't wipe anything. Flashing the full factory images, unlocking/locking bootloader, or doing a factory reset yourself are the only ways anything will get wiped.