[Guide] Returning back to Stock after flashing custom ROM

shashank1320

Recognized Contributor
May 26, 2015
7,481
2,065
113
Delhi
Seeing lot of users struggling while going back to stock due to one or the other needed feature on custom ROM missing, few of them are dual SIM not working, MTP, camera or others. Even if they come back to stock by restoring the stock the ROM via TWRP, sound is not working for many of them. I flashed recent LOS, RR, AOSP and returned back to stock without any problem. I made the traditional backup (yeah not followed the instruction of TWRP backup given in ROM thread :) ) I will quickly brief on the method. There are 2 methods for the same.

Method 1:

Before flashing the custom ROM
Boot to TWRP
Click on backup
You will bunch of options/partition to backup.
Select only - boot, data, system and vendor and no other partition. (can change the name of TWRP to the Date-Time-BXYZ)
Let TWRP finish the backup (time taken will depend on your data size)
Now again click on backup and this time select only - cust, prod and version (can change the name to Date-Time-others or a per your wish)

Flash custom ROM and enjoy
IF you face any issues and want to return back to stock, refer below.

Return to stock-
Boot to TWRP
Click on Wipe
Wipe System, Boot, Data
Click on Restore
Select the backup media (internal memory/external memory/USB etc)
Chose the 1st back up only i.e boot, data, system and vendor (Date-Time-BXYZ)
Chaneg the file system to F2FS (it was channged to EXT4 while moving to Custom ROM, remember :p)
Boot to system.
It should have all sound and other stuff working without any issue.

Method 2:
Use dload method to restore to full stock.
Link here - https://forum.xda-developers.com/showpost.php?p=73954487&postcount=240

In worst case If you have anything non working, like FM, theme etc, flash the small data file via TWRP.
Link here- https://forum.xda-developers.com/honor-6x/how-to/guide-solution-to-themes-fm-app-manual-t3712002
Try to use the same build number's file for this.

Good luck.
 

vcetina

Member
Sep 14, 2008
20
0
0
I have been trying to relock the boot loader on my honor 6x BLN-L24C567B365 with no luck. It has de factory rom on it, it has twrp an root installed (magisk). I tried the dload method with the same software version it has (BLN-L24C567B365), but i get "software install failed", I want to remove twrp, root, and afther that relock the boot loader. If i try to relock in the actual state, it boots in to fastboot mode, to boot correctly again i have to unlock again de bootloader. Can you give me some advice please.

Thanks in advance.
 

shashank1320

Recognized Contributor
May 26, 2015
7,481
2,065
113
Delhi
I have been trying to relock the boot loader on my honor 6x BLN-L24C567B365 with no luck. It has de factory rom on it, it has twrp an root installed (magisk). I tried the dload method with the same software version it has (BLN-L24C567B365), but i get "software install failed", I want to remove twrp, root, and afther that relock the boot loader. If i try to relock in the actual state, it boots in to fastboot mode, to boot correctly again i have to unlock again de bootloader. Can you give me some advice please.

Thanks in advance.
Try flashing b360
 
  • Like
Reactions: vcetina

Overmind123

New member
Jun 8, 2015
2
1
0
Hey, I am currently on lineage and want to go back to stock. I really cant do it. It always fails or the download link is wrong. Can you help me?
 

evjgl98

Member
May 24, 2018
28
3
0
I tried going back to nougat from stable gsi linage os by using huru updater flasing via recovery and it resulted in a bootloop.

I can only enter the three options section -1-press power button to continue. 2- Volume up key to enter erecovery... and 3- The device will continue to boot after 5secs...

I cannot get into the erecovery at all, not even flashing another erecovery since I thought it was corrupted but no. I try to press volume buttons simultaneously with the power button and it doesn't work either. It also doesn't seem to stop rebooting.

I TRIED DLOAD and I had NO result but the same unstopping reboots.

Also I can ONLY enter that three options section by plugging in the device via pc while pressing volume up at the same time while plugging it in the USB.

Flashed recoveries for both nougat and oreo and never worked. I'm worried. Help please
 

shashank1320

Recognized Contributor
May 26, 2015
7,481
2,065
113
Delhi
I tried going back to nougat from stable gsi linage os by using huru updater flasing via recovery and it resulted in a bootloop.

I can only enter the three options section -1-press power button to continue. 2- Volume up key to enter erecovery... and 3- The device will continue to boot after 5secs...

I cannot get into the erecovery at all, not even flashing another erecovery since I thought it was corrupted but no. I try to press volume buttons simultaneously with the power button and it doesn't work either. It also doesn't seem to stop rebooting.

I TRIED DLOAD and I had NO result but the same unstopping reboots.

Also I can ONLY enter that three options section by plugging in the device via pc while pressing volume up at the same time while plugging it in the USB.

Flashed recoveries for both nougat and oreo and never worked. I'm worried. Help please
Was dload successful?
 
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