Serious Trouble - Huawei P20 Lite Questions & Answers

I don't know what happened i was using my p 20 lite and magisk stopped working no other rooted apps was working so i thought to flash stock rom when i enter the fastboot mode there's only Written Phone Unlocked that's it. Before there was written FRP UNLOCKED but now that space is blank and my device is already unlocked. I also tried to restore backup from TWRP but it failed on 50% and when I rebooted it open the phone for 1 minute and it restart automatically.

haidermiz said:
I don't know what happened i was using my p 20 lite and magisk stopped working no other rooted apps was working so i thought to flash stock rom when i enter the fastboot mode there's only Written Phone Unlocked that's it. Before there was written FRP UNLOCKED but now that space is blank and my device is already unlocked. I also tried to restore backup from TWRP but it failed on 50% and when I rebooted it open the phone for 1 minute and it restart automatically.
Click to expand...
Click to collapse
Did you tried flash your firmware with HuRUpdater?

kilroystyx said:
Did you tried flash your firmware with HuRUpdater?
Click to expand...
Click to collapse
I tried with HWOTA8 but stuck at bootloop

BUt my main problem is why frp isn't showing up?

I successfully flashed stock rom but the device keep restarting after every minute I select the language connect to wifi and then restart. I've flashed the same stock before it was working fine but now I don't know what happened I tried both ways HWOTA8 and flashing all files with fastboot but nothing happened. I guess the main reason is frp isn't showing up.

haidermiz said:
I successfully flashed stock rom but the device keep restarting after every minute I select the language connect to wifi and then restart. I've flashed the same stock before it was working fine but now I don't know what happened I tried both ways HWOTA8 and flashing all files with fastboot but nothing happened. I guess the main reason is frp isn't showing up.
Click to expand...
Click to collapse
Give a try HuRUpdater tool.

kilroystyx said:
Give a try HuRUpdater tool.
Click to expand...
Click to collapse
Tried that nothing if happens
https://imgur.com/a/oHJF0yN
I don't know why frp isn't showing up

haidermiz said:
Tried that nothing if happens
https://imgur.com/a/oHJF0yN
I don't know why frp isn't showing up
Click to expand...
Click to collapse
Do you see OEM unlocking on the Developer Settings?

kilroystyx said:
Do you see OEM unlocking on the Developer Settings?
Click to expand...
Click to collapse
yes that's not there. Btw i used HWOTA8 now and installed the rom successfully and both phone unlocked and frp unlocked is visible but the problem is when i install magisk manager it opens and says magisk is not installed but when i flash magisk zip file the magisk manager isn't opening it's stuck on magisk logo i tried different versions of magisk manager but nothing happened

haidermiz said:
yes that's not there. Btw i used HWOTA8 now and installed the rom successfully and both phone unlocked and frp unlocked is visible but the problem is when i install magisk manager it opens and says magisk is not installed but when i flash magisk zip file the magisk manager isn't opening it's stuck on magisk logo i tried different versions of magisk manager but nothing happened
Click to expand...
Click to collapse
Which Magisk version are you having issues?
Try this:
-Clean all traces of Magisk or do a Factory data reset
-Install Magisk v17.1

kilroystyx said:
Which Magisk version are you having issues?
Try this:
-Clean all traces of Magisk or do a Factory data reset
-Install Magisk v17.1
Click to expand...
Click to collapse
CAn you give me a link or if i install from the manager won't i stuck in bootloop?

haidermiz said:
CAn you give me a link or if i install from the manager won't i stuck in bootloop?
Click to expand...
Click to collapse
Don't install the Magisk Manager, flash only the zip with TWRP, the Magisk Manager installed is the latest version.
Download the Magisk v17.1 from here:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

kilroystyx said:
Don't install the Magisk Manager, flash only the zip with TWRP, the Magisk Manager installed is the latest version.
Download the Magisk v17.1 from here:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Click to expand...
Click to collapse
thanks i installed old 16.1 version yesterday and it's working fine

Related

Can't install Magisk via TWRP

Hello. I was going through this guide --> https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-root-unlock-bootloader-t3852520
I've got a problem. I've unlocked bootloader and next I'm booting correctly to TWRP, but when I try to flash any zip of magisk manager I receive an error: "invalid zip file format". I'm using TWRP 3.2.3-0 from first post in guide - I was trying to use both 20181012 and 20181211 versions and no result - still the same error. What can I do? I'm using POCOPHONE F1 with MIUI Global 10.2.3.0
fajniejest said:
Hello. I was going through this guide --> https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-root-unlock-bootloader-t3852520
I've got a problem. I've unlocked bootloader and next I'm booting correctly to TWRP, but when I try to flash any zip of magisk manager I receive an error: "invalid zip file format". I'm using TWRP 3.2.3-0 from first post in guide - I was trying to use both 20181012 and 20181211 versions and no result - still the same error. What can I do? I'm using POCOPHONE F1 with MIUI Global 10.2.3.0
Click to expand...
Click to collapse
You have an old version of TWRP... You need to install a newer version - 3.2.3.2 - which you will find by doing a search for it here on XDA...
Just load img file on INTERNAL storage of phone, choose install>install image file> and click on recovery partition. After install go to home menu and restart recovery...
If you still have issues then download magisk again, it may be corrupt...
Cheers....
ultramag69 said:
You have an old version of TWRP... You need to install a newer version - 3.2.3.2 - which you will find by doing a search for it here on XDA...
Just load img file on INTERNAL storage of phone, choose install>install image file> and click on recovery partition. After install go to home menu and restart recovery...
If you still have issues then download magisk again, it may be corrupt...
Cheers....
Click to expand...
Click to collapse
First of all, I'm not going to install TWRP - I want only to boot into TWRP once for flashing Magisk's ZIP.
Second - in this guide OP says that Unofficial TWRP should be used. I've tried v1 and v2 TWRP from the guide. So which other TWRP should I try to boot into? This? https://forum.xda-developers.com/poco-f1/development/recovery-twrp-3-2-3-x-t3836241
fajniejest said:
First of all, I'm not going to install TWRP - I want only to boot into TWRP once for flashing Magisk's ZIP.
Second - in this guide OP says that Unofficial TWRP should be used. I've tried v1 and v2 TWRP from the guide. So which other TWRP should I try to boot into? This? https://forum.xda-developers.com/poco-f1/development/recovery-twrp-3-2-3-x-t3836241
Click to expand...
Click to collapse
I am new on this forum (pocophone) and i seee how messed up it is. You should definitly use official twrp
You don't need official TWRP, but I think you need to install Disable Force Encryption, before installing the Magisk app
This thread will be more helpful.
fajniejest said:
Hello. I was going through this guide --> https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-root-unlock-bootloader-t3852520
I've got a problem. I've unlocked bootloader and next I'm booting correctly to TWRP, but when I try to flash any zip of magisk manager I receive an error: "invalid zip file format". I'm using TWRP 3.2.3-0 from first post in guide - I was trying to use both 20181012 and 20181211 versions and no result - still the same error. What can I do? I'm using POCOPHONE F1 with MIUI Global 10.2.3.0
Click to expand...
Click to collapse
what are you trying to flash? If it is Magisk Manager, it is in apk format and you just click it to install. No TWRP.
If it is Magisk, which version are you trying to flash? Try 18.1. And preferably download any file from its source.
EDIT: If Magisk v18.1 is also not flashing, try Magisk Canary version. Some phones need that.
tnsmani said:
what are you trying to flash? If it is Magisk Manager, it is in apk format and you just click it to install. No TWRP.
If it is Magisk, which version are you trying to flash? Try 18.1. And preferably download any file from its source.
EDIT: If Magisk v18.1 is also not flashing, try Magisk Canary version. Some phones need that.
Click to expand...
Click to collapse
I'm trying to flash zip with Magisk Manager, as it is said in guide. I know that I can have an apk, but is it enough to just install apk without having custom recovery (but having bootloader unlocked)?
GrecoNeoV said:
You don't need official TWRP, but I think you need to install Disable Force Encryption, before installing the Magisk app
This thread will be more helpful.
Click to expand...
Click to collapse
I will try it if nothing from "my" guide will work, because I really don't want to lose my storage (I see that in this guide installing Magisk needs it)
fajniejest said:
I'm trying to flash zip with Magisk Manager, as it is said in guide. I know that I can have an apk, but is it enough to just install apk without having custom recovery (but having bootloader unlocked)?
I will try it if nothing from "my" guide will work, because I really don't want to lose my storage (I see that in this guide installing Magisk needs it)
Click to expand...
Click to collapse
Well Here is how i managed it to work. After i unlocked my bootloader i launched twrp and flashed beta magisk 19.0 (not latest anymore because 19.1 just today showed up) then i reminded that i forgot about DisableForceEncryption_Treble_v18.0.zip so i flashed iit and after it flashed again magisk 19.0, after reboot it everything was fine
GrecoNeoV said:
You don't need official TWRP, but I think you need to install Disable Force Encryption, before installing the Magisk app
This thread will be more helpful.
Click to expand...
Click to collapse
There is no need to flash DFE. I've unlocked my bootloader, installed TWRP, flashed PE and Magisk 19.0 all without DFE which I don't need.
@OP, you need TWRP version 3.2.3-2 at a minimum, which you can boot using 'fastboot boot twrp-<version>.img' . Then flash Magisk. You'll
need at least version 18.1.
HTH
guhvanoh said:
There is no need to flash DFE. I've unlocked my bootloader, installed TWRP, flashed PE and Magisk 19.0 all without DFE which I don't need.
@OP, you need TWRP version 3.2.3-2 at a minimum, which you can boot using 'flashboot boot twrp-<version>.img' . Then flash Magisk. You'll
need at least version 18.1.
HTH
Click to expand...
Click to collapse
The command is 'fastboot boot twrp-<version>.img'
tnsmani said:
The command is 'fastboot boot twrp-<version>.img'
Click to expand...
Click to collapse
Thanks for the correction. I really don't know where I got flashboot from.
Cheers!
guhvanoh said:
There is no need to flash DFE. I've unlocked my bootloader, installed TWRP, flashed PE and Magisk 19.0 all without DFE which I don't need.
@OP, you need TWRP version 3.2.3-2 at a minimum, which you can boot using 'fastboot boot twrp-<version>.img' . Then flash Magisk. You'll
need at least version 18.1.
HTH
Click to expand...
Click to collapse
So, to make it clear (and to not brick my poco... ):
1. I should use TWRP image from this link --> https://twrp.me/xiaomi/xiaomipocophonef1.html...
2. ...and I don't need to replace my recovery - just booting it once (as You described) is enough.
3. I should flash Magisk's ZIP, not MagiskManager's ZIP or Magisk.apk
4. No more flashing, clearing data and other operations needed.
Am I right?
1 - Yes.
2 - That's down to you. I have TWRP recovery installed and I have the app as well.
3 - You need to flash Magisk and install the apk. See this link for instructions on installing Magisk.
4 - Yes, you need to clear data, wipe dalvik and cache when installing a new ROM. If updating a current rom, I just wipe dalvik & cache.
HTH
Hey I know its not a thread related but if u install magisk can u tell me if you have 60fps screen recoding option? Because I already Dirty flashed rom once and nothing changed still cant unlock it :/
guhvanoh said:
1 - Yes.
2 - That's down to you. I have TWRP recovery installed and I have the app as well.
3 - You need to flash Magisk and install the apk. See this link for instructions on installing Magisk.
4 - Yes, you need to clear data, wipe dalvik and cache when installing a new ROM. If updating a current rom, I just wipe dalvik & cache.
HTH
Click to expand...
Click to collapse
Big thanks! Finally dealt with it. So grateful for Your help. :victory:
Dearminder said:
Hey I know its not a thread related but if u install magisk can u tell me if you have 60fps screen recoding option? Because I already Dirty flashed rom once and nothing changed still cant unlock it :/
Click to expand...
Click to collapse
Yes, I do. I've not tried it though...

Downgraded Magisk. No I am stuck at the unlocked bootloader message screen!

So I was having issues hiding being rooted from PokemonGo and I couldn't play the game. A mod on reddit suggested me to downgrade Magisk to 20.1 ( I was on 20.4). Magisk installed correctly. I rebooted and am now stuck at the Unlocked Bootloader Screen. Am I a lost case? Is there anything I can do to preserve my data? Thanks a lot!
NIKOST said:
So I was having issues hiding being rooted from PokemonGo and I couldn't play the game. A mod on reddit suggested me to downgrade Magisk to 20.1 ( I was on 20.4). Magisk installed correctly. I rebooted and am now stuck at the Unlocked Bootloader Screen. Am I a lost case? Is there anything I can do to preserve my data? Thanks a lot!
Click to expand...
Click to collapse
Try to flash the stock boot.img and see if your device boots properly.
Macusercom said:
Try to flash the stock boot.img and see if your device boots properly.
Click to expand...
Click to collapse
Hey so your suggestion gave me the idea to flash the patched boot img I had created when I installed Magisk for the first time and it worked my phone booted. Thanks a lot for this!

Phone stuck on MI logo after re-rooting following forced update to Android 10

Hey guys, so I had the forced update to Android 10 about 1 month ago, and I lost root, which I didn't found about until I tried installing something today.
As this isn't my first time losing root I just followed the steps I always do on this guide (https://forum.xda-developers.com/mi-a3/how-to/guide-how-to-root-mi-a3-magisk-t3958509) and I managed to successfully install TWRP, but the phone is now stuck on the orange MI logo when I reboot to system. Someone pls help!
Edit: For anyone curious, I just used the Fix Recovery Bootloop inside TWRP and it worked! I still don't have root tho...
Edit 2: After trying to flash Magisk installer for the second time I determined it to be the problem. Can anyone help me with that?
Use the magisk patched boot.img from here that corresponds with your firmware version and follow to guide to flash in fastboot https://forum.xda-developers.com/mi-a3/how-to/guide-how-to-root-mi-a3-magisk-t3958509/page40
garylawwd said:
Use the magisk patched boot.img from here that corresponds with your firmware version and follow to guide to flash in fastboot https://forum.xda-developers.com/mi-a3/how-to/guide-how-to-root-mi-a3-magisk-t3958509/page40
Click to expand...
Click to collapse
Just tried that, the phone is stuck again on the orange MI logo and now when I try to boot into TWRP it shows an android laying down with the message "No command" PLEASE HELP
garylawwd said:
Use the magisk patched boot.img from here that corresponds with your firmware version and follow to guide to flash in fastboot https://forum.xda-developers.com/mi-a3/how-to/guide-how-to-root-mi-a3-magisk-t3958509/page40
Click to expand...
Click to collapse
Just tried that, the phone is stuck again on the orange MI logo and now when I try to boot into TWRP it shows an android laying down with the message "No command" PLEASE HELP.
Edit: I just flashed TWRP on flashboot and I was able to solve this. I can't still fond what's the issue with magisk tho.
SirAerion said:
Just tried that, the phone is stuck again on the orange MI logo and now when I try to boot into TWRP it shows an android laying down with the message "No command" PLEASE HELP.
Edit: I just flashed TWRP on flashboot and I was able to solve this. I can't still fond what's the issue with magisk tho.
Click to expand...
Click to collapse
What Magisk modules do you have installed? They might be preventing the phone to boot up.
_mysiak_ said:
What Magisk modules do you have installed? They might be preventing the phone to boot up.
Click to expand...
Click to collapse
Afaik the only module I HAD installed before the forced update was Smali patcher for POGO. But I can't check the modules now because the option isn't there in the manager.
SirAerion said:
Afaik the only module I HAD installed before the forced update was Smali patcher for POGO. But I can't check the modules now because the option isn't there in the manager.
Click to expand...
Click to collapse
Well, the module "only" patches framework from the phone, so you're trying to boot Android 10 system with Android 9 framework. It doesn't get uninstalled automatically even if you remove Magisk from boot image.
Either flash Magisk uninstaller from TWRP or flash correct patched boot file, connect phone to the PC, type in this command and reboot the phone.
adb wait-for-device shell magisk --remove-modules

Help with Pocophone F1 ROOT

I have a pocophone f1 which I attempted to root.
I already unlocked it using my MI account with MI unlocker on windows.
I installed TWRP 3.2, as well as SupersU.zip in TWRP.
I go and check root access using various root checker apps from playstore but i have no root access. One of them says that my supersu $Path does not contain a binary.
I tried uninstalling superSu using the supersSu uninstaller.zip in TWRP and then attempted flashing magisk, but i got the error about patched boot image. I wiped everything and then flashed stock global ROM for miui 11. Still i get the patched boot image when trying to flash magisk.
Any ideas?
Follow this
Silvershot said:
I have a pocophone f1 which I attempted to root.
I already unlocked it using my MI account with MI unlocker on windows.
I installed TWRP 3.2, as well as SupersU.zip in TWRP.
I go and check root access using various root checker apps from playstore but i have no root access. One of them says that my supersu $Path does not contain a binary.
I tried uninstalling superSu using the supersSu uninstaller.zip in TWRP and then attempted flashing magisk, but i got the error about patched boot image. I wiped everything and then flashed stock global ROM for miui 11. Still i get the patched boot image when trying to flash magisk.
Any ideas?
Click to expand...
Click to collapse
Just uninstall SuperSU root and root again with magisk! There is unroot option in the SuperSU app which you have to use or:
https://forum.xda-developers.com/showpost.php?p=63615067
@Silvershot
My POV: Noone needs to install TWRP to root phone's Android.
jwoegerbauer said:
@Silvershot
My POV: Noone needs to install TWRP to root phone's Android.
Click to expand...
Click to collapse
i just followed a tutorial on xda. what simple method do you know to root a poco f1? i need root urgent
abhi_tech said:
Just uninstall SuperSU root and root again with magisk! There is unroot option in the SuperSU app which you have to use or:
https://forum.xda-developers.com/showpost.php?p=63615067
Click to expand...
Click to collapse
thanks for your reply. I already mentioned i used the supersu uninstaller.zip from the link you provided. but magisk still says the boot image is patched...
Silvershot said:
i just followed a tutorial on xda. what simple method do you know to root a poco f1? i need root urgent
Click to expand...
Click to collapse
It's clear that something has gone very wrong. Instead of wasting time with troubleshooting, I recommend that you restore the phone to its original state via re-flashing its Stock ROM and when that's done retry to root its Android the proper way.
FYI: Once TWRP got installed on phone, you can't get rid off of it unless you re-flash phone's Stock ROM.
jwoegerbauer said:
It's clear that something has gone very wrong. Instead of wasting time with troubleshooting, I recommend that you restore the phone to its original state via re-flashing its Stock ROM and when that's done retry to root its Android the proper way.
FYI: Once TWRP got installed on phone, you can't get rid off of it unless you re-flash phone's Stock ROM.
Click to expand...
Click to collapse
i flashed stock rom. i already said it.... still the problem exists
Silvershot said:
i flashed stock rom. i already said it.... still the problem exists
Click to expand...
Click to collapse
If you flash phone's Stock ROM then neither Magisk nor TWRP is existing , you can't run either of them ...
jwoegerbauer said:
If you flash phone's Stock ROM then neither Magisk nor TWRP is existing , you can't run either of them ...
Click to expand...
Click to collapse
yea, i flashed stock rom, then installed TWRP.
i will now flash stock rom again. i wiped everything using TWRP first.
could you tell me what to do once i flash stock rom again?
i attached a screenshot of trying to flash Force Encryption Disabler V4 for Magisk 18. even the disabler doesnt work... please someone help! i am working with stock clean rom. what is going on
0
Silvershot said:
could you tell me what to do once i flash stock rom again?
Click to expand...
Click to collapse
I could but I don't want to: IMO you simply didn't get it - you do anything without questioning the meaning.
Happy fiddling around with Magisk etc.pp.
jwoegerbauer said:
I could but I don't want to: IMO you simply didn't get it - you do anything without questioning the meaning.
Happy fiddling around with Magisk etc.pp.
Click to expand...
Click to collapse
why are you on this forum if you dont want to help? i explicitly said i tried both supersu and magisk. or how can i root without these 2? why do you say i didnt get it? im pretty sure i did the steps correctly
Silvershot said:
why are you on this forum if you dont want to help?
Click to expand...
Click to collapse
ROFL
BTW: Being active in this forum does not force me to give help in every case. Accept it.
Seppppx said:
You don't have to disable encryption to use magisk. Atleast I think from my experience.
This is the step-by-step tutorial.
1. Flash this global stock miui with TWRP. https://c.mi.com/in/miuidownload/detail?device=1700355 (if this is not the official ROM please correct me, there are a lot of fakes there)
2. Flash Magisk with TWRP. Download and flash it from this github repo. DO NOT DOWNLOAD IT FROM ANYWHERE ELSE!
https://github.com/topjohnwu/Magisk/releases
3. Reboot
Click to expand...
Click to collapse
thank you. this worked. i was using older version of magisk. the latest one did the trick.

Uninstalled Magisk, done latest OTA, but can't install Magisk to inactive slot

Hi there,
i'm rooted and i installed the latest OTA (oxygen os 10.3.7.hd01AA - india rom maybe because i used a patched boot.img in the first time months ago) right now and just like all the times before i made the usual steps:
1) Restored Original Image via Magisk Manager
2) Downloaded and installed OTA
3) Didn't reboot and tried to Install Magisk to inactive slot
Unfortunately 3 didn't work. More than that - Magisk Manager doesn't even recognized Magisk was uninstalled. So there is no Installation option.
Tried to Uninstall it again (Restore Original Image) but that didn't change anything.
a) Was the 2nd "Restore Original Image" after installing the OTA a bad idea?
b) How can i install Magisk now?
I don't reboot the phone as i think it could be bricked after that.
Dacoco said:
Hi there,
i'm rooted and i installed the latest OTA (oxygen os 10.3.7.hd01AA - india rom maybe because i used a patched boot.img in the first time months ago) right now and just like all the times before i made the usual steps:
1) Restored Original Image via Magisk Manager
2) Downloaded and installed OTA
3) Didn't reboot and tried to Install Magisk to inactive slot
Unfortunately 3 didn't work. More than that - Magisk Manager doesn't even recognized Magisk was uninstalled. So there is no Installation option.
Tried to Uninstall it again (Restore Original Image) but that didn't change anything.
a) Was the 2nd "Restore Original Image" after installing the OTA a bad idea?
b) How can i install Magisk now?
I don't reboot the phone as i think it could be bricked after that.
Click to expand...
Click to collapse
Well the procedure is disable all magisk modules. Reboot. Take the update don't reboot when the updater says to. Go to magisk select patch to inactive slot let it do it's thing then reboot
for now make a new patched one based on your current is to obtain root like you did initially
Ex pull your current non root boot img patch it in magisk then flash in fastboot
If you need I can grab the India ROM from Updater and make you a patched boot image?
I've already done it for HD01AA EU and HD01BA
Hey, i could manage to install Magisk into inactive slot after updating Magisk manager to the latest version. I would try to reboot now?
If I would like to patch my current boot.img - how can I do so?
digidude512 said:
If you need I can grab the India ROM from Updater and make you a patched boot image?
I've already done it for HD01AA EU and HD01BA
Click to expand...
Click to collapse
Thanks. I think I'll try to reboot and then - if it doesn't Boot - I will come back to you.
Dacoco said:
Thanks. I think I'll try to reboot and then - if it doesn't Boot - I will come back to you.
Click to expand...
Click to collapse
Any luck?
digidude512 said:
Any luck?
Click to expand...
Click to collapse
Booted up and root is working! Thanks a ton!
Dacoco said:
Booted up and root is working! Thanks a ton!
Click to expand...
Click to collapse
Well the ROM is already downloading, Might as well do the boot and recovery images anyway lol
When I'm done I'll update this thread to include HD01AA India
https://forum.xda-developers.com/7t-pro/how-to/oos-10-0-13-hd01aa-t4195159

Categories

Resources