Help needed, ze552kl bootloop after flashing without uninstall magisk - Asus ZenFone 3 Questions & Answers

Last working state :
1. Android O version WW-15.0410.1803.55
2. Bootloader unofficial unlocked
3. Rooted with magisk
Reason for flashing :
Update to latest Oreo then re-root but flashing failed due to magisk not being uninstalled first
Current state :
1. Able to enter fastboot
2. Twrp is intact
3. Magisk uninstalled using twrp
Actions already taken :
1. Uninstall magisk via TWRP
2. Re-flash WW-15.0410.1803.55 via TWRP
3. Wipe dalvik/cache
4. Factory reset via twrp swipe
Still stuck in bootloop
I'm thinking of flashing Oreo stock recovery prior to reflash Oreo firmware via Asus flash tool. Found Oreo stock recovery image from 15.04.10.1711.6. Is this usable? (Edit : found suitable version and bunch of other versions, big thanks to Iceboy91 on following thread : https://forum.xda-developers.com/zenfone-3/help/request-stock-recovery-boot-img-stock-t3763381 )
But before I do anything even more stupid, I need your advise on correct next moves, guys.

Flash raw oreo via Asus flash tool and all will be fine.

[email protected] said:
Flash raw oreo via Asus flash tool and all will be fine.
Click to expand...
Click to collapse
Will Asus FT run properly on TWRP i/o stock recovery? Last time I did it booted to TWRP and I can't proceed. Kindly confirm if it's possible and I'll give it another try. I am left with another option which is flashing corresponding stock recovery and boot image.

To save your time from trial and error recovering from similar problem, here's what I do.
Issues :
1. Flashing raw on stock with TWRP stuck on eternal 'unzip image'
2. Flashing raw on stock ROM with stock recovery and wipe data OFF was successfull but could not enter system (stuck on Asus logo with circling progress).
Also unable to enter stock recovery at this point.
Steps taken to recover from bootloop :
1. Flash corresponding recovery and boot image to replace TWRP (BE CAREFUL WITH SOFTWARE VERSION)
2. Firstly, flash basic Oreo RAW firmware which can only boot to fastboot found on this post : https://forum.xda-developers.com/zenfone-3/how-to/updated-unlock-relock-bootloader-t3749456
3. Flash full RAW Oreo firmware found on the very same post mentioned on #2, but with WIPE DATA SELECTED.
Note : Step 2 might be skippable, up to you to try

Hey ,
If you wanna upgrade to latest Oreo update, just follow these steps (most of the users did not report any kind of bootloop)
1) Flash stock recovery
2) Sideload the latest firmware .zip
3) Reboot and flash TWRP & Magisk
Link for stock recovery/boot images by @shakalaca :
https://mega.nz/#F!lw02CLpA!hpetR2-Sec1F__gHPNRE9Q!E09B3BbA
If anything happens, RAW firmware is there for you
Note: Do not remove/uninstall Magisk via TWRP. Flashing latest update will remove Magisk automatically.

Thanks for the tip, my problem has been solved, but better solution is certainly welcomed. Will do when caught in the same situation.

Here is what I do:
Skip automatic update and do it manually through TWRP.
First flash update then reinstall latest magisk in order within TWRP.
Reboot.

sanctitude888 said:
Will Asus FT run properly on TWRP i/o stock recovery? Last time I did it booted to TWRP and I can't proceed. Kindly confirm if it's possible and I'll give it another try. I am left with another option which is flashing corresponding stock recovery and boot image.
Click to expand...
Click to collapse
AFT just needs working fastboot.
Flashing raw via aft will restore all stuff to stock state.
Twrp will be replaced by stock recovery too.
I wouldn't recommend flashing stock zip via twrp.
Another way to get back to. Stock is to replace twrp by stock recovery (after wiping data, cache, system). Then flash boot.img and finally use update via SD card option from the newly installed stock recovery.
Also you can take twrp backup of stock rom (system, data, boot) and restore whenever you want to go to stock (after wiping system, data and cache).
All methods tried and tested.

Related

TWRP 3.1.1 on oxygenos2

Hi i was about to update my phone and setting it to factory in order to update it to Oxygenos last version since i still using oxygen2 (andoid 5) etc...
I was about to do a twrp backup however i do no thave enought space so i've read on internet that with twrp 3.1+ you can backup directly on pc. I've tryed to update twrp however its not working and not starting the recovery partition. I've read that : (3.0.2-1 and above for OxygenOS 3.x and above) (3.0.2-0 and below for OxygenOS 2.x and below) however i need the updated version to backup directly on pc what can i do? some advice? i've looked for a modified version of twrp 3.1 for oxygenos2 but i did not find it :S
Before you do this, update TWRP via these instructions
https://wiki.lineageos.org/devices/oneplus2/install
skip down to this line "Installing a custom recovery using fastboot" as you do not need to unlock the bootloader as it is already unlocked since you have TWRP already.
Do not make a TWRP backup, It will not be of any use once you move to OxygenOS 3.6.1 since the backup will be of Nouget (android 5). The best way to upgrade would be to follow the steps here http://downloads.oneplus.net/oneplus-2/oneplus_2_oxygenos_3.6.1/
Once you get to step 4, click the "View Instructions for TWRP Recovery" link then you can either dirty flash or clean flash the zip. I would recommend clean flashing, as in do the factory reset as mentioned in the second paragraph under step 4. However, do not directly flash the rom afterward, use the reboot option in TWRP to reboot into recovery then flash the zip.
NOTE: If you want to use Magisk to pass SafetyNet and have root, download the Magisk zip and flash after flashing the rom, or queue it to it flashes right after the OOS rom.
afterward let the phone boot up then do the setup. Once you have completed setup, enable developer settings and enable advanced reboot. use reboot into recovery to boot into TWRP
Now go ahead and make a TWRP Backup, This backup will be your Go-To backup if you want to go back to factory OOS 3.6.1 with the setup completed and Magisk already installed.
Not able to backup
The problem is that the last version of TWRP working on oxygenos2 is 3.0.2-1 and you can not make the backup directly on computer, i've traied toupdate twrp and it does not lounch however with that version of twrp (3.0.2) or before it works that was the point if there was any modified twrp for oxygenos2 and with twrp version 3.1 or higher.
TWRP v3.x.x doesn't work with oxygen 2.
There's no way to boot TWRP v3 without installing oxygen 3.
If you need to backup your files (pictures, videos, WhatsApp messages etc.) you don't need TWRP because it backups only your system and your apps.
So simply attach your phone to your PC and copy all your files.
If you need a copy of your system then you need to free some space on your phone and do a backup with TWRP v2

Bootloops after flashing Magisk OOS 5.0.2

I've been getting bootloops after installing Magisk on my OnePlus 5 unlocked bootloader , rooted before at 4.5.15.
I directly updated it to 5.0.2 which resulted in many errors in the end had to flash it completely and then clean install the ROM .
The ROM works perfectly with almost no trouble.
I then flashed almost all Magisk versions I could get hold of (14.5,15.2,15.3,15.4(beta))
But none of them could get past the boot animation.
I've also flashed the no Verity mod file both before and after the flashing of Magisk nothing worked.
But everytime after all this I flash the Magisk uninstaller and I get easily get back to using the device but without root.
Anyone help me rooting this ?
The ROM has been downloaded from official OnePlus website and the twrp I'm using is the codeworkx version.
First do this then tell me how it went.
1. Boot to fastboot and flash twrp-3.2.1-0-universal-codeworkx-cheeseburger.img via command window, make sure you have adb installed on pc.
2. Then boot DIRECTLY to twrp.
3. Dirty flash OOS 5.0.2 over your current rom in twrp and then wipe dalvik and cache.
4. Then boot into fastboot DIRECTLY again and flash twrp-3.2.1-0-universal-codeworkx-cheeseburger.img again.
5. Boot into twrp directly and flash Magisk 15.2.zip
6. Finally boot into the system.
7. Optional: then you can go ahead and update Magisk via it's own flash tool.
I'm already on 5.0.2 so do I dirty flash it again?

Can't get custom ROM installed

I'm having a very difficult time getting this phone setup. I can get very, very close... but then it starts boot looping into recovery.
So starting at the beginning, here is what I did:
- Booted up phone, make sure it works and connects to wifi (I find out later that it got encrypted, even though I didn't set a PIN).
- Inside the OS on first boot, I install and use the official bootloader unlock APK from Asus.
- Rebooted into the bootloader and fastboot flashed TWRP.
- Rebooted into TWRP and flashed the Oreo modem, current unofficial Carbon OS 6.1, nano gapps, and magisk 16.6.
- Rebooted and the Carbon ROM logo comes up. It works for about 2-3 minutes, then reboots.
- After many attempts to decrypt (and a lot of help from the forum), I successfully restore the phone to "WW_ZE552KL_14.2020.1712.85_M3.10.47.15_Phone-user.raw.zip" with the Asus tool.
- Phone is fixed and booting again to the OS, but I'm back to square one.
Second attempt:
- Thinking I need to flash the raw Oreo ROM (instead of just the Oreo modem), I use the Asus tool to flash "WW_ZE552KL_15.0410.1803.55_M3.10.47.19_Phone-user.raw.zip"
- The phone works fine and is now an Oreo ROM with an Oreo modem
- It's still unlocked, so I rebooted into the bootloader and fastboot flashed TWRP.
- Rebooted into TWRP and flashed the current unofficial Carbon OS 6.1, nano gapps, and magisk 16.6.
- Rebooted and the Carbon ROM logo comes up. It works for about 2-3 minutes, then reboots.
- After the reboot, it goes to TWRP... whether I just let it boot on its own, or press power when it says: Start - Continue to boot >
What am I doing wrong?
You're having a rough go at this one eh.
I know we talked about this before, but did you try a factory reset and wiping cache/dalvik before rebooting?
Yes. As we discussed before, you can't wipe cache from TWRP. So I'd wipe dalvik from TWRP, then reboot to the bootloader to do a "fastboot format cache".
I'm going to try a different ROM later this afternoon. Maybe that will make a difference.
Flapjack said:
I'm going to try a different ROM later this afternoon. Maybe that will make a difference.
Click to expand...
Click to collapse
Hello! I've been able to boot any ROM by:
1. flashing TWRP
2. rebooting to recovery
3. installing the ROM zip
4. rebooting to bootloader
5. fastboot continue
But when I restart the phone, it always boots to recovery(TWRP), so I have to repeat steps 4 and 5 to boot the ROM, which is
Could you try and tell me if it works for you too?
I'm gonna take a moment to read about the boot process in depth, as it seems there is no straightforward solution to this out there.
junglesnake said:
Hello! I've been able to boot any ROM by:
1. flashing TWRP
2. rebooting to recovery
3. installing the ROM zip
4. rebooting to bootloader
5. fastboot continue
But when I restart the phone, it always boots to recovery(TWRP), so I have to repeat steps 4 and 5 to boot the ROM, which is
Could you try and tell me if it works for you too?
I'm gonna take a moment to read about the boot process in depth, as it seems there is no straightforward solution to this out there.
Click to expand...
Click to collapse
1) Flash Oreo RAW (can be downloaded from @Saktis_STi' s unlocking thread.
2) Boot till system
3) Flash TWRP
4) Flash ROM, Magisk, GApps
5) Reboot
The reason why it reboots to TWRP is because of 'encryption' thingy.
BootloaderBoi said:
1) Flash Oreo RAW (can be downloaded from @Saktis_STi' s unlocking thread.
2) Boot till system
3) Flash TWRP
4) Flash ROM, Magisk, GApps
5) Reboot
The reason why it reboots to TWRP is because of 'encryption' thingy.
Click to expand...
Click to collapse
many many thanks! I was able to get Ressurection Remix working by now
your steps were right, and I will detail them better to tell how I made it work for others reading this thread:
1) Flash Oreo RAW
1.1 - @Saktis_STi's thread is a bit outdated. I downloaded the newest firmware from Asus website.
1.2 - I also had to find a recent recovery.img, which I think I got it from here https://forum.xda-developers.com/zenfone-3/how-to/original-recovery-img-boot-img-zenfone-t3572188
1.3 - I used the stock recovery's adb sideload to flash the stock ROM
2) Flash TWRP - all good here
3) Flash ROM, Magisk, GApps
3.1 - I wiped system, data, cache and dalvik.
3.2 - I flashed RR ROM, GApps and Magisk (EDIT 2: install all three before the first custom ROM boot, or GApps won't work)
3.3 - Performed a Factory Reset
4) REBOOTED TO GLORY!
For what it seems, the stock ROM encryption that is performed on the stock's first boot was the enemy.
Now one last thing... In Security -> Encription, my device is NOT encrypted.
Do I run the risk of ruining everything if I encrypt it?
EDIT: No, it didn't break, working fine
junglesnake said:
1) Flash Oreo RAW
1.1 - @Saktis_STi's thread is a bit outdated. I downloaded the newest firmware from Asus website
Click to expand...
Click to collapse
lmao. His RAW firmware version is the latest version though
https://forum.xda-developers.com/zenfone-3/development/updated-unlock-relock-bootloader-t3749456
Anyways, enjoy your phone running on custom ROM :good:

Phone stuck at Decryption unsuccessful :crying:

I am stuck at encryption failed when I flash stock oreo rom. I tried formatting data using twrp and flashed no encryption file as well but nothing works.:crying::crying::crying:
I just want to use the stock oreo rom again with root.
Pls help:crying:
Which ROM did you try and flash / install?
Try upgrading your TWRP to the latest version too.
jl10101 said:
Which ROM did you try and flash / install?
Try upgrading your TWRP to the latest version too.
Click to expand...
Click to collapse
I used partition dl mode to flash the stock oreo rom over 7.0 to keep the root. Then i flashed custom kernal for stock 8.0 but it didnt work. I have done the same procedure before and it has worked like a charm. But it keeps on giving the encrytion error when i try it now
Deadmeat03 said:
I used partition dl mode to flash the stock oreo rom over 7.0 to keep the root. Then i flashed custom kernal for stock 8.0 but it didnt work. I have done the same procedure before and it has worked like a charm. But it keeps on giving the encrytion error when i try it now
Click to expand...
Click to collapse
Odd. If I had to guess anything, it would be that not all the partitions were flashed when going from Nougat to Oreo.
I once flash a Nougat ROM from an Oreo ROM and I had the same encryption issue and lost everything.
That was the last time I would trust myself again and not do a backup.
Flash stock recovery from KDZ through patched LGUP & do a factory reset .
After stock recovery completes the wipe do a battery pull, flash TWRP via fastboot, format data, flash Kernel & Magisk & you should be back on track...
Prowler_gr said:
Flash stock recovery from KDZ through patched LGUP & do a factory reset .
After stock recovery completes the wipe do a battery pull, flash TWRP via fastboot, format data, flash Kernel & Magisk & you should be back on track...
Click to expand...
Click to collapse
I tried that as well. With stock recovery is says data is corrupted and doesn't do anything. I think it might be a problem with patched lg up because when i use normal lg up to flash oreo it works. But I cant root then.
I would try changing to 3.2.3-4 TWRP and then trying the procedure again. It seems that the 3.3.0 TWRP does not decrypt properly sometimes.
In the same boat as OP
scottyrick said:
I would try changing to 3.2.3-4 TWRP and then trying the procedure again. It seems that the 3.3.0 TWRP does not decrypt properly sometimes.
Click to expand...
Click to collapse
Hi
Looking for a way to keep TWRP and root ... any help appreciated
I've got a US996 with the same issue as the op. I have the latest TWRP 3.3.1-0. The phone was working fine until I upgraded twrp but I might have done a mistake resetting phone outside of twrp.
I can still get back into twrp but I haven't been able to install zip files without getting that decryption unsuccessful message when booting to system.
When getting back into TWRP using hardware buttons sometimes there is a prompt asking "keep system read only?" which I never chose and swipe to allow modification. I think this happens after
I pull the battery after getting the decryption unsuccessful message. There is a reset system that I could chose under the decryption unsuccessful message but I'm assuming that will make me lose twrp
...but if my phone is a us996 and is still
unlocked, would it matter if I did select it? Wouldn't I be able to reinstall twrp using adb again on a computer after Oreo is reinstalled?
To do Prowler_gr's suggestion which guide do I follow (sounds like I should do the second option)
"Flash stock recovery from KDZ through patched LGUP & do a factory reset .
After stock recovery completes the wipe do a battery pull, flash TWRP via fastboot, format data, flash Kernel & Magisk & you should be back on track... "
1-[GUIDE][UNBRICK] Patch LGUP to unlock features & unbrick V20 (Variant mismatch fix) to use lgup
or this guide
2-Ultimate guide to unbrick LG V20(Only Variants with .KDZ)[No OS Firmware Update Loop]
Thank you for any guidance on this...
There is a reset system that I could chose under the decryption unsuccessful message but I'm assuming that will make me lose twrp
Click to expand...
Click to collapse
Don't blame me if this goes wrong but I'm pretty much 100% certain that you mush press the rest button. This has happened to me a few times I'm sure. You won't loose twrp. Whatever resetting goes on in the background I don't think it's an actual Factory Reset.
Edit: Just to be clear you taking about a white screen with I think in dark blue or black text ENCRYPTION UNSUCCESSFUL and something like "reset phone" option directly under it, on the upper half of the screen?
Hi ezzony
Yes you are thinking of the right decryption unsuccessful page. I get it when booting to system
after installing Oreo and magisk 19 and having wiped everything (format data too). I will get the exact wording of it tonight
Thanks!
downgrade twrp i has same prob twrp 3.3.1 gives issues
ghet2rockuu said:
downgrade twrp i has same prob twrp 3.3.1 gives issues
Click to expand...
Click to collapse
Hi ghet2rockuu
I downgraded twrp and that got it working Thank You! see also Phoenix591 thread [Recovery][Unofficial for the moment]TWRP 3.3.1-0 : 2019-05-17 #625
Thank You !

Unable to root Redmi 7A (MIUI Global 11.0.5 & Android version 9 PKQ1.190319.001

I recently bought Redmi 7A phone with the sole intention of rooting the device. But it looks like there's no way to root it. :crying::crying: I was able to unlock the bootloader, install TWRP but after that I'm stuck. Tried Magisk & SU.. both of them failed. Not sure how to proceed from here. Desperately need your help...plz
I was able to root after booting from a patched boot.img (fastboot boot patched_boot.img), installed Magisk and let it patch the flashed boot.img
You'll need a patched boot.img, don't know where I found mine (11.0.13 EU)
Same. Unlocked the bootloader, flashed vbmeta and recovery, everything works as expected. When I flash the patched_boot.img for 11.0.5 global the device keeps booting to recovery. Flashing magisk+-permissiver has no effect.
Sorry, figured it out.
1. flash boot.img
2. reboot into recovery
3. format data
4. install magisk+permissiver
5. reboot
Thanks everyone here for all the work.
I have done it. All i had to do is patch the boot image using this tool: https://github.com/YaAlex3/patcher-oss
I used miui 11.0.5 global and it just worked. The boot image is attached. The steps are: wipe everything exept sd card, then format all data, reboot back to recovery (can be 32/64 bit), flash miui_PINEGlobal_V11.0.5.0.QCMMIXM_a3def89fd4_10.0.zip (i hope it is the same image, if not, contact me, and i will send it to you), then flash boot image attached here and lastly flash Magisk-v19.3.zip.
I dont recommed you to upgrade to higher versions of magisk, because it could break your system.
So this is how i got it working, good luck!
Here is the boot image!
TheRealSalads said:
I have done it. All i had to do is patch the boot image using this tool: https://github.com/YaAlex3/patcher-oss
I used miui 11.0.5 global and it just worked. The boot image is attached. The steps are: wipe everything exept sd card, then format all data, reboot back to recovery (can be 32/64 bit), flash miui_PINEGlobal_V11.0.5.0.QCMMIXM_a3def89fd4_10.0.zip (i hope it is the same image, if not, contact me, and i will send it to you), then flash boot image attached here and lastly flash Magisk-v19.3.zip.
I dont recommed you to upgrade to higher versions of magisk, because it could break your system.
So this is how i got it working, good luck!
Click to expand...
Click to collapse
do i flash the boot img via recovery (twrp/pitchblack) or via fastboot?
nevermind. it bloody works after i installed/flash your boot.img via my pitchblack recovery. thank you so much dude!
TheRealSalads said:
I have done it. All i had to do is patch the boot image using this tool: https://github.com/YaAlex3/patcher-oss
I used miui 11.0.5 global and it just worked. The boot image is attached. The steps are: wipe everything exept sd card, then format all data, reboot back to recovery (can be 32/64 bit), flash miui_PINEGlobal_V11.0.5.0.QCMMIXM_a3def89fd4_10.0.zip (i hope it is the same image, if not, contact me, and i will send it to you), then flash boot image attached here and lastly flash Magisk-v19.3.zip.
I dont recommed you to upgrade to higher versions of magisk, because it could break your system.
So this is how i got it working, good luck!
Click to expand...
Click to collapse
Hi, I tried your method and I think the magisk installation work but i can't verify because every time I reboot my device I am automatically redirected into recovery. How can I reboot into system now?
Thanks

Categories

Resources