[OnePlus 7 Pro ROMs, Kernels, Recoveries, & Other D] ram9200:
https://xdaforums.com/t/gsi-arm64-a-ab-ubuntu-touch-ubports.4110581/

Thanks @nero355 for this write up!

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/-/jobs/5357385475/artifacts/browse/out/

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 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- adb push ubuntu.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 =>

Latest update fixes this ∆!

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

Downgrade 11 to 10: https://oxygenos.oneplus.net/OnePlu...all_2010191035_downgrade_22b70083812944e2.zip

RyanAM / oneplus-seven-halium-10.0 · GitLab

GitLab.com

gitlab.com

Sources: https://gitlab.com/RyanAM