Trying to Root Magisk - Essential Phone Questions & Answers

I have a patched boot image, trying to root with Magisk android 10 Essential phone. I have bootloader and critical unlocked, and no pin or password. I keep getting C:\Users\johns\Desktop\Magisk 2.21.20>fastboot flash boot magisk_patched.img
target reported max download size of 536870912 bytes
sending 'boot_a' (24097 KB)...
OKAY [ 0.598s]
writing 'boot_a'...
FAILED (remote: Flashing is not allowed in Lock State)
finished. total time: 0.601s
What could possibly be locked at this point? I am trying to root with just magisk, don't want twrp. Is it possible?

Sure bootloader is unlocked? Does it say unlocked from the fastboot screen? You may have typed the unlock command but it may not have executed

gk1984 said:
Sure bootloader is unlocked? Does it say unlocked from the fastboot screen? You may have typed the unlock command but it may not have executed
Click to expand...
Click to collapse
Same problem Here. Anyone have the solution?

Related

Cannot remove encryption, tried everything I can think of... Advice?

So I'm in a bit of a pickle regarding the encryption on my OP2. The problem is this, I rooted and installed a custom rom which I went on to encrypt using androids native encryption. I've since this installed a new rom but the encryption is still active when booting to recovery and my lock screen pin is required to get the phone to start, even when its a fresh rom install and full data wipe? I've eve tried replacing the recovery to the latest version of twrp through adb but just get the following:
"C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 536870912 bytes
sending 'recovery' (22032 KB)...
OKAY [ 0.576s]
writing 'recovery'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 0.600s"
Any thoughts?
Unlock bootloader
Sent from my ONE A2005 using Tapatalk

Can't flash TWRP with unlocked bootloader

Hiii,
I've read many threads but didn't find my answer, I have an unlocked bootloader but can't flash TWRP recovery.
Tried many different versions but all tries give me an "remote: image verification error"
Device is fastboot mode:
C:\Temp>fastboot devices -l
4<serial hidden>7 fastboot
Bootloader unlocked with official unlock code:
C:\Temp>fastboot oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.006s]
finished. total time: 0.007s
Flash TWRP (failed) and flash STOCK (success):
C:\TEMP>fastboot flash recovery recovery_twrp.img
target reported max download size of 471859200 bytes
sending 'recovery' (28928 KB)...
OKAY [ 0.617s]
writing 'recovery'...
FAILED (remote: image verification error)
finished. total time: 0.634s
C:\TEMP>fastboot flash recovery recovery_stock.img
target reported max download size of 471859200 bytes
sending 'recovery' (32960 KB)...
OKAY [ 0.701s]
writing 'recovery'...
OKAY [ 1.102s]
finished. total time: 1.805s
Any ideas... what can I do/ what should try?
Thx!
Strange is when I :
C:\Temp>fastboot oem get-lockstate
...
(bootloader) locked
OKAY [ 0.004s]
finished. total time: 0.005s
it say's it's locked, but when I try to unlock with correct code, it gives a message wrong password, so it's unlocked :|
roelprincen said:
Hiii,
I've read many threads but didn't find my answer, I have an unlocked bootloader but can't flash TWRP recovery.
Tried many different versions but all tries give me an "remote: image verification error"
Device is fastboot mode:
C:\Temp>fastboot devices -l
4<serial hidden>7 fastboot
Bootloader unlocked with official unlock code:
C:\Temp>fastboot oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.006s]
finished. total time: 0.007s
Flash TWRP (failed) and flash STOCK (success):
C:\TEMP>fastboot flash recovery recovery_twrp.img
target reported max download size of 471859200 bytes
sending 'recovery' (28928 KB)...
OKAY [ 0.617s]
writing 'recovery'...
FAILED (remote: image verification error)
finished. total time: 0.634s
C:\TEMP>fastboot flash recovery recovery_stock.img
target reported max download size of 471859200 bytes
sending 'recovery' (32960 KB)...
OKAY [ 0.701s]
writing 'recovery'...
OKAY [ 1.102s]
finished. total time: 1.805s
Any ideas... what can I do/ what should try?
Thx!
Strange is when I :
C:\Temp>fastboot oem get-lockstate
...
(bootloader) locked
OKAY [ 0.004s]
finished. total time: 0.005s
it say's it's locked, but when I try to unlock with correct code, it gives a message wrong password, so it's unlocked :|
Click to expand...
Click to collapse
same with me ?
Try to relock and then unlock. I've had this problem too after downgrade to mm by official Huawei rollback package. Then phone and other tools shows than phone is unlocked and it was unable to flash recovery.
if it says wrong password it means you got the wrong password. it will say it's already unlocked if you try unlocking it while it's unlocked
My phone was unlocked with Potato v2.0.1, with working TWRP, rooted etc...
I solved this problem that arose after unsuccesfully install custom Rom, restore backup of stock rom, install update through dload and many many other attempts at improvement of my smartphone :-( No more time again!!!
Probably installing update through Dload will relock bootloader, but in the fastboot mode it says bootloader still unlocked.
Before I did all this, I had an original stock rom.
1: Relock bootloader with PotatoNV v2.0.1 (You need to open case and connect tespoint by wire - look on Youtube, i´ve find it there, also you need "Huawei testpoint drivers")
2: Factory reset
3: Install any update stock rom with Dload (Vol up + Vol down + power)
4: Factory reset
5: Developer options-turn on OEM unlock and USB debbuging
6:Unlock bootloader with PotatoNV v2.0.1 - keep password generated by Potato
7:Multitool 8 for Huawei - in the bootloader state unlock bootloader again - use password generated by Potato
8:Multitool 8 for huawei - install TWRP - it says "Succesfully installed" - TWRP works, root is possible. Yeah!!!
May be this is not right way to solve this, but for me it workś..

FAILED (remote: Command not allowed) while flashing TWRP

Hi,
Today i tried to flash TWRP on my Mate 8 (again) and i became this error message:
>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (25236 KB)...
OKAY [ 0.727s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.736s
A few information about my device:
Android 7.0
EMUI 5.0
OEM Unlock disabled and greyed out
bootloader unlocked
Sorry for my bad English!
UselessIdiot said:
Hi,
Today i tried to flash TWRP on my Mate 8 (again) and i became this error message:
>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (25236 KB)...
OKAY [ 0.727s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.736s
A few information about my device:
Android 7.0
EMUI 5.0
OEM Unlock disabled and greyed out
bootloader unlocked
Sorry for my bad English!
Click to expand...
Click to collapse
I think u must unlock your phone bootloader again.
Same error happened to me after updated my phone to b580
Ww222 said:
I think u must unlock your phone bootloader again.
Same error happened to me after updated my phone to b580
Click to expand...
Click to collapse
I tried but I became an error message again:
>fastboot oem relock [Unlockcode]
...
FAILED (remote: root type is risk)
finished. total time: 0.007s
Or:
>fastboot oem unlock [Unlockcode]
...
FAILED (remote: Command not allowed)
finished. total time: 0.015s
I have my old unlock code but i dont know if it is the same because i have the test key preblem
UselessIdiot said:
I tried but I became an error message again:
>fastboot oem relock [Unlockcode]
...
FAILED (remote: root type is risk)
finished. total time: 0.007s
Or:
>fastboot oem unlock [Unlockcode]
...
FAILED (remote: Command not allowed)
finished. total time: 0.015s
I have my old unlock code but i dont know if it is the same because i have the test key preblem
Click to expand...
Click to collapse
Is USB debugging on?
If yes reinstall stock rom again
If no turn it on
Ww222 said:
Is USB debugging on?
If yes reinstall stock rom again
If no turn it on
Click to expand...
Click to collapse
USB debugging is on.
But is it possible to install a rom without twrp/custom recovery?
If yes, How?
Thank you for your help! :good:
UselessIdiot said:
USB debugging is on.
But is it possible to install a rom without twrp/custom recovery?
If yes, How?
Thank you for your help! :good:
Click to expand...
Click to collapse
1.Unroot your phone if rooted
2.install stock recovery
3.install stock rom using dload method
(Be sure download correct rom to your Device)
Ww222 said:
1.Unroot your phone if rooted
2.install stock recovery
3.install stock rom using dload method
(Be sure download correct rom to your Device)
Click to expand...
Click to collapse
It worked. THANK YOU VERRY MUCH!
UselessIdiot said:
It worked. THANK YOU VERRY MUCH!
Click to expand...
Click to collapse
Wlcm
fastboot flash recovery recovery.img will not work on EMUI-8 the proper method is:-
fastboot flash recovery_ramdisk (filename).img

Bootloader still locked when developer options have it disabled...

In developer options it says its OEM unlocked, but when i use fastboot , it tells me oem_locked and wont let me install twrp or anything. Any suggestions???
wbill2k said:
In developer options it says its OEM unlocked, but when i use fastboot , it tells me oem_locked and wont let me install twrp or anything. Any suggestions???
Click to expand...
Click to collapse
First you need to unlock your bootloader to install twrp. Here is the procedure to unlock bootloader
https://forum.xda-developers.com/g5-plus/how-to/unlock-bootloader-lenovo-motorola-moto-t3581133
Thanks man....
I got the bootloader unlocked, but this is what happens when i try to flash twrp...
PS C:\Users\wbill\Downloads\TWRP> fastboot flash recovery twrp-3.2.3-1-potter.img
target reported max download size of 534773760 bytes
sending 'recovery' (16316 KB)...
OKAY [ 0.422s]
writing 'recovery'...
(bootloader) Image not signed or corrupt
OKAY [ 0.375s]
finished. total time: 0.797s
PS C:\Users\wbill\Downloads\TWRP>
riyan65 said:
First you need to unlock your bootloader to install twrp. Here is the procedure to unlock bootloader
https://forum.xda-developers.com/g5-plus/how-to/unlock-bootloader-lenovo-motorola-moto-t3581133
Click to expand...
Click to collapse
wbill2k said:
I got the bootloader unlocked, but this is what happens when i try to flash twrp...
PS C:\Users\wbill\Downloads\TWRP> fastboot flash recovery twrp-3.2.3-1-potter.img
target reported max download size of 534773760 bytes
sending 'recovery' (16316 KB)...
OKAY [ 0.422s]
writing 'recovery'...
(bootloader) Image not signed or corrupt
OKAY [ 0.375s]
finished. total time: 0.797s
PS C:\Users\wbill\Downloads\TWRP>
Click to expand...
Click to collapse
That means it was successful. Boot into recovery after that

Can't Unlock my bootloader, OnePlus 6t stuck on writing cust-unlock

I am trying to unlock my boot loader on my one plus t6 with TOOL ALL IN ONE , and have tried just doing it with fastboot but it gets hung up on Writing 'cust-unlock', Has anyone had this problem or may have an idea why its not going through?
Unlocking Bootloader...
< waiting for f7059e03 >
Sending 'cust-unlock' (0 KB) OKAY [ 0.010s]
Writing 'cust-unlock'
Fastboot oem- unlock
JB calhoun said:
Fastboot oem- unlock
Click to expand...
Click to collapse
That's the next step, but I cant seem to complete this portion of it I need to get the unlock code on the device before I can run that. I have tried it and it fails.
You shouldn't need a unlock code just follow the guides here.
I have a T mobile original phone so i have to append the unlock code per documentation https://support.oneplus.com/app/answers/detail/a_id/588/~/how-to-unlock-bootloader-for-oneplus-6t-%28t-mobile-edition%29[/url]. I get this error if I just try without it.
fastboot oem unlock
...
FAILED (remote: Please flash unlock token first!
)
finished. total time: 0.004s
mine420 said:
You shouldn't need a unlock code just follow the guides here.
Click to expand...
Click to collapse
Then when I try to flash it, It give me this and doesnt go any further.
fastboot flash cust-unlock .\unlock_token.bin
target reported max download size of 805306368 bytes
sending 'cust-unlock' (0 KB)...
OKAY [ 0.010s]
writing 'cust-unlock'...
malikiah said:
Then when I try to flash it, It give me this and doesnt go any further.
fastboot flash cust-unlock .\unlock_token.bin
target reported max download size of 805306368 bytes
sending 'cust-unlock' (0 KB)...
OKAY [ 0.010s]
writing 'cust-unlock'...
Click to expand...
Click to collapse
I used this guide no code needed to unlock.
https://forum.xda-developers.com/oneplus-6t/how-to/guide-sim-bootloader-unlock-root-t3921795
mine420 said:
I used this guide no code needed to unlock.
https://forum.xda-developers.com/oneplus-6t/how-to/guide-sim-bootloader-unlock-root-t3921795
Click to expand...
Click to collapse
I didn't know you could do that... I unlocked it. thank you so much.
malikiah said:
I didn't know you could do that... I unlocked it. thank you so much.
Click to expand...
Click to collapse
Did you type fastboot devices..
And it come back your serial number? After that use oem unlock it should ask you on your phone if you want to unlock it there is no code

Categories

Resources