Update phone with unlocked bootloader - Huawei P10 Lite Questions & Answers

Short question first: is it possible to update an unlocked p10 lite without loosing data?
Flashing this phone is really hell! I have some flashing experience and faced a lot of problems before but this is really nasty!
However, for those still trying, here's what I've learned (the hard way):
Most important: before you do anything, check your current firmware version and model and write it down! Also write down your EMEI E.g. flashing a ...C432... firmware (EU unbranded) over a ...C02... (vodafone branded) will not work! Re-branding / de-branding didn't work for me - I tried different ways but didn't succeed. You can use Huawei Download Tool to get firmwares. Always double check the versions!
Also backup your data! After flashing TWRP, the first thing you should do is backup to an sd-card - especially oeminfo, vendor and cust partitions in case something goes wrong! Copy the backup from the sd to your pc!
Flashing a custom rom like LineageOS seems only to work with unbranded version and after upgrading to latest major stock rom version.
Don't know if unlocking works with EMUI 8 (Android 8 - Oreo), I followed the tutorial and downgraded to EMUI 5 (Android 7 - Nougat) first
To get the unlock code I paid 4€ to get 4 credits in dc-unlocker. I'd say its worth it because it just works and takes not too much time
If you managed to get an unlocked EMUI 5 and want to update to 8, you have to consider a few things:
Partitions are different in both versions. E.g. flashing TWRP via fastboot is fastboot flash recovery ... with EMUI 5 but it's fastboot flash recovery_ramdisk ... with EMUI 8 so pick the right tutorials!
The easyest ways to flash at this point is either flashing by dload method or by HWOTA tool.
For dload method, read the tutorials carefully! If you do it by the dload folder on sd-card, you have to use a service rom! These are special stock roms which are different from the regular (full) rom images.
HWOTA tool also offers dload method updates - here you can use regular (full) roms like those from Huawei Download Tool
The other method in HWOTA tool uses fastboot / adb to flash. Don't know the pros / cons of both methods but either should work
If your phone doesn't boot / loops, make a factory reset / full wipe after flashing!
If your system version is 8.0.0.046 you picked the wrong firmware (see first point "most important"). Download the right one and re-flash
I finally got a (vodafone branded) Oreo running (didn't check if everything works though). I wanted to flash LOS in the first place but it seems branded phones don't work with LOS. Now I'm glad the stock rom is working again so I consider sticking to it but that's where the initial question comes up: can I simply fastboot flash system ... to update and keep all data?

Related

How to unroot and get locked bootloader again

Hi, I rooted my tablet about 2 months ago - Now I have root and TWRP. Now I need to remove root and put a stock image with locked bootloader.
Do you think I can do it by my own? (for example, with fastboot?)
Many thanks
Daniela
Huawei Mediapad M3 - Unroot - Lock bootloader
danibyte27 said:
Hi, I rooted my tablet about 2 months ago - Now I have root and TWRP. Now I need to remove root and put a stock image with locked bootloader.
Do you think I can do it by my own? (for example, with fastboot?)
Many thanks
Daniela
Click to expand...
Click to collapse
Hi,
You can achieve this by following methods.
Method 1
Since you have TWRP
you can flash the stock firmware from TWRP and it should lock the bootloader, unroot and then overwrite the twrp with stock recovery.
What you need?
For this method you need the stock firmware zip files and firmware finder app from google store.
Method 2 (risky, not recommended)
Download SRK tools by somboons
From here https://forum.xda-developers.com/showpost.php?p=66627615&postcount=2
Unzip the file
Open the application
Then on the main screen, you will have plenty of options to type 1, 2, 3, etc..
Just type 000 to enter the command prompt here.
Once you are in that command prompt you can type the adb commands.
to lock the bootloader you need to type
fastboot oem relock xxxxxxx (just check this command. I think
xxxxx is your bootloader unlock code (yes you have to use the unlock code here again)
this will relock the bootloader.
now to unroot
you can just flash stock firmware using dload method.
How?
download the stock firmware
extract the update.app
put this update.app in a dload folder in sdcard.
you have to create this folder on sdcard and name it as dload.
then you can use the code from dialer pad
*#*#2846579#*#*
from there select SDcard upgrade.
It will reboot and flash the stock firmware. You no longer have root. It will also overwrite the twrp recovery with stock recovery.
I would recommend the method 1. It is safe, easy and should complete the desired tasks within no time.
Method 2 has lot of steps and there is risk involved so I cannot recommend this procedure as confidently as the first one.
I have the Huawei Mediapad M3 LTE version and also Huawei Mate 8. There are few similar functions in Huawei devices.
So now the question is where you will find the stock firmware?
You can find the stock firmwares using firmware finder app in google store.
From here -> https://play.google.com/store/apps/details?id=com.teammt.gmanrainy.huaweifirmwarefinder&hl=en
Install the app.
Open the app
It will automatically find the right firmware's by detecting your tablet model.
All links might not work
So check the one that is working and download that firmware - preferably full firmware.
You will get the zip files if there are two or just one.
then you can follow the method 1.
Hope this works out for you. Hope you find this information useful. :good::good::good:
Hi and many thanks for your kind response!! I tried as you adviced, the problem is that now i have a custom rom and this is the reason, I suppose, for which, every firmware i try to flash, it says "this version is not compatible with the one installed". For what you know, is there a way to flash the firmware without it to check the one already installed?
Thankssss again!!
Daniela
Installing Stock Rom - Huawei Mediapad M3
danibyte27 said:
Hi and many thanks for your kind response!! I tried as you adviced, the problem is that now i have a custom rom and this is the reason, I suppose, for which, every firmware i try to flash, it says "this version is not compatible with the one installed". For what you know, is there a way to flash the firmware without it to check the one already installed?
Thankssss again!!
Daniela
Click to expand...
Click to collapse
Hi,
Can you give me more details about your tablet ? It will be in settings - > about device
like
tablet version - is it BTV-DL09 or BTV-DW09?
DL09 is the LTE version
W - is the wifi version
which OS are you running currently?
TWRP version ?
How did you try to flash ? When method did you follow?
I don't know if there is a way to check what you are asking. But we can certainly resolve your issue.
When I was flashing and experimenting on my Huawei Mate 8 last week I came across similar errors. That time I had to dload rollback package from SDcard and then I flashed the EMUI4.1 OS to get back to stock. Now I feel that is the case with your tablet too.
Process is same for both devices. But the files used to flash are different (naturally). That is why I am confident that we can try to come up with a solution.
Point to note
to flash stock rom, the following play a key role.
1) bootlocker - locked
2) recovery - stock
3) Rollback package ( this was really file for Huawei Mate 8, but is it important for Huawei Mediapad M3? I will try to find out).
At the moment, you have custom OS and custom recovery.
so best thing to do is flash the Stock ROM zip files from TWRP. I explained why it is better to do it this way.
Were you able to get the stock rom zip files?
Also please answer all the questions in this post so that I can help you better. :good::good::good::good::good:
Hi Sama, below in bold my answers.
Samavb said:
Hi,
Can you give me more details about your tablet ? It will be in settings - > about device
like
tablet version - is it BTV-DL09 or BTV-DW09?
It's the LTE version, BTV-DL09
which OS are you running currently?
Android 6.0, EMUI 4,1, Greatslon mod B030
TWRP version ?
Twrp doesn't start anymore and so did root. This happens since yesterday, after installing the custom rom.
How did you try to flash ? When method did you follow?
I installed firmware finder and tried the following firmwares :
BTV-DL09C233B332, 1273 MB, OTA
BTV-DL09C233B035, 173 MB, OTA
BTV-DL09C233B030, 1801 MB, FULL
and always I get the same response : your firmware version is not compatible - upgrade failed.
I don't know if there is a way to check what you are asking. But we can certainly resolve your issue.
When I was flashing and experimenting on my Huawei Mate 8 last week I came across similar errors. That time I had to dload rollback package from SDcard and then I flashed the EMUI4.1 OS to get back to stock. Now I feel that is the case with your tablet too.
Process is same for both devices. But the files used to flash are different (naturally). That is why I am confident that we can try to come up with a solution.
Point to note
to flash stock rom, the following play a key role.
1) bootlocker - locked
2) recovery - stock
3) Rollback package ( this was really file for Huawei Mate 8, but is it important for Huawei Mediapad M3? I will try to find out).
The bootloader is still unlocked. Do I need the unlock code, in order to lock it again?
At the moment, you have custom OS and custom recovery.
so best thing to do is flash the Stock ROM zip files from TWRP. I explained why it is better to do it this way.
I'm not sure that I still have custom recovery, cause I cannot go into it anymore...
Were you able to get the stock rom zip files?
Also please answer all the questions in this post so that I can help you better. :good::good::good::good::good:
Click to expand...
Click to collapse
Many many thanks again!!!!!!
Dany
Steps
danibyte27 said:
Hi Sama, below in bold my answers.
Many many thanks again!!!!!!
Dany
Click to expand...
Click to collapse
ok
so your root doesn't seem to work
you don't know if you have custom recovery
you are using EMUI 4.1
1) do the factor reset from the settings > go to -> Settings -> Advanced settings - > backup & reset - > factory data reset
do this - it should take few minutes
2) then -> developer options - > turn on "oem unlock" and " usb debugging " - on
3) please download the srk tools - I think I gave you the link to that software in my previous posts - > please download - extract keep it ready.
4) open the SRK tools - > type 000 in the place where it asks you to type 1 or 2 or 3 .. - you should get command prompt
5) Now press volume down button and hold .. and then connect your tablet to computer ( you have to enter bootloader mode)
6) now we need to lock the bootloader - so run the adb command ( for this you need to put the tablet in bootloader mode )
fastboot oem relock xxxxxxx or fastboot oem lock xxxxxxx
yes you will need the unlock code and in the above command replace the xxxxxx with your unlock code.
lock your bootloader.
7) it will do factory reset - and then your bootloader is locked.
Now at this point you have bootloader locked and you have normal firmware but since you want to go back to stock rom
I am still not clear about the build number. Can you give me the build number ? its in settings - > about tablet - > mine is BTV-DL09C100B006
Model number you and I have the same version. BTV-DL09. But it is the build number which matters.
I checked the firmware finder - unfortunately it is not giving the full firmware - only ota updates.
so the factory reset in the first step above is very very crucial.
The other safe way to get the firmware is through Hisuite
for this you need Hisuite software - you can either go forward to B009 or if it is giving you that option to switch to earlier version then you can go back. But I highly doubt it will give anything. So just try to go forward with B009 ROM.
try all these steps... see if you can succeed to any extent. In the mean time I will try to search for full firmware and if I do I will update this reply or give a new reply.
My name is Sam Hope this works out for you. Don't worry if this doesn't work then we will think about alternatives. But these are very important steps. Good luck. :good::good::good::good::good:
Cheers!
Sam
Update: After going through some of the threads on xda I came across one russian website
http://4pda.ru/forum/index.php?showtopic=780572&st=0#entry54523165
you can check the firmwares. They are all custom firmwares. But I am not sure if the version is compatible. check if your tablet buildnumber is BTV-DL09C100B006 or BTV-DL09C233XXX . that is something you need to be careful.
update2 :- http://hwmt.ru/oth/HWFF/info/view.php
this link contains all stock firmwares - but they are all OTA and not Full package.
I have the US version (I believe it is distinguished as BTV-W09C128Bxxx). Using the firmware finder, it appears the only old firmware available for my build is B001_demo and it's only an OTA. If my goal is restore stock recovery, will downloading this and flashing this do anything? I currently have greatslon's TWRP rooted running stock firmware version BTV-W09C128B002. Thanks!
Btv-w09c128xxx
asianpianoman said:
I have the US version (I believe it is distinguished as BTV-W09C128Bxxx). Using the firmware finder, it appears the only old firmware available for my build is B001_demo and it's only an OTA. If my goal is restore stock recovery, will downloading this and flashing this do anything? I currently have greatslon's TWRP rooted running stock firmware version BTV-W09C128B002. Thanks!
Click to expand...
Click to collapse
if you check this Russian site
http://hwmt.ru/oth/HWFF/info/view.php
you will find 8 matches for your model.
unfortunately, all are OTA and not full firmware. OTA is good for updating from lower version to higher version. But for downgrading or returning to stock I am not sure. In my experience, I always used the FULL package.
your current situation
1) you have TWRP
2) Rooted ( so bootloader unlocked)
your options
1) Returning to stock seems to be difficult. Only possible way is Hisuite but it won't recognize your device as your tablet is rooted and bootloader unlocked.
To return to stock
a) you need stock recovery ( you will get this once you flash Stock rom in twrp or through erecovery - download stock rom)
b) bootloader locked (this is possible by adb commands using SRK tools )
c) Stock rom (this is the problem - I couldn't find a single site which is hosting FULL stock rom )
d) rollback package ( If there is one, Huawei had it for Huawei mate 8 but for mediapad m3, does it have? I don't know) - I hope this is not mandatory. We should be able to get the job done using a,b,c . previous points.
From my experience, I found that if you have a, b, c you can go back to stock easily.
I saw another Russian site where they have custom roms. But you have to be careful. Check if the version they put out is compatible with yours. You mentioned that your tablet version is BTV-W09C128Bxxx. It looks they have custom roms for BTV-W09C233xxx Can you flash this firmware on your tablet? that is tricky and can be risky too. If any one has done it, then it would be nice if they can share their experience.
Link to this Russian site - > http://4pda.ru/forum/index.php?showtopic=780572&st=0#entry54523165
The OTA in the firmware finder is not enough to go back to stock. You can try but I am not hopeful because it is not complete firmware and it might get stuck in between or fail.
For now. you can do factory reset from TWRP. That is the only thing that seems possible. Without stock rom or rollback package, it is very difficult to go back to stock. But if you manage to get stock rom for your device. Then flash it in TWRP. Once it completes you will have stock rom installed on your device.
Hope you find this information useful :good::good::good::good:
Samavb said:
if you check this Russian site
http://hwmt.ru/oth/HWFF/info/view.php
you will find 8 matches for your model.
unfortunately, all are OTA and not full firmware. OTA is good for updating from lower version to higher version. But for downgrading or returning to stock I am not sure. In my experience, I always used the FULL package.
your current situation
1) you have TWRP
2) Rooted ( so bootloader unlocked)
your options
1) Returning to stock seems to be difficult. Only possible way is Hisuite but it won't recognize your device as your tablet is rooted and bootloader unlocked.
To return to stock
a) you need stock recovery ( you will get this once you flash Stock rom in twrp or through erecovery - download stock rom)
b) bootloader locked (this is possible by adb commands using SRK tools )
c) Stock rom (this is the problem - I couldn't find a single site which is hosting FULL stock rom )
d) rollback package ( If there is one, Huawei had it for Huawei mate 8 but for mediapad m3, does it have? I don't know) - I hope this is not mandatory. We should be able to get the job done using a,b,c . previous points.
From my experience, I found that if you have a, b, c you can go back to stock easily.
I saw another Russian site where they have custom roms. But you have to be careful. Check if the version they put out is compatible with yours. You mentioned that your tablet version is BTV-W09C128Bxxx. It looks they have custom roms for BTV-W09C233xxx Can you flash this firmware on your tablet? that is tricky and can be risky too. If any one has done it, then it would be nice if they can share their experience.
Link to this Russian site - > http://4pda.ru/forum/index.php?showtopic=780572&st=0#entry54523165
The OTA in the firmware finder is not enough to go back to stock. You can try but I am not hopeful because it is not complete firmware and it might get stuck in between or fail.
For now. you can do factory reset from TWRP. That is the only thing that seems possible. Without stock rom or rollback package, it is very difficult to go back to stock. But if you manage to get stock rom for your device. Then flash it in TWRP. Once it completes you will have stock rom installed on your device.
Hope you find this information useful :good::good::good::good:
Click to expand...
Click to collapse
Thanks for the reply and the useful information. It seems as though I'm out of luck unless I can find a FULL stock firmware package. However, you did mention that I can use Hisuite? Even though I am unlocked, TWRPed, and rooted, Hisuite still does recognize my device (I think it's because I'm on stock rom). When I click on System Recovery it just says "Your device system is running properly and does not need to be recovered." Is there another method I can go through using Hisuite to restore stock recovery?
Hope - Stock Rom - BTV- W09C128XXX
asianpianoman said:
Thanks for the reply and the useful information. It seems as though I'm out of luck unless I can find a FULL stock firmware package. However, you did mention that I can use Hisuite? Even though I am unlocked, TWRPed, and rooted, Hisuite still does recognize my device (I think it's because I'm on stock rom). When I click on System Recovery it just says "Your device system is running properly and does not need to be recovered." Is there another method I can go through using Hisuite to restore stock recovery?
Click to expand...
Click to collapse
That's great news.
Good that your tablet was recognized by Hisuite.
For system recovery to work. You have to press volume down and then connect the tablet.
Did you do it this way? I think you did.
Do you have "update" or "restore" option in Hisuite?
If yes when you click on "update" did you get "switch to earlier version" If it gives that then yes you can try but even then we have to keep fingers crossed until it completes the process successfully.
One more thing you can try is using HiCare. But this is for updating to nougat or for OS early adopters.
All the options are coming down to stock rom. If you have one stock rom. Then you can flash it in TWRP or extract the update.app and dload it using 3 finger rule.
Full stock rom - that is the key here. Is it possible for you to get the stock rom for your device? So far I found only OTA's from those Russian sites or custom roms for different models. It will be great if can find all stock firmware's for all the models. It will help many people. Since my tablet was working very well, I didn't think about rooting at all. Mine is BTV-DL09C100B006.
One last option is Unroot your tablet using Supersu app. And then flash boot.img (it is recovery.img not boot.img) from one of the OTA firmwares. that way you can get back to stock firmware. But this is tricky. You have to be very careful about this. If anything goes wrong here then you won't be able to boot into tablet. That is why I cannot recommend this option.
Sorry I made a mistake in this post. It is recovery.img not boot.img. Please be aware.
You can try - Factory reset - from inside the OS or from TWRP. :good::good::good::good:
Samavb said:
That's great news.
Good that your tablet was recognized by Hisuite.
For system recovery to work. You have to press volume down and then connect the tablet.
Did you do it this way? I think you did.
Do you have "update" or "restore" option in Hisuite?
If yes when you click on "update" did you get "switch to earlier version" If it gives that then yes you can try but even then we have to keep fingers crossed until it completes the process successfully.
One more thing you can try is using HiCare. But this is for updating to nougat or for OS early adopters.
All the options are coming down to stock rom. If you have one stock rom. Then you can flash it in TWRP or extract the update.app and dload it using 3 finger rule.
Full stock rom - that is the key here. Is it possible for you to get the stock rom for your device? So far I found only OTA's from those Russian sites or custom roms for different models. It will be great if can find all stock firmware's for all the models. It will help many people. Since my tablet was working very well, I didn't think about rooting at all. Mine is BTV-DL09C100B006.
One last option is Unroot your tablet using Supersu app. And then flash boot.img from one of the OTA firmwares. that way you can get back to stock firmware. But this is tricky. You have to be very careful about this. If anything goes wrong here then you won't be able to boot into tablet. That is why I cannot recommend this option.
You can try - Factory reset - from inside the OS or from TWRP. :good::good::good::good:
Click to expand...
Click to collapse
1) When you say pressing volume down and connecting the tablet, I'm not quite sure what you mean. Do you mean from power off? Anyways, from a power on state, I tried using the Update process within Hisuite and it downloads the B003 firmware, then boots into recovery (TWRP), attempts to flash it, fails, and then I manually have to hit restart system within TWRP.
2) I downloaded an OTA update.zip and could not find a boot.img.
3) Also, what does factory reset from inside the OS or from TWRP do exactly?
Thanks again!
Answers
asianpianoman said:
1) When you say pressing volume down and connecting the tablet, I'm not quite sure what you mean. Do you mean from power off? Anyways, from a power on state, I tried using the Update process within Hisuite and it downloads the B003 firmware, then boots into recovery (TWRP), attempts to flash it, fails, and then I manually have to hit restart system within TWRP.
2) I downloaded an OTA update.zip and could not find a boot.img.
3) Also, what does factory reset from inside the OS or from TWRP do exactly?
Thanks again!
Click to expand...
Click to collapse
I am sorry. I should have explained it better.
Pressing volume down and holding it for few seconds and then connecting to computer will take you to bootloader mode.
Then you can do the system recovery.
Yes, if you have stock recovery it will go smoothly. You have BTV-W09C128B002. So you need boot.img of the stock firmware belonging to this OS. then you have to flash that using the below adb command
fastboot flash recovery recovery.img
this should get back the stock recovery. Once you have this. You can try the Hisuite again, this time hopefully it should complete the process.
- you have the update.zip - > extract the update.app -> use Huawei update extractor (software in the attachment) -> extract this zip - > run Huawei UpdateExtractor - now open the update.app - > you will be able to see the recovery.img extract it. Flash it using the adb command in SRK tools.
you can download SRK tool from here -> https://forum.xda-developers.com/showpost.php?p=66627615&postcount=2
Open this tool - > type 000 where it is giving you an option to type 1, 2, or 3 etc.. you will get command prompt . there you have to type the fastboot command to flash the boot.img.
But once again. Just want you to know this process is risky. Wrong file or if anything goes wrong you won't be able to boot into your device. So please be careful. It is risky. Please do not proceed with these steps. Flashing the stock rom is the right way. Or Hisuite. Those are safe methods. But not this.
Factory reset from inside the OS means - > go to settings - > advanced systems -> backup & reset -> factory data reset
that will do the factory reset on your device.
or
since you have TWRP. you can boot into TWRP - go to wipe - > there you will have factory reset. you can do it that way too.
I apologize for not explaining properly. I am sorry I made a mistake. It is recovery.img not boot.img.
Hope you found this information useful. :good::good::good::good::good:
Hi Sam!
unfortunately the custom rom I put 2 days ago hiddens the build numer (it says "B030 greatslon mod") but I annotated the previous one, which was the one you said "BTV-DL09C100B006".
Now I'm at work but this evening I'll try to do what you adviced. Thanks again and have a good day
Daniela
Samavb said:
I am sorry. I should have explained it better.
Pressing volume down and holding it for few seconds and then connecting to computer will take you to bootloader mode.
Then you can do the system recovery.
Yes, if you have stock recovery it will go smoothly. You have BTV-W09C128B002. So you need boot.img of the stock firmware belonging to this OS. then you have to flash that using the below adb command
fastboot flash recovery recovery.img
this should get back the stock recovery. Once you have this. You can try the Hisuite again, this time hopefully it should complete the process.
- you have the update.zip - > extract the update.app -> use Huawei update extractor (software in the attachment) -> extract this zip - > run Huawei UpdateExtractor - now open the update.app - > you will be able to see the recovery.img extract it. Flash it using the adb command in SRK tools.
you can download SRK tool from here -> https://forum.xda-developers.com/showpost.php?p=66627615&postcount=2
Open this tool - > type 000 where it is giving you an option to type 1, 2, or 3 etc.. you will get command prompt . there you have to type the fastboot command to flash the boot.img.
But once again. Just want you to know this process is risky. Wrong file or if anything goes wrong you won't be able to boot into your device. So please be careful. It is risky. Please do not proceed with these steps. Flashing the stock rom is the right way. Or Hisuite. Those are safe methods. But not this.
Factory reset from inside the OS means - > go to settings - > advanced systems -> backup & reset -> factory data reset
that will do the factory reset on your device.
or
since you have TWRP. you can boot into TWRP - go to wipe - > there you will have factory reset. you can do it that way too.
I apologize for not explaining properly. I am sorry I made a mistake. It is recovery.img not boot.img.
Hope you found this information useful. :good::good::good::good::good:
Click to expand...
Click to collapse
Yes, I continue to find your information very useful!
I have downloaded the Huawei Extractor and was able to use it to extract boot.img, fastboot.img, and recovery.img. However, this is for B003 and I am currently on B002. B002 does not appear to be available through the links you previously provided (neither OTA nor Full). Using B003 extracted files, what would be the proper sequence of flashing? Should I install the B003 boot.img first, hope that it boots into fastboot, and then flash B003 recovery.img in fastboot mode? How do I even go about installing B003 boot.img? Through SRK tools or adb? Or is this all too risky, and I should not even bother with B003 OTA files while I am still on B002?
Thanks again!
Hi Sam!!
I recovered my huawei unlock code and tried to relock the tablet, after having resetted it to factory (remember I still have custom rom).
After putting the tablet in bootloader mode and typing the following command on sk tools:
fastboot oem relock xxxxxxxxxxxxxxxxx (my unlock code)
I get:
....
FAILED (remote: stat not match)
finished. total time: 0.00 secs
I also tried "fastboot oem lock xxxxx" but it says "command not allowed".
Do you have ideas? I am blocked there...
Thanks!!
Daniela
Samavb said:
Hi,
You can achieve this by following methods.
Method 1
Since you have TWRP
you can flash the stock firmware from TWRP and it should lock the bootloader, unroot and then overwrite the twrp with stock recovery.
What you need?
For this method you need the stock firmware zip files and firmware finder app from google store.
Method 2 (risky, not recommended)
Download SRK tools by somboons
From here https://forum.xda-developers.com/showpost.php?p=66627615&postcount=2
Unzip the file
Open the application
Then on the main screen, you will have plenty of options to type 1, 2, 3, etc..
Just type 000 to enter the command prompt here.
Once you are in that command prompt you can type the adb commands.
to lock the bootloader you need to type
fastboot oem relock xxxxxxx (just check this command. I think
xxxxx is your bootloader unlock code (yes you have to use the unlock code here again)
this will relock the bootloader.
now to unroot
you can just flash stock firmware using dload method.
How?
download the stock firmware
extract the update.app
put this update.app in a dload folder in sdcard.
you have to create this folder on sdcard and name it as dload.
then you can use the code from dialer pad
*#*#2846579#*#*
from there select SDcard upgrade.
It will reboot and flash the stock firmware. You no longer have root. It will also overwrite the twrp recovery with stock recovery.
I would recommend the method 1. It is safe, easy and should complete the desired tasks within no time.
Method 2 has lot of steps and there is risk involved so I cannot recommend this procedure as confidently as the first one.
I have the Huawei Mediapad M3 LTE version and also Huawei Mate 8. There are few similar functions in Huawei devices.
So now the question is where you will find the stock firmware?
You can find the stock firmwares using firmware finder app in google store.
From here -> https://play.google.com/store/apps/details?id=com.teammt.gmanrainy.huaweifirmwarefinder&hl=en
Install the app.
Open the app
It will automatically find the right firmware's by detecting your tablet model.
All links might not work
So check the one that is working and download that firmware - preferably full firmware.
You will get the zip files if there are two or just one.
then you can follow the method 1.
Hope this works out for you. Hope you find this information useful. :good::good::good:
Click to expand...
Click to collapse
Samavb said:
ok
so your root doesn't seem to work
you don't know if you have custom recovery
you are using EMUI 4.1
1) do the factor reset from the settings > go to -> Settings -> Advanced settings - > backup & reset - > factory data reset
do this - it should take few minutes
2) then -> developer options - > turn on "oem unlock" and " usb debugging " - on
3) please download the srk tools - I think I gave you the link to that software in my previous posts - > please download - extract keep it ready.
4) open the SRK tools - > type 000 in the place where it asks you to type 1 or 2 or 3 .. - you should get command prompt
5) Now press volume down button and hold .. and then connect your tablet to computer ( you have to enter bootloader mode)
6) now we need to lock the bootloader - so run the adb command ( for this you need to put the tablet in bootloader mode )
fastboot oem relock xxxxxxx or fastboot oem lock xxxxxxx
yes you will need the unlock code and in the above command replace the xxxxxx with your unlock code.
lock your bootloader.
7) it will do factory reset - and then your bootloader is locked.
Now at this point you have bootloader locked and you have normal firmware but since you want to go back to stock rom
I am still not clear about the build number. Can you give me the build number ? its in settings - > about tablet - > mine is BTV-DL09C100B006
Model number you and I have the same version. BTV-DL09. But it is the build number which matters.
I checked the firmware finder - unfortunately it is not giving the full firmware - only ota updates.
so the factory reset in the first step above is very very crucial.
The other safe way to get the firmware is through Hisuite
for this you need Hisuite software - you can either go forward to B009 or if it is giving you that option to switch to earlier version then you can go back. But I highly doubt it will give anything. So just try to go forward with B009 ROM.
try all these steps... see if you can succeed to any extent. In the mean time I will try to search for full firmware and if I do I will update this reply or give a new reply.
My name is Sam Hope this works out for you. Don't worry if this doesn't work then we will think about alternatives. But these are very important steps. Good luck. :good::good::good::good::good:
Cheers!
Sam
Update: After going through some of the threads on xda I came across one russian website
http://4pda.ru/forum/index.php?showtopic=780572&st=0#entry54523165
you can check the firmwares. They are all custom firmwares. But I am not sure if the version is compatible. check if your tablet buildnumber is BTV-DL09C100B006 or BTV-DL09C233XXX . that is something you need to be careful.
update2 :- http://hwmt.ru/oth/HWFF/info/view.php
this link contains all stock firmwares - but they are all OTA and not Full package.
Click to expand...
Click to collapse
Path forward - Huawei Mediapad M3
asianpianoman said:
Yes, I continue to find your information very useful!
I have downloaded the Huawei Extractor and was able to use it to extract boot.img, fastboot.img, and recovery.img. However, this is for B003 and I am currently on B002. B002 does not appear to be available through the links you previously provided (neither OTA nor Full). Using B003 extracted files, what would be the proper sequence of flashing? Should I install the B003 boot.img first, hope that it boots into fastboot, and then flash B003 recovery.img in fastboot mode? How do I even go about installing B003 boot.img? Through SRK tools or adb? Or is this all too risky, and I should not even bother with B003 OTA files while I am still on B002?
Thanks again!
Click to expand...
Click to collapse
Yes it is very risky. Please proceed with caution or don't do it at all as these steps are risky and can turn your tablet into brick. I say this because we are not getting the right set of files to test properly. We don't have the rollback package or stock ROM so the situation is precarious. If anything goes wrong, it would only increase your problems. For going back to Stock all you need is Stock Recovery & Stock ROM and unroot.
You are in stock rom but rooted. You just need to flash the right recovery.img file using SRK tools. Please check my previous posts on how to run adb commands using SRK tools. You have to do this in bootloader mode. Fastboot or bootloader mode are one the same. You need only recovery.img and that should be flashed in fastboot or bootloader mode. Check the Russian site http://hwmt.ru/oth/HWFF/info/view.php this has B003 firmware
For the moment it appears like there is only one way forward if nothing else work for you. I hope you have seen the Greatslon ROM files in the other threads. You can download his EMUI 5.0 it looks gr8 and seems to be stable from what I read. He has uploaded all the required files for his ROM. Have a look and see if it interests you.
danibyte27 said:
Hi Sam!
unfortunately the custom rom I put 2 days ago hiddens the build numer (it says "B030 greatslon mod") but I annotated the previous one, which was the one you said "BTV-DL09C100B006".
Now I'm at work but this evening I'll try to do what you adviced. Thanks again and have a good day
Daniela
Click to expand...
Click to collapse
You and I have same tablet version. I bought my tablet on Amazon.de. Please make a note of your steps and how your tablet responded. Based on that we can see how to move forward. It will be really helpful to know your experience.
To both of you @danibyte27 and @asianpianoman
Please be careful while handling these .img files or any system files. Flashing wrong files or any mistakes or errors during flashing can be detrimental for your tablets. There is huge amount of risk. So please proceed with extreme caution. Do not proceed if you have doubts. Please do not hesitate to ask if you are in doubt.
It appears that Greatslon - Android Nougat ROM seems to be the best way forward. As you have seen FULL Rom is not available anywhere. So that complicates things. Going back to stock ROM seems to be very tricky for now until we get the right Stock ROM and other important files.
Please check all my posts. If you like my posts and find it useful. Please don't forget to press :good::good::good::good::good::good::good: for all my posts This will help me a lot and it is a kind of encouragement for my efforts. I appreciate your feedback.:good::good:
---------- Post added at 12:31 AM ---------- Previous post was at 12:26 AM ----------
danibyte27 said:
Hi Sam!!
I recovered my huawei unlock code and tried to relock the tablet, after having resetted it to factory (remember I still have custom rom).
After putting the tablet in bootloader mode and typing the following command on sk tools:
fastboot oem relock xxxxxxxxxxxxxxxxx (my unlock code)
I get:
....
FAILED (remote: stat not match)
finished. total time: 0.00 secs
I also tried "fastboot oem lock xxxxx" but it says "command not allowed".
Do you have ideas? I am blocked there...
Thanks!!
Daniela
Click to expand...
Click to collapse
Did you put the oem unlocking - ON & usb debugging on ?
1) check the bootloader - take a photo and see if it is showing phone locked or unlocked
hold volume down on your tablet for 3 seconds and then connect to computer
update : Can you check if your unlock code is correct?. it says "stat not matched" please check the unlock code.
risky steps
[[[try fastboot oem unlock xxxxxxx even if it says your phone is unlocked. ]]]
[[[then fastboot oem relock xxxxxxxx]]]
if this doesn't work
then flash the recovery of your current firmware using
use SRK tools - go to command prompt - type the below command ( this recovery.img should be in SRK folder )
fastboot flash recovery recovery.img
I would suggest you not to go back to stock. Please try to move forward to greatslon EMUI 5.0 ROM.
https://forum.xda-developers.com/mediapad-m3/development/twrp-greatslon-mod-t3489232
Please check this link https://androidfilehost.com/?w=files&flid=125388 he has uploaded all the files.
Hi Sam,
I think I'll follow your advice and don't try to install stock image until I find a clean and reliable solution
Could you please link me the address to download Greatslon nougat rom? I can only find 6.0 greatslon rom here:
https://www.androidfilehost.com/?w=files&flid=125388
Thanks!!
Dany
Not found
danibyte27 said:
Hi Sam,
I think I'll follow your advice and don't try to install stock image until I find a clean and reliable solution
Could you please link me the address to download Greatslon nougat rom? I can only find 6.0 greatslon rom here:
https://www.androidfilehost.com/?w=files&flid=125388
Thanks!!
Dany
Click to expand...
Click to collapse
It appears he didn't upload the EMUI 5 ROM for BTV-DL09C100 in that link.
However, he uploaded EMUI 5.0 on this Russian forum
http://4pda.ru/forum/index.php?showtopic=780572
But those seem to be for C233 and other versions.
So I think it is better to check with him on the other thread https://forum.xda-developers.com/mediapad-m3/development/twrp-greatslon-mod-t3489232 and see if it is ok to install C233 on C100. It is his work so I feel he is in best position to answer this question . :good::good::good::good::good:
Good news!!! Stock ROM link
danibyte27 said:
Hi Sam,
I think I'll follow your advice and don't try to install stock image until I find a clean and reliable solution
Could you please link me the address to download Greatslon nougat rom? I can only find 6.0 greatslon rom here:
https://www.androidfilehost.com/?w=files&flid=125388
Thanks!!
Dany
Click to expand...
Click to collapse
Hi,
Hope you remember me.
Finally I have some good news for you.
Some wonderful person found the link to download the Stock ROM & Rollback package in another thread.
here is the link
http://consumer.huawei.com/it/support/search/index.htm?keywords=btv-dl09&t=SupportSearch
Go to this link and download the Rollback package and then do the dload method. You will come back to Stock ROM and your bootloader will be locked again. Download both files. Site is in Italian, you can translate it to English. This is the file I was talking about in my previous posts. It was uploaded by Huawei only on March 30th.
This is straight from Huawei so no risk at all and very safe.
They also have the B009 firmware so you can use dload method again and update it to that firmware. After that you can do whatever you want
I hope this is useful for you.
Cheers!
Sam :good::good:
info
drooblz said:
Thank you for this! Been fighting trying to restore my tablet to default settings and apply the latest update. Sitting at B006 right now.
Click to expand...
Click to collapse
I am glad you found it useful. Please have a look at all my posts in other threads as well. I have explained the steps in detail.
There is Android nougat available too. B006 -> B009 -> B010 - > B301 - > this is the path you need to take to get to nougat if your tablet model is C100BXXX. And all these firmwares starting from B010 are available on firmware finder app.
https://play.google.com/store/apps/details?id=com.teammt.gmanrainy.huaweifirmwarefinder

HUAWEI P9 LITE NRD90M(test-keys) TO MM HELP Urgent

Plzzz help im stuck I want to rollback my huawei p9 lite VNS-L31 where its build number is NRD90M(test keys) to marshmallow 6.0 help don't know what to do . Plz if you can explain step by step what can i do because i'm not good in these things , My bluetooth not workng , there no calculator , no software updater , i am not able to check if got update or not and so on......, im stuck plz help
Well hey.. first download this rollback package from this link:
http://download-c1.huawei.com/download/downloadCenter?downloadId=93645&version=371484&siteCode=np
Extract and move all the files to dload folder on your external SD Card then install it with the 3 button method. If there's no dload folder then create one.
So the phone will reboot and now you can downgrade to any mm rom
Now just download this mm rom from this link:
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1164/g104/v66015/f1/full/update.zip
And again extract and move the files to dload folder on your sd card.. Install with 3 button method.
Done! Everything should work now!
In case If you don't know what the 3 button method is..lol
•Power the phone off ?
•Just press and hold on POWER + VOLUME UP + VOLUME DOWN buttons
The phone will start installing the rom and that's the 3 button method ?❤
this is not working for me. it says incompatibility with current version and to download the correct version.
lennie27 said:
this is not working for me. it says incompatibility with current version and to download the correct version.
Click to expand...
Click to collapse
Man, you have to do entire procedure: unlock bootloader, install twrp for Nougat and flash oeminfo for your phone. Before that you have to put in dload folder MM firmware (B130/B131),
because after flashing oeminfo phone try to repair firmware from dload folder. If repair do not start, power off phone and power on with 3 keys combination.
Hi All,
I'm having a similar issue as lennie27 however I think I might have strayed down an incorrect path during the process of upgrading to Nougat. My device shipped with VNS-L31C16B120 with no updates available through the stock updater. I tried the Firmware Finder guides which listed options for VNS-L31C169B13x and VNS-L31C432B13x however none of these updates would work, updater would say it's incompatible with current version. I also tried manually downloading the VNS-L31C432B160 firmware and installing that with the 3 button method as well as the EngineerMenu option with the same result (found guides that stated needing to be on B160 or B161 before making the jump to Nougat). Eventually I decided to unlock the bootloader and install Nougat through TWRP and followed the obeygeekupdate-huawei-p9-lite-to-android-7-0-nougat-manually guide (can't post links ) on manually installing Nougat (stupidly never paying attention to the fact that it's a beta build guide). I've installed TWRP to the device again using the P9 Lite Toolkit v0.0.0.11 found here on XDA (used this when on MM however the upgrade seemed to restore the stock recovery) with the idea of downloading the build from the ministryofsolutions huawei-p9-lite-vns-l31-nougat-b371-update-stable-europe page and pushing that to the device instead (however now the device doesn't want to boot into recovery)
Now my only concern is, will this work? I've noticed a bit of commenting going back and forth on the ministryofsolutions site which essentially boiled down to the need for debranding the phone (apparently C19 is MTN South Africa specific and I need to debrand it and get it onto C432 Europe before mucking about with Nougat, but alas to late) which seemed to be something I should have done while on MM still. If I can find a full firmware link for VNS-L31C16B120 can I flash that through TWRP without needing to follow any prerequisite steps? So far nothing that I've tried to flash using the three button method has worked, I'd just like to get back onto an official stable firmware again.
Any advice will be appreciated
saintnite said:
Hi All,
I'm having a similar issue as lennie27 however I think I might have strayed down an incorrect path during the process of upgrading to Nougat. My device shipped with VNS-L31C16B120 with no updates available through the stock updater. I tried the Firmware Finder guides which listed options for VNS-L31C169B13x and VNS-L31C432B13x however none of these updates would work, updater would say it's incompatible with current version. I also tried manually downloading the VNS-L31C432B160 firmware and installing that with the 3 button method as well as the EngineerMenu option with the same result (found guides that stated needing to be on B160 or B161 before making the jump to Nougat). Eventually I decided to unlock the bootloader and install Nougat through TWRP and followed the obeygeekupdate-huawei-p9-lite-to-android-7-0-nougat-manually guide (can't post links ) on manually installing Nougat (stupidly never paying attention to the fact that it's a beta build guide). I've installed TWRP to the device again using the P9 Lite Toolkit v0.0.0.11 found here on XDA (used this when on MM however the upgrade seemed to restore the stock recovery) with the idea of downloading the build from the ministryofsolutions huawei-p9-lite-vns-l31-nougat-b371-update-stable-europe page and pushing that to the device instead (however now the device doesn't want to boot into recovery)
Now my only concern is, will this work? I've noticed a bit of commenting going back and forth on the ministryofsolutions site which essentially boiled down to the need for debranding the phone (apparently C19 is MTN South Africa specific and I need to debrand it and get it onto C432 Europe before mucking about with Nougat, but alas to late) which seemed to be something I should have done while on MM still. If I can find a full firmware link for VNS-L31C16B120 can I flash that through TWRP without needing to follow any prerequisite steps? So far nothing that I've tried to flash using the three button method has worked, I'd just like to get back onto an official stable firmware again.
Any advice will be appreciated
Click to expand...
Click to collapse
you need to install nougat recovery, not the one from the toolkit. then twrp will work and the device will boot.
to go back to 120 you need to install oeminfo, and then the update.app
mjz2cool said:
you need to install nougat recovery, not the one from the toolkit. then twrp will work and the device will boot.
to go back to 120 you need to install oeminfo, and then the update.app
Click to expand...
Click to collapse
Thank you for the reply, managed to come right a few hours after posting. Turned out the copy of TWRP that I had on hand was more outdated than I thought, downloaded the newest copy and that worked on the device. Additionally I managed to find a website listing just about every firmware for the phone (Including my original MTN ZA specific variant) so I downloaded that and managed to restore the phone using the three button method. Phone is back to stock now and even the unlocked bootloader nag screen is gone so I'm guessing the bootloader is locked again as well One day when I'm brave enough to attempt this again I'll look at debranding the phone and getting it onto a C432 based ROM before getting it onto Nougat again.
phone bricked
hello guys! im currently on lineage os 14.1 by meticulus, i wanna revert back to stock mm but i cant. i flashed the custom rom from mm using twrp recovery by meticulus, but now i cant even boot into erecovery! can you pls help me!:crying: DLOAD method doesnt work!

Relocked bootloader only boots into eRecovery :/

Hey guys. So this is my final conclusion over my 200 posts I made without any response.
Id like to update my phone to VKY-L09c432B369. My phone is rooted with TWRP3.1.1(i think) and custom kernel (that famous one for huawei p10 plus, just check the forums) and Magisk. Also unlocked bootloader.
But none of the methods avaible to do to update my phone is working.
-dload not working.
-flash zip in twrp not working
-hwota8 method not working
-force power-sound lower-sound higher update not worknig
So I was like f*ck it lets just relock the bootloader and let's install the update that way, right? It should work, right?
But when I "fastboot relock oem xxxxxxxxxxxxxxxxx" my phone only launches into eRecovery. Any idea how to fix it?
I toughed of boot.img reflash but that just doesn't work because in the VKY-L09C432B365 (version I have atm,) there's no boot.img so Idk what to do.
I'd really like this update because it adds face unlock
Thanks for any help.
My experience with oreo:
dload: doesn't work
hwota: doesn't work
force update: doesn't work
There are two methods that works
1) Firmware finder + erecovery click here
2) Flash full firmware with twrp:
Update Oreo to higher Oreo
https://www.androidfilehost.com/?fid=962157660013070538
Open zip and copy OREO_FLASH Folder to your external sd card.
Download your wanted firmware and copy into OREO_FLASH folder. Update.zip leave as it is and rename update_data_full_public to update_data_public and the last one to update_all_hw
Then flash oreo_update.zip in OREO_FLASH folder with TWRP
Hope it works for you, I have a P10, this week I ended with frp lock and bricked system and only erecovery, with Firmware finder method I fixed it.
ADVICE: Never relock your bootloader if you are not in stock firmware (a working firmware)
If you need help, this is my telegram @SwitchFoot

Device failed verification - is there a way to clear this message?

Hello,
Recently a Huawei P9 lite VNS-L21 came into my hands. I experimented a bit with unofficial ROMs but eventually flashed the official back. I had flashed an earlier version, ending in 380 I believe, but because the phone attempted to upgrade to the next incremental update (say, -382) I decided to upgrade myself to the latest supported version (506). I used Firmware Finder to find the firmware and downloaded it to SD card.
Upgrade succeeded - since I had left TWRP recovery in the phone, I used the HuRUpdater which worked flawlessly.
The only small issue is that following this update, a red message is displayed on boot saying the device has failed verification.
Any way to solve this?
Sovjohn said:
Hello,
Recently a Huawei P9 lite VNS-L21 came into my hands. I experimented a bit with unofficial ROMs but eventually flashed the official back. I had flashed an earlier version, ending in 380 I believe, but because the phone attempted to upgrade to the next incremental update (say, -382) I decided to upgrade myself to the latest supported version (506). I used Firmware Finder to find the firmware and downloaded it to SD card.
Upgrade succeeded - since I had left TWRP recovery in the phone, I used the HuRUpdater which worked flawlessly.
The only small issue is that following this update, a red message is displayed on boot saying the device has failed verification.
Any way to solve this?
Click to expand...
Click to collapse
Hello,
my doubt is that you flashed a different firmware version from the one you had, thus corrupting the device's oem file. Could you post which was the latest complete firmware without this problem and the last one you downloaded and flashed? ( ex. L21CxxxB382 & LxxCxxxB506 ).
Let me know this info ...
Hi,
I went from l21c432b380 to l21c432b506 during this process. Stock OEM file was flashed before the -380 upgrade (no errors existed, the 380 upgrade followed a flash of -370).
I'm not sure why this is happening - I mean, both firmwares were from the firmware finder app... Weird, to say the least.
Sovjohn said:
Hi,
I went from l21c432b380 to l21c432b506 during this process. Stock OEM file was flashed before the -380 upgrade (no errors existed, the 380 upgrade followed a flash of -370).
I'm not sure why this is happening - I mean, both firmwares were from the firmware finder app... Weird, to say the least.
Click to expand...
Click to collapse
Yep, you used correct file but anyhow the firmware has been corrupted.
I think you have some ways to solve...
1 - if you have stock recovery, reboot into it and
download and flash the same latest firmware.
If you do not have it, you can extract (with huawei update extractor) it
(should be recovery1.img) from B506 firmware (update.zip) you already got,
then can be flashed via fastboot commands.
2 - Flash a previous or B380 firmware via HuRUpdater, then
update to latest via Firmware Finder with dns/vpn method.
3 - Repeat the whole job you done with B506 firmware. (via HuRupdater)
4 - Reboot recovery, reflash L21OEMinfo file, dual sim one, then the latest firmware again...
P.S.: method 1, 2, 4 will re-lock the bootloader, no problem if still you got the code...
Beware method 4, after you flash the oeminfo file do not shout down, reboot to bootloader
and unlock it again with the code. Device will reboot into twrp, then flash B506 firmware.
Good luck and let the community know..

P9 Lite / No ManufactorMode / nrd90m-Testkeys / how to unlock (in 2022)

First of all, a friendly "hello" to everyone.
The XDA Developer Forum has been helping me for 10 years, you guys are awesome.
Now I would probably need your "swarm knowledge" again, my previous knowledge will probably help me
not further.
My goal is to somehow get LineAgeOS on 3 devices, preferably with root.
The plan is:
1. downgrade with stockroms,
2. Unlock bootloader
3. Install twrp
4. Flash LineageOS
5. Flash root
I have different problems with this.
I couldn't find any solutions with Google either, especially since almost all download links are now offline.
My first project is the P9 Lite (vns-l21 with Android 7 and emui5.0 software version: ???)
As I understand it, I only get the bootloader unlocked if I downgrade to android 6, otherwise the dcunlocker software cannot read the unlock code.
I would then do this via an update.app from the SD card, with the 3-finger method.
The manufacturer mode *#*#2846579#*#* is blocked by the firmware. (no menu opens).
- Here I have the problem that I can't find any compatible firmware.
(Error message during installation, telling me to get the right version)
I can't find out which version I need or is compatible for an update
my build number shows "NRD90M test-keys".
(Don't know why, I think I tried to flash something.)
How should I proceed now?
Psychedelic2313 said:
NRD90M test-keys".
Click to expand...
Click to collapse
your fw is incomplete or you installed fw for different region (wrong oeminfo). That's why Project menu doesn't work.
With this build number you cannot install full stock using 3 buttons method. Also dc-unlocker cannot recognize your device.
Try to unlock BL using PotatoNV method, then install TWRP, flash oeminfo for your region and install full stock ROM via dload method from SD Card.
Thank you for your prompt reply !
how can i get my oeminfo ? i dont now my region which is installed.
I have seen a tutorial on youtube using PotatoNV. - but for this i must have to open the handy. Right ? I don't really want that.

Categories

Resources