If so what version of Magisk, TRWP, etc did you use and was it successful or any snags along the way?
I plan on manually flashing the OTA when I get home tonight, just curious if any others have had success or failures.
I just flashed the full image (not OTA) without issues. Initially flashed Magisk v20.3 and then used MM to update to v20.4. Finally, used EX Kernel Manger to download / flash latest kernel.
I flashed the OTA, and installed Magisk 20.3, everything went smoothly
My updating procedure is flashing update image without -w then sideloading twrp & sideload flash kernel & magisk, but i have changed my laptop, idk if its something to be done on the laptop or in the phone, as i flashed april update but now when sideload flashing in twrp the pc wont send file to phone it just keeps blank & wont flash zip
Nightf0x_007 said:
My updating procedure is flashing update image without -w then sideloading twrp & sideload flash kernel & magisk, but i have changed my laptop, idk if its something to be done on the laptop or in the phone, as i flashed april update but now when sideload flashing in twrp the pc wont send file to phone it just keeps blank & wont flash zip
Click to expand...
Click to collapse
I find that the USB setting gets reset on reboot. I always have to tap to change the option again.
Related
I have a Pixel C, rooted using the Nexus Rootkit, TWRP and SuperSU.
All was fine and was on build N2G48C.
I had an OTA notification for Oreo, so I downloaded the OPR6.170623.010 Oreo OTA file, and used FlashFire to apply this.
Now everytime it reboots it goes past the Google logo, then to the "waiting for fastboot command" screen. I've tried rebooting to Recovery and I get the same thing!
Google didn't seem to help, so please can anyone else help?
I was manually flashing rather then using flashfire, but I was getting the same problem. First, flash just the stock room (no root or TWRP) and check that it boots. Mine would, but every time I tried to flash TWRP, it would bootloop to fastboot.
You may want to download the full rom, not just the ota. You can modify the flash batch file to not wipe the tablet, or just flash the components.
What was finally successful for me was to flash TWRP and NOT let it finalize. It should ask if you want to mount R/W so it can keep the rom from overwriting the recovery. I told it no, then flashed the Magisk zip for root. I haven't tested SuperSU, but just replace it here to try. This got me a proper boot to Oreo, with Magisk working correctly.
If I understand it right, and I haven't booted to recovery to check, the rom will likely have overwritten TWRP. Worst case, I have to reflash recovery whenever I want to do a backup or update my rom, but that isn't something I do often on this tablet.
hey guys, so i have a 64GBs Oneplus 5T and i rooted my phone 1 year ago with magisk using fastboot And TWRP. i used to get OTA updates and i was able to update my phone always. when i recieve an update i would remove TWRP , flash back the stock recovery and remove the root, update my phone then get them back. and this method worked many times.
right now i cant do this anymore. when i download the OTA update and it finishes the reboot the upgrade button doesnt work anymore. tried aswell to update it manually using local update the local update button doesnt work. tried putting the zip file to the internal storage and flasing it with the stock recovery from internal storage , it doesnt work aswell it doesnt even browse my phone .. tried flashing the ota zip files with TWRP it gives me "updater process ended with error 7"
right now phone works perfectelly fine, i have access to stock recovery and TWRP aswell. BUT iam unable to update my phone anymore.. any advices?
mastrok said:
hey guys, so i have a 64GBs Oneplus 5T and i rooted my phone 1 year ago with magisk using fastboot And TWRP. i used to get OTA updates and i was able to update my phone always. when i recieve an update i would remove TWRP , flash back the stock recovery and remove the root, update my phone then get them back. and this method worked many times.
right now i cant do this anymore. when i download the OTA update and it finishes the reboot the upgrade button doesnt work anymore. tried aswell to update it manually using local update the local update button doesnt work. tried putting the zip file to the internal storage and flasing it with the stock recovery from internal storage , it doesnt work aswell it doesnt even browse my phone .. tried flashing the ota zip files with TWRP it gives me "updater process ended with error 7"
right now phone works perfectelly fine, i have access to stock recovery and TWRP aswell. BUT iam unable to update my phone anymore.. any advices?
Click to expand...
Click to collapse
hi, without knowing your device-status, i recommend updating TWRP & dont forget 'disabling' MAGISK inkl modules before flashing (possibility of bootloop)!!
OREO - twrp-3.2.2-x_blu_spark_v8.83_treble-op5_op5t - flashing PIE with this TWRP will end up in an "compatibility error" [you have to remove compatibility.zip inside the OTA]
PIE - twrp-3.2.3-x_blu_spark_v9.91_treble-op5_op5t
my steps are: download OTA > go to MagiskManager -- 'restore images' > reboot into TWRP -- flash OTA.zip (wipe C/D)+Magisk18.1+[Kernerl] > reboot -- updated and MagiskModules are enabled
Hello, this morning I found my poco f3 updated to Miui 12.5.3.0 (I was on 12.5.0.0) even though I had automatic updates disabled. After the automatic update I lost my root via magisk and twrp in recovery. No problem, I got twrp installed again, then I proceeded to install magisk v23.0 from TWRP, as I had done after 12.5.0.0. update.
Afterwars phone is stuck in a bootloop. I reflashed stock boot image, recovering the phone, but I ave been unable to install magisk in 12.5.3.0, I tried copying boot.img to the phone, then using magisk manager to patch the boot image, then flash the patched image trough fastboot, with the same result.
Anyone knows how to make magisk work in this new update?
Thank you
suloku said:
Hello, this morning I found my poco f3 updated to Miui 12.5.3.0 (I was on 12.5.0.0) even though I had automatic updates disabled. After the automatic update I lost my root via magisk and twrp in recovery. No problem, I got twrp installed again, then I proceeded to install magisk v23.0 from TWRP, as I had done after 12.5.0.0. update.
Afterwars phone is stuck in a bootloop. I reflashed stock boot image, recovering the phone, but I ave been unable to install magisk in 12.5.3.0, I tried copying boot.img to the phone, then using magisk manager to patch the boot image, then flash the patched image trough fastboot, with the same result.
Anyone knows how to make magisk work in this new update?
Thank you
Click to expand...
Click to collapse
Try flashing the older patched boot.img on the new stock firmware.
On the 12.5.3.0 ill patched boot.img from 12.5.1.0 and all right.
Thanks for your replies. It seems the problem was a module I had installed being incompatible with the update (smali patcher). I tried removing the module from /data/odb/modules/ via twrp after installing magisk (also via twrp) and everything finally booted just fine!
But I hope this time disabling automatic updates works as intended
i have the same issue of auto updated and lost my root access.
Which boot.img I should Magish'd to get the root access again?
Currently installing my twrp
1. fastboot boot twrp.img
2. go to Advanced > Flash Current TWRP
3. after that is done, if you were using a custom kernel, reflash it now
4. if you were using magisk, reflash it now
if Flash Current TWRP fails, go to Backup > Refresh Sizes and try Flash Current TWRP again
Click to expand...
Click to collapse
Currently at the Resizing stage
Edit 1: failed, I have the error bootctrl error that prevent me from installing after resizing.
I have flashed the twrp3.5.2 directly to boot resulting in bootloop and needed to install the Boot.img from the 12.5.1 from the previous bulit
Edit: actually I can ignore that error.
Magisk installed but safety checked failed even I have the "universal safety check module installed "
Also the app thoax isn't working
I'd try removing all magisk modules, installing stock 12.5.3, then using magisk apk to create patched boot.img and flash it with fastboot (fastboot flash boot magisk_boot_patched.img)
Also, maybe try flashing bot boot_a and boot_b? I had a problem were my active boot partition changed and phone became even more broken.
suloku said:
Thanks for your replies. It seems the problem was a module I had installed being incompatible with the update (smali patcher). I tried removing the module from /data/odb/modules/ via twrp after installing magisk (also via twrp) and everything finally booted just fine!
But I hope this time disabling automatic updates works as intended
Click to expand...
Click to collapse
Might wanna also uncheck Automatic system updates in the Developer settings to be safe.
suloku said:
But I hope this time disabling automatic updates works as intended
Click to expand...
Click to collapse
There is a setting in the Xiaomi system updater that had by default checked auto-update. That setting need to be disabled/unchecked as well.
Since you have root with Magisk, can also Force stop or debloat the updater app, so the system will not update itself.
suloku said:
Thanks for your replies. It seems the problem was a module I had installed being incompatible with the update (smali patcher). I tried removing the module from /data/odb/modules/ via twrp after installing magisk (also via twrp) and everything finally booted just fine!
But I hope this time disabling automatic updates works as intended
Click to expand...
Click to collapse
I had the same issue on Redmi Note 9 Pro (joyuse). Based on your tip I've removed some modules from `data/adb/modules` and my device is finally booting normally. Thanks!
So I had Magisk. I uninstalled it via the app, preformed a system update, then avoided the reboot, installed Magisk on the OTA partition and rebooted. This got me into fastboot mode multiple times until my phone booted. Now I booted up and I am in the Feb update partition with no Magisk. How do I root and update without losing my data?
mkhcb said:
So I had Magisk. I uninstalled it via the app, preformed a system update, then avoided the reboot, installed Magisk on the OTA partition and rebooted. This got me into fastboot mode multiple times until my phone booted. Now I booted up and I am in the Feb update partition with no Magisk. How do I root and update without losing my data?
Click to expand...
Click to collapse
Since you are having problems with updating via OTA, suggest either using flash-all method or Android Flash Tool to update to March build. Then patch boot image using either Canary 24301 or Stable 24.3. Make sure to disable mods before rooting.
No such thing as a match update
mkhcb said:
So I had Magisk. I uninstalled it via the app, preformed a system update, then avoided the reboot, installed Magisk on the OTA partition and rebooted. This got me into fastboot mode multiple times until my phone booted. Now I booted up and I am in the Feb update partition with no Magisk. How do I root and update without losing my data?
Click to expand...
Click to collapse
I would use the Android flashtool and download the factory image , patch the boot image then flash it in fastboot. No loss of data, just make sure you don't check any of the boxes like 'wipe device' or 'lock bootloader' in flashtool settings
I just flashed March. Used all old school flashed with latest adb and fastboot
Disabled all the magisk modules just in case.
Patched March update boot file in Magisk
Had the update for Magisk and did not do it at this point, as I had heard people having issues with that.
booted into bootloader Flashall.bat removing -w
booted into phone, waited for update to finish in the notifications.
booted phone back into bootloader, installed magisk boot image
Booted phone back up
enabled all magisk modules
Updated magiskapp, then updated root via direct install
Rebooted phone
And all good
I was rooted with Magisk on the April build and attempted to update to May. So I used Magisk to uninstall, accepted the OTA, then used Magisk to reinstall (before rebooting) but I got an error about the phone being corrupt,. So I've spent the past several hours flashing the stock boot image to both boot slots, creating new Magisk patched images, flashing those to both boot slots, rebooting, and flashing stock boot images again to both boot slots. I've done every combination of flashing stock to one boot slot and patched to another, patched to both slots, and now stock to both slots. Any time I try to boot a patched boot image the phone reboots a few times and finally tells me it's corrupt and asks to reset it (which I haven't done and prefer not to do).
I can confirm that I'm on the May update and that I'm using the May boot image in my attempts to root again. At this point, I've wiped the Magisk app (thinking a module could be causing the issue when I root) and I'm back on the stock boot image and the phone seems to be working fine, just without root.
I feel like I'm missing something simple. Can someone point me in the right direction?
I stopped to update ROM with this method since march because i had always a bootloop.
Now i install the update by android flash tool and flash boot patched with fastboot command.
You could do it. I hope Twrp wil be released quickly.
Vincent_40 said:
I stopped to update ROM with this method since march because i had always a bootloop.
Now i install the update by android flash tool and flash boot patched with fastboot command.
You could do it. I hope Twrp wil be released quickly.
Click to expand...
Click to collapse
I successfully updated to May and I've flashed the patched boot image in fastboot at least a dozen times (stock to patched, different partitions, patched to stock). The phone won't boot whenever I flash the patched image. It just bootloops and eventually gives me an error about being corrupt and asks if I want to factory reset.
Flash your patched image, then boot to safe mode, then reboot. It should work. I had the same issue and it ended up being something I had in Magisk, even though I had everything disabled. I ended up uninstalling everything in Magisk, and reinstalling.
shiftr182 said:
Flash your patched image, then boot to safe mode, then reboot. It should work. I had the same issue and it ended up being something I had in Magisk, even though I had everything disabled. I ended up uninstalling everything in Magisk, and reinstalling.
Click to expand...
Click to collapse
And if this doesn't work you might have to wipe your phone and re-flash the appropriate build. I remember seeing posts in the past with users discussing a wipe and re-flash resolving the "phone is corrupt" issue.
shiftr182 said:
Flash your patched image, then boot to safe mode, then reboot. It should work. I had the same issue and it ended up being something I had in Magisk, even though I had everything disabled. I ended up uninstalling everything in Magisk, and reinstalling.
Click to expand...
Click to collapse
I wiped data in Magisk since I can't access the modules to disable them right now (no root) and I also wiped data in Rice Tweaks since it was one of the mods I was using. I'll try this tonight and see if it works.
joshw0000 said:
I wiped data in Magisk since I can't access the modules to disable them right now (no root) and I also wiped data in Rice Tweaks since it was one of the mods I was using. I'll try this tonight and see if it works.
Click to expand...
Click to collapse
Before you wipe everything try this:
** ALSO: booting into safe mode automatically disables all Magisk modules **
How I root and update (which is identical whether rooting the first time or updating):
Use the latest Magisk Stable (in my case, I keep the app "hidden" / renamed)
Used the full firmware zip, extracted to the same folder as the latest Platform Tools (S:\platform-tools)
Extracted the new boot.img
Copied new boot.img to the phone
Patched the new boot.img with Magisk Stable
Renamed Magisk'd boot.img so I know what version of firmware it's for
Copied the Magisk'd boot.img back to the computer
Disabled all my Magisk Modules
Removed the "-w " from the flash-all.bat
Re-edited the flash-all.bat to verify I saved it with the "-w " taken out
Open a Command Prompt, navigated to S:\platform-tools
adb reboot bootloader
flash-all.bat
Let phone boot, unlock it, check that it's working, allow the update process to finish (gave it five minutes or so)
adb reboot bootloader
fastboot flash boot kernel.img (renamed Magisk'd boot.img)
fastboot reboot
Unlock, check everything's working
Re-enabled the most basic Magisk Modules which I was sure wouldn't cause a critical issue
Reboot, unlock, made sure everything's working
Back to modding!
Click to expand...
Click to collapse
From here:
https://forum.xda-developers.com/t/...central-repository-of-relevant-links.4352027/
biTToe said:
Before you wipe everything try this:
** ALSO: booting into safe mode automatically disables all Magisk modules **
How I root and update (which is identical whether rooting the first time or updating):
From here:
https://forum.xda-developers.com/t/...central-repository-of-relevant-links.4352027/
Click to expand...
Click to collapse
Thanks. Do you know if I can run the flash-all.bat if I'm already on the current update? I have the full firmware on my PC (so I could get the boot image).
It sounds like booting to safe mode is the one thing I haven't tried.
When I updated last night I tried to disable Magisk from within the app but Magisk didn't have a backup (because I had rooted on the April build from fastboot) so I flashed the factory April boot.img, then fastboot boot magisk-boot.img, then allowed Magisk to root my phone. Then disabled all the modules, unrooted with Magisk, accepted the OTA which took unusually long to install (2+ hours), then used Magisk to restore root but I think I forgot to tell it to do the inactive partition which may have cause all of my issues. When I rebooted it gave me the corrupt error.
From there I spent a bunch of time fastboot flashing and fastboot booting the stock and modified May boot images. I've got about 4 copies of the modified boot image where I kept recreating it hoping it'd work again.
Tonight I'll try to flash the modified boot.img and boot directly into safe mode to see if I can get it to load. I may also try wiping cache in recovery to see if that helps.
joshw0000 said:
Thanks. Do you know if I can run the flash-all.bat if I'm already on the current update? I have the full firmware on my PC (so I could get the boot image).
Click to expand...
Click to collapse
YES you can.
Just make sure to edit the flash-all.bat and remove -w
otherwise you WILL wipe.
THEN... after you save the edited flash-all.bat, edit it again to make sure the -w is in fact not there.
Ive been where you are before. I forgot to disable a mod and boot-looped.
I booted to safe mode then re-flashed with flash-all, patched the boot.img and flashed that via Magisk and I was golden.
I always use this method. I even went from 12-beta to 12.1 w/o so much as a hiccup.
OTA can be problematic (or has been for me in the past). this is simple, quick, and works every time.
My suggestion is to start from scratch: delete all those previously used/attempted files -especially the patched image.
d/l the new factory image, extract/patch that boot.img This way you know everything is from the same place.
cheers
Thanks guys for all the help. Safe Mode is going to work for me. I was able to root, boot to safe mode, and reboot normal. I'm slowly enabling modules until it errors again and I've found that Renovate Ice was the culprit. But whenever it errors, I can just boot to safe mode, reboot, and start fresh with modules. Thanks!