Were you able to recover and flash? The android flash tool has been a great "last ditch" utility, you may be able to skip wiping the phone too.
Were you able to recover and flash? The android flash tool has been a great "last ditch" utility, you may be able to skip wiping the phone too.
Note to Mac owners working with the shell scripts included in the factory image - flash-all.sh will NOT execute fully on an M1 MacBook Pro with Apple silicon. Midway through the fastboot update command, the phone will reboot into fastbootd and halt. Apparently this is an issue with USB-C to -C connections on the new MacBooks. I pulled my previous Intel MacBook off the shelf, connected my P6P with a USB-A to -C cable, the fastboot update command executed fully, and my phone is happily running the Jan firmware.
Uninstalling magisk isn't needed but I would recommend to deactivate the modules because you could run into bootloops.Is it still necessary to remove magisk modules and uninstall magisk before flashing this way?
Maybe too easy... [looks back, paranoid, expecting the zombies to attack at any minute...]
Definitely disable modules. Some of the modules I had installed caused a bootloop on the Jan release.Is it still necessary to remove magisk modules and uninstall magisk before flashing this way?
Thanks for the tips.The line with the update is missing (fastboot --skip-reboot update image-raven-sq1d.220105.007.zip):
PATH=%PATH%;"%SYSTEMROOT%\System32" fastboot flash bootloader bootloader-raven-slider-1.0-8013568.img fastboot reboot-bootloader ping -n 5 127.0.0.1 >nul fastboot flash radio radio-raven-g5123b-93368-211225-b-8029609.img fastboot reboot-bootloader ping -n 5 127.0.0.1 >nul fastboot --skip-reboot update image-raven-sq1d.220105.007.zip fastboot reboot-bootloader ping -n 5 127.0.0.1 >nul fastboot flash boot magisk_patched.img fastboot reboot
The patched boot was renamed just like it shows in the flash-all?Thanks for the tips.
It is wierd that this edited script does not work for me on Pixel 6, I have tried several times, the phone did not boot . Finally I had to managed to remove "-w", then flash-all, then flash patched boot.
Yes, I did it strictly according that tips. cmd windows also show that the patched boot img was flashed but it failed boot into systme just got a bootloop when powered by android appeared.The patched boot was renamed just like it shows in the flash-all?
Same here. How do we fix this?Oh damn, this worked for me in Dec, but the Jan version horked itself. It looks like it didn't observe the --skip-reboot and tried to reboot after the update, but before flashing the patched image. Now I get a corrupted message.
edit- or maybe I should not have disabled-verity. I can't remember if it did in Dec or not.
Is it possible to get adb working again without wiping? I can't seem to get it connect now.
Unplug your phone.
Thanks. Unfortunately I can't get into the phone. It just goes straight to recovery.Unplug your phone.
On windows, go to <user>/.adb folder (it's hidden) then delete adb.key
Go to your phone > developer options > revoke adb authorization
Plug your phone again, it will ask for authorization. Allow it.
Same here. How do we fix this?
EDIT: Fixed it by sideloading OTA - no data wipe!
![]()
Can't update 1/2020 flash, phone stuck in bootloader please help!
ETA: YAY, I'M BACK UP AND RUNNING AFTER USING STOCK RECOVERY TO SIDELOAD THE FULL OTA. THANKS EVERYONE, YOU'VE MADE MY DAY!!! Hello all, I'm hoping someone has some advice: I downloaded the 1/2020 factory image, removed the -w from the .bat...forum.xda-developers.com
Yes it worked. I tried the flash-all.bat and it failed again as before, so I sideloaded again (lost root) and then just booted the rooted image and rerooted.This worked for you? I couldn't get it to sideload unauthorized.
adb reboot sideload
adb sideload "insert OTA file name here.zip"
adb reboot bootloader
fastboot flash boot "patched_boot.img"
Thanks for the heads up!I updated the App, (but not the actual Magisk) to 24306 right before I started. I then copied over the boot.img, patched it with the new App, and copied it back to the PC. I then followed the instructions in the OP.
FYI. I still have "--disable-verity --disable-verification" in my update command line. I know it's not required with the new Magisk, but it's been working since the beginning and I see no reason to change it as I've had zero problems updating every month with it in there.
Best of luck!
Thanks for the guide bro, very useful. Out of curiosity, which Magisk did you use to patch the May boot.img?I don't know why folks continue to have issues updating when a new Android update is released. Despite Magisk having the option to install to an inactive slot for easy OTA updating, I simply avoid it and go the old-school route of updating via sideload to prevent any issues.
In hopes of putting to rest issues some of you face, here is what I do:
- Make a backup of all my important files in case something goes wrong
- Disable any Magisk modules if it makes you feel any safer
- Download the OTA image online and NOT from the system update!
- Reboot to recovery and sideload the OTA by using:
Code:adb reboot sideload
- Then, in recovery I load up the file by using:
Code:adb sideload "insert OTA file name here.zip"
I then proceed to root the device as I normally would, by:
- Once it finishes, you will be in recovery mode. Select "Reboot to system now".
- Once the system reboots, I unlock the device and let it finish completing the update before anything else.
- Getting the NEW boot.img file from the full factory image
- Copy it to my mobile device
- Open up Magisk and patch the boot.img file
- Copy the patched file to my PC
- Reboot into bootloader using:
Code:adb reboot bootloader
Then, patch the new boot.img using:
Code:fastboot flash boot "patched_boot.img"
Reboot / Done.
I have not had it fail once using this process on stable Magisk and NO "disable" tags. The only reason I can see for anyone to use Canary versions of Magisk or "disable" tags, is if its absolutely required for some modules, ROMs, or kernels you are using. If it's not needed, just leave it alone.
You could technically just dirty flash the entire full factory image using the Android Flash Tool or flash-all.bat script on your PC, but the script file is where I find most folks mess up because they copy and pasted instructions improperly, or there's a line of code they forgot to add or remove without proofreading before running the script. I'd rather take matters into my own hands, even if it means completing more steps to make sure things go smoothly.
Anyway, I hope this helps someone!
fastboot --skip-reboot update [****image_name****]
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
fastboot flash boot magisk_patched.img
fastboot reboot
echo Press any key to exit...
adb reboot sideload
adb sideload "insert OTA file name here.zip"
adb reboot bootloader
fastboot flash boot "patched_boot.img"
holy poop that worked!! i was scared to try it myself but since i have a backup phone with all my data on it, it wouldnt be so bad to wipe the pixel if i messed it up doing it this way! But hey, it actually worked!!couldnt we just add step 5 into the flash-all file? for example:
fastboot reboot-bootloader
fastboot flash boot magisk_patched-xxxxx.img
fastboot reboot
like in the picture? or would it not actually run that way?
View attachment 5465521