how to revert back to non rooted - Huawei P20 Questions & Answers

I traded my phone for this p20 and its rooted, unlocked and has TWRP and I would like to remove all of that and have it back to factory. I've searched but could not find a tutorial. Any help would be appreciated.

Do you have TWRP installed?

Yes. TWRP is installed

I have an OTA update showing on my phone. If I click install will it install stock recovery or will it brick my phone?

ottawadad34 said:
I have an OTA update showing on my phone. If I click install will it install stock recovery or will it brick my phone?
Click to expand...
Click to collapse
I dont think it will brick the phone, but I believe it just wont work. I did basically the same, but I cant remember how I got rid of twrp. I followed a guide (not on xda) very closely to not brick the phone (flashing something to get rid of it, then factory reset).
If you wanna relock your phone, I found the all-in-one-tool very helpful. Just doing oem relock like on the Nexuses doesn‘t work. The tool worked great for me, you still need the unlock code though.

it shouldn't that hard.
1. download full update zip file for your phone.
2. extract the zip, and extract the .APP file using HuaweiUpdateExtractor app.
3. get this file from extracted .APP file : ramdisk.img and recovery_ramdisk.img
4. boot into fastboot and do this :
fastboot flash ramdisk ramdisk.img
fastboot flash recovery_ramdisk recovery_ramdisk.img

Thanks. When I get home today I will try that

heindrix said:
it shouldn't that hard.
1. download full update zip file for your phone.
2. extract the zip, and extract the .APP file using HuaweiUpdateExtractor app.
3. get this file from extracted .APP file : ramdisk.img and recovery_ramdisk.img
4. boot into fastboot and do this :
fastboot flash ramdisk ramdisk.img
fastboot flash recovery_ramdisk recovery_ramdisk.img
Click to expand...
Click to collapse
I get this when I extract update.app

ok i figured out the error but wondering what firmware to download. my phone says eml-l09 8.1.0.102(c792)
do i download this? EML-L09C792B102b (8.1.0.102b)
EML-L09C792B102 (8.1.0.102) FullOTA-MF

ottawadad34 said:
ok i figured out the error but wondering what firmware to download. my phone says eml-l09 8.1.0.102(c792)
do i download this? EML-L09C792B102b (8.1.0.102b)
EML-L09C792B102 (8.1.0.102) FullOTA-MF
Click to expand...
Click to collapse
okay, first things first.
for HuaweiUpdateExtractor, go to settings, and disable every 'verify' settings, those you'll not receive that error message anymore.
next, for download link, here you are : http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2639/g1604/v134418/f1/full/update.zip

heindrix said:
okay, first things first.
for HuaweiUpdateExtractor, go to settings, and disable every 'verify' settings, those you'll not receive that error message anymore.
next, for download link, here you are : http://update.hicloud.com:8180/TDS/data/files/p3/s15/G2639/g1604/v134418/f1/full/update.zip
Click to expand...
Click to collapse
ok got that/ I dont see a recovery_ramdisk.img. I see recovery_ramdis.img and this is what i get when I flash the 2 files
PS C:\adb> fastboot flash ramdisk ramdisk.img
target reported max download size of 471859200 bytes
sending 'ramdisk' (16384 KB)...
OKAY [ 0.448s]
writing 'ramdisk'...
OKAY [ 0.082s]
finished. total time: 0.534s
PS C:\adb> fastboot flash recovery_ramdis recovery_ramdis.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdis' (32768 KB)...
OKAY [ 0.887s]
writing 'recovery_ramdis'...
FAILED (remote: partition length get error)
finished. total time: 0.899s

ottawadad34 said:
ok got that/ I dont see a recovery_ramdisk.img. I see recovery_ramdis.img and this is what i get when I flash the 2 files
PS C:\adb> fastboot flash ramdisk ramdisk.img
target reported max download size of 471859200 bytes
sending 'ramdisk' (16384 KB)...
OKAY [ 0.448s]
writing 'ramdisk'...
OKAY [ 0.082s]
finished. total time: 0.534s
PS C:\adb> fastboot flash recovery_ramdis recovery_ramdis.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdis' (32768 KB)...
OKAY [ 0.887s]
writing 'recovery_ramdis'...
FAILED (remote: partition length get error)
finished. total time: 0.899s
Click to expand...
Click to collapse
the last command is wrong, mate.
it should be :
fastboot flash recovery_ramdisk recovery_ramdis.img

heindrix said:
the last command is wrong, mate.
it should be :
fastboot flash recovery_ramdisk recovery_ramdis.img
Click to expand...
Click to collapse
thank you so much. You are a lifesaver, it worked Update through the phone failed but updating through HiSuite worked. Now to relock the bootloader do i Use the multi tool or adb?

ottawadad34 said:
thank you so much. You are a lifesaver, it worked Update through the phone failed but updating through HiSuite worked. Now to relock the bootloader do i Use the multi tool or adb?
Click to expand...
Click to collapse
i never relock the bootloader, but i think through adb is okay.
i think the command is :
fastboot oem relock yourcodehere
i must remind you that there's a risk of data lost, you make sure to backup first.
and please save bootloader code somewhere, because Huawei will close the service for releasing bootloader code, for the case maybe you want to sell the device and the buyer needs the code.

Ok thanks. I guess I will be keeping it unlocked. The guy I traded for this phone did not give me the unlock code

Worked for me on my EML-L09. Thanks.

Related

Bricked my Honor 6 H60-L04 Indian variant while trying to install .zip files.

I recently upgraded my phone to EMUI 2.3 to EMUI 3.1 (Android lollipop 5.1), and installed CWM and rooted it. Two days ago I have downloaded cerebus app from Rom manager app and it installed by rebooting into recovery. Then a couple of minutes after rebooting the phone keep on crashing and shutting down randomly and when I tried to reboot it won't reboot but stuck for sometime at the Honor logo and since then I've tried every possible flashing and resetting I found here on XDA.
I still have access to fastboot and that is how I am able to flash ROM s and when I am trying to use the three button method it is stopping at 90 %. I couldn't even access it if my phone is not connected to my PC.
Now I've exhausted all the procedures in here and some other sites.
Somebody please suggest me something, help me.
Thank you.
Follow these steps to get it back to stock:
Download your phone's latest firmware and extract system.img, boot.img, recovery.img, cust.img from UPDATE.APP using Huawei Update Extractor tool.
Boot into bootloader mode by switching off the phone then pressing only the Vol DOWN button, and connecting it to PC simultaneously.
Flash recovery first, using this command.
Code:
fastboot flash recovery recovery.img
Flash all other extracted files similarly firing these commands.
Code:
fastboot flash boot boot.img
fastboot flash cust cust.img
fastboot flash system system.img
After doing this put that very UPDATE.APP from which you extracted the files in dload folder of your external SDCARD.
Switch off your phone, and press Vol UP + Vol DOWN + Power button simultaneously.
Your device will now get to the full stock firmware.
NOTE: If the manual flashing doesn't works or you get any errors, then first try only the force update method, i.e Putting the UPDATE.APP from which you extracted the files in dload folder of your external SDCARD and pressing Vol UP + Vol DOWN + Power button simultaneously after switching off your phone.
Thanks Brother.
I have tried to flash Recovery through fastboot and the following error is occurring
F:\Android\Honor root\H60-L04>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (13780 KB)...
OKAY [ 1.451s]
writing 'recovery'...
FAILED (status read failed (Too many links))
finished. total time: 1.482s
Thanks again for helping me out,.
yessasikiran said:
I have tried to flash Recovery through fastboot and the following error is occurring
F:\Android\Honor root\H60-L04>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (13780 KB)...
OKAY [ 1.451s]
writing 'recovery'...
FAILED (status read failed (Too many links))
finished. total time: 1.482s
Thanks again for helping me out,.
Click to expand...
Click to collapse
I have the same problem with a H60-L12.
I noticed, that I get that error when I try to flash a boot.img from a different EMUI version pack.
In my case, the phone had EMUI3.0 and I can write any of the EMUI3.0 boot.img's, but cannot write a boot.img from an EMUI 3.1 or EMUI4.0 update.app
yessasikiran said:
I have tried to flash Recovery through fastboot and the following error is occurring
F:\Android\Honor root\H60-L04>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (13780 KB)...
OKAY [ 1.451s]
writing 'recovery'...
FAILED (status read failed (Too many links))
finished. total time: 1.482s
Thanks again for helping me out,.
Click to expand...
Click to collapse
Which recovery image are you using?
Sent from my PLK-L01 using Tapatalk
yessasikiran said:
I have tried to flash Recovery through fastboot and the following error is occurring
F:\Android\Honor root\H60-L04>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (13780 KB)...
OKAY [ 1.451s]
writing 'recovery'...
FAILED (status read failed (Too many links))
finished. total time: 1.482s
Thanks again for helping me out,.
Click to expand...
Click to collapse
Try
download adb.zip
http://www.mediafire.com/download/o5ruw752ked884u/adb+H60.zip
extract adb.zip
download
TWRP_2.8.7.0_EN_EMUI_4.0_v4.img
https://drive.google.com/drive/folders/0By4NGNfKPDLBMW9jTy1fOHBGTm8?tid=0By4NGNfKPDLBQTZ2S0licGhjNmc
copy TWRP in adb folder
put the devices in fastboot mode
run cmd.exe as administrator and type this command
fastboot devices
fastboot flash recovery TWRP_2.8.7.0_EN_EMUI_4.0_v4.img
fastboot reboot
If does not work, try to reinstall HiSuite or install the lastet version
http://consumer.huawei.com/minisite/HiSuite_en/index.html
Nexus H791 using Tapatalk
Thnks you for replying so quickly.
I'm using "Honor 6_Firmware_H60-L04_Android 6.0_EMUI 4.0_C675B822_India_Flipkart India"
which is the latest stock firmware for Honor 6 H60-L04.
I have tried to force update with the thee button method and it worked (completed 100%)but unfortunately the phone is now in bootloop. This definitely made the phone a little better but once it got to the EMUI update screen its restarting again.
Thanks again man I though nobody would reply for this. its been so long since ive posted this.
Thank you for replying so quickly.
I'm using "Honor 6_Firmware_H60-L04_Android 6.0_EMUI 4.0_C675B822_India_Flipkart India"
which is the latest stock firmware for Honor 6 H60-L04.
I have tried to force update with the thee button method and it worked (completed 100%)but unfortunately the phone is now in bootloop. This definitely made the phone a little better but once it got to the EMUI update screen its restarting again.
Thanks again man I though nobody would reply for this. its been so long since ive posted this.
Thanks man, I'll get back to you once ive done this.
Nah man, Same thing again.
F:\Android\Honor root\TWRP>fastboot flash recovery TWRP_2.8.7.0_EN_EMUI_4.0_v4.i
mg
target reported max download size of 471859200 bytes
sending 'recovery' (14468 KB)...
OKAY [ 1.507s]
writing 'recovery'...
FAILED (status read failed (Too many links))
finished. total time: 1.535s
Thank you for guiding me through.
yessasikiran said:
Thank you for replying so quickly.
I'm using "Honor 6_Firmware_H60-L04_Android 6.0_EMUI 4.0_C675B822_India_Flipkart India"
which is the latest stock firmware for Honor 6 H60-L04.
I have tried to force update with the thee button method and it worked (completed 100%)but unfortunately the phone is now in bootloop. This definitely made the phone a little better but once it got to the EMUI update screen its restarting again.
Thanks again man I though nobody would reply for this. its been so long since ive posted this.
Click to expand...
Click to collapse
You have to use that last Lollipop package which you were on before, try the three button method with that and report.
DigiGoon said:
You have to use that last Lollipop package which you were on before, try the three button method with that and report.
Click to expand...
Click to collapse
Hey,
Yeah man I'll do that now and will get bact to you.
Thanks man
DigiGoon said:
You have to use that last Lollipop package which you were on before, try the three button method with that and report.
Click to expand...
Click to collapse
Yeah man, I've tried to flash recovery of the last Lollipop Rom and still the same message FAILED (status read failed (Too many links)).
Is there any other way that we can try to unbrick the device?
Thank you man.
yessasikiran said:
Yeah man, I've tried to flash recovery of the last Lollipop Rom and still the same message FAILED (status read failed (Too many links)).
Is there any other way that we can try to unbrick the device?
Thank you man.
Click to expand...
Click to collapse
Have you used Honor Multitool? http://forum.xda-developers.com/honor-7/general/honor-7-multi-tool-t3281176
zinko_pt said:
Have you used Honor Multitool? http://forum.xda-developers.com/honor-7/general/honor-7-multi-tool-t3281176
Click to expand...
Click to collapse
Yes sir,
Same output and stopping after trying to flash recovery while using the in brick option.
Thank you.
yessasikiran said:
Yes sir,
Same output and stopping after trying to flash recovery while using the in brick option.
Thank you.
Click to expand...
Click to collapse
When you flashed manually, did you used the same IMG files from the last installed ROM?
You can´t extract and flash IMG files of a LP ROM in a last installed MM ROM and vice versa.
yessasikiran said:
I have tried to flash Recovery through fastboot and the following error is occurring
F:\Android\Honor root\H60-L04>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (13780 KB)...
OKAY [ 1.451s]
writing 'recovery'...
FAILED (status read failed (Too many links))
finished. total time: 1.482s
Thanks again for helping me out,.
Click to expand...
Click to collapse
bro type fastboot devices and check how many available devices it shows...if it shows more than 1 device then stop the other device...if thr is only device then try stopping adb.exe and fastboot.exe(if thr)....then again type command "fastboot devices"
yessasikiran said:
Yes sir,
Same output and stopping after trying to flash recovery while using the in brick option.
Thank you.
Click to expand...
Click to collapse
Try using the latest version of the developer ROM
chetan_dua said:
bro type fastboot devices and check how many available devices it shows...if it shows more than 1 device then stop the other device...if thr is only device then try stopping adb.exe and fastboot.exe(if thr)....then again type command "fastboot devices"
Click to expand...
Click to collapse
Check in task manager to see if you have adb.exe running. Stop all and try again.
Still bricked or have u fixed it yet?
goldfinv said:
Try using the latest version of the developer ROM
Check in task manager to see if you have adb.exe running. Stop all and try again.
Click to expand...
Click to collapse
bro i was trying to help another person that was solution according to me for him
Sry if it looks like question...

Root: Stuck at "Your device is booting now"

Hello! I tried to root my Honor 6x (BLN-L21, EMUI 5.0) following the instructions there:
cyberkey.in/how-to-root-honor-6x-100-working/
The bootloader was successfully unlocked.
But when I tried to flash TWRP the process failed and now my phone is stuck on boot :
"Your device has been unlocked and can't be trusted [...] Your device is booting now."
I can get access to recovery and fastboot. I wiped the cache and tried a factory reset but nothing changed, my system won't start and I don't know what to do.
Please help!
if you have the boot backup then restore it.
venugopalu007 said:
if you have the boot backup then restore it.
Click to expand...
Click to collapse
I don't have any backup. Is there a way to just reset everything? Also I don't know how to connect to the phone anymore since adb won't find the device.
if you cannot find the boot.img
just do a rollback bro
here is the link
first dload this
http://download-c.huawei.com/download/downloadCenter?downloadId=94070&version=376169&siteCode=de-h
and this now
if your device is BLN-L21C432B151 http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1277/g104/v84712/f1/full/update.zip
or BLN-L21C185B131 http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1277/g104/v75593/f1/full/update.zip
I think that I flashed the wrong files in "boot" and "recovery". Please tell me which files I should flash there.
I used the commands:
.\fastboot flash boot twrp.img
.\fastboot flash recovery twrp.img
Stinks said:
I think that I flashed the wrong files in "boot" and "recovery". Please tell me which files I should flash there.
I used the commands:
.\fastboot flash boot twrp.img
.\fastboot flash recovery twrp.img
Click to expand...
Click to collapse
The guide from "cyberkey.in/how-to-root-honor-6x-100-working/" is simply wrong when it comes to flashing the twrp recovery. If you really followed this guide completely then you flashed the recovery to the boot partition.
Use "fastboot flash recovery twrp.img" to flash the recovery.
You will still have to flash the boot image to your boot partition then (fastboot flash boot boot.img).
Stinks said:
I don't have any backup. Is there a way to just reset everything? Also I don't know how to connect to the phone anymore since adb won't find the device.
Click to expand...
Click to collapse
Use fastboot flash recovery twrpname.img to flash the recovery
Ok so basically I need to flash the boot image. However I don't know where to find the stock boot image. I downloaded the so-called "full version" of the stock firmware that I found here: boycracked.com/2017/07/20/official-huawei-honor-6x-bln-l21-berlin-l21-stock-rom-firmware/
However there was no boot.img file inside.
If you could direct me to the proper stock boot.img or send me one, that would greatly help. I had EMUI 5.0 with Nougat 7.0 I believe, phone version BLN-L21.
V
Stinks said:
Ok so basically I need to flash the boot image. However I don't know where to find the stock boot image. I downloaded the so-called "full version" of the stock firmware that I found here: boycracked.com/2017/07/20/official-huawei-honor-6x-bln-l21-berlin-l21-stock-rom-firmware/
However there was no boot.img file inside.
If you could direct me to the proper stock boot.img or send me one, that would greatly help. I had EMUI 5.0 with Nougat 7.0 I believe, phone version BLN-L21.
Click to expand...
Click to collapse
Bro there is update.app open it with huawei update extractor then you will see the the boot image.but remember the emui 4.1 boot wont help you in emui 5 .the boot.img must be emui 5 once.
venugopalu007 said:
V
Bro there is update.app open it with huawei update extractor then you will see the the boot image.but remember the emui 4.1 boot wont help you in emui 5 .the boot.img must be emui 5 once.
Click to expand...
Click to collapse
Thanks. I successfully updated boot.img and and recovery.img, but system won't load, so I might have imported from the wrong STOCK version.
I tried to reinstall a stock ROM using:
fastboot flash system system.img
But I got this error message:
target reported max download size of 471859200 bytes
sending sparse 'system' (444686 KB)...
OKAY [ 12.901s]
writing 'system'...
FAILED (remote: sparse flash write failure)
finished. total time: 12.929s
Then I tried to erase the system file with "erase system" and got this error:
erasing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 0.013s
I guess that the only option now is to install the files on an external SD card?
Stinks said:
Thanks. I successfully updated boot.img and and recovery.img, but system won't load, so I might have imported from the wrong STOCK version.
I tried to reinstall a stock ROM using:
fastboot flash system system.img
But I got this error message:
target reported max download size of 471859200 bytes
sending sparse 'system' (444686 KB)...
OKAY [ 12.901s]
writing 'system'...
FAILED (remote: sparse flash write failure)
finished. total time: 12.929s
Then I tried to erase the system file with "erase system" and got this error:
erasing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 0.013s
I guess that the only option now is to install the files on an external SD card?
Click to expand...
Click to collapse
Bro y this ,just do a rollback .
Stinks said:
Thanks. I successfully updated boot.img and and recovery.img, but system won't load, so I might have imported from the wrong STOCK version.
I tried to reinstall a stock ROM using:
fastboot flash system system.img
But I got this error message:
target reported max download size of 471859200 bytes
sending sparse 'system' (444686 KB)...
OKAY [ 12.901s]
writing 'system'...
FAILED (remote: sparse flash write failure)
finished. total time: 12.929s
Then I tried to erase the system file with "erase system" and got this error:
erasing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 0.013s
I guess that the only option now is to install the files on an external SD card?
Click to expand...
Click to collapse
I recommend you to download firmware files only from the official honor website or by using the huawei firmware finder(https://forum.xda-developers.com/tools/general/huawei-firmware-finder-team-mt-t3469146)
In this case try to use huawei firmware finder to get the right stock version for your phone. Download these two files: e.g. update.zip & update_full_BLN-L21_hw_eu.zip.
Export the following image files: recovery, system, boot and cust.
The try to flash them:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash cust cust.img
fastboot flash recovery recovery.img
If flashing a partition via fastboot fails then it is usually because it's the wrong image or just not made for your phone.
Thank you guys, you saved my phone! I eventually managed to flash the files from Nougat update for European Honor 6X BLN-L21C432B360 that I found there: stechguide.com/honor-6x-b360-nougat-update/
Now the phone is working fine.
Stinks said:
Thank you guys, you saved my phone! I eventually managed to flash the files from Nougat update for European Honor 6X BLN-L21C432B360 that I found there: stechguide.com/honor-6x-b360-nougat-update/
Now the phone is working fine.
Click to expand...
Click to collapse
Glad you revived your phone
question
​
Stinks said:
Hello! I tried to root my Honor 6x (BLN-L21, EMUI 5.0) following the instructions there:
cyberkey.in/how-to-root-honor-6x-100-working/
The bootloader was successfully unlocked.
But when I tried to flash TWRP the process failed and now my phone is stuck on boot :
"Your device has been unlocked and can't be trusted [...] Your device is booting now."
I can get access to recovery and fastboot. I wiped the cache and tried a factory reset but nothing changed, my system won't start and I don't know what to do.
Please help!
Click to expand...
Click to collapse
my phone is stuck at your device is booting now i cant get to any of other functions such as fastboot or recovry i can only acces it after full charge is gone and after charging.how did you get to acces fastboot or recover.
[email protected] said:
question
my phone is stuck at your device is booting now i cant get to any of other functions such as fastboot or recovry i can only acces it after full charge is gone and after charging.how did you get to acces fastboot or recover.
Click to expand...
Click to collapse
did you solve your issue.....I have same problem now
nokiasatyam said:
did you solve your issue.....I have same problem now
Click to expand...
Click to collapse
Hello, could you be more specific about your problem? I'll be able to help you.
Brief Explanation:
From the screen on which you're stuck, press and hold power button for about 10 seconds to forcibly restart your device. when you see the same screen again, immediately press and hold volume up button(for about 3 seconds) to boot to eRecovery.
> Choose shut down option on eRecovery. press and hold vol down button and insert the charging cable to boot to fastboot.
> Press and hold power and volume up button to boot to recovery. (You could do this even from fastboot screen and the screen you're stuck at).

Honor 4c stuck on logo..cannot go to recovery

My honor 4c is stuck on logo and it does not even go to recovery mode even after pressing the power and volume buttons...i installed twrp and i messed up with stock kernel...plz help me i am naive in this
Tayyabmalik said:
My honor 4c is stuck on logo and it does not even go to recovery mode even after pressing the power and volume buttons...i installed twrp and i messed up with stock kernel...plz help me i am naive in this
Click to expand...
Click to collapse
Dload method is also not working?
Dload method will work only if i am able to access recovery menu which i can't...
I am only able to access fastboot mode...So, is there any way to hard reset/hard flash back to factory recovery/firmware/kernel through fastboot mode?
Also, is there any possible hardware solution to this?
Tayyabmalik said:
Dload method will work only if i am able to access recovery menu which i can't...
I am only able to access fastboot mode...So, is there any way to hard reset/hard flash back to factory recovery/firmware/kernel through fastboot mode?
Also, is there any possible hardware solution to this?
Click to expand...
Click to collapse
Extract recovery from firmware file..
Flash recovery via fastboot then perform dload..
hassanjavaid8181 said:
Extract recovery from firmware file..
Flash recovery via fastboot then perform dload..
Click to expand...
Click to collapse
Are u refering to the wifi recovery option in fastboot mode after which the phone asks me to insert a memory card to restore? Do i have to put a memory card with the zip file or the update file or some other file? Thank u for trying to help
hassanjavaid8181 said:
Extract recovery from firmware file..
Flash recovery via fastboot then perform dload..
Click to expand...
Click to collapse
C:\Program Files\platform-tools>fastboot flash boot boot.img
target reported max download size of 524288000 bytes
sending 'boot' (22704 KB)...
OKAY [ 0.672s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.704s
C:\Program Files\platform-tools>fastboot flash-all
fastboot: usage: unknown command flash-all
C:\Program Files\platform-tools>fastboot flash recovery stock.img
target reported max download size of 524288000 bytes
sending 'recovery' (9306 KB)...
OKAY [ 0.284s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.316s
These errors come up when i try to flash stock kernel and recovery images on fastboot
Tayyabmalik said:
C:\Program Files\platform-tools>fastboot flash boot boot.img
target reported max download size of 524288000 bytes
sending 'boot' (22704 KB)...
OKAY [ 0.672s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.704s
C:\Program Files\platform-tools>fastboot flash-all
fastboot: usage: unknown command flash-all
C:\Program Files\platform-tools>fastboot flash recovery stock.img
target reported max download size of 524288000 bytes
sending 'recovery' (9306 KB)...
OKAY [ 0.284s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.316s
These errors come up when i try to flash stock kernel and recovery images on fastboot
Click to expand...
Click to collapse
You rename recovery.img to recovery stock??
hassanjavaid8181 said:
You rename recovery.img to recovery stock??
Click to expand...
Click to collapse
Yes!!! This error comes up no matter whar i rename the stock recovery or stock kernel images...it probably means that phone space is not enough...what do i do now?
hassanjavaid8181 said:
You rename recovery.img to recovery stock??
Click to expand...
Click to collapse
Please help me...can u plz also refer this problem to other senior members?
Tayyabmalik said:
Please help me...can u plz also refer this problem to other senior members?
Click to expand...
Click to collapse
before installing twrp did you unlock your bootloader?
I dont know the product ID for requesting the unlock code...how do i obtain the product ID?
Hi
miststudent2011 said:
before installing twrp did you unlock your bootloader?
Click to expand...
Click to collapse
I do not know the product ID...phone is in bootloop...how do i get the product ID for unlocking bootloader? It is not written on the box
Shah65367 said:
Hi
Click to expand...
Click to collapse
Hey..please state your problem you facing.
hassanjavaid8181 said:
Hey..please state your problem you facing.
Click to expand...
Click to collapse
How do i find the product ID for requesting unlock code?
Tayyabmalik said:
How do i find the product ID for requesting unlock code?
Click to expand...
Click to collapse
Your device in bootloop..
I thick it should be written under back cover if you can remove your back cover..
hassanjavaid8181 said:
Hey..please state your problem you facing.
Click to expand...
Click to collapse
Hassan lineage 14.1 not installing in my huawei honor 4c its showing error 7
Shah65367 said:
Hassan lineage 14.1 not installing in my huawei honor 4c its showing error 7
Click to expand...
Click to collapse
are you using latest twrp?
hassanjavaid8181 said:
are you using latest twrp?
Click to expand...
Click to collapse
I am using 3.0.2 is it latest?
Shah65367 said:
I am using 3.0.2 is it latest?
Click to expand...
Click to collapse
No 3.1.1 is the latest one available for 4c get it from my thread in 4c section

Flashed magisk patched boot image - killed phone :(

I tried to root by flashing the patched boot image as describe in https://forum.xda-developers.com/ho...agisk-root-honor-view-10-mate-10-pro-t3749280. After that, the phone went into a bootloop.
When I get to the eRecovery screen, I tried 'Download latest version and recovery.' It got to 'getting package information from server' but then stopped with 'getting package info failed.'
I then tried 'Wipe data/factory reset' and it rebooted but nothing changed.
I don't know what else to try with this phone. None of the current versions of twrp would run on it. I've never bricked a device in years of rooting.
thecdn said:
I tried to root by flashing the patched boot image as describe in https://forum.xda-developers.com/ho...gisk-root-honor-view-10-mate-10-pro-t3749280. After that, the phone went into a bootloop.
When I get to the eRecovery screen, I tried 'Download latest version and recovery.' It got to 'getting package information from server' but then stopped with 'getting package info failed.'
I then tried 'Wipe data/factory reset' and it rebooted but nothing changed.
I don't know what else to try with this phone. None of the current versions of twrp would run on it. I've never bricked a device in years of rooting.
Click to expand...
Click to collapse
You need to restore your original ramdisk. Also, you have to patch your own ramdisk.img with Magisk Manager if you want to try rooting your device.
And btw, this is a development forum, not General or Q&A one. Read carefully before trying to mod this device, or you will end up with an expensive brick.
please contact me on hangouts i may be able to help [email protected]
You can download the appropriate images to restore your device below. These are for the US variant (BKL-L04)
https://drive.google.com/open?id=1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3
Edit: Link updated
[email protected]_USA said:
You can download the appropriate images to restore your device below. These are for the US variant (BKL-L04)
https://drive.google.com/open?id=1kf...yiH2t-srYBBvN3
Click to expand...
Click to collapse
I"m getting a web page not found 404 when I try that link.
thecdn said:
I"m getting a web page not found 404 when I try that link.
Click to expand...
Click to collapse
Same
thecdn said:
I"m getting a web page not found 404 when I try that link.
Click to expand...
Click to collapse
freeza said:
Same
Click to expand...
Click to collapse
look like chris didnt updated the link,
bdw here you guys go https://drive.google.com/open?id=1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3
I flashed the system.img and the recovery_ramdisk.img. It booted to the eRecovery screen again.
I tried 'Download latest version and recovery' and it failed with the 'getting package info failed' error again.
I then tried 'Wipe data/factory reset' and unlike before, it actually went through and said it was successfully completed. But then it rebooted twice and went back to the eRecovery screen again.
Any ideas on how to proceed from here?
ETA: When I pressed vol up/power after this it went to a screen which said 'software install failed' instead of the recovery screen I thougt it would go to. After the first time, pressing vol up/power goes to the EMUI screen with the options of 'Reboot' 'Wipe data/factory reset' and 'Wipe cache partition.'
thecdn said:
I flashed the system.img and the recovery_ramdisk.img. It booted to the eRecovery screen again.
I tried 'Download latest version and recovery' and it failed with the 'getting package info failed' error again.
I then tried 'Wipe data/factory reset' and unlike before, it actually went through and said it was successfully completed. But then it rebooted twice and went back to the eRecovery screen again.
Any ideas on how to proceed from here?
ETA: When I pressed vol up/power after this it went to a screen which said 'software install failed' instead of the recovery screen I thougt it would go to. After the first time, pressing vol up/power goes to the EMUI screen with the options of 'Reboot' 'Wipe data/factory reset' and 'Wipe cache partition.'
Click to expand...
Click to collapse
You need to restore ramdisk, not recovery_ramdisk.
Pretoriano80 said:
You need to restore ramdisk, not recovery_ramdisk.
Click to expand...
Click to collapse
I did 'fastboot flash ramdisk ramdisk.img' and it still does a couple of reboots and then goes back to the EMUI screen with the recovery/reset/reboot/shutdown options.
In summary, this morning I did:
'fastboot flash system system.img' which resulted in 7 occurances of 'sending sparse system x/7 (xxxx KB)...' - which I have never seen before but all finished with OKAY
'fastboot flash recovery_ramdisk recovery_ramdisk.img'
'fastboot flash ramdisk ramdisk.img'
Is there something else I could do or redo in a particular order?
thecdn said:
I did 'fastboot flash ramdisk ramdisk.img' and it still does a couple of reboots and then goes back to the EMUI screen with the recovery/reset/reboot/shutdown options.
In summary, this morning I did:
'fastboot flash system system.img' which resulted in 7 occurances of 'sending sparse system x/7 (xxxx KB)...' - which I have never seen before but all finished with OKAY
'fastboot flash recovery_ramdisk recovery_ramdisk.img'
'fastboot flash ramdisk ramdisk.img'
Is there something else I could do or redo in a particular order?
Click to expand...
Click to collapse
Try to also flash kernel : fastboot flash kernel kernel.img
Pretoriano80 said:
Try to also flash kernel : fastboot flash kernel kernel.img
Click to expand...
Click to collapse
No joy yet but I do appreciate all the help.
thecdn said:
No joy yet but I do appreciate all the help.
Click to expand...
Click to collapse
Did you tried a factory reset from stock recovery?
Pretoriano80 said:
Did you tried a factory reset from stock recovery?
Click to expand...
Click to collapse
I've tried two factory resets after completing the above mentioned actions. Both times reported they were successful it still won't boot to the os, goes to the EMUI screen after several boot attempts.
Same problem here on a US BKL-L04 =(
I flashed a magisk modified ramdisk.img and have been in bootloop ever since.
I've downloaded and flashed recovery_ramdisk.img, ramdisk.img, and kernel.img from the link earlier in this thread: https://drive.google.com/drive/folders/1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3
I've then did "Wipe data/factory reset" from Huawei eRecovery - no luck
$ fastboot flash ramdisk ramdisk.img
target reported max download size of 471859200 bytes
sending 'ramdisk' (16384 KB)...
OKAY [ 0.401s]
writing 'ramdisk'...
OKAY [ 0.083s]
finished. total time: 0.484s
$ fastboot flash recovery_ramdisk recovery_ramdisk.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (32768 KB)...
OKAY [ 0.807s]
writing 'recovery_ramdisk'...
OKAY [ 0.164s]
finished. total time: 0.971s
sek stock2 $ fastboot flash kernel kernel.img
target reported max download size of 471859200 bytes
sending 'kernel' (24576 KB)...
OKAY [ 0.615s]
writing 'kernel'...
OKAY [ 0.128s]
finished. total time: 0.745s
Aside from fastboot happing very quickly (< 1 second even for 32 meg recovery_ramdisk.img) everything seems to work fine... The phone just no longer boots - it trys a few times - displaying the "Your device has been unlocked and can't be trusted" screen for quite a while and the non-animated blue honor screen briefly and then ends up in EMUI eRecovery.
Are these files still up to date? Or perhaps there were newer versions on my phone and that's why flashing the older ones isn't working?
Also worth noting, I'm flashing from a mac with Android sdk fastbook:
$ fastboot --version
fastboot version 0.0.1-4500957
Installed as /Users/sek/Library/Android/sdk/platform-tools/fastboot
Thanks for any help / tips!
akasek said:
I flashed a magisk modified ramdisk.img and have been in bootloop ever since.
I've downloaded and flashed recovery_ramdisk.img, ramdisk.img, and kernel.img from the link earlier in this thread: https://drive.google.com/drive/folders/1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3
I've then did "Wipe data/factory reset" from Huawei eRecovery - no luck
$ fastboot flash ramdisk ramdisk.img
target reported max download size of 471859200 bytes
sending 'ramdisk' (16384 KB)...
OKAY [ 0.401s]
writing 'ramdisk'...
OKAY [ 0.083s]
finished. total time: 0.484s
$ fastboot flash recovery_ramdisk recovery_ramdisk.img
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (32768 KB)...
OKAY [ 0.807s]
writing 'recovery_ramdisk'...
OKAY [ 0.164s]
finished. total time: 0.971s
sek stock2 $ fastboot flash kernel kernel.img
target reported max download size of 471859200 bytes
sending 'kernel' (24576 KB)...
OKAY [ 0.615s]
writing 'kernel'...
OKAY [ 0.128s]
finished. total time: 0.745s
Aside from fastboot happing very quickly (< 1 second even for 32 meg recovery_ramdisk.img) everything seems to work fine... The phone just no longer boots - it trys a few times - displaying the "Your device has been unlocked and can't be trusted" screen for quite a while and the non-animated blue honor screen briefly and then ends up in EMUI eRecovery.
Are these files still up to date? Or perhaps there were newer versions on my phone and that's why flashing the older ones isn't working?
Also worth noting, I'm flashing from a mac with Android sdk fastbook:
$ fastboot --version
fastboot version 0.0.1-4500957
Installed as /Users/sek/Library/Android/sdk/platform-tools/fastboot
Thanks for any help / tips!
Click to expand...
Click to collapse
Flash stock kernel, ramdisk and recovery ramdisk for your model in fastboot and you'll be able to boot again
Rommco05 said:
https://forum.xda-developers.com/honor-9/development/tool-flash-official-firmware-recovery-t3769279
Use this tool for flash full fw
Click to expand...
Click to collapse
Thanks for the info, that tool looks interesting. Where can I get the stock files for BKL-L04 US version Honor View 10?
I have now tried flashing kernel, ramdisk, recovery_ramdisk and system from both of these sources:
- https://drive.google.com/drive/folders/1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3
- http://arter97.com/browse/v10/stock/BKL-L04/
They all appear to flash fine. I tried flashing vendor.img as well, but get an error on that:
$ fastboot flash vendor vendor.img
target reported max download size of 471859200 bytes
Invalid sparse file format at header magic
sending sparse 'vendor' 1/2 (445713 KB)...
OKAY [ 9.718s]
writing 'vendor' 1/2...
FAILED (remote: Command not allowed)
finished. total time: 9.724s
It still doesn't want to boot. I end up in eRecovery each time.
I am able to flash TWRP from Pretoriano80: https://forum.xda-developers.com/honor-view-10/development/recovery-twrp-3-2-1-0-t3769917
It seems to be working properly, perhaps that helps me somehow?
Finally back up and running - Thanks Tecalote!
FYI: I am finally back up and running - Tecalote's post worked perfectly (and BKL-L04 update zips are linked earlier in the thread also): https://forum.xda-developers.com/showpost.php?p=76331841&postcount=46
akasek said:
Thanks for the info, that tool looks interesting. Where can I get the stock files for BKL-L04 US version Honor View 10?
I have now tried flashing kernel, ramdisk, recovery_ramdisk and system from both of these sources:
- https://drive.google.com/drive/folders/1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3
- http://arter97.com/browse/v10/stock/BKL-L04/
They all appear to flash fine. I tried flashing vendor.img as well, but get an error on that:
$ fastboot flash vendor vendor.img
target reported max download size of 471859200 bytes
Invalid sparse file format at header magic
sending sparse 'vendor' 1/2 (445713 KB)...
OKAY [ 9.718s]
writing 'vendor' 1/2...
FAILED (remote: Command not allowed)
finished. total time: 9.724s
It still doesn't want to boot. I end up in eRecovery each time.
I am able to flash TWRP from Pretoriano80: https://forum.xda-developers.com/honor-view-10/development/recovery-twrp-3-2-1-0-t3769917
It seems to be working properly, perhaps that helps me somehow?
Click to expand...
Click to collapse
akasek said:
Thanks for the info, that tool looks interesting. Where can I get the stock files for BKL-L04 US version Honor View 10?
I have now tried flashing kernel, ramdisk, recovery_ramdisk and system from both of these sources:
- https://drive.google.com/drive/folders/1kfNAjIwiMj8wpeDuJayiH2t-srYBBvN3
- http://arter97.com/browse/v10/stock/BKL-L04/
They all appear to flash fine. I tried flashing vendor.img as well, but get an error on that:
$ fastboot flash vendor vendor.img
target reported max download size of 471859200 bytes
Invalid sparse file format at header magic
sending sparse 'vendor' 1/2 (445713 KB)...
OKAY [ 9.718s]
writing 'vendor' 1/2...
FAILED (remote: Command not allowed)
finished. total time: 9.724s
It still doesn't want to boot. I end up in eRecovery each time.
I am able to flash TWRP from Pretoriano80: https://forum.xda-developers.com/honor-view-10/development/recovery-twrp-3-2-1-0-t3769917
It seems to be working properly, perhaps that helps me somehow?
Click to expand...
Click to collapse
try to install twrp and then do hruupdate from twrp
get your files from firmware finder and search xda forums to how to install those files
its very easy and your system will be back in stock format
after that you can try to root and install custom rom
thecdn said:
No joy yet but I do appreciate all the help.
Click to expand...
Click to collapse
Hi, what helped you there? I have a similar situation.
"Hi,
I need some advice on what can be done with my Honor View10 as it keeps gracing a bootloop followed by fasrboot mode.
Mine is a C675 variant and I was on 190 when I decided to unroot and update the device to 218. Once that was done, I flashed a patched recovery_ramdisk boot image that was patched using magisk to support it. Worked fine. Did a reboot and it got stuck in a bootloop.
I have tried flashing other patch.imgs too, due instance tried extracting recovery.img of the current version of rom, flashed it, no luck!
Tried flashing the patched version of that, still did not help.
I am on EMUI9, any help please?
Also can anyone help me with the link of one of the latest versions of C675 update please? "
This is what happened to me

Partition error when trying to restore stock recovery with fastboot

I successfully unlocked the bootloader, flashed TWRP, and installed SuperSU, but now I sold my Mate 9, and the guy would like it back to stock. I extracted RECOVERY.img (the stock recovery) from Update.zip, and used the command: fastboot flash recovery_ramdisk RECOVERY.img and got this output:
target reported max download size of 471859200 bytes
sending 'recovery_ramdisk' (54884 KB)...
OKAY [ 1.749s]
writing 'recovery_ramdisk'...
FAILED (remote: partition error)
finished. total time: 1.796s
Any suggestions come to mind what I may be doing wrong?
No, you can not do that. You can use erecovery to back stock or use dload method (https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656)
gazavn said:
No, you can not do that. You can use erecovery to back stock or use dload method (https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656)
Click to expand...
Click to collapse
With all due respect, don't think all that is necessary. I have been following this comprehensive guide:
https://forum.xda-developers.com/mate-9/how-to/hacking-customizing-managing-huawei-t3589996
and this fellow says I should be able to simply extract the recovery.img from update.zip, and fastboot flash it. If I'm not mistaken you are talking about rebranding it as if I were going to update the phone. I'm not trying to be combative, just seems like a lot of monkeying around...
UPDATE:
I was using the wrong image. I had confused an UPDATE.APP from a different file. Plus I had an olde version of HuaWei Update Extractor. The correct .img file was labeled recovery_ramdis.img, I had been trying RECOVERY.img.

Categories

Resources