Help - Remove Root, Restore to Original (VTR-L29)

dev_don

Member
Jan 22, 2008
35
5
0
I have the P10 64gb Dual Sim version, VTR-L29C63B162

I have rooted the phone, unlocked the boot loader and upgrated to VTR-L29C63B162

After searching the forums and the web I can't find a successful or comprehensive way to Revert all the changes, can someone provide thier help please?
- Relock bootloader
- Remove root
- flash stock recovery and OS

Thanks:good:
 

ChipCollector

Member
Nov 27, 2017
6
1
0
Bern
Hey Mate,
First: i never did locked the bootloader again, but i readed something on the internet about it. I also not have a Guide, but maybe i can give you some hints about it.

Flashing Stock Recovery and System via. Bootloader
If you want to flash back the Stock Recvovery and System you have to download the original Firmeware (Update.app from Huawei).
After you got the Update.app (should be like 2 GB) you have to extract the Update.APP to get BOOT.IMG, SYSTEM.IMG, RECOVERY.IMG (plus CUST.IMG).

To extract the UPDATE.APP you can use this tool (HUAWEIUPDATEEXTRACTOR) from worstenbrood:
https://forum.xda-developers.com/showthread.php?t=2433454

Extract the BOOT.IMG, SYSTEM.IMG, RECOVERY.IMG (plus CUST.IMG) to your ADB and Fastboot Platforms Tool.
after that you can flash the Images in the fastboot mode.
I think (i am not 100% sure about it) to flash the Images in this sequence (control that on the internet):

fastboot flash boot BOOT.IMG
fastboot flash recovery RECOVERY.IMG
fastboot flash system SYSTEM.IMG
(fastboot flash cust CUST.IMG)

after that your phone should boot like your unboxing it the first time.

Locking Bootloader again via fastboot
I think you can relock your Bootloader again with one of these fastboot commands:

fastboot oem lock YourCode
fastboot flashing lock
fastboot oem relock YourCode

if one of this is working you can boot your devices (fastboot reboot).

I never tried this and dont know exactly whats your goal (relock, lock whatever) but maybe this is another hint:
https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656/page57

Kind Regards
 
  • Like
Reactions: dev_don

dev_don

Member
Jan 22, 2008
35
5
0
It worked :) , although I had to:
- restore factory settings
- connect device to pc via usb
- click on build to enable developer mode
- enable USB debugging in developer mode
- unplug device, replug and authorise usb debugging for the pc

Then I did this via adb cmd
- adb reboot-bootloader
- fastboot flash boot BOOT.IMG
- fastboot flash recovery RECOVERY.IMG
- fastboot flash system SYSTEM.IMG
- fastboot reboot

Go back into fastboot after device restart
- fastboot oem relock [unlockcodexxxxxxxxx]
 

ChipCollector

Member
Nov 27, 2017
6
1
0
Bern
It worked :) , although I had to:
- restore factory settings
- connect device to pc via usb
- click on build to enable developer mode
- enable USB debugging in developer mode
- unplug device, replug and authorise usb debugging for the pc

Then I did this via adb cmd
- adb reboot-bootloader
- fastboot flash boot BOOT.IMG
- fastboot flash recovery RECOVERY.IMG
- fastboot flash system SYSTEM.IMG
- fastboot reboot

Go back into fastboot after device restart
- fastboot oem relock [unlockcodexxxxxxxxx]
:highfive: :good:
 

SavageRobot

Senior Member
Sep 26, 2013
465
125
43
When relocking the bootloader does the phone then say *bootloader relocked" or anything like that or is it back to standard as if first unboxed?

Also, on a side note, is there a way to use banking apps with the bootloader unlocked/rooted etc? On my old phone Barclays wouldn't work with the root but it looked like Magisk etc were working on ways top get past this.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone