Related
Hello I'm trying to flash stock ROM via adb, specifically cust.img, boot.img, system.img, Because I've bricked my phone and it stuck on huawei logo, but when i try to flash, i got the following error "FAILED (remote: Command not allowed)"
Code:
C:\adb>fastboot flash cust cust.img
target reported max download size of 471859200 bytes
sending 'cust' (304183 KB)...
OKAY [195.875s]
writing 'cust'...
FAILED (remote: Command not allowed)
finished. total time: 195.899s
c:\adb>fastboot flash boot boot.img
target reported max download size of 471859200 bytes
sending 'boot' (21690 KB)...
OKAY [ 13.671s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 13.694s
c:\adb>fastboot flash system system.img
target reported max download size of 471859200 bytes
sending sparse 'system' (460798 KB)...
OKAY [314.622s]
writing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 314.665s
Please how I can unbrick my phone and reinstall the firmware
Obs. My bootloader is unlocked and I'm using TWRP recovery
Is your phone really shows Unlocked in red color when it's in fastboot mode?
Was your phone rooted, if yes, with which method?
You should try doing:
fastboot erase cache
fastboot erase userdata
These commands perform the same thing as Factory Reset do.
If it's not working, try to do the "dload" method with your original firmware your phone was shipped with.
Create a folder, called "dload" in your sdcard root, put the UPDATE.APP file of the firmware in it, and without connecting it to PC, press Vol + and Vol - and Power button until it starts flashing the firmware, and see what happens.
In later days, we've got a lot of troubleshooting topic opened up with your problem, the users cannot flash even with unlocked bootloader, and yet, there's no real solution to them.
I suggest that you use Windows 10? If I'm right sometimes this version of Windows cannot be used to flash via adb
I recommend you to use Windows 8.1 or 7 . My best way is of course using Linux
daviddosa said:
Is your phone really shows Unlocked in red color when it's in fastboot mode?
Was your phone rooted, if yes, with which method?
You should try doing:
fastboot erase cache
fastboot erase userdata
These commands perform the same thing as Factory Reset do.
If it's not working, try to do the "dload" method with your original firmware your phone was shipped with.
Create a folder, called "dload" in your sdcard root, put the UPDATE.APP file of the firmware in it, and without connecting it to PC, press Vol + and Vol - and Power button until it starts flashing the firmware, and see what happens..
Click to expand...
Click to collapse
Yes, it shows PHONE unlocked in red name, and I've made the root using an app called kingroot
I've tried to erase cache and userdata using adb but I can't, still got the same error "FAILED (remote: Command not allowed)"
I can't make dload method because I don't have stock recovery, and I can't flash the stock recovery using adb because its keep saying "FAILED (remote: Command not allowed)".
I don't know what to do
sokkoban said:
I suggest that you use Windows 10? If I'm right sometimes this version of Windows cannot be used to flash via adb
I recommend you to use Windows 8.1 or 7 . My best way is of course using Linux
Click to expand...
Click to collapse
I'm using windows 7 is this moment, maybe I try to flash using Linux later
Seems like all the guys with the same problem used KingRoot to root...that is the common thing amongst all.
I dont't think you need the stock recovery to update via the "dload" method, but I'm not sure.
If you don't have your original firmware's UPDATE.APP yet, download it, as well as the Huawei Update Extractor.
Load your file into the program, select ONLY BOOT.IMG, CUST.IMG(if it has one), SYSTEM.IMG and RECOVERY.IMG(optional, if selected, restores original recovery) right click on one, and press Create Flashable Zip.
Copy this to your sdcard and try to flash it.
I did not thest this above method, and don't know it the created flashable zip is really flashable, but I'm running out of possible solutions slowly.
Let us know what happens.
daviddosa said:
Seems like all the guys with the same problem used KingRoot to root...that is the common thing amongst all.
I dont't think you need the stock recovery to update via the "dload" method, but I'm not sure.
If you don't have your original firmware's UPDATE.APP yet, download it, as well as the Huawei Update Extractor.
Load your file into the program, select ONLY BOOT.IMG, CUST.IMG(if it has one), SYSTEM.IMG and RECOVERY.IMG(optional, if selected, restores original recovery) right click on one, and press Create Flashable Zip.
Copy this to your sdcard and try to flash it.
I did not thest this above method, and don't know it the created flashable zip is really flashable, but I'm running out of possible solutions slowly.
Let us know what happens.
Click to expand...
Click to collapse
So I tried to create a flashable zip using the Huawei Update Extractor however, was not possible, it's showing the following message "no suitable files selected. Check profiles.xml"
I've tried also creating flashable zip manually and flash it using TWRP, but TWRP reboot every time I try to flash theses files, that's why I think dload method work only with stock recovery
Hello,
I created the script for flash via fastboot if you want try this method
Extract BOOT.img, Cust.img, Recovery.img, System.img and copy to fastboot folder.(attachment)
Enable developer options and USB debugging
Simply run file FLASH-ALL.bat file
sokkoban said:
Hello,
I created the script for flash via fastboot if you want try this method
Extract BOOT.img, Cust.img, Recovery.img, System.img and copy to fastboot folder.(attachment)
Enable developer options and USB debugging
Simply run file FLASH-ALL.bat file
Click to expand...
Click to collapse
Thanks for the help but this method didn't work, everytime I try to flash the files, I got the same error "FAILED (remote: Command not allowed)” I don't know what is happening my bootloader is unlocked, why I can't flash the files with adb
Code:
target max-download-size: 450MB
sending 'boot' (21690 KB)...
OKAY [ 13.912s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 13.919s
target max-download-size: 450MB
sending 'recovery' (34264 KB)...
OKAY [ 21.963s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 21.985s
target max-download-size: 450MB
sending 'cust' (304183 KB)...
OKAY [191.580s]
writing 'cust'...
FAILED (remote: Command not allowed)
finished. total time: 191.603s
target max-download-size: 450MB
Sparse-Flash is enabled!
sending sparse 'system' (460798 KB)...
OKAY [366.120s]
writing 'system'...
FAILED (remote: Command not allowed)
finished. total time: 366.144s
ROM flashed , if all went well
You must be restarted.
If you leave the recovery to hard reset and restart the phone
Created by sokoban. Thank you for using my release
rebooting...
finished. total time: 0.054s
Pressione qualquer tecla para continuar. . .
This is very strange. May be you really have locked bootloader
Post answer from this command in fastboot mode:
Code:
fastboot oem get-bootinfo
sokkoban said:
This is very strange. May be you really have locked bootloader
Post answer from this command in fastboot mode:
Code:
fastboot oem get-bootinfo
Click to expand...
Click to collapse
This was the result
Code:
C:\adb>fastboot oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.016s]
finished. total time: 0.016s
As you can see the ADB says that the bootloader is unlocked, but I'm still having trouble
Same issue with Huawei G6-U10
I'm having the same problem with Huawei Ascend G6-U10
Currently running on ROM b146, since it has some issues I was trying to downgrade or upgrade ( there is a b330 out).
I'm not an expert.
This morning I've unlocked the boot loader and then tried to flash a couple of different ROMs and I always get the same error message:
c:\adb>fastboot flash BOOT ./G6-U10verb330/boot.img
target reported max download size of 536870912 bytes
sending 'BOOT' (9696 KB)...
OKAY [ 0.310s]
writing 'BOOT'...
FAILED (remote: Command not allowed)
finished. total time: 0.321s
c:\adb>fastboot oem get-bootinfo
(bootloader) Bootloader Lock State: UNLOCKED
(bootloader) System State: Bootloader in UNLOCKED state
(bootloader) Bootloader Version: 001.001.000
I'm guessing this is not a G6-U10 specific issue so if anyone can give any hint it'll be very appreciated.
Thanks.
I have the same problem with a honor 4x.
Rooted with kingroot. We haven't writing permission in /system. That's why we can't install the recovery. If you try to install superSU and update the binary I guess you get an error.
Now the question is: how we can do to make writeble /system with fast boot?
"mount -o rw,remount -t ext3 /dev/block/xxxxxxxxx /system" in terminal doesn't work...
Similar thing happened to me. Even if command for showing unlocked bootloader said it was unlocked that was false because I used Kingroot previously. Only thing that helped was to unlock the bootloader through fastboot again. Then it was really unlocked and I could flash recovery (in my case TWRP) which before I was unable to.
Diego Sousa said:
This was the result
Code:
C:\adb>fastboot oem get-bootinfo
...
(bootloader) unlocked
OKAY [ 0.016s]
finished. total time: 0.016s
As you can see the ADB says that the bootloader is unlocked, but I'm still having trouble
Click to expand...
Click to collapse
Have you tried it with linux yet?
And have you used the Update.APP and dload method?
Maybe a driver problem? Have administrator rights? And debug mode on?
Try to connect your phone (power on) to the pc and wait to be recognized. In cmd type this:
Code:
adb devices
It has to show you your serial number right? If doesn't your device is not being recognized by adb.
Next type:
Code:
adb reboot-bootloader
This will restart your phone into fastboot and now you can type "fastboot devices" like first command and it has to show you your serial number again.
Try rebooting into bl with this, not by plugin in the phone, and install the rom again
Huawei P8 Lite
Hello I have a problem with my phone. I do not know how to hell I fix it.
It says error cannot load system.img but still I can install boot.img and others.
I¨d tryed that "dload" with update.app doesnt work.
phone is Huawei P8 Lite
this is my first time here
Have you tried install it in twrp? You don't have a twrp backup of stock rom?
In this case if you go in the Huawei eRecovery you can restore stock rom and twrp will be overwrited downloading the last rom , i tried it with my p8 lite 2017 .
Tuki2 said:
Hello I have a problem with my phone. I do not know how to hell I fix it.
It says error cannot load system.img but still I can install boot.img and others.
I¨d tryed that "dload" with update.app doesnt work.
phone is Huawei P8 Lite
this is my first time here
Click to expand...
Click to collapse
What are you using to go into fastboot mode? Is it ADB from Android SDK?? It turns out that using ADB from Android SDK lets you flash small files but not large files... I suggest you try flashing the file through Minimal ADB & Fastboot
sokkoban said:
Hello,
I created the script for flash via fastboot if you want try this method
Extract BOOT.img, Cust.img, Recovery.img, System.img and copy to fastboot folder.(attachment)
Enable developer options and USB debugging
Simply run file FLASH-ALL.bat file
Click to expand...
Click to collapse
i have the same issue as well, but just with Cust.img
For the last week I have been trying to root and install TWRP on my Huawei p8 Lite ALE21. Sofar every attempt has failed.
Steps taken:
Get Bootloader Code
Unlock bootloader with "fastboot oem unlock"
Flash TWRP with "fastboot flash recovery recovery.img"
Result:
When booting into recovery the default "Huawei eRecovery" opens, not TWRP
No app can detect root
Additional info:
TWRP form here: http://forum.xda-developers.com/p8lite/development/testing-twrp-2-8-7-x-huawei-p8lite-qcom-t3187758
Trying to debug the problem, I entered
Code:
fastboot getvar all
this returned
Code:
getvar:all FAILED (remote: Command not allowed)
Additional I have tried to downgrade to android 5.0 again, but after copying the Firmware to the "dload" folder and holding the Volume-Up and Down and Power buttons, the phone wouldn't do anything but show the huawei logo and turn off.
Any help would be very appreciated!
Thank you in advance,
Oisin
Oisins said:
For the last week I have been trying to root and install TWRP on my Huawei p8 Lite ALE21. Sofar every attempt has failed.
Steps taken:
Get Bootloader Code
Unlock bootloader with "fastboot oem unlock"
Flash TWRP with "fastboot flash recovery recovery.img"
Result:
When booting into recovery the default "Huawei eRecovery" opens, not TWRP
No app can detect root
Additional info:
TWRP form here: http://forum.xda-developers.com/p8lite/development/testing-twrp-2-8-7-x-huawei-p8lite-qcom-t3187758
Trying to debug the problem, I entered
Code:
fastboot getvar all
this returned
Code:
getvar:all FAILED (remote: Command not allowed)
Additional I have tried to downgrade to android 5.0 again, but after copying the Firmware to the "dload" folder and holding the Volume-Up and Down and Power buttons, the phone wouldn't do anything but show the huawei logo and turn off.
Any help would be very appreciated!
Thank you in advance,
Oisin
Click to expand...
Click to collapse
In order to boot in twrp recovery you should first remove your usb cable,once is done,press and hold volume up and power button,once you see huawei logo,release power button but keep press on volume up,about firmware witch build number do you have on your phone,share more info if you want a quick help
"No app can detect root"
TWRP isn't root
"fastboot flash recovery recovery.img"
Any error?
"....(remote: Command not allowed)"
i think you have to unlock bootloader
Thank you for you quick response!
Running "fastboot flash recovery recovery.img" returns
Code:
target reported max download size of 471859200 bytes
sending 'recovery' (27062 KB)...
OKAY [ 0.880s]
writing 'recovery'...
OKAY [ 2.084s]
finished. total time: 2.967s
I checked if the bootloader is unlocked with "fastboot oem get-bootinfo"
Code:
(bootloader) unlocked
OKAY [ 0.003s]
finished. total time: 0.003s
I also tried booting into recovery without the cable plugged it, but it still just booted into "eRocovery"
More info
Product: ALE-L21
Serial: W3D4C16916992523
Build: ALE-L21C432BB574
just try this:
1) (re) boot normally
2) attach to pc with usb cable
3) reboot into recovery using adb command: adb reboot recovery
ItalianWolf said:
just try this:
1) (re) boot normally
2) attach to pc with usb cable
3) reboot into recovery using adb command: adb reboot recovery
Click to expand...
Click to collapse
The phone reboots, shows the HUAWEI logo and then turn off again.
Sorry, i didn't read the post linked.
You need twrp 3.0.2 for B5xx, i was thinking you had the right one (2.8.7 works on kk and maybe lollipop), so here you are: http://forum.xda-developers.com/p8lite/general/twrp-3-0-0-0-p8-lite-kirin-t3343320
ItalianWolf said:
Sorry, i didn't read the post linked.
You need twrp 3.0.2 for B5xx, i was thinking you had the right one (2.8.7 works on kk and maybe lollipop), so here you are: http://forum.xda-developers.com/p8lite/general/twrp-3-0-0-0-p8-lite-kirin-t3343320
Click to expand...
Click to collapse
It worked! Thank you very very much! I spend sooo much time on this... wow thanks!
I have a Huawei P9 lite. (VNS-L31 dual sim) . I tried to install medrom 3 and after flashing, phone didn't boot up. So I flashed b161 firmware again using 3 button method and phone booted up. Then I realized I couldn't add my google account. After searching on xda I found a method to fix that.(flashing oem info ). But after doing that, when the phone boots up after the huawei logo the error message which says "your device has been unlocked" has become red.( Usually it's yellow). And in about phone my model number has been changed to something like hi6250 or hi650.( Can't remember the exact thing). Then I tried to reflash my b161 firmware using 3 button menu and voila. It says incompatible version. I can't flash it. Then I replaced my build prop with my friend's phone's build prop. But unfortunately it has the B151 version. Though I have B161 version installed, my about phone says it has B151 version. And I can't flash stock firmware using twrp or dload method od any how. Please help
Nemeroz said:
I have a Huawei P9 lite. (VNS-L31 dual sim) . I tried to install medrom 3 and after flashing, phone didn't boot up. So I flashed b161 firmware again using 3 button method and phone booted up. Then I realized I couldn't add my google account. After searching on xda I found a method to fix that.(flashing oem info ). But after doing that, when the phone boots up after the huawei logo the error message which says "your device has been unlocked" has become red.( Usually it's yellow). And in about phone my model number has been changed to something like hi6250 or hi650.( Can't remember the exact thing). Then I tried to reflash my b161 firmware using 3 button menu and voila. It says incompatible version. I can't flash it. Then I replaced my build prop with my friend's phone's build prop. But unfortunately it has the B151 version. Though I have B161 version installed, my about phone says it has B151 version. And I can't flash stock firmware using twrp or dload method od any how. Please help
Click to expand...
Click to collapse
That's normal if the message is red, it means that the bootloader Will be relocked.
Now for the build prop, download b161 version, use huawei firmware extractor , extract boot.img system.img and cust.img
And by fastboot type :
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash cust cust.img
fastboot reboot
And voila, b161 is installed in your phone !
Sent from my HUAWEI VNS-L31 using XDA Labs
I can ont flash the boot.img. I get this error:
D:\Software_Tools\Multimedia\Handy-Taplet\Handy\Backup\161_entpackt>Fastboot flash boot boot.img
target reported max download size of 471859200 bytes
sending 'boot' (13998 KB)...
OKAY [ 0.300s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.322s
Schrotty35 said:
I can ont flash the boot.img. I get this error:
D:\Software_Tools\Multimedia\Handy-Taplet\Handy\Backup\161_entpackt>Fastboot flash boot boot.img
target reported max download size of 471859200 bytes
sending 'boot' (13998 KB)...
OKAY [ 0.300s]
writing 'boot'...
FAILED (remote: Command not allowed)
finished. total time: 0.322s
Click to expand...
Click to collapse
If fastboot say "FAILED (remote: Command not allowed)", its because your bootlaoder is locked, reunlock it !
In TWRP it says unable to mount Data :/
Ax3noX_ said:
If fastboot say "FAILED (remote: Command not allowed)", its because your bootlaoder is locked, reunlock it !
Click to expand...
Click to collapse
I noticed that in TWRP it says unable to mount data :/ What can i do now
I don't know what is "mount data", i cant help you with that ?
Ax3noX_ said:
I don't know what is "mount data", i cant help you with that
Click to expand...
Click to collapse
Its okay. Still looking for a help dude. Any help is highly appreciated :good:
Nemeroz said:
Its okay. Still looking for a help dude. Any help is highly appreciated :good:
Click to expand...
Click to collapse
Code:
fastboot oem unlock XXXXXX
fastboot flash recovery recovery_stock.img
Unable to read/mount data says your encryption key got changed by something, whatever. You need to Wipe Internal storage and flash twrp again ( I recomment matic`s ) Reboot to recovery again, if you got one, flash a flashable fw via twrp. I Dont know if the stock recovery Accepts a fully wiped intern storage, i guess not and it declines the update.app method.
In the best case for sure you recover an older backup to get the Same enc. Key back
WieserZ1C said:
Unable to read/mount data says your encryption key got changed by something, whatever. You need to Wipe Internal storage and flash twrp again ( I recomment matic`s ) Reboot to recovery again, if you got one, flash a flashable fw via twrp. I Dont know if the stock recovery Accepts a fully wiped intern storage, i guess not and it declines the update.app method.
In the best case for sure you recover an older backup to get the Same enc. Key back
Click to expand...
Click to collapse
Try to hold Vol+ and the power button and if you enter in Huawei recovery, select wipe data / Factory reset
Ax3noX_ said:
Try to hold Vol+ and the power button and if you enter in Huawei recovery, select wipe data / Factory reset
Click to expand...
Click to collapse
Tried that. But didnt work mate 😔
Nemeroz said:
Tried that. But didnt work mate 😔
Click to expand...
Click to collapse
Flash oeminfo (dowbload in the ultimate guide of nougat) and put the update.app of the marshmallow version in the dload folder then hold Vol+, vol- and power.
Its worked for me
Tell me if it work
(Sorry for my bad english, im french
I'd recommend using SP Flash tool. It's saved my ass multiple times.
Where you got the Scatter File for the p9 lite
Nantonix said:
I'd recommend using SP Flash tool. It's saved my ass multiple times.
Click to expand...
Click to collapse
Spflash tool is flash tool only for mtk devices... And p9 lite doesnt have a mtk soc !
---------- Post added at 08:47 PM ---------- Previous post was at 08:46 PM ----------
hanzox5 said:
Where you got the Scatter File for the p9 lite
Click to expand...
Click to collapse
It doesn't exist !
i wanted to convert the device to dual sim, so i tried to restore the backed-up partitions using meticulus' TWRP. But it says unable to mount /data every time i try to format it.
I know i made a big mistake, but that's how i learn..
this thread has worked for me
https://translate.google.co.uk/tran...m/showthread.php?t=1261335&edit-text=&act=url
Hello I went back the MN when startups is only then the logo after screen dark
please help me !!!
sorry for my english
pinhpongk said:
Hello I went back the MN when startups is only then the logo after screen dark
please help me !!!
sorry for my english
Click to expand...
Click to collapse
do a factory reset..if doesn work reflash stock marshmallow b160
My p9 lite is stuck on the huawei logo, its been a week now. it all started when I flashed a wrong update.app (i mistakenly flashed the rollback update.app while i was on b161)
now I cannot use the device anymore, i can only get to bootloader mode but cant flash anything
help
I had the exact same problem. I got out of that situation by rooting the phone, and re-flashing it.
However I already had the unlock code handy. If you don't have that then you are mostlikely f'ed.
My bootloader is unlocked yet I am unable to fastboot flash anything as i get errors.
HEY! I've done the same thing yesterday But now phone working great! I find the way
1. Download C432B160, Huawei Extractor and SRK Tool Huawei
2. Prepare your unlock bootloader code
3. Unpack UPDATE.APP by Huawei Extractor (You need files: boot.img, system.img, recovery.img, cust.img)
4. Go to folder SRK Tool Huawei -> Command
5. Put *.img files to Command folder
6. Put UPDATE.APP (Not extracted) on your sdcard in folder "dload"
6. Hold Shift + right right mouse button "Open the command line here"
7. Plug your phone in fastboot mode (vol- and power button then fast plug USB)
8. Type in cmd "fastboot devices" (Now you probably see your device)
9. Type:
fastboot oem unlock xxyourfastbootunlockcodexx
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cust cust.img
fastboot flash system system.img (that command takes 2-3 minutes)
10. Unplug Your device
11. Hold vol- vol+ and power button, it will install UPDATE.APP from your sdcard
12. Done!
---------- Post added at 12:39 PM ---------- Previous post was at 12:35 PM ----------
elliotn said:
My bootloader is unlocked yet I am unable to fastboot flash anything as i get errors.
Click to expand...
Click to collapse
You only think it's unlocked (yeah, it's showing Bootloader UNLOCKED) but no, it isn't. I don't know why, but you must unlock it first.
Links:
Huawei Exctractor XDA
Huawei SRK Tool XDA
VNS-L21C432B160 HUAWEI PAGE
ugh
I'm stuck at "6. Hold Shift + right right mouse button "Open the command line here"" I have no idea what to do
You have to hold the "Shift" button on your keyboard (under Caps lock), and click on the right mouse button in the folder. Then in the menu, choose "Open the command line here"
help
BaXeL said:
HEY! I've done the same thing yesterday But now phone working great! I find the way
1. Download C432B160, Huawei Extractor and SRK Tool Huawei
2. Prepare your unlock bootloader code
3. Unpack UPDATE.APP by Huawei Extractor (You need files: boot.img, system.img, recovery.img, cust.img)
4. Go to folder SRK Tool Huawei -> Command
5. Put *.img files to Command folder
6. Put UPDATE.APP (Not extracted) on your sdcard in folder "dload"
6. Hold Shift + right right mouse button "Open the command line here"
7. Plug your phone in fastboot mode (vol- and power button then fast plug USB)
8. Type in cmd "fastboot devices" (Now you probably see your device)
9. Type:
fastboot oem unlock xxyourfastbootunlockcodexx
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cust cust.img
fastboot flash system system.img (that command takes 2-3 minutes)
10. Unplug Your device
11. Hold vol- vol+ and power button, it will install UPDATE.APP from your sdcard
12. Done!
---------- Post added at 12:39 PM ---------- Previous post was at 12:35 PM ----------
You only think it's unlocked (yeah, it's showing Bootloader UNLOCKED) but no, it isn't. I don't know why, but you must unlock it first.
Links:
Huawei Exctractor XDA
Huawei SRK Tool XDA
VNS-L21C432B160 HUAWEI PAGE
Click to expand...
Click to collapse
I KEEP GETTING THIS ERROR: error: cannot load 'RECOVERY.img' HELP ME I AM DESPERATE
firmware
BaXeL said:
HEY! I've done the same thing yesterday But now phone working great! I find the way
1. Download C432B160, Huawei Extractor and SRK Tool Huawei
2. Prepare your unlock bootloader code
3. Unpack UPDATE.APP by Huawei Extractor (You need files: boot.img, system.img, recovery.img, cust.img)
4. Go to folder SRK Tool Huawei -> Command
5. Put *.img files to Command folder
6. Put UPDATE.APP (Not extracted) on your sdcard in folder "dload"
6. Hold Shift + right right mouse button "Open the command line here"
7. Plug your phone in fastboot mode (vol- and power button then fast plug USB)
8. Type in cmd "fastboot devices" (Now you probably see your device)
9. Type:
fastboot oem unlock xxyourfastbootunlockcodexx
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cust cust.img
fastboot flash system system.img (that command takes 2-3 minutes)
10. Unplug Your device
11. Hold vol- vol+ and power button, it will install UPDATE.APP from your sdcard
12. Done!
---------- Post added at 12:39 PM ---------- Previous post was at 12:35 PM ----------
You only think it's unlocked (yeah, it's showing Bootloader UNLOCKED) but no, it isn't. I don't know why, but you must unlock it first.
Links:
Huawei Exctractor XDA
Huawei SRK Tool XDA
VNS-L21C432B160 HUAWEI PAGE
Click to expand...
Click to collapse
I neeeeed firmware for vns-l22
ughhead said:
I KEEP GETTING THIS ERROR: error: cannot load 'RECOVERY.img' HELP ME I AM DESPERATE
Click to expand...
Click to collapse
Did you unlock your bootloader first?
hey
BaXeL said:
Did you unlock your bootloader first?
Click to expand...
Click to collapse
I'm no longer getting the error I mentioned but now my phone wouldn't respond to the three button boot... it gets stuck on the logo again and doesn't do anything. I don't think I have the correct firmware. I need for VNS-L22C636B101 and I cant find it anywhere :crying: my phone is done for
You have to flash custom oeminfo.img to debrand your phone (it's fully legal). You'll find it on htcmania
thanks but..
BaXeL said:
You have to flash custom oeminfo.img to debrand your phone (it's fully legal). You'll find it on htcmania
Click to expand...
Click to collapse
if you don't mind can you explain this further and how it will help my situation?
ughhead said:
if you don't mind can you explain this further and how it will help my situation?
Click to expand...
Click to collapse
Yes, you can't flash C432B160 if your phone is branded by operator, the flashing will always end at error. Flashing oeminfo.img and Huawei firmware is fully legal and you don't loose warranty. And debranding is a good thing because (in future) you can download faster official Nougat.
okay
BaXeL said:
Yes, you can't flash C432B160 if your phone is branded by operator, the flashing will always end at error. Flashing oeminfo.img and Huawei firmware is fully legal and you don't loose warranty. And debranding is a good thing because (in future) you can download faster official Nougat.
Click to expand...
Click to collapse
Alright so let me explain my situation properly (I'm a big dumb-doofy-doo so i'm not even sure if my phone is branded) I bought my phone off amazon last year and 2 days ago I made the mistake of trying to update it to Nougat using http://www.droidviews.com/update-huawei-p9-lite-manually-official-android-7-0-nougat-emui-5-0/ and the files for build number VNS-L22C636B360 however my build number is VNS-L22C636B101 (Huawei P9 Lite). using the first file called "update.zip" I tried upgrading but it said software update failed. I turned on OEM and tried using "update_data_full_VNS-L22_hw_spcseas.zip" to update. it worked but I don't think this was the full update as it rebooted and I was greeted by Huawei eRecovery which had three options: "Download latest and recovery" "reboot" and "shut down" so naturally I chose the first option. It however ended with "Getting package info failed". I tried it over and over but it didn't change. so this is where I because frustrated, and stupid, and factory reset my phone. it didn't make a difference. same eRecovery prompt (but did the reset take off OEM??) I took out my SD Card and replaced the Update.app with another one (I cant remember which I was sad but I definitely complicated matters more by doing this) and I came upon the same problem the person who made this post: stuck on Huawei logo. if I power it off it will vibrate and boot back up on it's own to get stuck on the Huawei logo thing (it wouldn't even do the pretty flowy smoke thing) so because of this it does not respond to the 3-button force update anymore idk why the only mode I can get it into successfully is fastboot mode but even after following the step by step answer I cant get it to respond to the 3-button force update (I also dont have the exact firmware for my build number) I did skip the bootunlocker steps because I dont have a product id or IMEI to generate a code from the Huawei website. in fastboot mode however it says "Phone Unlocked" and "FRP Unlock"
I dont know what to do... I think I need the firmware but I cant find it specific to my build number VNS-L22C636B101
First of all you must have your bootloader unlock code...
You wrote that you get error on flashing by fastboot probably "Command not allowed" because, your bootloader is locked (Yes it's only display "unlocked" I also got on that )
If you don't have code you can't do anything, sorry. You must send your phone to huawei store on warranty.
You don't have phone box?
ya
BaXeL said:
First of all you must have your bootloader unlock code...
You wrote that you get error on flashing by fastboot probably "Command not allowed" because, your bootloader is locked (Yes it's only display "unlocked" I also got on that )
If you don't have code you can't do anything, sorry. You must send your phone to huawei store on warranty.
You don't have phone box?
Click to expand...
Click to collapse
ya I got that error.. and yes I have the box but I bought it off amazon so idk where to send it
ughhead said:
ya I got that error.. and yes I have the box but I bought it off amazon so idk where to send it
Click to expand...
Click to collapse
Ask your seller, hope you'll get a working phone
Mine was solved by booting to fastboot and did fastboot OEM unlock "unlock code" then fastboot flash recovery TWRP.img
Even though my bootloader was unlocked it worked
tq
---------- Post added at 04:02 AM ---------- Previous post was at 03:59 AM ----------
BaXeL said:
HEY! I've done the same thing yesterday But now phone working great! I find the way
1. Download C432B160, Huawei Extractor and SRK Tool Huawei
2. Prepare your unlock bootloader code
3. Unpack UPDATE.APP by Huawei Extractor (You need files: boot.img, system.img, recovery.img, cust.img)
4. Go to folder SRK Tool Huawei -> Command
5. Put *.img files to Command folder
6. Put UPDATE.APP (Not extracted) on your sdcard in folder "dload"
6. Hold Shift + right right mouse button "Open the command line here"
7. Plug your phone in fastboot mode (vol- and power button then fast plug USB)
8. Type in cmd "fastboot devices" (Now you probably see your device)
9. Type:
fastboot oem unlock xxyourfastbootunlockcodexx
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash cust cust.img
fastboot flash system system.img (that command takes 2-3 minutes)
10. Unplug Your device
11. Hold vol- vol+ and power button, it will install UPDATE.APP from your sdcard
12. Done!
---------- Post added at 12:39 PM ---------- Previous post was at 12:35 PM ----------
You only think it's unlocked (yeah, it's showing Bootloader UNLOCKED) but no, it isn't. I don't know why, but you must unlock it first.
Links:
Huawei Exctractor XDA
Huawei SRK Tool XDA
VNS-L21C432B160 HUAWEI PAGE
Click to expand...
Click to collapse
.....................................
C:\WINDOWS\system32>fastboot oem unlock xxyourfastbootunlockcodexx
...
FAILED (remote: Command not allowed)
finished. total time: 0.016s
C:\WINDOWS\system32>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
error: cannot load 'recovery.img': No error
C:\WINDOWS\system32>fastboot flash boot boot.img
target reported max download size of 471859200 bytes
error: cannot load 'boot.img': No error
C:\WINDOWS\system32>fastboot flash cust cust.img
target reported max download size of 471859200 bytes
error: cannot load 'cust.img': No error
error: cannot load 'SYSTEM.img'
Sorry you guy for such a long thread, but my phone, Huawei P9 Lite VNS-L31 has exactly the problem in this thread and when i follow the lead on #4, every step are working well until the: "fastboot flash system system.img" on step 9, I got "error: cannot load 'SYSTEM.img' ". All other flash working well but i don't know why it returned an error on that step, could you guy please help me to get over it, thank you very much!
my log:
>fastboot oem unlock (my code)
...
FAILED (remote: already fastboot unlocked)
finished. total time: 0.002s
>fastboot flash recovery RECOVERY.img
target reported max download size of 471859200 bytes
sending 'recovery' (33112 KB)...
OKAY [ 0.707s]
writing 'recovery'...
OKAY [ 0.775s]
finished. total time: 1.482s
>fastboot flash boot BOOT.img
target reported max download size of 471859200 bytes
sending 'boot' (13998 KB)...
OKAY [ 0.299s]
writing 'boot'...
OKAY [ 0.324s]
finished. total time: 0.623s
>fastboot flash cust CUST.img
target reported max download size of 471859200 bytes
sending 'cust' (428162 KB)...
OKAY [ 9.108s]
writing 'cust'...
OKAY [ 5.520s]
finished. total time: 14.629s
>fastboot flash system SYSTEM.img
error: cannot load 'SYSTEM.img'
My mate 9 has become a hard brick and I want to help for recovery.
I am Japanese and I am not good at English.
I apologize for being a difficult to read sentence
I purchased MATE 9(MHA-AL00 6GB/128GB).
However, the firmware was MHA-L29C636B183 from the beginning.
I tried updating to Android 8 but I failed.
Currently, it is in the following state.
1. When turn on the power,Huawei logo is not displayed
2. The screen is black and does not react even if the power button is pressed for a long time.
3. use Vol-Up + Power , Vol-Down + Power,3 Button does not respond.
4. However, when I run fastboot devices, The following is returned.
=====
C:\>fastboot devices
N8K021xxxxxxxxxx fastboot
=====
5. fastboot reboot-bootloader respond. but there is no change in the display.
=====
C:\>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.023s]
finished. total time: 0.025s
=====
When Oreo update failed and turned on,
"ERROR 10 Boot.img" displayed on the screen where the droid doll is displayed,
and it can not start up.
I tried to recover with the following procedure No.1-4, but it got even worse.
https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656
Currently, fastboot may be usable. I installed TWRP but I can not use it.
eRecovery also does not work.
I am thinking that I can recover using FASTBOOT FLASH XXXX.IMG.
But I do not know which partition and how to update.
Please tell me about how to recover and related sites.
Thank you
have you tried turning it off and on?
;74563891 said:
My mate 9 has become a hard brick and I want to help for recovery.
I am Japanese and I am not good at English.
I apologize for being a difficult to read sentence
I purchased MATE 9(MHA-AL00 6GB/128GB).
However, the firmware was MHA-L29C636B183 from the beginning.
I tried updating to Android 8 but I failed.
Currently, it is in the following state.
1. When turn on the power,Huawei logo is not displayed
2. The screen is black and does not react even if the power button is pressed for a long time.
3. use Vol-Up + Power , Vol-Down + Power,3 Button does not respond.
4. However, when I run fastboot devices, The following is returned.
=====
C:\>fastboot devices
N8K021xxxxxxxxxx fastboot
=====
5. fastboot reboot-bootloader respond. but there is no change in the display.
=====
C:\>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.023s]
finished. total time: 0.025s
=====
When Oreo update failed and turned on,
"ERROR 10 Boot.img" displayed on the screen where the droid doll is displayed,
and it can not start up.
I tried to recover with the following procedure No.1-4, but it got even worse.
https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656
Currently, fastboot may be usable. I installed TWRP but I can not use it.
eRecovery also does not work.
I am thinking that I can recover using FASTBOOT FLASH XXXX.IMG.
But I do not know which partition and how to update.
Please tell me about how to recover and related sites.
Thank you
Click to expand...
Click to collapse
Is Erecovery working?
what command that you use to flash twrp ??
le grande magnetto said:
have you tried turning it off and on?
Click to expand...
Click to collapse
wmfreak said:
Is Erecovery working?
Click to expand...
Click to collapse
Thank you for your reply.
I turned off the power, but it looks like the power is turned on automatically.
There is no screen display, but confirmed with fastboot devices.
I can not enter eRecovery screen.
superseventh said:
what command that you use to flash twrp ??
Click to expand...
Click to collapse
fastboot flash recovery TWRP8_3.0.3.img
;74565458 said:
fastboot flash recovery TWRP8_3.0.3.img
Click to expand...
Click to collapse
https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-update-package-t3593108
this link will guide you how to HWOTA to update ROM when you already have Oreo update.zip, update_data_public.zip, and update_all_hw.zip put these 3 files in to update folder
if this HWOTA that you download not work try this https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-oreo-update-package-t3699522
it is HWOTA8 to update to Oreo
if twrp won't work try this https://forum.xda-developers.com/mate-9/development/preliminary-twrp-3-1-1-0-mate-9-emui-8-t3687622
superseventh said:
https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-update-package-t3593108
this link will guide you how to HWOTA to update ROM when you already have Oreo update.zip, update_data_public.zip, and update_all_hw.zip put these 3 files in to update folder
if this HWOTA that you download not work try this https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-oreo-update-package-t3699522
it is HWOTA8 to update to Oreo
if twrp won't work try this https://forum.xda-developers.com/mate-9/development/preliminary-twrp-3-1-1-0-mate-9-emui-8-t3687622
Click to expand...
Click to collapse
Thank you for showing me three ways. Since I am going to work from now I will try after going home.
After that, as a result of investigation, I found out that the FRP is locked.
C:\>fastboot oem lock-state info
(bootloader) FB LockState: LOCKED
(bootloader) USER LockState: UNLOCKED
OKAY [ 0.008s]
finished. total time: 0.012s
I am looking for a way to unlock this using FASTBOOT.
If I erase a partition somewhere, will it be unlockd ?
;74570405 said:
Thank you for showing me three ways. Since I am going to work from now I will try after going home.
After that, as a result of investigation, I found out that the FRP is locked.
C:\>fastboot oem lock-state info
(bootloader) FB LockState: LOCKED
(bootloader) USER LockState: UNLOCKED
OKAY [ 0.008s]
finished. total time: 0.012s
I am looking for a way to unlock this using FASTBOOT.
If I erase a partition somewhere, will it be unlockd ?
Click to expand...
Click to collapse
when you rebrand and install ROM with dload and then sign in to Google account the FRP Locked will be dissappear
this following method be the same that you use it before
now try this
1- Unlock bootloader
2- install twrp,
3-do oeminfo backup in twrp,you should have a folder name twrp, inside this folder there is many subfolders.
In last folder there is 2-3 files,those files should be replaced with Oeminfo Al00 : https://www.mediafire.com/download/37n3jqv23j6erq5
Once replaced, put this folder on ur sd card and boot to twrp recovery than restore it.
4- download C00 offline firmware from third post here https://forum.xda-developers.com/ma...o-bootloop-t3534594/post70937310#post70937310 , Download B115 then extract the rar and copy dload folder to external sd card,turn off ur phone than press 3 buttons combination,power volume up and down till the update start.
5- when finished unlock bootloader again
6-install twrp again
7- flash hw_data for C00 in twrp http://update.hicloud.com:8180/TDS/.../v65567/f2/full/all/cn/update_full_all_cn.zip it will give an error, don't worry.
8-flash c00 offline firmware again to have locked bootloader and get rid of the warning message lol
9 factory rest from settings.
10-use system update to get the latest firmware, sometimes you need sim card inserted,and using the download latest package option.
11 done.
Currently, only FASTBOOT can be used,
FRP is preventing the overwriting of the partition,
so I can not try the suggested method.
I studied variously, but I can not find a good solution.
I am planning to use DC-Phoenix (paid service) in a few days.
It seems to be able to update ROM from FASTBOOT even when FRP is locked.
I tried DC-Phoenix, but as a result it failed. The FAST BOOT which I was able to use until now can not be used and the power can not be turned on.
I am disappointed that the method of recovery is gone.
Thank you for your support.
Bricked
GreenOcean said:
I tried DC-Phoenix, but as a result it failed. The FAST BOOT which I was able to use until now can not be used and the power can not be turned on.
I am disappointed that the method of recovery is gone.
Thank you for your support.
Click to expand...
Click to collapse
Well, with fastboot, adb, bootloader mode, and eRecovery gone there is not really a lot you can do short of returning the device to Huawei (hopefully you still have warranty) for a replacement. Just tell them your phone died.