Wiped off everything,only TWRP left,what do?[Huawei P10 Lite]

Justkill43

Member
Jul 22, 2017
19
0
0
I accidentally wiped off everything with TWRP.

I have no backups.

I'm really having trouble finding ANY rom for this phone,custom or stock.

I've only found firmware that can update my OS not install it completely.

Could anyone find the correct ROM for me?
Anything will do.
Please help!
 

Vinnipinni

Senior Member
Jul 20, 2016
617
239
0
Norderstedt
If you have a second device, donwload Huawei firmware finder from Play store. Enter your model number and donwload a full package. Doesn't really matter which one. Then just flash it in TWRP without extracting.
 

Justkill43

Member
Jul 22, 2017
19
0
0
If you have a second device, donwload Huawei firmware finder from Play store. Enter your model number and donwload a full package. Doesn't really matter which one. Then just flash it in TWRP without extracting.
Is there any way to know my exact phone model number without having access to the OS?
Using the pc version I have to enter some kind of G and F values,what should i put in there?

EDIT:I've narrowed it down to WAS-LX1 and WAS LX1A,any way of distinguishing between those?
EDIT 2 : I seem to fail to flash literally any ROM,I get a zip verification error if i try to check that,if not I just get:

Updater process edned with ERROR : 9,and E: unknown command [errno] before that
 
Last edited:

Michael24884

Senior Member
Dec 23, 2016
74
27
0
Riverdale
Is there any way to know my exact phone model number without having access to the OS?
Using the pc version I have to enter some kind of G and F values,what should i put in there?

EDIT:I've narrowed it down to WAS-LX1 and WAS LX1A,any way of distinguishing between those?
Shouldn't your phone model number be beneath the battery?
 

Justkill43

Member
Jul 22, 2017
19
0
0
Shouldn't your phone model number be beneath the battery?
Well yeah,it should.
But this is one of those phones that can't really be opened with special tools that I don't really have,and even if i did have them I wouldn't mess with the phone's insides because it's one of those types of phone....
 

Justkill43

Member
Jul 22, 2017
19
0
0
Update:It may have something to do with the roms i have downloaded,I've tried 3 of them and none of them had ANY .img files
No boot.img no recovery.img etc,what am I doing wrong?
 

Vinnipinni

Senior Member
Jul 20, 2016
617
239
0
Norderstedt
Update:It may have something to do with the roms i have downloaded,I've tried 3 of them and none of them had ANY .img files
No boot.img no recovery.img etc,what am I doing wrong?
Huawei uses some special archiving, there should be an UPDATE.APP inside the downloaded files. You need a tool called Huawei Update Extractor to get the .img files.
 

Justkill43

Member
Jul 22, 2017
19
0
0
Huawei uses some special archiving, there should be an UPDATE.APP inside the downloaded files. You need a tool called Huawei Update Extractor to get the .img files.
Oh I see,and should I just get the .imgs out of the update.app and then flash the rom?
Because so far I can't flash any of them,I get these errors:
E: unknown command [errno]

And

Updater process ended with ERROR : 9
 

Vinnipinni

Senior Member
Jul 20, 2016
617
239
0
Norderstedt
Kinda confused now,as I don't think I've used any fastboot commands at all.
If you want to flash the .img files, you have to enter your Bootloader. Do this by booting TWRP and type adb reboot bootloader. Then, out the .img files into the adb/ fastboot folder and type
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash cust cust.img

Instead of system.img you need to use the exact filename of the system.img file. I think you need to only use these three commands, but I'll have another look.
Edit: you could also replace your current recovery and then try to flash the update file with the stock recovery. Do this by typing fastboot flash recovery recovery.img
 
Last edited:

Justkill43

Member
Jul 22, 2017
19
0
0
If you want to flash the .img files, you have to enter your Bootloader. Do this by booting TWRP and type adb reboot bootloader. Then, out the .img files into the adb/ fastboot folder and type
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash cust cust.img

Instead of system.img you need to use the exact filename of the system.img file. I think you need to only use these three commands, but I'll have another look.
Edit: you could also replace your current recovery and then try to flash the update file with the stock recovery. Do this by typing fastboot flash recovery recovery.img
Oh so I should just flash those 3 imgs instead of the whole zip?

Also there is no cust.img

I'll list all the imgs here so you can see what i should be able to flash:
-Boot
-Crc.img
-Curver.img
-DTS.img
-EFI.img
-FASTBOOT.img
-FW_HIFI.img
-FW_LPM3.img
-MODEM_FW.img
-PACKAGE_TYPE.img
-PRODUCT.img
-RECOVERY.img
-RECOVERY2.img
-SENSORHUNB.img
-SHA256RSA.img
-SYSTEM.img
-TEEOS.img
-TRUSTFIRMWARE.img
-VENDOR.img
-VERLIST.img
-XLOADER.img
 

Vinnipinni

Senior Member
Jul 20, 2016
617
239
0
Norderstedt
Oh so I should just flash those 3 imgs instead of the whole zip?

Also there is no cust.img

I'll list all the imgs here so you can see what i should be able to flash:
-Boot
-Crc.img
-Curver.img
-DTS.img
-EFI.img
-FASTBOOT.img
-FW_HIFI.img
-FW_LPM3.img
-MODEM_FW.img
-PACKAGE_TYPE.img
-PRODUCT.img
-RECOVERY.img
-RECOVERY2.img
-SENSORHUNB.img
-SHA256RSA.img
-SYSTEM.img
-TEEOS.img
-TRUSTFIRMWARE.img
-VENDOR.img
-VERLIST.img
-XLOADER.img
Yes! You can't flash most of it, it's not possible.
Flash Boot, Recovery, System and Vendor. Of that doesn't work, Put the UPDATE.APP into the dload folder on your SD and hold Power, Volume + and Volume -. That should force the flash of the update.
And if that still doesn't work, ask for a TWRP update on the P10 Forums. Then Restore everything except Data.
 

Justkill43

Member
Jul 22, 2017
19
0
0
If you want to flash the .img files, you have to enter your Bootloader. Do this by booting TWRP and type adb reboot bootloader. Then, out the .img files into the adb/ fastboot folder and type
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash cust cust.img

Instead of system.img you need to use the exact filename of the system.img file. I think you need to only use these three commands, but I'll have another look.
Edit: you could also replace your current recovery and then try to flash the update file with the stock recovery. Do this by typing fastboot flash recovery recovery.img
Alright,I'm getting the hang of this.
But what did you mean with the exact filename of system.img?How do i find that out?
 

Justkill43

Member
Jul 22, 2017
19
0
0
Just the name of the file. Don't know if it's sytsem.img or SYSTEM.IMG
Got it,flashed system,recovery and boot

Trying to flash vendor I get an error when it's trying to write vendor:
FAILED (remote:Command not allowed)

Still stuck in a boot loop.

I'm gonna put the update.app in the sdcard.
I just create a dload folder in the sd card,put it in,wipe off everything I've flashed and do the 3 button thing,right?
 
Last edited:

Justkill43

Member
Jul 22, 2017
19
0
0
Just the name of the file. Don't know if it's sytsem.img or SYSTEM.IMG
UPDATE: Failed the 3 button thing,maybe I got the wrong ROM,i'll try it with another one,I have a question though

My friend has the same phone as me(p10 lite) and when he goes to about phone and checks out the model number he only sees WAS-LX1
I'm pretty sure i have that same model number now but I can't find a ROM that's specifically WAS-LX1,it's always WAS-LX1 And something added on there like WAS-LX1C02,should I even worry about that?
 

Justkill43

Member
Jul 22, 2017
19
0
0
Yes! You can't flash most of it, it's not possible.
Flash Boot, Recovery, System and Vendor. Of that doesn't work, Put the UPDATE.APP into the dload folder on your SD and hold Power, Volume + and Volume -. That should force the flash of the update.
And if that still doesn't work, ask for a TWRP update on the P10 Forums. Then Restore everything except Data.
After trying the first 2 methods I can't even boot into twrp anymore,I'm super screwed...