UBports (Ubuntu Touch) GSI OnePLus 7 Pro

Search This thread

dtgo

Senior Member
Jun 18, 2007
127
12
In theory yes but you might need to compile Lineage removing the force encrypt stuff, I'm assuming modifying the fstab is enough.
The recovery I'm using already disables encryption

So I think I'm fine there

I'd like to try this but I don't want to use all my 256 gb on UBtouch
 
  • Like
Reactions: ram9200

dtgo

Senior Member
Jun 18, 2007
127
12
Sweet yeah, do let me know how it goes! I'd love to hear about it.
so guys

i got the dual boot to work but of course when you are in UBtouch there is no way to switch the slots so you have to manually turn off and get to fastboot from there

its really clunky if you have no PC readily available
 

ub_op7

Member
May 31, 2021
6
0
If I decide to install this, can I revert back to android if needed?
Also are instructions available to read ? I don't have discord account and not planning to create one.
 

Techwizz01

Member
Apr 27, 2019
11
5
If I decide to install this, can I revert back to android if needed?
Also are instructions available to read ? I don't have discord account and not planning to create one.
We really only have them on Discord, but the basic instructions are
1. Download and install a stock Oxygen OS firmware of version 9
For Global: https://sourceforge.net/projects/fastbootroms/files/OnePlus 7 Pro/9.5.13-GM21AA-OnePlus7ProOxygen_21.O.16_OTA_016_all_1908281716_b2bb5-FASTBOOT.zip/download
For EU: https://sourceforge.net/projects/fastbootroms/files/OnePlus 7 Pro/9.5.11-GM21BA-OnePlus7ProOxygen_21.E.15_OTA_015_all_1907281610_ce0f1a6b7c8-FASTBOOT.zip/download
2. Next make sure your firmware actually boots. Next you need to install Lineage 16 which can obtained from http://dlr.ovh:8080/guacamole/lineage-16.0-20200325-nightly-guacamole-signed.zip or https://archive.org/download/lineag...ge-16.0-20200325-nightly-guacamole-signed.zip
3. Download the latest Halium-boot build, latest version as of now is here https://drive.google.com/file/d/1PWmTUbDbysXLDBiIfZXd4OKcJAcw4KT-/view?usp=drivesdk
4. Download latest system.img from here https://drive.google.com/file/d/18PjF-lcTZ5XZgu6nOMDi1-r4ZNtOxZUp/view?usp=drivesdk
5. Download Halium-install https://github.com/JBBgameich/halium-install
6.Download the latest rootfs from UBPorts Foundation https://ci.ubports.com/view/all/job/xenial-hybris-android9-android10-rootfs-arm64/
7. Place the rootfs and system.img in the halium-install folder
8. Boot TWRP on the phone, I use this TWRP https://sourceforge.net/projects/ma...uacamole-unified-Pie-mauronofrio.img/download
9. Run `./halium-install -v -s -p ut rootfs.tar.gz system.img`, if you get errors with qemu you can skip the extra parameters.
Okay have fun!
Oh and to revert to Android just download the Oxygen OS 11 firmware.
 
Last edited:
  • Like
Reactions: ub_op7

ub_op7

Member
May 31, 2021
6
0
I finally decided to install ubports.
Installed LineageOS 16 without any issues, however I can't seem to be able to proceed further.

From LineageOS 16 -> Rebooted to Bootloader ->
Tried running
fastboot boot twrp.img (3.3.1.76 Pie unified image)

This errors out with:
Unknown command.

Do I need to flash some other image from stock before being able to boot in twrp?

Thanks
 

ram9200

Senior Member
Mar 6, 2010
1,615
2,568
I finally decided to install ubports.
Installed LineageOS 16 without any issues, however I can't seem to be able to proceed further.

From LineageOS 16 -> Rebooted to Bootloader ->
Tried running
fastboot boot twrp.img (3.3.1.76 Pie unified image)

This errors out with:
Unknown command.

Do I need to flash some other image from stock before being able to boot in twrp?

Thanks
Rename recovery twrp.img and try again?
 
  • Like
Reactions: ub_op7

ub_op7

Member
May 31, 2021
6
0
Here is kind of rundown of steps I've done (before renaming twrp to twrp.img)
1. I was originally on HavocOS (Android 9 based), I flashed Android 9 with fastboot.
2. Flashed LieageOS after Android 9 (made sure stock firmware boots before flashing Lineage)
3. At this point I couldn't do fastboot boot, so flashed stock firmware again through fastboot booted it and let it update to stock 10.
4. With stock at version 10 I could fastboot boot, stock FW link in OP is broken (at least for me)
5. Went back to stock FW 9 through fastboot, then flashed FW9 again through system update -> local upgrade

At this point I renamed twrp to twrp.img.
1. flashed LieageOS, and still have fastboot boot option
2. Tried rootfs method, but that didn't work (I think I need to run as root, I'll try again later)
but want to check something:

In case of rootfs method, do I still flash halium-boot.img? Or does halium-install takes care of it?

And finally sometimes (happened twice) phone gets stuck at Booting screen (can't even access fastboot at this point), is there something specific that I can do about it? Both times I got it working after sometime just pressing volume and power key
 

Top Liked Posts