Process for rooting/decrypting 6.0.1 - Nexus 9 Q&A, Help & Troubleshooting

So either I suck or I literally have the process wrong, but I was trying to install 6.0.1 last night for 2 hours. Originally I had 6.0 installed rooted, twrp, etc. OTA didnt work because I'm guessing twrp was installed as it errored out. So I decided to take WUG downloaded the binaries/newest stuff and decided to just manually flash 6.0.1. However at the same time I wanted to use the decrypter tool here.
My process was/is:
Flash Stock/Unroot button in WUG (with newest 6.0.1 already downloaded
Root button and flash customer recovery button/checkbox
Flash the perm recovery zip, supersu, and busybox
Flash the decrypter zip
Wipe data/cache/system/davik/etc and then freshly reboot
The problem is, it just hangs on the animation screen and never loads. I've tried it twice now, and its driving me insane. Where could I have went wrong? What is flawed about my process or maybe I'm using the wrong stuff. Thank you in advance guys!

chugger93 said:
So either I suck or I literally have the process wrong, but I was trying to install 6.0.1 last night for 2 hours. Originally I had 6.0 installed rooted, twrp, etc. OTA didnt work because I'm guessing twrp was installed as it errored out. So I decided to take WUG downloaded the binaries/newest stuff and decided to just manually flash 6.0.1. However at the same time I wanted to use the decrypter tool here.
My process was/is:
Flash Stock/Unroot button in WUG (with newest 6.0.1 already downloaded
Root button and flash customer recovery button/checkbox
Flash the perm recovery zip, supersu, and busybox
Flash the decrypter zip
Wipe data/cache/system/davik/etc and then freshly reboot
The problem is, it just hangs on the animation screen and never loads. I've tried it twice now, and its driving me insane. Where could I have went wrong? What is flawed about my process or maybe I'm using the wrong stuff. Thank you in advance guys!
Click to expand...
Click to collapse
I don't think the NRT is updated to properly root on 6.0.1 (Could be wrong).
Get the Latest SuperSU-v2.62-3 and flash that, It will modified the boot.img for you and include no forced encryption.
As long as you remove the encryption of the data partion in twrp from this guide
You shouldn't need the decrypter zip, also if you flash TWRP and boot into it before booting the system, you also won't need perm recovery.
Going by what I have read, still encrypted on my Device.

corkiejp said:
I don't think the NRT is updated to properly root on 6.0.1 (Could be wrong).
Get the Latest SuperSU-v2.62-3 and flash that, It will modified the boot.img for you and include no forced encryption.
As long as you remove the encryption of the data partion in twrp from this guide
You shouldn't need the decrypter zip, also if you flash TWRP and boot into it before booting the system, you also won't need perm recovery.
Going by what I have read, still encrypted on my Device.
Click to expand...
Click to collapse
ok so everytime I flash the supersu, it does its thing, then I format data, the reboot and twrp says supersu is not installed, do you wanna install it now? You can swipe to install or do not install.
Which I dont get becuase clearly I flashed the supersu zip a sec ago. if I continue to just flash it like it says, when I boot up, all I see in my drawer is the "SuperSU Installer" I have no idea what I'm doing wrong. If I dont have twrp install it when it asks, I got nothing in my app drawer

think I may have gotten it, had to download supersu from play store, then reflash, then let twrp flash it when it says it needed too, not I can launch supersu from the app drawer and it works.
Next problem is encryption. Under security it still says "Encrypted" do I need to actually hit the "Format Data' button in twrp? I just did a factory wipe slide.

chugger93 said:
ok so everytime I flash the supersu, it does its thing, then I format data, the reboot and twrp says supersu is not installed, do you wanna install it now? You can swipe to install or do not install.
Which I dont get becuase clearly I flashed the supersu zip a sec ago. if I continue to just flash it like it says, when I boot up, all I see in my drawer is the "SuperSU Installer" I have no idea what I'm doing wrong. If I dont have twrp install it when it asks, I got nothing in my app drawer
Click to expand...
Click to collapse
From the linked SuperSU thread
From the linked SuperSU thread said:
If TWRP offers you to keep /system read-only, indeed keep it read-only.
If TWRP tells you SuperSU is not installed, and asks you to install it, do not do it, you will break things!
Click to expand...
Click to collapse
This is do with the new systemless root and TWRP needs to be updated to reflect this change.
chugger93 said:
think I may have gotten it, had to download supersu from play store, then reflash, then let twrp flash it when it says it needed too, not I can launch supersu from the app drawer and it works.
Next problem is encryption. Under security it still says "Encrypted" do I need to actually hit the "Format Data' button in twrp? I just did a factory wipe slide.
Click to expand...
Click to collapse
From the linked guide above said:
11.Once in TWRP, hit “cancel” when asked for the password and then erase/wipe data and make sure MTP is enabled (dig around the menus in TWRP, it’s all in there somewhere). This erases the encrypted partition and allows you to use adb to push files to your sdcard.
Click to expand...
Click to collapse
Answers in quoted messages.
Never had to get SuperSU app from the store, maybe because I already had it installed, the app is also in the SuperSU zip.

Related

New Factory Image 5.1.1 with Stagefright patch

Updated 5.1.1 image (LMY48I). with patch for Stagefright.
https://dl.google.com/dl/android/aosp/mantaray-lmy48i-factory-6ac8b73b.tgz
what about root
perfect_ said:
what about root
Click to expand...
Click to collapse
Root works Ok.
I would like to flash this latest image on my rooted stock 4.3, with the latest twrp 2.8.7 installed. It's a long time since I flashed an image so I'd like to double check:
From twrp, do I first wipe everything and then flash
image-mantaray-lmy48i.zip
followed by UPDATE-SuperSU? In particular, do I need to flash the bootloader.imag that comes with the new image?
THANKS!
case-sensitive said:
I would like to flash this latest image on my rooted stock 4.3, with the latest twrp 2.8.7 installed. It's a long time since I flashed an image so I'd like to double check:
From twrp, do I first wipe everything and then flash
image-mantaray-lmy48i.zip
followed by UPDATE-SuperSU? In particular, do I need to flash the bootloader.imag that comes with the new image?
THANKS!
Click to expand...
Click to collapse
Don't unpack the zip. Just point twrp at the zip file and ask to install. And you don't need to wipe, because the installation wipes everything anyway.
Lollipop takes a long time booting the first time, so be patient and give it 30 minutes at least.
Cheers!
case-sensitive said:
I would like to flash this latest image on my rooted stock 4.3, with the latest twrp 2.8.7 installed. It's a long time since I flashed an image so I'd like to double check:
From twrp, do I first wipe everything and then flash
image-mantaray-lmy48i.zip
followed by UPDATE-SuperSU? In particular, do I need to flash the bootloader.imag that comes with the new image?
THANKS!
Click to expand...
Click to collapse
I used the factory image yesterday to update but installed it using the Flashfire app instead of TWRP. I only flashed boot (not bootloader) and system images then cleared Dalvik (all in one sequence). Flashfire automatically reinstalls SuperSU. I did was on both a Nexus 5 and 10.
I did not flash recovery as the TWRP I had installed was already the latest version. Using this method I preserved my user data and all my settings. All I needed to do was reapply anything I'd previously modified in the /system partition (remove/freeze bloat ware, install busybox, V4A, SuperSU policies ... Etc). I was up and running in no time. Hardly a blip in my day.
I still used TWRP when I really mess up (device soft bricked) but Flashfire has become my goto system update tool on all my Android devices including my Samsung one which has a locked boot loader. It is developed by Chainfire the creator of SuperSU.
Sent from my SM-T800 using XDA Premium HD app
If I'm already on stock 5.1.1 (rooted etc), can I just extract libstagefight.so from this image and manually replace that?
Seems much easier...

January Security Update incremental .zip - Directly from Google's servers

I got the update for the January Security Update today. I grabbed the .zip's location and the link on Google's servers is:
https://android.googleapis.com/pack...51c56752.signed-angler-MMB29P-from-MMB29M.zip
Hope it helps others!
PSA: this is not flashable over custom ROMs, and cannot be used to install the factory OS from nothing. That's what the factory images are for . This .zip is solely to incrementally update from the December security update to the January one.
Is there an easy way to flash this update.zip without the need of a computer?
tinker_tf said:
Is there an easy way to flash this update.zip without the need of a computer?
Click to expand...
Click to collapse
Unless you have a custom recovery, no. Sorry about that
Updated. Thanks for the link!
I have a rooted, stock ROM and TWRP and with several Xposed Modules, can I flash this?
Also, I don't have the December update, where do I find that?
And lastly, I'm on MDB08L Build, will that work?
For those wanting to use this update and have completely stock system based on MMB29M. Boot into recovery and do an ADB sideload update.zip (rename zip first). Mine updated with no issues.
CipherSec said:
I have a rooted, stock ROM and TWRP and with several Xposed Modules, can I flash this?
Click to expand...
Click to collapse
If you've got all that set up, why not just update using the full factory image (without the wipe)
LeoRex said:
If you've got all that set up, why not just update using the full factory image (without the wipe)
Click to expand...
Click to collapse
I assumed I'll lose all my system modifications (i.e. Xposed Modules and their settings) as well as losing root and TWRP and having to reroot again.
pmedwards25 said:
Unless you have a custom recovery, no. Sorry about that
Click to expand...
Click to collapse
This is exactly the file you need if you don't have custom recovery, don't have root, and have not unlocked bootloader. It is the same file that would eventually come to you OTA. You do however need access to adb and a computer. I don't think this is flashable with a custom recovery.
Thanks..
Thanks for this file bro. dont need to wait.
Alright, feeling like a complete noob, here. I'm on systemless root 2.61 with TWRP. I fastboot flashed the stock boot.img and stock recovery, then tried to sideload the OTA zip. I got a "system contains unexpected contents" error, then installation aborted. Now, with systemless root, I had the understanding that flashing the stock system.img would not be necessary. I was not using systemless root before when I flashed the previous OTA zip. Can anyone spot where I might have gone wrong?
Casyis said:
Alright, feeling like a complete noob, here. I'm on systemless root 2.61 with TWRP. I fastboot flashed the stock boot.img and stock recovery, then tried to sideload the OTA zip. I got a "system contains unexpected contents" error, then installation aborted. Now, with systemless root, I had the understanding that flashing the stock system.img would not be necessary. I was not using systemless root before when I flashed the previous OTA zip. Can anyone spot where I might have gone wrong?
Click to expand...
Click to collapse
Try flash stock system image
Does this update fix the LTE issue?
HRodMusic said:
Does this update fix the LTE issue?
Click to expand...
Click to collapse
No it does not
I got it:
For systemless root, fastboot flash: 1) boot.img; 2) recovery.img; 3) vendor.img; 4) system.img
Boot to recovery and enter sideloade mode. adb sideload [update].zip
Reboot to bootloader. Re-flash TWRP, then in TWRP re-flash kernel (if custom) & superSU.
I used a toolkit to root my 6P. I'm using rooted stock rom. I got an OTA update but it seems I can't update it that way as per all others. So how do I go about installing this on my mobile? Do I need to unroot, flash stock recovery & then flash the new image? Then again I have to root?
fyi: i'm rooted with systemless root and twrp
I tried to take this update per usual as i would if i were unrooted, of course that didn't work totally. i assumed i would just find the update.zip file (i did: /data/data/com.google.android.gms/app.download/update.zip, icywtk) but when i tried to flash that it said the zip was corrupted. i deleted the zip and now it still says my december build is up to date. can't we just flash the update.zip with twrp? i did allow for the system to be modified this time when i booted twrp.
asj0422 said:
fyi: i'm rooted with systemless root and twrp
I tried to take this update per usual as i would if i were unrooted, of course that didn't work totally. i assumed i would just find the update.zip file (i did: /data/data/com.google.android.gms/app.download/update.zip, icywtk) but when i tried to flash that it said the zip was corrupted. i deleted the zip and now it still says my december build is up to date. can't we just flash the update.zip with twrp? i did allow for the system to be modified this time when i booted twrp.
Click to expand...
Click to collapse
I am rooted with twrp. Same deal, twrp reports and error 7 when trying to flash the Jan security update.
kmp14 said:
I am rooted with twrp. Same deal, twrp reports and error 7 when trying to flash the Jan security update.
Click to expand...
Click to collapse
i just tried this again with the same results. it says that the installer is expecting a different build (the one that my settings app shows i'm on) but that i have a build called huawei/mmasomething/ dee_stroyer somethingsomething. (i would post exactly what it says but i've already rebooted into system). I do remember something with "dee_stroyer" when i was rooting but it's not the system...
anyone else have any ideas? i'd like to just update normally and keep my data... and the stock android with root.
EDIT: also, the update won't update my recovery will it? i don't want to have to reflash that. i should be able to update even when i'm away from a computer haha.
Rooted with TWRP. I just tried an ADB sideload and get the same error.

Bootloop Honor 9 with Bootloader and FRP unlocked

Hi all people,
first of all, I want excuse me for not my perfect English.
I have Honor 9 from few days. And I think to have bricked it.
I have unlocked bootloader correctly.
I have flashed recovery this TWRP recovery with the intention to proceed to root with Magisk or SuperSu. I accidentally and unconsiuosly do factory reset then the phone goes bootloop. (it power off and power on continuously) with the alert "your device has been unlocked and..etc".
Yesterday, reading this thread, I flashed, from fastboot console, boot, recovery and system, the phone resets two/three times then goes to eRecovery where I do a factory reset.
After a factory reset the phone works correctly and seems successfully unbricked. So I re-flash TWRP recovery.
But this morning, during the attempt to install from TWRP one between Magisk or SuperSu (I don't succeed to do it beacuse the phone was crypted and I don't see zip files from TWRP). I have reset the phone but goes bootloop again.
I tried to re-flash boot, recovery, system and cust more (that I don't have flashed yesterday). Now the phone goes eRecovery and ask me to connect to download latest version and recovery, but don't ask me to do a factory reset.
Now I don't know what I can do.
How I can solve this situation? I want only unlock bootloader (done!), install TWRP and have root permission. Now I don't think to change rom.
Something similar happened to me. It seems like the TWRP provided has some issue..... After installing TWRP I had a bootloop problem. I have resolved installing Magisk. It seems that Magisk patchs something. If you can access TWRP try to install Magisk (put the zip file on external sd). In other words: copy magisk zip on sd card - during the bootloop you have the chance to power off phone - Power off - Power on in recovery mode. If you have TWRP correctly installed Honor should go in recovery using TWRP . Install Magisk and see what happens...
unvisigoth said:
Something similar happened to me. It seems like the TWRP provided has some issue..... After installing TWRP I had a bootloop problem. I have resolved installing Magisk. It seems that Magisk patchs something. If you can access TWRP try to install Magisk (put the zip file on external sd). In other words: copy magisk zip on sd card - during the bootloop you have the chance to power off phone - Power off - Power on in recovery mode. If you have TWRP correctly installed Honor should go in recovery using TWRP . Install Magisk and see what happens...
Click to expand...
Click to collapse
I have tried to flash TWRP recovery again to do install Magisk from sd card. I have done it but the phone doesn't work fine.
So I have put rommco05 TWRP Backup into sd card then restored it from TWRP restore (boot and vendor img). Now the phone seems have bootloader locked, in fact I don't have bootloader warning at the power on. Now in fastboot mode the phone says me that I have Phone locked and FRP unlocked.
How can I exit from this situation?
Try this
Killus3 said:
Hi all people,
first of all, I want excuse me for not my perfect English.
I have Honor 9 from few days. And I think to have bricked it.
I have unlocked bootloader correctly.
I have flashed recovery this TWRP recovery with the intention to proceed to root with Magisk or SuperSu. I accidentally and unconsiuosly do factory reset then the phone goes bootloop. (it power off and power on continuously) with the alert "your device has been unlocked and..etc".
Yesterday, reading this thread, I flashed, from fastboot console, boot, recovery and system, the phone resets two/three times then goes to eRecovery where I do a factory reset.
After a factory reset the phone works correctly and seems successfully unbricked. So I re-flash TWRP recovery.
But this morning, during the attempt to install from TWRP one between Magisk or SuperSu (I don't succeed to do it beacuse the phone was crypted and I don't see zip files from TWRP). I have reset the phone but goes bootloop again.
I tried to re-flash boot, recovery, system and cust more (that I don't have flashed yesterday). Now the phone goes eRecovery and ask me to connect to download latest version and recovery, but don't ask me to do a factory reset.
Now I don't know what I can do.
How I can solve this situation? I want only unlock bootloader (done!), install TWRP and have root permission. Now I don't think to change rom.
Click to expand...
Click to collapse
https://forum.xda-developers.com/honor-9/help/bootloader-locked-help-to-enable-usb-t3683145
Rommco05 said:
Again unlock bootloader
Click to expand...
Click to collapse
I have unlocked bootloader again and do a factory reset from TWRP recovery, now the phone seems works correctly!!!:good:
Now I should try to root the phone with Magisk or SuperSu, right?
I have a question about TWRP. From TWRP's file manager I don't see the files that I put in the internal memory. It's because I have used finger print to lock the phone that encryptes files?
raw_jay said:
https://forum.xda-developers.com/honor-9/help/bootloader-locked-help-to-enable-usb-t3683145
Click to expand...
Click to collapse
This is to re-brand the phone from Chinese to EU version...I don't think is my case.
Rommco05 said:
Take a backup before make root. You don't see files because is some issue with decryption in TWRP. I achieved root with Magisk but I don't remember exactly steps
Click to expand...
Click to collapse
I think it's too late
Anyway I can re-flash all thing from begin.
Then I can't use TWRP with the phone encrypted ( PIN, password, fingerprint, etc...) ?
Rommco05 said:
I'm not sure about thatz Huawei roms are encrypted somehow by default
Click to expand...
Click to collapse
After I have installed Magisk (v14.0) now I have problem with google play services which don't download and do updates apps.
If I do a factory reset again I can solve it?
Update:
After I done a factory reset from TWRP recovery
and formatting data partition the phone seems working perfectly (I don't know why, but before format data the phone says me that I have only 150mb of memory space)
I say "seems" because there's something getting me in trouble, for example, I don't have anymore ringtones in the settings menu.
And I don't know if I have lost something else.
Exists a possibilty to restore all contents of the phone?
You could try this and flash your phone back to stock. But then you would need to unlock your bootloader and install TWRP again. Another way would be to unpack an image of your ROM and flash system and other parts via fastboot. Of course this could be risky and you could brick the device.
Meranico said:
You could try this and flash your phone back to stock. But then you would need to unlock your bootloader and install TWRP again. Another way would be to unpack an image of your ROM and flash system and other parts via fastboot. Of course this could be risky and you could brick the device.
Click to expand...
Click to collapse
If I understand it well...
I have 2 options:
1) Rebrand the phone and flashin, then at end I have back the phone stock.
2) Unpack the image of ROM (what it means?) and flash system and other parts via fastboot. (Which are those parts? How?) But this procedure is more hazardous then rebrand procedure?
I have understand right?
1. Yes, correct. I would recommend that. Everything is explained in the thread I linked. Of course everything you do could potentially harm your phone, but you should know that already.
2. Get an update.app file for your specific phone model (there are threads already here, just search a bit, or use Firmware Finder), open it with the Huawei Update Extractor and extract the parts you want to flash (like system or recovery). Then flash them via fastboot. I tried this because I was in a situation like yours, but it didn't work for me. But in theory it could, because you would replace the faulty parts of your firmware.
Killus3 said:
I have understand right?
Click to expand...
Click to collapse
Could you solve your problem?
Meranico said:
Could you solve your problem?
Click to expand...
Click to collapse
Hi, I don't say it because I have replaced the phone with another same.
Now I'm starting to unlock bootloader, installing recovery TWRP and rooting the phone.
I hope to avoid bootloop this time.
Goodmorning everyone!
Yesterday I have:
- Unlocked bootloader correctly!
- Installed TWRP correctly!
- Make a TWRP Backup of all partitions of the device, except data partition because TWRP gives me an error during backup attempt.
- Then I start the device.
- After start the device I go to recovery TWRP to install Magisk, but the phone goes bootloop.
After reboot 2-3 times on the screen appears for a few moments a message of eRecovery that have restored something but I don't know. Then the device shows me the eRecovery that asks me to make a factory reset.
At this point I shutdown the device, go in TWRP to flash Magisk unistaller and the device goes out bootloop and works fine but without root.
How I can solve this problem and install Magisk and have root finally?
Some question:
-When I flashed TWRP (via fastboot) and I configurate it, example language, hours, etc... TWRP don't save the settings, in fact when I go in TWRP again I do remake the settings. Why?
-Then I go in sdcard I don't navigate files, I see folders with casual characters. This is an effect of encryption of the device?
Killus3 said:
Goodmorning everyone!
Yesterday I have:
- Unlocked bootloader correctly!
- Installed TWRP correctly!
- Make a TWRP Backup of all partitions of the device, except data partition because TWRP gives me an error during backup attempt.
- Then I start the device.
- After start the device I go to recovery TWRP to install Magisk, but the phone goes bootloop.
After reboot 2-3 times on the screen appears for a few moments a message of eRecovery that have restored something but I don't know. Then the device shows me the eRecovery that asks me to make a factory reset.
At this point I shutdown the device, go in TWRP to flash Magisk unistaller and the device goes out bootloop and works fine but without root.
How I can solve this problem and install Magisk and have root finally?
Some question:
-When I flashed TWRP (via fastboot) and I configurate it, example language, hours, etc... TWRP don't save the settings, in fact when I go in TWRP again I do remake the settings. Why?
-Then I go in sdcard I don't navigate files, I see folders with casual characters. This is an effect of encryption of the device?
Click to expand...
Click to collapse
Answers to all your concerns go here mate---> TWRP doesn't decrypt data. Done.
Hence: weird folders in there, nowhere to store its settings prefs, about Magisk it's another story, if you want root go SuperSU latest beta.
Regards.
a basically did what that guy did, got root installed via TWRP but my google apps are all busted.
I tried flashing the update_data_full_public.zip and update_full_hw_usa.zip I found using the russian device lookup link switching trick but I the HW errored when I tried to flash it in TWRP and my play store still broken.

EEa(EU) rom 10.3.3.0 update

EEa(EU) rom 10.3.3.0 update
Received it too yesterday and all is ok.
Does anyone know how to flash that update using TWRP? I have rooted my Stock ROM with TWRP, and the Update is downloaded OTA and then reboots to recovery, but TWRP obviously is unable to install it: First it doesn't ask for the password to decrypt the data partition and shows the crypted content of the partition, making it impossible to see or select the downloaded update. A reboot into recovery decrypts the data partition and shows the downloaded Update (as a ZIP) in the folder /downloaded_rom. I tried to install that ZIP from TWRP manually, but to no avail - all you get is an error message.
Edit: Forget the question. Seems the phone healed itself. The first OTA download was an update 10.3.1 to 10.3.3 with a size of around 500 MB, and that couldn't be installed. When the System Updater saw this didn't succeed, it downloaded the complete 10.3.3 Package (2,2 GB) OTA, and installed that via TWRP with no problems whatsoever. I lost Magisk, which i needed to reinstall, but other than that, everything's fine.
Edit 2: The complete package obviously also overwrites TWRP, which i had to reinstall, too.
cgdams said:
Does anyone know how to flash that update using TWRP? I have rooted my Stock ROM with TWRP, and the Update is downloaded OTA and then reboots to recovery, but TWRP obviously is unable to install it: First it doesn't ask for the password to decrypt the data partition and shows the crypted content of the partition, making it impossible to see or select the downloaded update. A reboot into recovery decrypts the data partition and shows the downloaded Update (as a ZIP) in the folder /downloaded_rom. I tried to install that ZIP from TWRP manually, but to no avail - all you get is an error message.
Edit: Forget the question. Seems the phone healed itself. The first OTA download was an update 10.3.1 to 10.3.3 with a size of around 500 MB, and that couldn't be installed. When the System Updater saw this didn't succeed, it downloaded the complete 10.3.3 Package (2,2 GB) OTA, and installed that via TWRP with no problems whatsoever. I lost Magisk, which i needed to reinstall, but other than that, everything's fine.
Edit 2: The complete package obviously also overwrites TWRP, which i had to reinstall, too.
Click to expand...
Click to collapse
reagarding edit 2: which twrp did you use? I have real problems after the update, as the phone has no wifi now and the recovery is not working anymore
I also want to know if there's a place to get flash able zips through twrp for the latest eu roms.
lvnatic said:
I also want to know if there's a place to get flash able zips through twrp for the latest eu roms.
Click to expand...
Click to collapse
Here you can get all the official ROMs, fastboot and recovery
https://xiaomifirmwareupdater.com/archive/miui/raphael/
magdap said:
reagarding edit 2: which twrp did you use? I have real problems after the update, as the phone has no wifi now and the recovery is not working anymore
Click to expand...
Click to collapse
sorry i'm late with an answer, but i always use the newest version of mauronofrios TWRP (https://forum.xda-developers.com/k20-pro/development/recovery-unofficial-twrp-xiaomi-redmi-t3944363).
Robbo.5000 said:
Here you can get all the official ROMs, fastboot and recovery
https://xiaomifirmwareupdater.com/archive/miui/raphael/
Click to expand...
Click to collapse
Thanks, can I flash the file using twrp and keep the recovery?
lvnatic said:
Thanks, can I flash the file using twrp and keep the recovery?
Click to expand...
Click to collapse
You will need to flash Magisk immediately after the ROM to stop MIUI restoring stock recovery.

Recovery without data loss after a Magisk update gone bad, still possible?

So i had a hickup with updating magisk to v20.3.
The result was that after a reboot the device got stuck in fastboot mode.
I went to TWRP 3.3.0 recovery and backed up all offered partitions before then attempting to re-flash magisk.
Didn't work out.
Then i heard that if you extract the boot.img from the stock firmware and flash it with fastboot you can get back to a working state where you can install Magisk again.
So i thought.
Now after booting i am greeted by the miui first install wizard and the whole set of apps seems to be gone as well as my settings.
IIRC i only removed the dalvik cache which shouldn't affect this state.
Where in the procedure is the mistake and can i get the old pre-broken update state back? I am afraid something has been lost in the process
selemine said:
So i had a hickup with updating magisk to v20.3.
The result was that after a reboot the device got stuck in fastboot mode.
I went to TWRP 3.3.0 recovery and backed up all offered partitions before then attempting to re-flash magisk.
Didn't work out.
Then i heard that if you extract the boot.img from the stock firmware and flash it with fastboot you can get back to a working state where you can install Magisk again.
So i thought.
Now after booting i am greeted by the miui first install wizard and the whole set of apps seems to be gone as well as my settings.
IIRC i only removed the dalvik cache which shouldn't affect this state.
Where in the procedure is the mistake and can i get the old pre-broken update state back? I am afraid something has been lost in the process
Click to expand...
Click to collapse
Just install the latest stock rom then install recovery and restore all the backed up partitions.
Now install magisk and reboot.
If that doesn't work (u get into fastboot again) then just flash the boot.img file via fastboot and then reboot.
if i restore the backed up partitions and install magisk over it i get back to the non-booting , stuck in fastboot version. So something is wrong in the state of denmark.
selemine said:
if i restore the backed up partitions and install magisk over it i get back to the non-booting , stuck in fastboot version. So something is wrong in the state of denmark.
Click to expand...
Click to collapse
I looked at the /data backup from twrp and it is only 3mb, unless stuff got moved to /system or so, it seems to be gone forever.
Hell , i wil never update magisk again.
selemine said:
I looked at the /data backup from twrp and it is only 3mb, unless stuff got moved to /system or so, it seems to be gone forever.
Hell , i wil never update magisk again.
Click to expand...
Click to collapse
Don't install magisk with the rom, just restore the data, flash the stock boot.img file and then reboot.
After boot uninstall the magisk manager app and reboot to recovery and then flash magisk again.

Categories

Resources