Bricked Honor 5X

jperez1132

Member
Oct 27, 2012
11
7
0
Hi,

I have bricked my Honor 5x after flashing custom recovery. This these the steps I followed:

1) Unlocked the bootloader
2) Flashed TWRP recovery
3) Flashed root
4) Tried to update OTA

Now the phone is stuck at boot screen. I can enter recovery by pressing volume down and power, but now is stock recovery. And I don't know what to do.

Can someone help me?
 

elry567

Senior Member
Jan 7, 2011
1,195
107
0
OK u can't OTA update with twrp AND U SHOULD try adb flashing twrp through fastboot and maybe restoring a nandroid if u have one if not there's some u can download around here
 
  • Like
Reactions: jperez1132
H

heinzwilli6

Guest
Hey, my phone is bricked too. How did you manage to flash adb during twrp. How did you restore the backup and where did you get it from?

Or could someone please explain to me how I can get back to stock. I saw one thread with the .app file, but there you had to go the setting or something, which I can't do.
I have twrp installed and I have the L21 version.
 
Last edited:

jperez1132

Member
Oct 27, 2012
11
7
0
Hey, my phone is bricked too. How did you manage to flash adb during twrp. How did you restore the backup and where did you get it from?

Or could someone please explain to me how I can get back to stock. I saw one thread with the .app file, but there you had to go the setting or something, which I can't do.
I have twrp installed and I have the L21 version.
I was able to get my phone back to stock using the update.app file and the Huawei Update Extractor

  • Download stock firmware and extract the update.app file

  • Download Huawei Update Extractor

  • Use the Huawei Update Extractor to open the update.app file and extract system.img, Cust.img, boot.img, recovery.img

  • Copy the extracted files to your adb folder

  • Connect the phone to the PC in fastboot mode, to do this power off the phone hold Volume down and insert a usb cable connected to the PC

  • Type these commands on ADB:

fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cust cust.img
fastboot reboot​

After that you should be back on stock firmware
 

Attachments

Last edited:
H

heinzwilli6

Guest
I tried to do that too. But the problem was that my adb didn't recognize my phone. Of course I had everything installed.
When I unlocked the bootloader earlier, it worked. But there I had to enable USB debugging. When my phone was broke, I couldn't enable it. Maybe that's why?
However, my phone is working right now, so thanks anyway.
 

nandakalyan

Senior Member
May 13, 2012
367
124
73
Bangalore
I was able to get my phone back to stock using the update.app file and the Huawei Update Extractor

  • Download stock firmware and extract the update.app file

  • Download Huawei Update Extractor

  • Use the Huawei Update Extractor to open the update.app file and extract system.img, Cust.img, boot.img, recovery.img

  • Copy the extracted files to your adb folder

  • Connect the phone to the PC in fastboot mode, to do this power off the phone hold Volume down and insert a usb cable connected to the PC

  • Type these commands on ADB:

fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cust cust.img
fastboot reboot​

After that you should be back on stock firmware
I have a practically dead honor 5x, flashed a L-24 firmware on L-22. TWRP doesnt let me do anything, no touch functions work so i cannot restore my back up.

Fastboot commands on format /data and flash cust cust.img fail with the error "Remote: Command not allowed", bootloader is unlocked, pls help.....I need to flash back the default cust.img to get it back to normal :(

SOLVED: Downloaded the official firmware, placed the "dload" folder which contains the update.app in the root of the sd card, went into download mode on phone (vol up + vol dow + power) and the system installed the firmware automatically.....booted back into the stock system now, next will reflash TWRP and restore back up :)
 
Last edited:

narengowda

New member
Dec 21, 2015
2
1
0
I have a practically dead honor 5x, flashed a L-24 firmware on L-22. TWRP doesnt let me do anything, no touch functions work so i cannot restore my back up.

Fastboot commands on format /data and flash cust cust.img fail with the error "Remote: Command not allowed", bootloader is unlocked, pls help.....I need to flash back the default cust.img to get it back to normal :(

SOLVED: Downloaded the official firmware, placed the "dload" folder which contains the update.app in the root of the sd card, went into download mode on phone (vol up + vol dow + power) and the system installed the firmware automatically.....booted back into the stock system now, next will reflash TWRP and restore back up :)
WORKED: update.app in dload folder WORKED !!! Thanks a lot
 
  • Like
Reactions: ahvamaria

sad1996

Senior Member
Mar 8, 2015
71
37
0
24
Chennai
www.andromaster.in
I was able to get my phone back to stock using the update.app file and the Huawei Update Extractor

  • Download stock firmware and extract the update.app file

  • Download Huawei Update Extractor

  • Use the Huawei Update Extractor to open the update.app file and extract system.img, Cust.img, boot.img, recovery.img

  • Copy the extracted files to your adb folder

  • Connect the phone to the PC in fastboot mode, to do this power off the phone hold Volume down and insert a usb cable connected to the PC

  • Type these commands on ADB:

fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cust cust.img
fastboot reboot​

After that you should be back on stock firmware

Is your fingerprint ID working good?

---------- Post added at 09:14 AM ---------- Previous post was at 08:46 AM ----------

fastboot flash cust CUST.img
target max-download-size: 254MB
sending 'cust' (196335 KB)...
OKAY [ 6.493s]
writing 'cust'...
FAILED (remote: Command not allowed)
finished. total time: 6.493s

Cant flash cust. How did you do that?
 

jperez1132

Member
Oct 27, 2012
11
7
0
Is your fingerprint ID working good?

---------- Post added at 09:14 AM ---------- Previous post was at 08:46 AM ----------

fastboot flash cust CUST.img
target max-download-size: 254MB
sending 'cust' (196335 KB)...
OKAY [ 6.493s]
writing 'cust'...
FAILED (remote: Command not allowed)
finished. total time: 6.493s

Cant flash cust. How did you do that?
Yes, it is working perfectly.
 

tomblast66

New member
May 27, 2016
4
0
0
Hi, sorry for hijacking a thread but I thought it'd be better than making a new one.

I did pretty much the same as the OP, unlocked the bootloader, flashed TWRP recovery, rooted and then stupidly tried to do an official update on the phone (I believe it was kiw-l21c432b140)

The phone is just now stuck at the boot screen, I can get into fastboot mode but cannot use ADB, says device isn't found no matter what I try. I also tried putting stock firmware on the SD card and going into download mode (EMUI) but it just says software install failed.. Any help appreciated, only got the phone today and have spent longer trying to fix it than I have using it..

Thanks!
 

nandakalyan

Senior Member
May 13, 2012
367
124
73
Bangalore
Hi, sorry for hijacking a thread but I thought it'd be better than making a new one.

I did pretty much the same as the OP, unlocked the bootloader, flashed TWRP recovery, rooted and then stupidly tried to do an official update on the phone (I believe it was kiw-l21c432b140)

The phone is just now stuck at the boot screen, I can get into fastboot mode but cannot use ADB, says device isn't found no matter what I try. I also tried putting stock firmware on the SD card and going into download mode (EMUI) but it just says software install failed.. Any help appreciated, only got the phone today and have spent longer trying to fix it than I have using it..

Thanks!

As long as you are able to boot into fastboot you still have hope :)

Are you able to get into TWRP? (Power + Vol up) If yes, download the L-21 stock rom in the file repository thread and flash it. In all likelihood, that will solve any corruption of system files. If not, read on.

Did you check if you have installed the ADB drivers? I am assuming it should have been installed considering you flashed TWRP, but better to check and reinstall. Device not found is usually a driver error. Alternatively, you can install HiSync, it refreshes and replaces the drivers needed for Honor 5X. Further to installing that, try adb fastboot commands and flash the stock recovery using the steps in this post:

http://forum.xda-developers.com/showpost.php?p=65659088&postcount=5
 

tomblast66

New member
May 27, 2016
4
0
0
As long as you are able to boot into fastboot you still have hope :)

Are you able to get into TWRP? (Power + Vol up) If yes, download the L-21 stock rom in the file repository thread and flash it. In all likelihood, that will solve any corruption of system files. If not, read on.

Did you check if you have installed the ADB drivers? I am assuming it should have been installed considering you flashed TWRP, but better to check and reinstall. Device not found is usually a driver error. Alternatively, you can install HiSync, it refreshes and replaces the drivers needed for Honor 5X. Further to installing that, try adb fastboot commands and flash the stock recovery using the steps in this post:

http://forum.xda-developers.com/showpost.php?p=65659088&postcount=5


When I do power and vol up I get EMUI recovery, not TWRP :( I put the stock rom on the SD card and tried to install it and it just says "Software install failed" and the only option is to shut the phone down again.

I had all the ADB drivers installed, will reinstall it all and see if it helps. When I run adb now and use the "adb devices" command it just says "List of devices attached" and doesn't show anything..
 

nandakalyan

Senior Member
May 13, 2012
367
124
73
Bangalore
When I do power and vol up I get EMUI recovery, not TWRP :( I put the stock rom on the SD card and tried to install it and it just says "Software install failed" and the only option is to shut the phone down again.

I had all the ADB drivers installed, will reinstall it all and see if it helps. When I run adb now and use the "adb devices" command it just says "List of devices attached" and doesn't show anything..
Oh then you have stock recovery, are you using the update.app provided by Huawei? Or using any ROMs/images posted here? It is possible that you may have a corrupted download, look up the Huawei site for downloads in the support section for your region and download the official update.app, try with that
 

tomblast66

New member
May 27, 2016
4
0
0
Oh then you have stock recovery, are you using the update.app provided by Huawei? Or using any ROMs/images posted here? It is possible that you may have a corrupted download, look up the Huawei site for downloads in the support section for your region and download the official update.app, try with that
It wasn't stock recovery before, after the phone updated it went back to stock and wouldn't boot. I downloaded the firmware from http://forum.xda-developers.com/honor-5x/development/stock-kiw-l24-l21-t3312684 and that's what I try to install through recovery and it says there's an error, a load of other texts flashes up before it says error but it's too quick to read. When I have better internet I'll re-download it in case it was corrupt. Thanks for your help, hopefully I can get it fixed as I only just got this to replace my old phone. Would be a shame to spend the money on it and have no use from the device.. Just wish the computer would detect through adb as I can get into fastboot easily enough.
 

nandakalyan

Senior Member
May 13, 2012
367
124
73
Bangalore
It wasn't stock recovery before, after the phone updated it went back to stock and wouldn't boot. I downloaded the firmware from http://forum.xda-developers.com/honor-5x/development/stock-kiw-l24-l21-t3312684 and that's what I try to install through recovery and it says there's an error, a load of other texts flashes up before it says error but it's too quick to read. When I have better internet I'll re-download it in case it was corrupt. Thanks for your help, hopefully I can get it fixed as I only just got this to replace my old phone. Would be a shame to spend the money on it and have no use from the device.. Just wish the computer would detect through adb as I can get into fastboot easily enough.
Sure, we all help each other :)

BTW, just to be sure, you using the single "Update.app" file, that runs into a couple of gigs or the extracted one? You can't flash extracted Update.app through stock recovery.

HiSync (the official Huawei tool) also provides an option to recover the phone, tried that?
 

tomblast66

New member
May 27, 2016
4
0
0
Sure, we all help each other :)

BTW, just to be sure, you using the single "Update.app" file, that runs into a couple of gigs or the extracted one? You can't flash extracted Update.app through stock recovery.

HiSync (the official Huawei tool) also provides an option to recover the phone, tried that?
It's the single one, about 2.66GB I believe, I tried the recovering through the Huawei tool and it says "Your device is not supported for system recovery".
 

nandakalyan

Senior Member
May 13, 2012
367
124
73
Bangalore
It's the single one, about 2.66GB I believe, I tried the recovering through the Huawei tool and it says "Your device is not supported for system recovery".
Oops! I am no techie, so am at the end of my wits, but thing I do suspect is a corrupted download, so if you can try downloading the file again from a stable connection and try is all I can think of. I've had this corrupted file thing quite a few times, so suggesting.