How to prevent Auto-Reboot after flashing Factory Image? - Nexus 5 Q&A, Help & Troubleshooting

How can I prevent Auto-Reboot of my Nexus 5 after flashing an Official Factory Image?
I've tried to add
Code:
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
after
Code:
fastboot -w update image-hammerhead-xxxxxx.zip
on
flash-all.bat​but the Nexus reboot anyway.
There is another command or option that could help me, or any other way for that?

Flash the files individually
Sent from my Nexus 5 using Tapatalk

alessio89g said:
How can I prevent Auto-Reboot of my Nexus 5 after flashing an Official Factory Image?
I've tried to add
Code:
fastboot reboot-bootloader
ping -n 5 127.0.0.1 >nul
after
Code:
fastboot -w update image-hammerhead-xxxxxx.zip
on
flash-all.bat​but the Nexus reboot anyway.
There is another command or option that could help me, or any other way for that?
Click to expand...
Click to collapse
Flash the files individually with fastboot, u can just do
fastboot flash radio radio.img
fastboot flash bootloader bootloader.img
fastboot flash system system.img
You don't need to flash userdata if u don't want to that will erase all ur data, just flash the above images, u will need to extract the zip file that contains the images tho as well as the original tgz file
Sent from my Nexus 6 using Tapatalk

So, is this the sequence?
Code:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot reboot-bootloader
fastboot flash cache cache.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata.img
fastboot reboot-bootloader
When I use
Code:
fastboot flash recovery recovery.img
I suppose that I can flash directly the TWRP, right?
And this command
Code:
fastboot flash userdata userdata.img
equals
-w​in
Code:
fastboot [B]-w[/B] update image-hammerhead-xxxxxx.zip
right?

no need to fastboot reboot-bootloader after every line, i use the following and never had an issue:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot reboot

metpage said:
no need to fastboot reboot-bootloader after every line, i use the following and never had an issue:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot reboot
Click to expand...
Click to collapse
Don't you flash cache.img?
And could you talk me about this?
alessio89g said:
And this command
Code:
fastboot flash userdata userdata.img
equals
-w​in
Code:
fastboot [B]-w[/B] update image-hammerhead-xxxxxx.zip
right?
Click to expand...
Click to collapse

alessio89g said:
So, is this the sequence?
Code:
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
fastboot flash radio radio.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot reboot-bootloader
fastboot flash cache cache.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata.img
fastboot reboot-bootloader
When I use
Code:
fastboot flash recovery recovery.img
I suppose that I can flash directly the TWRP, right?
And this command
Code:
fastboot flash userdata userdata.img
equals
-w​in
Code:
fastboot [B]-w[/B] update image-hammerhead-xxxxxx.zip
right?
Click to expand...
Click to collapse
alessio89g said:
Don't you flash cache.img?
And could you talk me about this?
Click to expand...
Click to collapse
i don't flash cache because afterwards you need to go into recovery and format cache otherwise you will bootloop (in my experience).

metpage said:
i don't flash cache because afterwards you need to go into recovery and format cache otherwise you will bootloop (in my experience).
Click to expand...
Click to collapse
And about userdata.img? Do you know if it's like the option "-w" in the line
fastboot -w update image-hammerhead-xxxxxx.zip
on flash-all.bat?

yes if you flash userdata.img you lose your data on your phone because you are replace you data with a clean version. SO if you want to keep your data, DON'T flash userdata.img

Related

[Q] Help downgrading to 11S

So Lollipop (12.0-YNG1TAS17L) isn't cutting it for me and I'm going to downgrade to 11S (cm-11.0-XNPH05Q) now I know that I have to use the zip on this site (and BTW what is the boot-debuggable.img one for, tho'?) and use one the following commands:
First set
Code:
fastboot flash modem NON-HLOS.bin
fastboot reboot-bootloader
fastboot flash sbl1 sbl1.mbn
fastboot reboot-bootloader
fastboot flash dbi sdi.mbn
fastboot reboot-bootloader
fastboot flash aboot emmc_appsboot.mbn
fastboot reboot-bootloader
fastboot flash rpm rpm.mbn
fastboot reboot-bootloader
fastboot flash tz tz.mbn
fastboot reboot-bootloader
fastboot flash LOGO logo.bin
fastboot reboot-bootloader
fastboot flash oppostanvbk static_nvbk.bin
fastboot reboot-bootloader
fastboot flash system system.img
fastboot reboot-bootloader
fastboot flash userdata userdata_64G.img
fastboot reboot-bootloader
fastboot flash boot boot.img
fastboot reboot-bootloader
fastboot flash recovery recovery.img
fastboot reboot-bootloader
fastboot flash cache cache.img
fastboot reboot
Or Do I use these ones?
Second set
Code:
fastboot.exe oem unlock
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
fastboot flash oppostanvbk static_nvbk.bin
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata_64G.img
fastboot.exe oem lock
fastboot reboot
NOTICE THE ORDER.
On the first we have (between system reboots):
fastboot flash system system.img
fastboot flash userdata userdata_64G.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash cache cache.img
And on the second we have:
fastboot flash boot boot.img
fastboot flash cache cache.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash userdata userdata_64G.img
TL;dr:
1 - On cyanogen site what is the boot-debuggable.img for?
2 - Do the flash commands have any order in particular?
3 - Which of those sets (1-2) of commands are correct?
And before anyone asks; YES I want to do this by hand.
PS:
I've seen in other batch scrips these two files being evoked (reserve4.img and persist.img).
- First what are they for?
- Second do I really need them?
- Third where do I get them?
I want to go to version (cm-11.0-XNPH05Q official) so I need the official ones and not those mirrored ones where I don't have any way to validate their authenticity nor what version are they made for.
http://webtrickz.com/how-to-flash-cm12-lollipop-factory-image-on-oneplus-one-using-fastboot/
Just replace 12 with 11.

Moto G7 xt1962-1 river retail PPO29.114-134 firmware

RIVER_RETAIL_9.0_PPO29.114-134_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
also available for xt1962-4
Change log?
ptn107 said:
RIVER_RETAIL_9.0_PPO29.114-134_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
also available for xt1962-4
Click to expand...
Click to collapse
Thanks a lot, my friend... Now I can root my Moto G7 River again! ?
How do I flash this .zip?
ptn107 said:
RIVER_RETAIL_9.0_PPO29.114-134_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
also available for xt1962-4
Click to expand...
Click to collapse
Tried to install on a xt1962-4 and it goes bootloop :c
MatheusDeFino said:
Tried to install on a xt1962-4 and it goes bootloop :c
Click to expand...
Click to collapse
-
My link is for the xt1962-1. Did you get the appropriate xt1962-4 image for your device?
XT1962-4_RIVER_RETBR_9.0_PPO29.114-134_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
XT1962-4_RIVER_RETLA_9.0_PPO29.114-134_cid50_subsidy-DEFAULT_regulatory-XT1962-4-SUTEL-DS_CFC.xml.zip
The xt1962-4 has options. You need to know which one is correct for you.
ptn107 said:
-
My link is for the xt1962-1. Did you get the appropriate xt1962-4 image for your device?
XT1962-4_RIVER_RETBR_9.0_PPO29.114-134_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
XT1962-4_RIVER_RETLA_9.0_PPO29.114-134_cid50_subsidy-DEFAULT_regulatory-XT1962-4-SUTEL-DS_CFC.xml.zip
The xt1962-4 has options. You need to know which one is correct for you.
Click to expand...
Click to collapse
How install?
Mathiusb said:
How install?
Click to expand...
Click to collapse
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash dtbo dtbo.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash system_b system_b.img_sparsechunk.2
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot flash vendor vendor.img_sparsechunk.2
fastboot flash oem oem.img
fastboot flash oem_b oem_other.img
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
Unroot first?
I'm fairly new to rooting on the Moto G7 since I've only tinkered with my Asus Zenfone. I'm currently rooted on the G7 running PPOS29.114-16-5-2 and patched with Magisk. Do I need to unroot, ie. go back to stock, then upgrade to PPO29.114-134 then root and patch again?
eztechio said:
I'm fairly new to rooting on the Moto G7 since I've only tinkered with my Asus Zenfone. I'm currently rooted on the G7 running PPOS29.114-16-5-2 and patched with Magisk. Do I need to unroot, ie. go back to stock, then upgrade to PPO29.114-134 then root and patch again?
Click to expand...
Click to collapse
You can manually download and flash the new firmware and then patch boot with magisk again. You do not need to go back to stock first.
adb sideload
I'm trying to adb sideload the zip from recovery and the minute I execute I get adbd status 1 Installation aborted. Also it seems through RSD lite that the zip is corrupted. Anyone else get this issue?
Filename differences PPO vs PPOS
Does PPO vs PPOS in the filename mean that PPOS can be sideloaded and the other only via OTA or from internal?
ptn107 said:
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash dtbo dtbo.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash system_b system_b.img_sparsechunk.2
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot flash vendor vendor.img_sparsechunk.2
fastboot flash oem oem.img
fastboot flash oem_b oem_other.img
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
Click to expand...
Click to collapse
Is this method to install for RIVER_RETAIL_9.0_PPO29.114-134_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip or it is for Mathiusb's xt1962-4 version?
---------- Post added at 02:21 AM ---------- Previous post was at 02:00 AM ----------
Actually ignore my posts. I just read the flashfile.xml in the zip and it has the same steps. duh!
Fastboot 'waiting for any device'
A new Moto G7 XT-1962 US-Retail running the original ROM, unlocked, rooted, and with TWRP installed. It seems to be working okay but somehow during unlocking and setup, it no longer detects the SIM.
So I thought that flashing the most-recent update might also resolve the SIM problem at the same time. Steps from this forum were followed with a difference that I was using a Mac. The contents of the platform-tools (adb-fastboot) directory were combined with the extracted ROM zip files and the terminal launched from there. Like the Windows technique.
ADB works now and Fastboot had worked before using this same approach for the oem unlocking routine:
Code:
$ adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
ZY226JMG38 device
Now Fastboot (from platform-tools_r29.0.4-darwin.zip) returns "waiting…" and hangs:
Code:
$ fastboot device
< waiting for any device >
$ fastboot getvar max-sparse-size
< waiting for any device >
$ fastboot oem fb_mode_set
< waiting for any device >
$ sudo fastboot device
Password:
< waiting for any device >
Any suggestions about Fastboot and comments about fixing my undetected SIM appreciated. This flashing routine is a scary undertaking for this dummie.
@dlfuller - Is your device booted in bootloader? When you do fastboot devices -l does your device show up?
eztechio said:
@dlfuller - Is your device booted in bootloader? When you do fastboot devices -l does your device show up?
Click to expand...
Click to collapse
Thanks @eztechio, but the problem turns out to be the fastboot command itself. Only <waiting for device> in the code sample of my post.
---------- Post added at 11:32 AM ---------- Previous post was at 11:25 AM ----------
I stumbled across the answer to my main question elsewhere and hope this might be helpful to other Mac users.
In MacOS adb and fastboot commands must be preceded with "./" most of the time. Why the exception where some adb commands work without it I don't know.
Code:
$ adb devices
List of devices attached
ZY226JMG38 device
$ ./adb devices
List of devices attached
ZY226JMG38 device
$ ./adb reboot bootloader
$ ./fastboot devices
ZY226JMG38 fastboot
$ ./fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: 0.000s
With fastboot working now, it's on to this dummie adventuring into the ROM update…
Thanks @ptn107. Your fastboot steps worked like a charm. I'm now up to date on ROM Build PPOS29.114-134-2
A fresh, clean slate. Just had to install TWRP and Magisk again. My problem before of not detecting the SIM now resolved.
Just wish I could have retained my user apps and data through the upgrade process. Not executing fastboot erase userdata might have been the approach, but I didn't want to chance it.
eztechio said:
I'm trying to adb sideload the zip from recovery and the minute I execute I get adbd status 1 Installation aborted. Also it seems through RSD lite that the zip is corrupted. Anyone else get this issue?
Click to expand...
Click to collapse
I think u have to unzip and flash files through fastboot commands
@HueyT - Yes I had to extract the files and perform each fastboot command in my command prompt terminal. All is good now. I'm actually now on the latest released firmware by doing the same update steps.
Will it bootloop if I install RETUS on AMZ XT1962-1 phones?

Anyone with a Moto g7 Power XT1955-4?

Hey, is there anyone using a moto g7 power XT1955-4? If so is it rooted or are you willing/ planning to root it? If yes, then i really need your help. Please let me know if you can help me.
Ballyeet said:
Hey, is there anyone using a moto g7 power XT1955-4? If so is it rooted or are you willing/ planning to root it? If yes, then i really need your help. Please let me know if you can help me.
Click to expand...
Click to collapse
Me bro... See:
xe500linux said:
Whats the difference between fastboot -w and just wiping everything in Twrp? That could have been it.. Syber makes the official Twrp as well so dont know if the one in OP is any different
And theres 4 roms btw, Havoc OS has no thread but its on Syber's androidfilehost. Same rgb/display issues as Lineage though
Click to expand...
Click to collapse
bruh you dont even have to use the fastboot -w or wipe command
CREATOR OF POST: MY F***IN BAD my speak problem was some bs from a blank flash i sorted it now the only bugs i got in some sketchy nav bar
there are apparently these roms as well:
CARBON-CR-7.0-OPAL-UNOFFICIAL-ocean-20191025-1317.zip
Viper-ocean-20191029-v6.7-UNOFFICIAL.zip
XenonHD-191024-Unofficial-ocean.zip
---------- Post added at 09:53 AM ---------- Previous post was at 08:54 AM ----------
FULL GUIDE TO DEBRICK/INSTALL STOCK ROM/REMOVE BAD KEY/INSTALL CUSTOM ROM AND TWRP
ensure your google accounts are removed from the phone and bootloader is unlocked...
boot to bootloader
run cmd prompt
use cd C:\*LOCATION* to go to folder with full STOCK ROM but make sure you have this files in the folder too [adb.exe, fastboot.exe, adbwinapi.dll, adbwinusbapi.dll] from ur minimal adb and fastboot setup. you will also need the recovery file TWRP-ocean-3.3.1-Syber-v2.2_11-02.img in this folder and the logo.bin file to remove the bad key FROM HERE. I suggest you rename to logonew.bin and put in the stock rom folder. you will also want ur RRromzip, the copypartitions.zip, the TWRP INSTALLER, GAPPS & MAGISK ZIP...
no matter what stage u are at other than bricked [after the BLANK FLASH then resume with this guide. if ur stuck bootlooping or have messed anything up start from the stock rom install or you will end up bricking your phone....
ok so in your cmd open in stock rom folder type these commands:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1
fastboot flash system_b system_b.img_sparsechunk.2
fastboot flash vendor vendor.img_sparsechunk.0
fastboot flash vendor vendor.img_sparsechunk.1
fastboot flash oem oem.img
fastboot flash oem_b oem_other.img
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot-bootloader
when it reboots to bootloader use these commands from the same folder:
fastboot set_active a
fastboot reboot-bootloader
sleep 5
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot reboot-bootloader
sleep 5
fastboot flash modem_a NON-HLOS.bin
fastboot flash fsg_a fsg.mbn
fastboot flash dsp_a adspso.bin
fastboot flash logo_a logo.bin
fastboot flash boot_a boot.img
fastboot flash dtbo_a dtbo.img
fastboot flash vendor_a vendor.img_sparsechunk.0
fastboot flash vendor_a vendor.img_sparsechunk.1
fastboot flash vendor_a vendor.img_sparsechunk.2
fastboot flash vendor_b vendor.img_sparsechunk.0
fastboot flash vendor_b vendor.img_sparsechunk.1
fastboot flash vendor_b vendor.img_sparsechunk.2
fastboot flash oem_a oem.img
fastboot flash oem_b oem.img
fastboot oem fb_mode_clear
fastboot reboot-bootloader
now use these commands to remove bad key
fastboot flash logo_a logonew.bin
fastboot flash logo_b logonew.bin
now boot the twrp by using
fastboot boot TWRP-ocean-3.3.1-Syber-v2.2_11-02.img
when twrp boots it should show up in ur windows explorer if you have an sd card just drop the files you need on it or you will have to use command adb push copy-partitions-payton.zip /sdcard/
install the copy-partitions-payton.zip
when complete reboot-bootloader
now boot the twrp again by using
fastboot boot TWRP-ocean-3.3.1-Syber-v2.2_11-02.img
now install the rom zip
then the twrp installer zip
reboot-recovery [it auto switches slot]
install gapps and magisk zips
reboot system
you should have ur custom rom and twrp recovery permanently installed now
Thanks for this guide! Does it work with official TWRP?
One more question: I have the RETEU Version, wich zip should i pick? The PPO or the PPOS Version?
thanks in advance!

[fixed root for nov 2019 android security update]NORA xt1922 8.0.0_opps27.91-176-11-7

Actually took all night to figure out how to do this.... this has only been tested on XT1944-2_NORA but it should work for any non64bit builds....
Download MY ZIP FILE and extract.
Install MotorolaDeviceManager_2.5.4.exe
Dowload stock rom FROM HERE and extract and combine MY ZIP FILE and this one.
Open cmd prompt
Code:
cd "C:\ADDRESS of combined folders"
flash stock rom using these commands:
Code:
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash dsp adspso.bin
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash vendor vendor.img
fastboot flash oem oem.img
fastboot erase cache
fastboot erase userdata
fastboot erase DDR
fastboot oem fb_mode_clear
fastboot reboot-bootloader
now boot twrp_james.img using:
Code:
fastboot boot twrp_james.img
it will take 30-60secs to load cos of the encryption, when it asks for a password just press cancel
while in TWRP, run the following in your ADB terminal
Code:
adb shell mount -o,rw /dev/block/bootdevice/by-name/vendor /vendor
adb push fstab.qcom /vendor/etc/fstab.qcom
then hit wipe > format data > yes
now push magisk with
Code:
adb push Magisk-v19.4.zip /sdcard
install the zip reboot to bootloader
flash twrp with
Code:
fastboot flash recovery twrp-3.3.1-0-nora.img
FIX BAD KEY LOGO BY CHOOSING WHAT YOU WANT FROM HERE
when ur phone loads just open magisk and update it direct install after updating magisk manager

How To Guide How to downgrade back to 11 from 12

This guide is for anyones like me that wants to go back to Android 11 from 12.
Prerequisites:
unlocked bootloader
Your phone's Android 11 firmware
Ability to get into fastboot and type commands one at a time hitting ENTER after each line
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash vbmeta vbmeta.img
fastboot flash vbmeta_system vbmeta_system.img
fastboot flash radio radio.img
flash bluetooth BTFM.bin
flash dsp dspso.bin
flash logo logo.bin
flash boot boot img
flash vendor_boot vendor_boot.img
flash dtbo dtbo.img
flash super super.img_sparsechunk.0
(This flash took almost 15 seconds to finish. Continue flashing sparsechunk.1 thru sparsechunk.11 one at a time.
fastboot erase carrier
fastboot erase userdata
fastboot erase metadata
fastboot erase ddr
fastboot oem fb_mode_clear
fastboot reboot
I had to flash both a & b slots to get this to stick. Disable updates to avoid problems.

Categories

Resources