How I installed on the OnePlus 6t (long read)
-
Summary: After a long tortuous string of failed attempts to simply install using the UBPorts installer on my OP6t, I finally got it installed using a more manual method. My install steps were as follows:
- 1: Downgrade to Android 9 using OP's MSMTool. (T-Mobile)
- 2: Request and obtain Unlock code bin file from OnePlus corporate.
- 3: Use unlock code to unlock bootloader.
- 4: Manually install UBPorts resources for OP6t using TWRP
- 5: Manually install outdated boot image for OP6t using TWRP
- 6: Use UBPorts installer on phone with UBPorts to have OTA-4 installed
The longer story for anybody that wants or needs it. Resource links at the bottom.
The most important item in all of this, for me, was the MSMTool. When I originally got a Pixel 3aXL and installed UBPorts on it the process was so simple and so easy that I did not expect the brutal experience I found when I obtained a OP 6t. I have easily bricked this phone close to 10 times trying and failing to attempt to install using pretty much just the UBPorts installer without already having UBPorts on the 6t.
The first time I tried installing using the official installer I didn't think anything of it when I got the message that "sdm845" is a "Device not supported" since the 6t is listed on the official list of supported devices. The page itself says "Developers from the community built this port and reported full functionality." and it also says on this page (link 1) "Easy install with UBports installer" - Wrong. Wrong wrong. I learned the hard way. If you get the message that sdm845 is not supported and you attempt to install, it WILL brick your phone. Maybe its just me, but I see a lot of reports both on Github/Gitlab as well as this forum about the sdm845 error message so I think some others can relate to my experience.
After the first brick happened MSMtool (link 2) became my golden ticket to unlimited 1-UPs. After getting the unlock bin from One Plus, I tried manually installing in Fastboot, tried manually installing in recovery, manually with the phone booted. Nothing would work. All I got for my efforts was brick after brick after brick after brick. So I sought out videos online that might shed clues. I kept seeing people that said they had it working. What mysterious magic were they conjuring to do this? - because I just was not seeing it. Someone out there has this working. I know I can get it to work and I've got MSMTool so I can do it again and again.
Geotechland really filled in most of the gaps I needed (link 3) and overall it is a great video. But where the video is most crucial, that information is missing. Around the 8, 9, 10 minute mark of the video does not show the final intricate steps taken to do the install. Geotechland links to a Github page for the 6t (link 4), which is where I get my original files from. These files work and result in a successfully working UBPorts phone. I first used the target.zip as specified in the instructions, then a short while later used the halium-boot.img file.
In order to understand TWRP I watched this short video (link 5). Also bricked the 6t twice on this, mainly just getting the order of operations wrong attempting to work with slot a and slot b. The most important thing is do not install TWRP but only use it "live". Now maybe I could learn how to install TWRP and also install UBPorts, but I do not care to do that. I only want rid of Android and only want UBPorts installed, so I also quickly gave up on the slot a / b stuff. I don't need that. Using TWRP "live" is important to simplifying the install process in all of this. Don't install TWRP.
Finally, the steps listed on the OP6t Github page below are pretty much correct. (link 4) First, Android 9, then unlocking, then TWRP, then old UBPorts images from their offerings.
I do not know exactly what version of UBPorts this Github has on it, but I suspect it's either 15.04 or 16.04. And its very unstable, or at least it was for me. Once UBPorts is installed though, just enable developer mode and the UBPorts installer on the computer no longer fails during installation causing a brick. I did still have to do a manual install and select the OP6t out of the list. I used installer version 0.10.0.
Now I have 20.04 OTA-4 on the OnePlus 6t.
I tried to be thorough not just for the sake of others, but I may need this information again myself later as long as the installer is not totally supportive of the OnePlus 6t. Perhaps it's because I have the T-Mobile version, and maybe the installer works fine with non-T-Mobile versions of this phone. I can only speculate what the issue is.
I apologize if I got excessively wordy, I basically did a brain dump.
Link 1: Supported devices: / 6t
https://devices.ubuntu-touch.io/
https://devices.ubuntu-touch.io/device/fajitaLink 2:
OnePlus MSM Download tool for One Plus 6t / T-Mobile
https://xdaforums.com/t/tool-t-mobile-oneplus-6t-msmdownloadtool-firmware-9-0-13-8-9.3868916/Link 3:
How To Install Ubuntu Touch On A Oneplus 6/6T
https://www.youtube.com/watch?v=RKv5uM694soLink 4:
https://github.com/ubports-oneplus6/documentationLink 5:
Unlock Bootloader, Install TWRP, and Root OnePlus 6T
https://www.youtube.com/watch?v=3A7BESc1-7g -
@ezst036 Wow, I found the OP6T one of the easiest phones to install! I'll put the next bit in bold to help others:
If the device is at the bootloader (fastboot mode) and connected and you start the installer, the installer will pick it up as example "sdm845". If you know which device you have manually select it from the drop down list in the installer and follow the on screen instructions.
The bootloader must be unlocked to install Ubuntu Touch and if the instructions indicate a specific version of Android must installed before, install that version, boot into it and set it up, enable developer mode and ADB/USB debugging before starting the installer. The reasons for the specific version of Android has to be installed is for things like Vendor BLOBS, specific bootloader, specific kernel.
To install UT on the OP6T I have always had to downgrade the Android version to Android 9 using this file
Fulldowngrade_wipe_18801_181024_2027_user_MP2_release.zip
This can be obtained from here. The link is still active at this date (11th February 2024).
Download it to the root of the device i.e. connect the device to the PC and set the USB connection to file transfer and copy the zip (STILL zipped) file to the device - NOT in a folder (i.e. the root of the device). Once done then go to Settings, System, System updates and with the cog symbol on the top right, choose Local Install and let it do it's thing. It will take about 15 minutes, reboot and leave you at the Android set up screen.Set up Android again, and enable Developer options and ADB?USB debugging. Reboot to the bootloader.
Unlock the bootloader using fastboot oem unlock.
Reboot the device and set Android up again, enabling ADB/USB debugging.
Connect it to the PC and run the Installer.
The installer will then reboot the device and do most of the work for you. You will at one stage have to boot into recovery, the installer will do the rest.
@ezst036 You may have had issues due to the device being T-Mobile, but I have had many locked devices that I have installed UT to and it was only SIM locked, the UT install always went through.
If the device reboots and you get a message saying "Qualcomm Crash Dump", power off the device, charge the battery for a bit and boot it up again.
The stability of the device is not quite there yet, mainly due to the issue across devices with UT draining the battery. There is an app called BatterySaver for 20.04 by Lionel Duboeuf that will help.
I have no bricked devices due to installing UT (yet)!