hey, i need to ask if someone knows how to flash magisk by the fastboot of the Huawei P Smart 2021 (PPA-LX2) im with some problems like:
"FAILED (Command not allowed)" and "FAILED (Incorrect command)"
i was using the script: fastboot oem unlock and fastboot oem device-info
hope you guys could help me thx
https://www.xda-developers.com/huawei-honor-bootloader-unlock-potatonv
edit: does not apply
-Alf- said:
There is currently no way to unlock the bootloader on your phone, afaik.
Click to expand...
Click to collapse
And?
Related
Hi guys!
I'm having troubleshooting with my Mate 10 Lite, i try to root with this forum : https://forum.xda-developers.com/mate-10/how-to/how-to-huawei-mate-10-pro-standard-t3709535, but the problem is when i try to boot in the custom temporary recovery, fastboot gives me the following problem : "FAILED (Remote: Command not allowed)"
Help me please
Thanks for reading
Are you sure that your boot loader is unlocked?
MrGrim said:
Are you sure that your boot loader is unlocked?
Click to expand...
Click to collapse
Yeah, sure, i tried relocking and unlocking and nothing
MrGrim said:
Are you sure that your boot loader is unlocked?
Click to expand...
Click to collapse
an idea for this problem?
Koa1 said:
an idea for this problem?
Click to expand...
Click to collapse
Did u Checked with Fastboot?
Fastboot getvar Bootloader unlock?
What command did u Use`?
uweork said:
Did u Checked with Fastboot?
Fastboot getvar Bootloader unlock?
What command did u Use`?
Click to expand...
Click to collapse
Fastboot oem unlock [Code here]
uweork said:
Did u Checked with Fastboot?
Fastboot getvar Bootloader unlock?
What command did u Use`?
Click to expand...
Click to collapse
And i check with Fastboot, it says unlocked
uweork said:
Did u Checked with Fastboot?
Fastboot getvar Bootloader unlock?
What command did u Use`?
Click to expand...
Click to collapse
An idea to know what i'm doing wrong?
Koa1 said:
An idea to know what i'm doing wrong?
Click to expand...
Click to collapse
You are at this point,right?
Code:
fastboot boot twrp-mate10-lite.img
Your device will boot into temporary TWRP, ??
or have you used
Code:
fastboot flash recovery twrp-mate10-lite.img
??
First one should not work. second installs twrp, but i dont Know if you Huawei overwrite TWRP after first boot.
then it should be
Code:
fastboot boot Recovery
to restart in TWRP
uweork said:
You are at this point,right?
Code:
fastboot boot twrp-mate10-lite.img
Your device will boot into temporary TWRP, ??
or have you used
Code:
fastboot flash recovery twrp-mate10-lite.img
??
First one should not work. second installs twrp, but i dont Know if you Huawei overwrite TWRP after first boot.
then it should be
Code:
fastboot boot Recovery
to restart in TWRP
Click to expand...
Click to collapse
It is works after a flash, now i have oreo with TWRP and Magisk, thank you so much
Koa1 said:
It is works after a flash, now i have oreo with TWRP and Magisk, thank you so much
Click to expand...
Click to collapse
No Prob mate, Thats why we are all here for :fingers-crossed:
My bootloader is locked, and I can't unlock the bootloader because I can't get out of Fastboot mode. I can't recover my device now. (Xiaomi Mi A3)
Does anyone know how to unlock a bootloader when it is in this state?
fastboot oem device-info
(bootloader) Verity mode: true
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: false
OKAY [ 0.007s]
finished. total time: 0.008s
Trying to flash recovery (fastboot flash recovery twrp.img
target reported max download size of 804261888 bytes
sending 'recovery' (4560 KB)...
OKAY [ 0.108s]
writing 'recovery'...
FAILED (remote: Flashing is not allowed in Lock State)
finished. total time: 0.114s
BUMP
fastboot oem unlock should work
EDIT: did some research and yes your able to just run fastboot oem unlock and the device will take action from there. To be on the safe side also run fastboot oem unlock_critical as well to avoid issues
After doing so the device will be wiped and reboot. From there you can go back to fastboot and run:
fastboot flash recovery twrp.img
TheExploitedOne said:
fastboot oem unlock should work
EDIT: did some research and yes your able to just run fastboot oem unlock and the device will take action from there. To be on the safe side also run fastboot oem unlock_critical as well to avoid issues
After doing so the device will be wiped and reboot. From there you can go back to fastboot and run:
fastboot flash recovery twrp.img
Click to expand...
Click to collapse
D:\Desktop\Root>fastboot oem unlock
...
FAILED (remote: unknown command)
finished. total time: 0.002s
@Zelyr
When it comes to flash a Custom Recovery, a Custom ROM or patched boot then you have to disable dm-verity/AVB at before
jwoegerbauer said:
@Zelyr
When it comes to flash a Custom Recovery, a Custom ROM or patched boot then you have to disable dm-verity/AVB at before.
Click to expand...
Click to collapse
How do I do that?
Zelyr said:
How do I do that?
Click to expand...
Click to collapse
Leave Fastboot mode
Code:
fastboot reboot
Then
Code:
adb devices
adb disable dm-verity
adb reboot
FYI: adb disable dm-verity will work only with adb version 1.0.33 and above
EDIT:
the command was fastboot flashing unlock my bad! Try that and let me know if it works please!
Also run this:
fastboot flashing unlock_critical
Before trying to unlock a device's bootloader it's always a good idea to check whether unlocking the bootloader is natively supported on device:
Code:
adb devices
adb shell "getprop ro.oem_unlock_supported"
If returned value is 1, then it's supported otherwise it's not.
jwoegerbauer said:
Before trying to unlock a device's bootloader it's always a good idea to check whether unlocking the bootloader is natively supported on device:
If returned value is 1, then it's supported otherwise it's not.
Click to expand...
Click to collapse
I had just had a look and yes indeed he's good to unlock
TheExploitedOne said:
EDIT:
the command was fastboot flashing unlock my bad! Try that and let me know if it works please!
Also run this:
fastboot flashing unlock_critical
Click to expand...
Click to collapse
fastboot flashing unlock
Code:
...
FAILED (remote: Flashing Unlock is not allowed
)
finished. total time: 0.003s
fastboot flashing unlock_critical
Code:
...
FAILED (remote: Flashing Unlock is not allowed
)
finished. total time: 0.003s
jwoegerbauer said:
Leave Fastboot mode
Code:
fastboot reboot
Then
Code:
adb devices
adb disable dm-verity
adb reboot
FYI: adb disable dm-verity will work only with adb version 1.0.33 and above
Click to expand...
Click to collapse
doing adb devices shows no devices
Edit: I also can't leave fastboot mode
Zelyr said:
Leave Fastboot mode
Then
doing adb devices shows no devices
Edit: I also can't leave fastboot mode
Click to expand...
Click to collapse
Seems your device was disabled from being able to unlock even though it clearly shows though my research it can be.. I've got a tethered was to do it but I'm not going to go that advanced with you here
jwoegerbauer said:
Before trying to unlock a device's bootloader it's always a good idea to check whether unlocking the bootloader is natively supported on device:
Code:
adb devices
adb shell "getprop ro.oem_unlock_supported"
If returned value is 1, then it's supported otherwise it's not.
Click to expand...
Click to collapse
Weirdly enough it does return as 1
Zelyr said:
Before trying to unlock a device's bootloader it's always a good idea to check whether unlocking the bootloader is natively supported on device:
Weirdly enough it does return as 1
Click to expand...
Click to collapse
Last case is to modify the devcfg binary and flip the lock bit and reflash through EDL
TheExploitedOne said:
Last case is to modify the devcfg binary and flip the lock bit and reflash through EDL
Click to expand...
Click to collapse
Please tell me how
oHi, did you manage to solve it? I have the same problem
i tried to install twrp in my Xiaomi mi a3 but the command not worked, i tried to change the slot to b, so i execute the command, but still nothing. I use mi flash Tool to redo a clean install of the system without first replacing the slot equal to b, also the procedure locked the bootloader. Now I don't know what to do anymore, I ask you for help!
RattlyFern41846 said:
i tried to install twrp in my Xiaomi mi a3 but the command not worked, i tried to change the slot to b, so i execute the command, but still nothing. I use mi flash Tool to redo a clean install of the system without first replacing the slot equal to, also the procedure locked the bootloader. Now I don't know what to do anymore, I ask you for help!
Click to expand...
Click to collapse
Does this command work for you ?
fastboot flashing unlock
fastboot flashing unlock_critical
RizwanH20 said:
Does this command work for you ?
fastboot flashing unlock
fastboot flashing unlock_critical
Click to expand...
Click to collapse
response of the first command:
fastboot flashing unlock
FAILED (remote: 'Flashing Unlock is not allowed
')
fastboot: error: Command failed
response of the second command:
FAILED (remote: ' Device already : unlocked!')
fastboot: error: Command failed
Hi guys,
I’m trying to ho from 8.0.0.336 to 8.0.0.321 , i have the stock ROM for RNE-L22 8.0.0.321 and tried to do this via dload but it fails on 37% everytime.
Tried extraxting the following images from upload.app and do fastboot flash CUST.img, recovery.img and system.img, it goes through but on boot it shows the 8.0.0.336
Any thoughts?
Thanks
Rezarz77 said:
it fails on 37% everytime.
Click to expand...
Click to collapse
possible reasons (IMO):
1. phone connected to PC during update
2. corrupted update file on SD card
Rezarz77 said:
CUST.img, recovery.img and system.img
Click to expand...
Click to collapse
+ kernel.img and ramdisk.img
-Alf- said:
possible reasons (IMO):
1. phone connected to PC during update
2. corrupted update file on SD card
+ kernel.img and ramdisk.img
Click to expand...
Click to collapse
Thank for that, i did kernel and ramdisk too, now it goes to e recovery, i tried to clear cache and factory reset but it restarts and again and goes back to erecovery. Tried to flash fastboot and vendor but it says its not allowed, also cant get oem device info -> it says remote not allowed but its unlocked.
Frp and bootlaoder shows unlocked in fastboot mode!
Any other thoughts?
Thanks in advance for helping me out!
Rezarz77 said:
also cant get oem device info -> it says remote not allowed but its unlocked.
Click to expand...
Click to collapse
Try commands:
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem oeminforead-CUSTOM_VERSION
fastboot oem oeminforead-SYSTEM_VERSION
-Alf- said:
Try commands:
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem oeminforead-CUSTOM_VERSION
fastboot oem oeminforead-SYSTEM_VERSION
Click to expand...
Click to collapse
fastboot oem get-build-number
...
(bootloader) :RNE-L22 8.0.0.338(C636)
fastboot oem get-product-model
...
(bootloader) RNE-L22
fastboot getvar vendorcountry
vendorcountry: hw/spcseas
fastboot oem oeminforead-CUSTOM_VERSION
...
FAILED (remote: The reason of failed input oem_nv_item error!)
fastboot oem oeminforead-SYSTEM_VERSION
...
(bootloader) :RNE-L22 8.0.0.338(C636CUSTC636D1)
Rezarz77 said:
i have the stock ROM for RNE-L22 8.0.0.321
Click to expand...
Click to collapse
Can you give me a link?
Have you folloved instructions to the letter?
Have you followed the instructions to the letter?
-Alf- said:
Can you give me a link?
Have you folloved instructions to the letter?
Have you followed the instructions to the letter?
Click to expand...
Click to collapse
https://dl.gsm-cloud.com/dl/HUAWEI/alk/Rhone-L22%208.0.0.321%28C636CUSTC636D1%29_Firmware_05014SWC_2.zip
I tried dload method and it failed, so i tried flashing through fastboot, apart from main update.app there is a update_RNE-L22_hw_spcseas.app as well which i'm not to sure what i should do with it.
I'm total noob and first time ever flashing a ROM, I would appreciate if you could point me to a right direction
cheers
Rezarz77 said:
https://dl.gsm-cloud.com/dl/HUAWEI/alk/Rhone-L22%208.0.0.321%28C636CUSTC636D1%29_Firmware_05014SWC_2.zip
I tried dload method and it failed, so i tried flashing through fastboot, apart from main update.app there is a update_RNE-L22_hw_spcseas.app as well which i'm not to sure what i should do with it.
I'm total noob and first time ever flashing a ROM, I would appreciate if you could point me to a right direction
cheers
Click to expand...
Click to collapse
See your P.M.
Hey guys,
i try to install a other rom on my phone. I got to the fastbootd mode by using "adb shell reboot fastboot".
But if i now trying to execute "fastboot oem unlock" it says:
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
Im using Arch Linux btw.
Thank you if anyone know how to fix this
kxmpxtxnt said:
Hey guys,
i try to install a other rom on my phone. I got to the fastbootd mode by using "adb shell reboot fastboot".
But if i now trying to execute "fastboot oem unlock" it says:
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
Im using Arch Linux btw.
Thank you if anyone know how to fix this
Click to expand...
Click to collapse
Go To Developer Options.....
And Open OEM Unlocking...
Thanks...
Ayaanic said:
Go To Developer Options.....
And Open OEM Unlocking...
Thanks...
Click to expand...
Click to collapse
I already did :/
kxmpxtxnt said:
I already did :/
Click to expand...
Click to collapse
still the same error
kxmpxtxnt said:
still the same error
Click to expand...
Click to collapse
Ah maybe i was in the wrong folder, let me quickly try it out
kxmpxtxnt said:
Ah maybe i was in the wrong folder, let me quickly try it out
Click to expand...
Click to collapse
No, still the same
kxmpxtxnt said:
No, still the same
Click to expand...
Click to collapse
Do It On The Original Cable.....
And Use The Latest Version Of ADB...
Also Try Changing The Drivers Of Your Phone While You Are In Fastboot In Device Manager....
kxmpxtxnt said:
Hey guys,
i try to install a other rom on my phone. I got to the fastbootd mode by using "adb shell reboot fastboot".
But if i now trying to execute "fastboot oem unlock" it says:
FAILED (remote: 'Unable to open fastboot HAL')
fastboot: error: Command failed
Im using Arch Linux btw.
Thank you if anyone know how to fix this Aare on A12 (C.10 or earlier)
Click to expand...
Click to collapse
Are you on A12 (C.10 or earlier)?
A12 has no fastboot nor BROM. You have to downgrade to A11 or wait upgrade or A13 if Oneplus will fix that. Perhaps they will, perhaps not
Maybe this guide could help
Because the command for unlocking seems different for fastboot
TUTORIAL TWRP AND ROOT NORD 2 OXYGEN OS 11 ( Links updated!)
SO finally I successfully rooted with TWRP and root access.thanks to all developers @Eastw1ng @TheMalachite Following are all download links combined in one post Also there are two threads like unlocking boot loader and twrp but there are some...
forum.xda-developers.com