Problem after Magisk install - Huawei P9 Questions & Answers

P9 EVA-AL00 EMUI 8.0.0, version EVA-AL00 8.0.0.540(C00) -- this software was running before (and after) steps 1-4.
1. Unlocked bootloader
2. Decrypted using TWRP-8.0.0-EVA-DECRYPTIONSUPPORT.img
3. Flashed P9-EVA-8.0.0-TWRP-v4.img
4. Installed Magisk-v20.4.zip
Steps 1-3 were fine. Step 4 "seemed" OK, and the phone boots. However, the phone is missing various apps (gapps, keyboard). It requests a system update of "Important system patches". I download and install, the phone reboots to recovery. When the phone restarts, it remains as it was (missing apps etc.)
The phone boots to recovery (P9-EVA-8.0.0-TWRP-v4.img) and erecovery (EMUI).
Can you advise what I should do to return to a correctly functioning EVA-AL00 8.0.0.540(C00)?
I am tempted, for instance, to try erecovery, but would I brick the phone? What steps should I take?
Thanks in advance
Update 1: Magisk was installed correctly (confirmed by Magisk Manager) -- the phone still needs to be returned to a correctly functioning EVA-AL00 8.0.0.540(C00)
Update 2: I see one method to restore the stock version is given at http://shorturl.at/bpx24. Will this work with Magisk installed? I have the 3 update zip files from the HwOUC folder on the phone.
Update 3: The phone is back to stock
In case it helps anyone else, the procedure I used was: I followed the instructions at the link just above (flashing in TWRP), but the process did not complete as I not have the right names for two of zip files (it seems that the names given at https://forum.xda-developers.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849 need to be used). However, I was able to boot into erecovery, which installed the stock ROM. Still, that did not work as the bootloader was unlocked. So, I booted into fastboot, locked the bootloader, then was able to boot from erecovery.

Magisk 20.4 has issue, Try installing 20.3 n

Related

[Q] how to update after rooting (magisk) ?

Hello
I was on B180 (PRA-LX1C432) rooted with magisk
No updates available in settings/update firmware, but connecting to PC HiSuite B194 appeared (which seems to be for Honor 8 lite by the way). It downloaded it, pushed it to phe phone, but when rebooting it goes to twrp... so obviously I'm still on B180
I imagine we have to flash back stock recovery before updating ? And then twrp again, magisk flash, etc ?
Thanks !
About OTA over magisk I found that on P9 forum:
1) unroot by Magisk Uninstaller, find the download link in the post https://forum.xda-developers.com/sho...63&postcount=1
2) flash from TWRP original stock boot img
3) wipe Dalwik and Cache from TWRP
3) flash from fastboot original stock recovery
4) let it make OTA update but select in the System Update settings to use Full (not differential) update - it will not delete your apps and settings
maybe the safest way indeed...
But as I "catch" the full ota, maybe I can use fastboot to flash only system and boot, and the reflash magisk to patch new boot img ?
anyone ?
Nobody updated after root ??
Ok, this is what I did and happened:
- In TWRP, flash magisk uninstaller script: ERROR 1. After reboot magisk was still here. That was a bad start...
- So I opened magisk app, click Uninstall and then Complete Uninstall. After that I made a reboot as asked, and device rebooted twice.
- Then, went to download mode and flashed stock recovery. And reboot.
- Then went to settings/updates/download latest full ota. It downloaded but refused to start the install process claiming to free up more than 900MB... Nothing on my internal sdcard so I had to uninstall some apps... cool !
- Then it reboot and installed the update
- First boot took a while, I still have "this device cannot be trusted" on start, and OEM unlock in settings is grayed and ON, so I think the bootloader is still unlocked
- Theme and wallpapers were reset with the update
For now I don't have flashed back twrp neither magisk .
In the meantime have you flashed TRWP and Migistik ? And again: do you have still to update your signature or something went wrong in installing fw B194.
Lastly: what do you mean by "went to download mode and flashed"...

Flash stock updates when twrp is installed

I found an easy and convenient way to flash Huawei updates when twrp is installed. No data loss. In my case I updated from June to July patch without any hiccups.
1. Download the HWOTA8 folder zip to your device and extract it to the root of your SD card. I provided the link at the bottom of the tutorial.
2. Download the Huawei update and wait till it finished.
3. Boot to twrp and go straight to the HWOTA8 folder.
4. Now install the hwota8_update.zip, this will install a special no check version of the stock recovery.
5. After reboot you'll see a failed update attempt, ignore the message and boot to system.
6. Now that we have the stock recovery you can go straight to the update app in the settings and install the update.
7. After 5 minutes the update should be finished and the device will boot to system.
8. The bootloader will be still unlocked so you can modify again with twrp, magisk and so on. No data loss.
Download
https://mega.nz/#!7AxVwBBZ!W9YyQ7qSAxZo-px8xYR18rBIhycKlqOhS4n8ogTioaI
gude, tried this today to upgrade P10plus from .382 to .385. worked as promissed. afterwards just installed the TWRP and magisk to get back root. thx
Dear Sir,
Thank you for the clear and concise method for flashing stock updates when TWRP is installed.
Please help me with instructions how to upgrade my unlocked, rooted and TWRP installed Android 7 ROM to OREO.
My phone model number is: VKY-L09
Build number: VKY-L09C02B102
EMUI version: 5.1
Android: 7.0
Kernel: 4.1.18-gfd75bb
TWRP: 3.1.0-0
there is only one thing that makes me wonder: i cannot install a differential update, this always fails, so the complete package will download ( almost 3GB ), then the installation will be successful. any idea why?

Proper way to OTA with Magisk / TWRP

Hi all,
Finally debricked my phone!!!
Okay, I need Magisk and want to keep my phone updated.
I followed some guides to temporary deinstall Magisk with backup of original file but I can't get trough the update process as described, installation always fails.
I tried multiple recovery flash attempts but it just doesn't work as soon some modifications are done. I did not even use TWRP flashed.
Is unlocked / booting TWRP / flashing Magisk enough to let the updates fail (yes I deinstalled Magisk before update)?
What's the current state, am I following old tutorials?
Thanks

OFP file needed urgently for CN version

DOES ANYONE HAVE THE OFP file for chinese rom?
Here is my situation:
1. changed recovery to orangefox successfully through bootloader
2. rooted with magisk 20.3 successfully
3. tried to install viper4android root version did not work as went in to bootloop. uninstalled and back to normal.
4. tried to install viper4android non root version through orange fox recovery. Phone now keeps loading into bootloader
5. used uninstaller.zip to uninstall non root viper driver, still i keep going back to bootloader. however i am still able to boot into recovery.
6. device undetectable in bootloader mode and cannot execute adb commands anymore.
Pls. help if any solution without formatting data etc and resetting the phone as I do not want to do manual backup and restore. However if that is the only solution, then no choice but would like to see if can be sorted without this.
Edit: Someone else under Paranoid Rom was having same issue and they fixed by flashing Vendor. I did the same now i am stuck at yellow realme logo.
Edit: couldnt find a way to reboot into the original ROM so had to install from beginning at least was able to backup due to OrangeFox recovery.
naveed5700 said:
DOES ANYONE HAVE THE OFP file for chinese rom?
Here is my situation:
1. changed recovery to orangefox successfully through bootloader
2. rooted with magisk 20.3 successfully
3. tried to install viper4android root version did not work as went in to bootloop. uninstalled and back to normal.
4. tried to install viper4android non root version through orange fox recovery. Phone now keeps loading into bootloader
5. used uninstaller.zip to uninstall non root viper driver, still i keep going back to bootloader. however i am still able to boot into recovery.
6. device undetectable in bootloader mode and cannot execute adb commands anymore.
Pls. help if any solution without formatting data etc and resetting the phone as I do not want to do manual backup and restore. However if that is the only solution, then no choice but would like to see if can be sorted without this.
Edit: Someone else under Paranoid Rom was having same issue and they fixed by flashing Vendor. I did the same now i am stuck at yellow realme logo.
Edit: couldnt find a way to reboot into the original ROM so had to install from beginning at least was able to backup due to OrangeFox recovery.
Click to expand...
Click to collapse
I need that file too. Can anyone help me to have this?

Rooting Moto G6 with PPS29-118-15-11. What versions of noverity, twrp, magisk to use?

Hello forum, I have been trying to root my motorola G6..
After much struggle, getting stuck in a boot loop and other issues I finally have restored stock roms and now have build PPS29-118-15-11 installed. So at least the phone works again My bootloader is unlocked.
But I still want to root it.
I think I understand the procedure well enough, but I am unsure of the correct/best versions I need for the ROMS/boot, Magisk, and TWRP.
ROMS/boot:
I found a youtube with instructions for updating Android v9
But I haven't tried it as this recommends a boot img:
OPS27.104-15-10_no-verity_boot.img
OPS27.104-15-10_no-verity_boot.img | by dejello for Moto G6
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
androidfilehost.com
I am reluctant to use the above as it looks to be a downgrade from my current version 29-118-15-11.
Also, I thought that the filename prefix "O" indicated oreo instead of "P" for pie? So would this be a version 8 file?
TWRP:
Similarly, I am not sure if I am using the right, or best TWRP version. I currently have twrp-v3.2.3-ali.img
I flash this (with fastboot) and it works but shortly after I encounter the "no command" error (when booting to recovery) and I have to redo it. I am NOT overwriting it with a stock recovery.img.
I have also run into the "encryption password" problem, where I am unable to provide one to decrypt the data partition. So I can't backup the data with twrp (something I really would like to do).
Magisk
I have Magisk-23-0.zip
But I saw a post from brunogroa that recommends installing Magisk 19 and updating it to 23 later. Is this something that is required or can I just install v23?
So, I am looking for the correct versions for ROM, Magisk and TWRP to use, given that I have installed PPS29-118-15-11
Any assistance will be greatly appreciated.
Well I finally have it I think. I noticed a comment in
[GUIDE][ROOT][Moto G6][ALI] TWRP, Root, and Magisk installation guide. by djello
"(you may not need a modified boot image for Magisk)"
When using PIE instead of OREO.
Being an optimist, I gave it a try and it worked... I installed Magisk and was able to verify root access using the Root Checker Basic App. Kept stock boot img.
This is probably not too amazing for the old hands but us newbies need a break every now and them
So in the end, all I had to do was:
(0) Unlock bootloader
(1) Install stock PPS29-118-15-11
Done earlier with another version of twrp.
Install TWRP 3.5.2
(2) fastboot flash recovery twrp-3.5.2_9-0-ali.img
(3) Use twrp to install Magisk
adb push Magisk-v23-0.zip /tmp
Boot phone into recovery and use twrp to install Magisk
(4) Boot the phone into System and verify Magisk is there and use Root Checker App to confirm I am now rooted.
Issues:
I noticed that a security update for
PPS29-118-15-11-5 failed to apply.
The phone boots into recovery mode and asks for the decrypt password. I don't know the password to decrypt data and how to proceed from here.
I suspect that if I flash the stock recovery img the security update might work. If anyone knows please comment ; I will research this also and maybe just try it.
pdpantages said:
Well I finally have it I think. I noticed a comment in
[GUIDE][ROOT][Moto G6][ALI] TWRP, Root, and Magisk installation guide. by djello
"(you may not need a modified boot image for Magisk)"
When using PIE instead of OREO.
Being an optimist, I gave it a try and it worked... I installed Magisk and was able to verify root access using the Root Checker Basic App. Kept stock boot img.
This is probably not too amazing for the old hands but us newbies need a break every now and them
So in the end, all I had to do was:
(0) Unlock bootloader
(1) Install stock PPS29-118-15-11
Done earlier with another version of twrp.
Install TWRP 3.5.2
(2) fastboot flash recovery twrp-3.5.2_9-0-ali.img
(3) Use twrp to install Magisk
adb push Magisk-v23-0.zip /tmp
Boot phone into recovery and use twrp to install Magisk
(4) Boot the phone into System and verify Magisk is there and use Root Checker App to confirm I am now rooted.
Issues:
I noticed that a security update for
PPS29-118-15-11-5 failed to apply.
The phone boots into recovery mode and asks for the decrypt password. I don't know the password to decrypt data and how to proceed from here.
I suspect that if I flash the stock recovery img the security update might work. If anyone knows please comment ; I will research this also and maybe just try it.
Click to expand...
Click to collapse
I am stuck in a similar position.
SOLVED IT!!! Followed all of the steps that you posted except I installed Magisk with the patch method because I couldn't get the zip file to push onto the device. Kept getting a read only error, maybe because it wasn't rooted?
Anyway, I am rooted now!!!

Categories

Resources