OnePlus 6 Complete Restore to stock OxygenOS to LineageOS (2024)
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
Other Videos By Espionage724
2024-04-12 | osu!stream on Peloton Bike |
2024-04-10 | Meta Quest 2 broken App Share |
2024-03-04 | WoW 3.3.5a Linux Desktop Launcher Test (Local Server) |
2024-02-29 | WoW Classic Hardcore Self-Found, but only walking (002) |
2024-02-29 | WoW Classic Hardcore Self-Found, but only walking (001) |
2024-02-23 | Cooking a hot dog with a propane torch |
2024-02-23 | Keto Strawberry Cream Cheese Quesadilla (12g carb) |
2024-02-23 | Cooking a hot dog with a propane torch |
2024-02-11 | First time Scurrius as HCIM |
2024-02-06 | Old School RuneScape C++ Client Install on Linux (Feb 2024) |
2024-01-07 | OnePlus 6 Complete Restore to stock OxygenOS to LineageOS (2024) |
2023-10-18 | WoW Walk 22 |
2023-10-18 | WoW Walk 21 |
2023-10-18 | WoW Walk 20 |
2023-10-18 | WoW Walk 19 |
2023-10-18 | WoW Walk 18 |
2023-10-18 | WoW Walk 17 |
2023-10-18 | WoW Walk 16 |
2023-10-18 | WoW Walk 15 |
2023-10-18 | WoW Walk 14 |
2023-10-18 | WoW Walk 13 |