[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] nero355:
Official Instructions to install the latest build of this UBPorts Custom ROM so you can run Ubuntu Touch 20.04 LTS Focal on your OnePlus 7 Pro

Everything REQUIRED that you should download first :

- TWRP ofcourse : https://twrp.me/oneplus/oneplus7pro.html

- Android 10 OxygenOS Base Image 10.0.10 : https://onepluscommunityserver.com/list/Unbrick_Tools/OnePlus_7_Pro/EU_GM21BA/Q/

!! Please note that this ZIP file contains the MSM Download Tool that is compatible with the Android Image too and can only be used in combination with Windows !!

You can find many other Android OxygenOS Images on the source website of this link should you need them : https://droidwin.com/download-msm-d...eplus-device/#OnePlus_7_PRO_MSM_Download_Tool

- UBPorts Ubuntu Touch 20.04 LTS Focal built by RyanAM : https://gitlab.com/RyanAM/oneplus-seven-halium-10.0/-/artifacts

Just grab the latest devel-flashable-focal like this one for example : https://gitlab.com/RyanAM/oneplus-seven-halium-10.0/-/jobs/5101237766

You can either download everything in a zip file or browse the files and download the boot.img and system.img from : https://gitlab.com/RyanAM/oneplus-seven-halium-10.0/-/jobs/5101237766/artifacts/browse/out/

Whatever has your preference ;)

- Things like ADB Tool/Fastboot Tool/OnePlus Drivers/Qualcomm Drivers were already installed on the Windows 7 Laptop that I always use for flashing phones so I only have this guide for you : https://www.thecustomdroid.com/oneplus-bootloader-unlocking-guide/

It also explains how to Unlock the Bootloader correctly so let me know in case something is not working out for you!

INSTALL Procedure :

- Flash the Android 10 OxygenOS Base Image 10.0.10 by in EDL Mode by following this guide :

Downgrade OnePlus 7/7T/7T Pro Android 12 to Android 11 [3 Methods]

In this guide, we will show you two methods to downgrade your OnePlus 7/7T/7T Pro from Android 12 OxygenOS 12 to Android 11 OxygenOS 11.

droidwin.com

This is METHOD #2 and is the easiest method when using the 10.0.10 ZIP file !!

- Boot the phone afterwards and check if your Android 10 is booting!

- If it is then proceed with the guide mentioned before to Unlock the Bootloader : https://www.thecustomdroid.com/oneplus-bootloader-unlocking-guide/

- When the Bootloader is Unlocked correctly the phone will reboot into a totally WIPED Android 10 again and the screen will look the same like when you flashed Android 10 for the first time!

- Now you can Enable Developer Mode again and make sure USB Debugging works again!

Please use ADB Tool to test this :

adb devices

The phone will show a notification to approve the PC or Laptop you are using again just like it did during the Bootloader Unlock procedure.

- Now boot into the Bootloader/Fastboot Mode :

adb reboot fastboot

- Boot to TWRP by renaming the twrp-3.7.0_12-0-guacamolev2.img simply to twrp.img to avoid any issues that occur sometimes and then just :

fastboot boot twrp.img

Once TWRP has booted just swipe the slider to the right to allow modifications to the phone!

Now we can start flashing ubuntu.img or system.img from the UBPorts download with the help of the booted TWRP version :

- Make sure the DATA Partition is clean by wiping/formatting it completely :

1. Choose the WIPE sub-menu.

2. Press Format Data and confirm you want to proceed.

3. Once the format is done also Wipe Cache & Dalvik from this sub-menu !!

- Go back to the Main Menu of TWRP and then flash the System Partition part of Ubuntu Touch :

adb push ubuntu.img /data

In case you downloaded a system.img then it's ofcourse :

adb push system.img /data

- Once that has finished we can reboot to the Bootloader/Fastboot Mode so we can flash the Boot Partition of Ubuntu Touch :

1. Go to the Reboot sub-menu of TWRP.

2. Pick the Bootloader/Fastboot Mode and confirm.

- Once you are in the Bootloader/Fastboot Mode you can flash the Boot partition :

fastboot flash boot boot.img

- Once this is done make sure that on the top of the screen START is selected with the Volume Up/Down Buttons and then press the Power Button to boot the phone!

If everything has been done correctly your phone should start Ubuntu Touch for the first time and show the "Initial Setup" screen :)

Quick UPDATING Procedure :

- Reboot to the Bootloader/Fastboot Mode

- Boot TWRP :

fastboot boot twrp.img

- Flash System Partition part of Ubuntu Touch :

adb push ubuntu.img /data

- Reboot the phone by choosing "Reboot System" in the Reboot sub-menu of TWRP

And you should be running the new build instead of your old one! :)

Quick Fix for Front Camera not working :

- Download this vendor.img file : https://mega.nz/file/GowBCDAT#RU1O3-Jcl7xvMyaON7aAtDaXqw42Oe39E8cRoJldiyw

- Reboot to Bootloader/Fastboot Mode

- Then flash the file as following :

fastboot flash vendor vendor.img

Quick Fix for Screen Brightness Slider not working :

- Open Terminal

- And follow these instructions =>

Got any questions or need help with something that I have not covered enough or simply got stuck somewhere : Let me know!

I will create a Working/Not Working Overview in a seperate post once I have a bit more experience with the ROM and I just got notified that Ubuntu Touch 20.04 LTS Focal OTA 2 has been released so I need to update my phone for the first time too! :)

Disclaimer :

- This HowTo/Guide/Tutorial has taken me about a week to gather all required information about the files/images/TWRP version that's required for the procedure and was entirely written from the top of my head as they say so it could contain small mistakes here and there !!

- I am not responsible for any kind of damage to your phone or other hardware/software/etc.

- However the OnePlus 7 Pro is basically UNBRICKABLE thanks to Qualcomm EDL Mode in which it can always be booted to recover the phone and flash it with any desired Android OxygenOS Release ;)