[Urgent] Issues Flashing Magisk 19 on P9 Lite (VNS-L31) - Huawei P9 Lite Questions & Answers

Hi people!
I tried to unlock bootloader of my p9 lite
VNS-L31, android 7.0, stock emui 5.0.x
Got the code, unlocked, installed many twrps
to see wich was the best one to flash magisk 19.
All good, but everytime i did a magisk flash,
the phone didnt reboot properly.
(Got bootloop, sometimes got the reset phone screen entering a password {??} along with red errors in all twrps) im sure i did all correctly, this isnt the first time
I do a root on a smartphone... the point is:
I think that magisk is what causes these errors and
Forces me to hard reset the device to use it again (dload or huawey extractor)
i need magisk 19+ first because i need a systemless root, then i need many magisk modules
On my phone. Also tryed with custom rom based on
Emui 5.0.x through meticulus twrp 5.2, elite 3.1.1 twrp.
No way to install magisk without getting errors.
--- 》So if you guys could give me some tips to fix this issues, i would appreciate it so much. It could be my bad or maybe i need to do something else in order to get magisk working. 2 days trying, need help of the best modders here. Thanks in advance to all, and best regards from italy! :good:

Related

Any root method for C432B380?

I can't seem to find any rooting method for C432B380 software. Is there any step-by-step guide for this version? I'm currently on fully stock firmware, and I haven't unlocked my bootloader yet.
SteadyDisorder said:
I can't seem to find any rooting method for C432B380 software. Is there any step-by-step guide for this version? I'm currently on fully stock firmware, and I haven't unlocked my bootloader yet.
Click to expand...
Click to collapse
Well, ask for unlock code - that's the first step.
I am interested in this as well, as from what I see some people seem to run into problems. Say one is on Nougat C432B380 (I'm B381) and has now got the unlock code. What then? First of all, unlocking the bootloader will result in a reset, clean C432B380 installation, right? Or will there be any need to flash something else?
EDIT: I passed the unlock part following the Guide, and ended up with a clean Nougat installation as I thought. Now what? In the OldDroid TWRP thread I see many people having trouble...
Makishima said:
I am interested in this as well, as from what I see some people seem to run into problems. Say one is on Nougat C432B380 (I'm B381) and has now got the unlock code. What then? First of all, unlocking the bootloader will result in a reset, clean C432B380 installation, right? Or will there be any need to flash something else?
EDIT: I passed the unlock part following the Guide, and ended up with a clean Nougat installation as I thought. Now what? In the OldDroid TWRP thread I see many people having trouble...
Click to expand...
Click to collapse
I recommend staying away from any custom roms for now as all seem to have problems... you say you have an unlocked bootloader, then next step would be flashing a custom recovery, then from there... flashing supersu... try not to do much more than that and accept a fully functioning rooted phone better than getting a squichy camera or whatever from custom roms.... wait till they get stable
Moemen Shahawy said:
I recommend staying away from any custom roms for now as all seem to have problems... you say you have an unlocked bootloader, then next step would be flashing a custom recovery, then from there... flashing supersu... try not to do much more than that and accept a fully functioning rooted phone better than getting a squichy camera or whatever from custom roms.... wait till they get stable
Click to expand...
Click to collapse
I was not planning to install a custom ROM, I just want root, mainly for Viper4Android and some other things, but after reading the whole OldDroid TWRP thread I saw some people reporting problems with bootloops and whatnot, mainly after flashing SuperSU. Is flashing TWRP and then EliteKernel and rooting with phh or Magisk preferable? I just got my device back from the Huawei services, with a new board and everything and I don't want to ruin the stock installation again, so I am trying to be a bit more certain before I do anything.
Thank you for replying.
EDIT: Okay, so what I did was flash the latest OldDroid TWRP through fastboot and then I booted into recovery and flashed the latest Magisk (v13.3 I think). Now I have root and everything seems to work. So happy.
EDIT2: It seems that although it says I have root, I can't actually do anything with it, e.g. I can't uninstall system apps with Link2SD even though it says it was successful - reboot, still there - and the modules won't appear even after installing.... So, I don't know what's wrong.
Makishima said:
I was not planning to install a custom ROM, I just want root, mainly for Viper4Android and some other things, but after reading the whole OldDroid TWRP thread I saw some people reporting problems with bootloops and whatnot, mainly after flashing SuperSU. Is flashing TWRP and then EliteKernel and rooting with phh or Magisk preferable? I just got my device back from the Huawei services, with a new board and everything and I don't want to ruin the stock installation again, so I am trying to be a bit more certain before I do anything.
Thank you for replying.
EDIT: Okay, so what I did was flash the latest OldDroid TWRP through fastboot and then I booted into recovery and flashed the latest Magisk (v13.3 I think). Now I have root and everything seems to work. So happy.
EDIT2: It seems that although it says I have root, I can't actually do anything with it, e.g. I can't uninstall system apps with Link2SD even though it says it was successful - reboot, still there - and the modules won't appear even after installing.... So, I don't know what's wrong.
Click to expand...
Click to collapse
stay away from magisk if you want something stable... at least my opinion. Magisk is fine, the only add it adds, is magisk hide, which seems to keep failing now for most people. I'm suffering through it now and switching to supersu... try finding the correct way to remove magisk root and go the chainfire's supersu
Moemen Shahawy said:
stay away from magisk if you want something stable... at least my opinion. Magisk is fine, the only add it adds, is magisk hide, which seems to keep failing now for most people. I'm suffering through it now and switching to supersu... try finding the correct way to remove magisk root and go the chainfire's supersu
Click to expand...
Click to collapse
I restored a backup of the boot partition I had made when I first flashed TWRP which seems to have deleted Magisk, the app told me it was not installed (even though I see now a Magisk folder in data...) and then flashed Super SU, but I still can't delete system apps and having trouble with Viper*. But maybe it's not SU's fault. I don't know. I flashed v2.79, I previously had trouble with the newest versions.
Also, I had not activated the Hide function, I think.
*It is driving me crazy! Why does it not work? Supposedly I am root, I even deleted the system apps with the file managers but when I exited and reentered the folder they were there again. What is going on?... Wait... Is this normal, is it because it is system-less root?
To root any nougat fw:
1)unlock bootloader. You have to get unlock code from huawey and then in fastboot mode do: "fastboot oem unlock yourcode"
2)flash twrp recovery, i suggest you the hassan's recovery https://www.androidfilehost.com/?fid=745425885120756473
3)in fastboot mode do "fastboot flash recovery nameoftherecovery.img
4)reboot in recovery and flash this supersu
It is the 2.82 for emui 5 without loop mount,is perfect for p9lite https://www.androidfilehost.com/?fid=817550096634776377

P9 Bootloop after installing 'Elite Kernel', but can still use ADB and fastboot

Hello. a little while ago I restored my Huawei p9 lite nougat L31C440B380 rom from a bootloop thanks to tw1st3d83's P9 Lite Toolkit but since then i haven't been able root it again properly using magisk and other supersu apps because when i boot up music and sound don't play on my apps and videos on apps don't work at all, yet when i unroot my phone works normally, which is strange as i've rooted many times before with no problems. I'd been having some issues with magisk then due to installing and then deleting the viper4arise mod as apps didn't show in my drawer and magisk modules as well as the manager started to malfunction frequently. I looked around for anything that might help me fix this and came across HassanMirza01's P9 Lite elite kernel (All Variants CxxB3xx Phh Superuser v9 version and MagiskSU v10 version based on the b380 Rom) and decided to try it out. I used a special modded version of oldroid's twrp (TeamElite) https://www.androidfilehost.com/?fid=889764386195914200 to flash the kernels, the phh Superuser 9 version, https://www.androidfilehost.com/?fid=529152257862726224 , and the magiskSU 10 version, https://www.androidfilehost.com/?fid...0096634768996. Because they were pre-rooted, I assumed at the time i'd be able to solve my root problem.
When i was using the kernel I noticed everything ran more smoothly than usual but sound and video still weren't working. Because the kernels were pre-rooted before i installed, i think they may have modified the boot image in such a way that even when i completely format data with twrp and do an advanced wipe, then restore the factory images including the stock boot image i extracted from the B380 rom it starts up normally but gets stuck on the loading screen. At first I thought it needed time to load so I left it to charge overnight as the battery was pretty low but i when i woke up the next morning it was still on the Huawei logo. i don't think the kernel has an uninstaller or if there's one i can flash that doesn't have root. If i flash the boot image that I patched earlier with magisk, everything loads fine but i'm still faced with the same problems with no video or sound. I've been thinking of just reflashing the stock images and then relock the bootloader so i can do three button "dload" method for a clean install of my B380 rom as i've tried to use it before and failed as i get this error message before it finishes:
write radio image...
32K crc checked failure
E:unknown command [errno]
update_huawei_pkg_from_ota_zip: update from zip failed
Updater process ended with ERROR: 7
But seeing as how the kernel has altered the boot image I can only use the boot image that I patched with magisk or supersu.
I'm definitely sure that the method won't be able to work on a phone that's rooted but what i'm more worried about is that something goes wrong and i end up in a bootloop with no way to use adb to unlock the bootloader or use recovery, pretty much bricking the device. I've looked around for other kernels i might be able to flash and restore my device like Smoky Kernel and Rusty Kernel but they didn't work at all as opposed to the Elite Kernel. Can I lock the bootloader with a rooted phone and my reinstall my stock rom with the three button method or is there another way i could go about this? I'm asking this way because every time i unroot with either magisksu elite kernel or my magisk boot image the phone will always bootloop. The TWRP version I'm on, 3.1.1-0 isn't very useful at the moment compared to when I was on MM because when I had a problem I just flash and forget, but as the stock rom has two files it's a bit harder for me to get the hang of it so i would be very grateful for where to go from here.

[question] remove magisk modules without TWRP on Oreo?

Hello guys,
I had been using Magisk & Xposed on Nougat before Oreo rolled out in December. However after update I lost root. When I flashed patched_boot.img I got stuck in bootloop (So I returned to stock boot.img). I am pretty sure bootloop was caused by some incompatible Magisk module. The problem is that I don't know how to disable them now - I don't want to install TWRP (because I want to be able to get OTAs) and when I use only "bootable" version of TWRP, it can not detect any files/partitions, so I am unable to use "mount-magisk.zip" to remove wrong Magisk modules. So I am kind of stuck.
Here is what I want to achieve:
- remove incompatible magisk modules
- gain root without permanent TWRP
- profit
I have been searching this forum for quite a while but couldn't find some relevant consistent information. Any tips how to deal with this?
At the moment I am running Oreo /w January update.
Thank you
For others looking for similar answers, I was able to solve it:
I flashed TWRP, then using "mount-magisk" removed all modules, then using MiFlashTool flashed original rom (you can do that without loosing data) and then I just followed guide to root using patched boot.img.
Good luck
gexcube said:
Hello guys,
I had been using Magisk & Xposed on Nougat before Oreo rolled out in December. However after update I lost root. When I flashed patched_boot.img I got stuck in bootloop (So I returned to stock boot.img). I am pretty sure bootloop was caused by some incompatible Magisk module. The problem is that I don't know how to disable them now - I don't want to install TWRP (because I want to be able to get OTAs) and when I use only "bootable" version of TWRP, it can not detect any files/partitions, so I am unable to use "mount-magisk.zip" to remove wrong Magisk modules. So I am kind of stuck.
Here is what I want to achieve:
- remove incompatible magisk modules
- gain root without permanent TWRP
- profit
I have been searching this forum for quite a while but couldn't find some relevant consistent information. Any tips how to deal with this?
At the moment I am running Oreo /w January update.
Thank you
Click to expand...
Click to collapse

problem root mi9 t

Hi everybody
I have trouble rooting my mi9t under miui 11.0.3 global eaa.
I tried several tutorials but nothing reliable root is unstable.
I tried with magisk while patching the boot file but it's really unstable.
I managed to install the recovery custom twrp to be able to flash super su to root the mi9t but nothing to do that puts me like it was abandoned and red up in the recovery I scored that before the flash of the supersu :
unable to decrypt fbe device
unhandled flag: 'wrappedkey'
Can it come from what?
I start to regret my huawei P10.
Thank you for your answer
jerome8 said:
Hi everybody
I have trouble rooting my mi9t under miui 11.0.3 global eaa.
I tried several tutorials but nothing reliable root is unstable.
I tried with magisk while patching the boot file but it's really unstable.
I managed to install the recovery custom twrp to be able to flash super su to root the mi9t but nothing to do that puts me like it was abandoned and red up in the recovery I scored that before the flash of the supersu :
unable to decrypt fbe device
unhandled flag: 'wrappedkey'
Can it come from what?
I start to regret my huawei P10.
Thank you for your answer
Click to expand...
Click to collapse
Don't give up!
If you are able to get TWRP installed it is easy to flash Magisk directly from it.
Get magisk zip and install it.

Bootstuck after magisk update to 24.0

Hello guys, i'm new on this Forum so my phone are just rooted since 2020 and it was version (23.0).
It's a good version i think so today i see a new a new version (24.0) and then i update my magisk
via Magisk App, i update the App then the Magisk itself, i read the changelogs, click next, next and Reboot.
After rebooting, my phone just stuck on the ASUS logo which is before the boot-animation i guess.
I got in TWRP now, trying to downgrade the Magisk, or uninstalling the Magisk would be a nice idea
because i doesn't need it RN..
I wondering if anyone can help me with this, i would thank you so much coz next day i need to use it
to my online school. Hehehe
Nevermind, just flash the stock ROM then proceeds to flash magick etc if you want a root on your phone!
Wondering if you need some video of this :

Categories

Resources