Error 1 when trying to flash phh's superuser in TWRP - Moto E4 Plus Questions & Answers

As said in the title, I was trying to root my Moto E4 Plus (XT1772) and when tried to flash the superuser.zip I get the "Error: 1" message on the TWRP. I've searched online and the only results I get concerning the Error: 1 are about Magisk.
If anyone could help me, it'd be very appreciated.

Related

Recovery not possible after trying to flash Magisk

My phone is an Motorola 4G XT1072 Thea. Custom ROM LineageOS 14.1.
I wanted to change SuperSU with Magisk root. I therefore removed SuperSU and rebooted to recovery (TWRP) for flashing Magisk. I got an error code 1 flashing Magisk. I tried to reboot to recovery but I couldn't. It just reboots. It's like my recovery has gone. I can't even do a factory reset. I tried to reinstall TWRP through ADB but it's waiting for device forever. ADB recognizes my device. Anybody got some advice?
I managed to get my recovery back by deleting all moto drivers on windows and reinstalling them, then I could reinstall TWRP through ADB. But I still get error 1 when flashing Magisk. Is that because I need to flash a stock boot.img? If so do I then flash boot.img and thereafter Magisk.zip?
It all depends on what that "error 1" is actually about.
If you didn't restore the stock boot image after removing SuperSU, then that's a likely culprit...
If you want to know for sure you're going to have to share a recovery log with details about the error.

Need urgent help, please

Hi, two days ago i tryied to install Xposed framework, and my Huawei P10 (VTR-L29C432B360) ended in a bootloop.
I reinstalled your TWRP (Oreo V3) but when i tryied to open in recovery it got stucked and the follow message appears in red:
" ERROR MODE
Attention: Please update system again
(android image followed by yhe rest of the message)
Error
Func NO:11 (recovry image)
Error NO:2 (load failed) "
I tried every single methods, but with out result.
Can someone help me, please?
I allready tried this thread, both methods: https://forum.xda-developers.com/p10/how-to/guide-manual-updgrade-to-update-oreo-t3758286
Then I guess you should unbrick it..xposed is not really friendly with emui, i remember since i had my p8 lite and it's not worth trying. Better stick with magisk modules.
Try this .
I tried, but the recovery_ramdisk gives me error
you need too flash kernel.extract oreo files and flash kernel.img after that you can reach twrp
Also having the same issue. I've flashed the Kernel as well via fastboot but no luck. I don't have access to a Windows machine at the moment but will try tomorrow. Unless anyone knows what I have to flash via fastboot to fix this? My device was updated to Oreo if it helps.
https://forum.xda-developers.com/p10/help/help-please-error-mode-recovery-t3757571 check here

E4 Plus Owens XT1775 lost stock recovery while trying to flash Magisk

Just picked up an E4 Plus XT 1775 and attempted to root with the info from this thread:
https://forum.xda-developers.com/moto-e4-plus/help/step-step-how-to-root-moto-e4-plus-t3752334
Short version: I was eventually able to boot to temp TWRP and install Magisk, so all is good. But the version of TWRP linked in the above thread (from GitHub) was damaged or corrupt and gave me "invalid boot image" errors. Can't get into recovery anymore unless tethered through fastboot.
I can leave it that way, but I'd appreciate any suggestions for repairing stock recovery.
Thanks!

[Help] Magisk error Error verifying vbmeta image: HASH_MISMATCH(3) on samsung galaxy a40 (SM-A405FN)

i was trying to root my phone with magisk, but without twrp.
i used odin to flash the patched AP file to my phone but i got an error Error verifying vbmeta image: HASH_MISMATCH(3)
i was reading through other posts but found no help, i posted on reddit and read through it, same, no help there eather. I hope i can find help here, and successfully root my phone.
What i tried for Magisk:
Different firmware to patch with magisk
When flashing i tried to use csc and home_csc, both give me the same error
What i tried for TWRP:
Different versions of TWRP
Error i get with TWRP is - Error validating footer (6)
I hope you guys can help me
Thanks in advice!
did solv this? Have same problem…

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