Huawei P8 Lite 2017 [PRA-LX1] - ADB & Fastboot Error (Command not allowed) - P8 Lite (2017) Discussion

Hello everyone!
A month ago I rooted my device (Huawei P8 Lite 2017 [PRA-LX1]) using the XDA tutorial here. Now I am trying to recover my device using this XDA tutorial here.
My device is fully working but I have a few problems and bugs now and then so I want to fully recover it. My bootloader is unlocked and USB Debugging is on but every time I try to recover my phone or flash anything, I am getting the same error over and over and over again: FAILED (remote: Command not allowed).
Any ideas on how to fix that and recover my device?

is the frp locked?
Sent from my PRA-LA1 using Tapatalk

hamzio7 said:
is the frp locked?
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
Yes it is and I tried to unlock it using the Fastboot and ADB but I am getting the same error.

meymigrou said:
Yes it is and I tried to unlock it using the Fastboot and ADB but I am getting the same error.
Click to expand...
Click to collapse
do you have stock recovery or TWRP?
Sent from my PRA-LA1 using Tapatalk

hamzio7 said:
do you have stock recovery or TWRP?
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
I don't have the stock recovery and I don't know where to find it and download it. But I have all the TWRP files on my PC.

meymigrou said:
I don't have the stock recovery and I don't know where to find it and download it. But I have all the TWRP files on my PC.
Click to expand...
Click to collapse
first of all...take a backup using twrp...and then...you must flash the stock recovery...if you have root...you can use flashify...and then you must do a factory reset using the stock recovery...
after all the steps above...
you must relock your bootloader using thia command:
fastboot oem relock xxxxxxxxxxxxxx
xxxx.... are your bootloader unlock code...
after locking the bootloader you can re enable your oem unlocking in developing options
Sent from my PRA-LA1 using Tapatalk
---------- Post added at 06:11 PM ---------- Previous post was at 06:05 PM ----------
hamzio7 said:
first of all...take a backup using twrp...and then...you must flash the stock recovery...if you have root...you can use flashify...and then you must do a factory reset using the stock recovery...
after all the steps above...
you must relock your bootloader using thia command:
fastboot oem relock xxxxxxxxxxxxxx
xxxx.... are your bootloader unlock code...
after locking the bootloader you can re enable your oem unlocking in developing options
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
reasons why you need the stock recovery:
after relocking the bootloader your phone asks to delete everything and encrypt the phone again.
without stock recovery you can't
why you need to do a factory reset using the stock recovery first?
your phone will detect your phone as rooted and will give you this error when you try to relock the bootloader
root risk or something...i don't remember it
Sent from my PRA-LA1 using Tapatalk

hamzio7 said:
first of all...take a backup using twrp...and then...you must flash the stock recovery...if you have root...you can use flashify...and then you must do a factory reset using the stock recovery...
after all the steps above...
you must relock your bootloader using thia command:
fastboot oem relock xxxxxxxxxxxxxx
xxxx.... are your bootloader unlock code...
after locking the bootloader you can re enable your oem unlocking in developing options
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
First things first, thank you so much for taking the time to help me with a solution. Here's the problem: I can't do anything with TWRP because it's stuck at booting.

use flashify to flash twrp on your phone...or you can use dd commands via terminal and super su
meymigrou said:
First things first, thank you so much for taking the time to help me with a solution. Here's the problem: I can't do anything with TWRP because it's stuck at booting.
Click to expand...
Click to collapse
Sent from my PRA-LA1 using Tapatalk

hamzio7 said:
use flashify to flash twrp on your phone...or you can use dd commands via terminal and super su
Click to expand...
Click to collapse
I can't use Flashify because my device isn't rooted. I want to root it but I don't know how because TWRP doesn't work. Is there any other way I could root my device?

meymigrou said:
I can't use Flashify because my device isn't rooted. I want to root it but I don't know how because TWRP doesn't work. Is there any other way I could root my device?
Click to expand...
Click to collapse
have you rooted your device before?
Sent from my PRA-LA1 using Tapatalk

hamzio7 said:
have you rooted your device before?
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
Yes I did! I rooted it using TWRP and Super Su (both downloaded from XDA).

meymigrou said:
Yes I did! I rooted it using TWRP and Super Su (both downloaded from XDA).
Click to expand...
Click to collapse
su it's rooted...you just have to install the super su apk...
Sent from my PRA-LA1 using Tapatalk

hamzio7 said:
su it's rooted...you just have to install the super su apk...
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
I just installed SuperSu from Play Store and it says that 'Root Undetected'.

meymigrou said:
I just installed SuperSu from Play Store and it says that 'Root Undetected'.
Click to expand...
Click to collapse
use the one that you downloaded from xda
Sent from my PRA-LA1 using Tapatalk

hamzio7 said:
use the one that you downloaded from xda
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
Same again, I downloaded the same SuperSu apk from XDA and it says that root undetected.

that's bad...i don't know what to do...can you try terminal emulator...type su and press enter key...if there wasn't any errors then you can use terminal to flash files
Sent from my PRA-LA1 using Tapatalk

hamzio7 said:
that's bad...i don't know what to do...can you try terminal emulator...type su and press enter key...if there wasn't any errors then you can use terminal to flash files
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
I did and it says "not found". That's really weird, how can I fix a device that doesn't let you flash anything and it's firmware doesn't even work? When I try to open TWRP it stuck at boot and doesn't do anything. I can't even reset my device because it stays at boot.

meymigrou said:
I did and it says "not found". That's really weird, how can I fix a device that doesn't let you flash anything and it's firmware doesn't even work? When I try to open TWRP it stuck at boot and doesn't do anything. I can't even reset my device because it stays at boot.
Click to expand...
Click to collapse
use adb command to boot into recovery and see if the device boots to TWRP...
adb reboot recovery
Sent from my PRA-LA1 using Tapatalk

hamzio7 said:
use adb command to boot into recovery and see if the device boots to TWRP...
adb reboot recovery
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
I just did it and it stuck at boot again.

meymigrou said:
I just did it and it stuck at boot again.
Click to expand...
Click to collapse
the only thing that you can do to flash files at the moment is with DC Phoenix box ... it's a paid app...15 euro for 72 hours of using...i used it to fix mine
Sent from my PRA-LA1 using Tapatalk

Related

Root 5.1

I would like to root my xt1092 , since its 5.1 I have a confusion about rooting it.....
Which is the easiest way to root 5.1....
Even if I root how can I go back to stock ???
Thanks in advance...
Sent from my XT1092 using XDA Free mobile app
rohithksaj said:
I would like to root my xt1092 , since its 5.1 I have a confusion about rooting it.....
Which is the easiest way to root 5.1....
Even if I root how can I go back to stock ???
Thanks in advance...
Sent from my XT1092 using XDA Free mobile app
Click to expand...
Click to collapse
Easiest for me is: fastboot flash/boot twrp,then install SuperSU on reboot. To go back to stock,reflash firmware.
Nicolae-Daniel said:
Easiest for me is: fastboot flash/boot twrp,then install SuperSU on reboot. To go back to stock,reflash firmware.
Click to expand...
Click to collapse
Can you tell me how I can fast boot twrp ??
Sent from my XT1092 using XDA Free mobile app
rohithksaj said:
Can you tell me how I can fast boot twrp ??
Sent from my XT1092 using XDA Free mobile app
Click to expand...
Click to collapse
I'll usually just boot twrp and then install SuperSU. To boot twrp boot into the bootloader anduse the following commands with fastboot.
Fastboot boot <name of customer recovery>.img (example twrp.img). It will then load twrp and you can install SuperSU either through sideloading or installing from the root of your device.

Bricked OP3?

Hi
I was going back to unrooted stock. I had rooted, unlocked stock 3.2.2 with twrp recovery. I followed a guide to get it back to stock. This is what I did: Loaded into fastboot to find the device, sure it was there. Flashed stock recovery, went ok. Locked the bootloader, ok. But when I am going into sideload to flash the stock rom, adb says "device not found"! It's found in fastboot, so what wrong?
Thx in advance
the easiest way is to download the official rom from oneplus downloads section (not the signed ones from forums) and flash it through twrp. it will reinstall stock and revert recovery back to stock. after that you can use fastboot oem lock to lock the bootloader.
bonham1988 said:
the easiest way is to download the official rom from oneplus downloads section (not the signed ones from forums) and flash it through twrp. it will reinstall stock and revert recovery back to stock. after that you can use fastboot oem lock to lock the bootloader.
Click to expand...
Click to collapse
Ok thx
Then I have to flash twrp again. I'm not getting into the phone, it's not starting up. Right now I'm not having any rom on my device so I can't get the rom to my device.
I should have done as you said in the first place.
Lasse58 said:
Ok thx
Then I have to flash twrp again. I'm not getting into the phone, it's not starting up. Right now I'm not having any rom on my device so I can't get the rom to my device.
Click to expand...
Click to collapse
After you reflash twrp (boot into twrp after reflashing) just connect your phone to your pc. It opens up in mtp mode so you can copy the rom to phone after that.
Sent from my OnePlus3 using XDA Labs
bonham1988 said:
After you reflash twrp (boot into twrp after reflashing) just connect your phone to your pc. It opens up in mtp mode so you can copy the rom to phone after that.
Sent from my OnePlus3 using XDA Labs
Click to expand...
Click to collapse
Thx, I'll try that!
bonham1988 said:
After you reflash twrp (boot into twrp after reflashing) just connect your phone to your pc. It opens up in mtp mode so you can copy the rom to phone after that.
Sent from my OnePlus3 using XDA Labs
Click to expand...
Click to collapse
It takes som time to download the rom. The bootloader is now locked so I guess I'll have to unlock it before I can flash trwp, right?
Lasse58 said:
It takes som time to download the rom. The bootloader is now locked so I guess I'll have to unlock it before I can flash trwp, right?
Click to expand...
Click to collapse
Yes unlock bootloader first
Sent from my OnePlus3 using XDA Labs
bonham1988 said:
Yes unlock bootloader first
Sent from my OnePlus3 using XDA Labs
Click to expand...
Click to collapse
Everything worked except when I now start up it says "To start Android, enter your password". I have never put up a password. How to solve that?
Shall I unlock it again?
Lasse58 said:
Everything worked except when I now start up it says "To start Android, enter your password". I have never put up a password. How to solve that?
Shall I unlock it again?
Click to expand...
Click to collapse
PM me my friend.
Lasse58 said:
Everything worked except when I now start up it says "To start Android, enter your password". I have never put up a password. How to solve that?
Shall I unlock it again?
Click to expand...
Click to collapse
i am in a quiet similar situation( i reflash the recovery because i wasn't able to restore a nandroid, but doesn't work), whit the request of a password when i start the phone. How do you solve it, please?
Edit: It's better go to sleep for me... However for who need a answer, the password is the one that unlock the screen
Hello, i have this problem on my first flash with security On.
http://www.androidexplained.com/oneplus-3-fix-twrp-restore-unlock-bug/
Sent from my ONEPLUS A3003 using XDA-Developers mobile app

Bricked phone (command no allowed + no recovery1 + getting package info failed)

Hello, yesterday, i tried to root again my phone (i successfully did it one time).
I used this TWRP : prague311.img from https://forum.xda-developers.com/p8...-to-root-huawei-p8-lite-2017-android-t3582179
After TWRP and rooting, the system was buggy and without Gapps weirdly but OpenGapps was not installing.
So i tried to use a TWRP backup from the same thread and then hard brick.
I'm actually stuck with that :
- All fastboot command aren't allowed (bootloader was unlocked - i also don't have my unlock code anymore)
- The eRecovery can't download update package
- I tried using UPDATE.app but each time i tried, it failed (bad package or "can't install")
- I can't factory reset the phone (i think it's what i need to do) because the stock recovery isn't working
Thanks in advance :'(
Do you still have the TWRP recovery?
Sent from my PRA-LA1 using Tapatalk
hamzio7 said:
Do you still have the TWRP recovery?
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
Unfortunately, there is not recovery except non-working eRecovery
KMXSLR said:
Unfortunately, there is not recovery except non-working eRecovery
Click to expand...
Click to collapse
What happened to the TWRP recovery?
Sent from my PRA-LA1 using Tapatalk
hamzio7 said:
What happened to the TWRP recovery?
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
I restored the backup from rescue box, but i don't know why it didn't worked and everything stopped working (no system boot, no recovery)
KMXSLR said:
I restored the backup from rescue box, but i don't know why it didn't worked and everything stopped working (no system boot, no recovery)
Click to expand...
Click to collapse
In that case the only thing that you can do is using DC Phoenix to flash the stock ROM...i had the same problem. And i fixed my device with DC Phoenix
Sent from my PRA-LA1 using Tapatalk
hamzio7 said:
In that case the only thing that you can do is using DC Phoenix to flash the stock ROM...i had the same problem. And i fixed my device with DC Phoenix
Sent from my PRA-LA1 using Tapatalk
Click to expand...
Click to collapse
How did you do? Did you bought account?
KMXSLR said:
How did you do? Did you bought account?
Click to expand...
Click to collapse
Yeah I paid 15 Euros
Sent from my PRA-LA1 using Tapatalk
Oh **** I have only 8€ on my PayPal.
Thanks for the help
KMXSLR said:
Oh **** I have only 8€ on my PayPal.
Thanks for the help
Click to expand...
Click to collapse
You have to unlock your phone again with the huawei unlockcode. Then you can flash twrp again and restore the last rom of my root thread in twrp.
ChinHon said:
You have to unlock your phone again with the huawei unlockcode. Then you can flash twrp again and restore the last rom of my root thread in twrp.
Click to expand...
Click to collapse
I thinked about that too, but i dont have the Product ID.
Also it shows that bootloader is well unlocked.
Is there a method to get product id?
KMXSLR said:
I thinked about that too, but i dont have the Product ID.
Also it shows that bootloader is well unlocked.
Is there a method to get product id?
Click to expand...
Click to collapse
Search in the web for huawei product gererator.
ChinHon said:
Search in the web for huawei product gererator.
Click to expand...
Click to collapse
Wow! You literally saved my life!
After searching again and again, i finally found this post that save me : https://forum.xda-developers.com/showpost.php?p=73755966&postcount=3.
Now i got TWRP back, i'll try to restore the su_root backup

Boot into TWRP without flashing?

Is it possible to boot into custom recovery without actually flashing it? Used to do it on other devices but it was a long time ago? I need to edit build.prop to enable multi user but don't want to do any other changes to my phone. Like unlocking bootloader etc. Many thanks.
Sent from my SM-G973F using Tapatalk
If I remember correctly, twrp image must be in ADB folder and then:
fastboot boot recovery [name_of_twrp].img
or
fastboot boot [name_of_twrp].img
Tell me please back which one was right
Doesn't seem to work for me, stuck on waiting on device and nothing happens. Do you need unlocked bootloader to do this?
Sent from my SM-G973F using Tapatalk
lepszy said:
Doesn't seem to work for me, stuck on waiting on device and nothing happens. Do you need unlocked bootloader to do this?
Click to expand...
Click to collapse
omg, yes
rmn.br said:
omg, yes
Click to expand...
Click to collapse
Lol, ok cheers.
Sent from my SM-G973F using Tapatalk

Rooting And Twrp Help ASAP

I been trying to root my Moto e5 Play for a couple days and have almost found success. Right now, I am stuck in a boot loop and I don't have a way to access the rooted phone. Everytime I try to boot into the Android or Factory Mode, it brings me into Twrp. I don't know how to fix this.
The other problem is that before this constant boot loop occured, I would attempt to start boot up and the black N/A screen would appear but stay only on that screen.
I did install a Moto driver.
I did unlock the bootloader using adb.
I did install twrp using adb.
I am trying to root using supersu.
Roooting said:
I been trying to root my Moto e5 Play for a couple days and have almost found success. Right now, I am stuck in a boot loop and I don't have a way to access the rooted phone. Everytime I try to boot into the Android or Factory Mode, it brings me into Twrp. I don't know how to fix this.
The other problem is that before this constant boot loop occured, I would attempt to start boot up and the black N/A screen would appear but stay only on that screen.
I did install a Moto driver.
I did unlock the bootloader using adb.
I did install twrp using adb.
I am trying to root using supersu.
Click to expand...
Click to collapse
I doubt supersu will work
You likely need to reflash boot.img
Sent from my mata using XDA Labs
sd_shadow said:
I doubt supersu will work
You likely need to reflash boot.img
Click to expand...
Click to collapse
This? I already tried flashing that particular img. The reboot always returns to the bootloader. I am missing something.
Roooting said:
This? I already tried flashing that particular img. The reboot always returns to the bootloader. I am missing something.
Click to expand...
Click to collapse
No flash stock boot.img with fastboot
Sent from my perry_f using XDA Labs
sd_shadow said:
No flash stock boot.img with fastboot
Click to expand...
Click to collapse
I don't understand how to do that. :/
Can you walk me through the steps?
Roooting said:
I don't understand how to do that. :/
Can you walk me through the steps?
Click to expand...
Click to collapse
Which model number?
Do you know which software channel
See
https://mirrors.lolinet.com/firmware/moto
Download the firmware
Extract/uncompress the . zip
Flash
Code:
Fastboot flash boot boot.img
Sent from my mata using XDA Labs
sd_shadow said:
Which model number?
Do you know which software channel
See
https://mirrors.lolinet.com/firmware/moto
Download the firmware
Extract/uncompress the . zip
Flash
Click to expand...
Click to collapse
I don't know the software channel. This phone is unlocked and may not have a carrier.
Roooting said:
I don't know the software channel. This phone is unlocked and may not have a carrier.
Click to expand...
Click to collapse
According to your bootloader screenshot
James 1925-2
Att
Try
https://mirrors.lolinet.com/firmware/moto/james/official/ATT/
Sent from my mata using XDA Labs
sd_shadow said:
According to your bootloader screenshot
James 1925-2
Att
Try
https://mirrors.lolinet.com/firmware/moto/james/official/ATT/
Click to expand...
Click to collapse
I picked the first one.
Took the boot.img out of the zip file and inserted it into internal storage. Then tried flashing using twrp. Nothing worked. The boot returned me to the bootloader.
I also tried doing adb sideload in fastboot. That didn't work either.
Roooting said:
I picked the first one.
Took the boot.img out of the zip file and inserted it into internal storage. Then tried flashing using twrp. Nothing worked. The boot returned me to the bootloader.
I also tried doing adb sideload in fastboot. That didn't work either.
Click to expand...
Click to collapse
Use the newest one
abd commands don't work in fastboot mode
Sent from my mata using XDA Labs
sd_shadow said:
Use the newest one
abd commands don't work in fastboot mode
Click to expand...
Click to collapse
Nothing works with any of those. Still get stuck in the bootloop. :/
I know what the problem is. I don't have a OS installed. That's why the phone is stuck on the bootloader bootloop. I need to flash a OS.
Roooting said:
I know what the problem is. I don't have a OS installed. That's why the phone is stuck on the bootloader bootloop. I need to flash a OS.
Click to expand...
Click to collapse
https://forum.xda-developers.com/moto-e5/how-to/firmware-restoring-moto-e5-play-to-t3820053
Sent from my Cosmo_Communicator using XDA Labs
sd_shadow said:
https://forum.xda-developers.com/moto-e5/how-to/firmware-restoring-moto-e5-play-to-t3820053
Click to expand...
Click to collapse
Tried two different stocks. Twrp error.
Roooting said:
Tried two different stocks. Twrp error.
Click to expand...
Click to collapse
Don't use TWRP
Sent from my mata using XDA Labs
---------- Post added at 02:24 AM ---------- Previous post was at 02:23 AM ----------
Where does it say use TWRP?
Sent from my mata using XDA Labs
sd_shadow said:
Don't use TWRP
Click to expand...
Click to collapse
What do I use to flash if not adb or twrp?
Roooting said:
What do I use to flash if not adb or twrp?
Click to expand...
Click to collapse
https://forum.xda-developers.com/moto-e5/how-to/firmware-restoring-moto-e5-play-to-t3820053
Sent from my mata using XDA Labs
sd_shadow said:
https://forum.xda-developers.com/moto-e5/how-to/firmware-restoring-moto-e5-play-to-t3820053
Click to expand...
Click to collapse
I don't have permission to download whatever is in that google drive link.
Roooting said:
I don't have permission to download whatever is in that google drive link.
Click to expand...
Click to collapse
Setting up and Using adb.exe and fastboit.exe https://forum.xda-developers.com/android/general/index-links-setting-using-adb-fastboot-t3495167
Sent from my mata using XDA Labs
---------- Post added at 02:57 AM ---------- Previous post was at 02:53 AM ----------
https://forum.xda-developers.com/moto-e5/how-to/firmware-moto-e5-xt1944-4-dual-sim-t3820901
Sent from my mata using XDA Labs
sd_shadow said:
Setting up and Using adb.exe and fastboit.exe https://forum.xda-developers.com/android/general/index-links-setting-using-adb-fastboot-t3495167
Sent from my mata using XDA Labs
---------- Post added at 02:57 AM ---------- Previous post was at 02:53 AM ----------
https://forum.xda-developers.com/moto-e5/how-to/firmware-moto-e5-xt1944-4-dual-sim-t3820901
Click to expand...
Click to collapse
I can't find my device in RSD.

Categories

Resources