OnePlus 6 Complete Restore to stock OxygenOS to LineageOS (2024)

Channel:
Subscribers:
418
Published on ● Video Link: https://www.youtube.com/watch?v=G-VmfjYkUWo



Duration: 30:28
222 views
0


OnePlus 6 returned to OxygenOS 10.3.8 (stock) with MsmDownloadTool, to OxygenOS 11.1.2.2 (OTA update) twice (for both A/B partitions), followed by bootloader unlock, LineageOS recovery flash (boot.img), copy-partitions.zip, and finally LineageOS. Done in real-time and timed.

To get to EDL mode (very beginning of the video), the phone is powered off, I hold Volume Up, and plug the USB cable into the phone that's connected to my computer. This instantly shows the Qualcomm USB device on the computer. I find this the most consistent and easiest way to enter EDL mode, but you can apparently do it from adb and/or fastboot commands.

If you're flashing LineageOS, you may want Google apps. I typically don't flash them and they aren't flashed in this video, but they would be flashed after rebooting back to Recovery as soon as you flash LineageOS, detailed in their instructions: https://wiki.lineageos.org/gapps/

The Qualcomm USB driver is from XDA forums somewhere. Prior to the video I installed it, and took the extracted driver and archived it for later use, and unzipped it just for the driver. Installing the drivers via exe works the same. I plan to upload the driver zip somewhere for quick reference later. The fastboot USB driver for the bootloader unlock I grab from Windows Update just for ease (Google's latest USB zip driver didn't automatically claim the device).

10.3.8 MsmDownloadTool package comes from: https://onepluscommunityserver.com/list/Unbrick_Tools/OnePlus_6/Q/OnePlus_6_OxygenOS_10.3.8.zip

11.1.2.2 OTA is direct from OnePlus's download site: https://oxygenos.oneplus.net/OnePlus6Oxygen_22.J.62_OTA_0620_all_2111252336_287bcb1636d743d3.zip

copy-partitions, boot.img, and LineageOS zip are from LineageOS: https://wiki.lineageos.org/devices/enchilada/install/

The title says complete, but technically MsmDownloadTool is running in Upgrade mode by-default and is all that's needed in most cases when moving around different Android ROMs and even Ubuntu Touch. There is apparently an SMT mode for MsmDownloadTool that will reflash all partitions including device identifiers (IMEI, MACs?); this video doesn't cover that mode, but if you need to use it, be sure to backup those important partitions (postmarketOS I believe details this).

Phone camera cut-out during LOS flashing was due to adb detecting two USB devices, and my camera advertising itself as one of them.

Flashing 11.1.2.2 OTA twice and copy-partitions from LineageOS are redundant, but I do it just to be certain :p Some custom Android ROMs don't have a copy-partitions zip instruction, so unless the ROM dev suggests otherwise, I recommend doing the OTA upgrade twice regardless of what ROM you go to.

Also check out my wiki for self-hosting notes and Linux configs: https://wiki.realmofespionage.xyz/

I have specific info about how I set-up my OnePlus 6 here: https://wiki.realmofespionage.xyz/devices:oneplus_6_enchilada