Oneplus 3/3T



  • This is a port of Ubuntu Touch for the Oneplus 3 and the Oneplus 3T.

    Sources:
    Kernel:
    https://github.com/Vince1171/android_kernel_oneplus_msm8996
    Device:
    https://github.com/Vince1171/android_device_oneplus_oneplus3
    Halium:
    https://github.com/Halium/halium-devices/blob/halium-7.1/manifests/oneplus_oneplus3.xml
    Status
    Working:

    • Audio
    • Calling
    • SMS
    • 4G
    • Wifi (sometimes requires a reboot)
    • GPS
    • Vibration
    • Orientation sensor
    • Anbox

    Missing:

    • Video recording/decoding
    • Bluetooth
    • Flash light
    • ADB/MTP
    • Libertine
    • camera
    • fingerprint

    Warning
    There is a regression with the latest release, due to apparmor, calls don't work

    Install:
    NOTE: As the op3/3T aren't community devices yet, the install process may be a little "non-noobie-friendly"

    • Install twrp on your device ( Official TWRP Site ), wipe all partitions and make sure all partitions are ext4
    • Download the latest precompiled system.img and halium-boot.img from here
    • Download the JBB's halium install script
    • Download either the regular rootfs or the Edge one
    • While on TWRP: halium-install -p ut the_rootfs_you_choose.tar.gz system.img
    • While on TWRP: adb shell 'mkdir /a; mount /data/rootfs.img /a; echo manual | tee /a/etc/init/rsyslog.override; umount /a; sync'
    • While on Fastboot: sudo fastboot flash boot halium-boot.img
    • Then reboot
    • Enjoy


  • Excellent news! Thanks so much for your work on this! So, just to check, camera and bluetooth are currently not working?

    Best regards,
    Steve Berson



  • I am trying to install this on a oneplus 3 . None of the steps throws an error and still the final boot is not successful. It just "hangs" displaying "1+" logo and "powered by android". What did I miss? Is there anything I need to do that you didn't mention? Neither regular nor edge is working. Both just "hang" after final reboot.

    Any help is appreciated. Has someone been successful on this?



  • @vince1171 can you please add also a paragraph "Missing" after Working, so that people can easily see that. Otherwise there will be still more questions 😉
    thx



  • Just wanted to say that it works for me 🙂 Thanks for the great work you've put into this - if I can be of any help, I would love to. I've done some Linux development before.



  • @jussihi This may help you in that case https://ubports.com/meet-the-community



  • @jussihi thanks for you response. Are you using a Oneplus3 or a Oneplus 3T? I use a Oneplus3 . Did you use any particular version of TWRP? Not sure how much it matters but what version of OxygenOs did you have on it before? I had the latest one 9.0.5 .
    Also - does the host OS version matter?



  • After unsuccessfully trying multiple times, I not only wiped all partitions, but also formatted Data Partition in the first step. This seems to have made the difference.

    @vince1171 Ubuntu-touch is successfully installed on my Oneplus3. 👍 Cheers👍

    🎩



  • @Flohack done 🙂



  • Ooh looks a little breaky .
    Will give it a try soon in that case☺



  • The Oneplus3 now appears in the installer https://github.com/ubports/ubports-installer


  • Administrators

    Call now do work on the latest release 🙂
    also camera is somewhat working on arm64.

    And you can now install it with the installer 😄



  • Trying the installer with Oneplus3T but it cannot get past the 'Sending...' screen so far. I've waited for 30 mins or so. That should be enough, no?

    Edit
    The phone is showing Android Recovery screen with options: 'reboot system now', 'ubuntu actions, and 'android actions'. Screen is otherwise black (there was a flash of colour that looked as though it might have been the android robot lying down, but it was only there for a fraction of a second). Phone getting quite warm.

    Previous experiences suggest I should go and get a better cable!



  • @ziggutas I had to reboot into the recovery again before it would send.



  • @PhoenixLandPirat Ah, thanks for that. I'll give it a go.Unfortunately my laptop has just packed up (I'm typing on pc) and other matters are calling for attention so I might have to leave this until tomorrow.

    Will report back later...



  • @mariogrip have you test calling to and from Op3? On Vince's port the calling on to Op3 is broken(sound and mic don't work, screen won't wake up only upon pressing power button) Calling from Op3 works fine.
    I'll test this arm64 version.



  • @ziggutas said in Oneplus 3/3T:

    Trying the installer with Oneplus3T but it cannot get past the 'Sending...' screen so far. I've waited for 30 mins or so. That should be enough, no?

    Edit
    The phone is showing Android Recovery screen with options: 'reboot system now', 'ubuntu actions, and 'android actions'. Screen is otherwise black (there was a flash of colour that looked as though it might have been the android robot lying down, but it was only there for a fraction of a second). Phone getting quite warm.

    Previous experiences suggest I should go and get a better cable!

    Hi all! Having same issue, stuck at this step. Device - OnePlus 3T, trying to install from Windows version of UBPorts installer. Any advice or instructions please? 🙂

    P.S. Also tried to 'reboot to recovery as PhoenixLandPirate suggested - did not help.



  • @mariogrip rather a nice experience to install on Op3t, well done, thanks for your hard work Marius.
    How to enable FLASHLIGHT? Should I install: sudo ubports-qa install PR-22
    ?



  • @pglushkov same problem here....



  • Today tried again, but this time running UBPorts Installer on Ubuntu 18.04, deb-version. Still have same result. UBPorts stdout says:

    peter@peter-pg-lt-gps:~$ sudo ubports-installer 
    Gtk-Message: 16:10:56.149: Failed to load module "canberra-gtk-module"
    info: Welcome to the UBports Installer version 0.4.5-beta!
    Pug interceptor registered successfully
    info: Downloaded file 1 of 1
    checked: keyring-4c4e7ef380ebcfa2c31084efa199138e93bfed8fc58aa3eb06bdf75a78af9b57.tar.xz true
    checked: version-5.tar.xz true
    checked: device-b4422d1593b76acedd819149ddb24b505a9cc345c6d73cf8094996a926b44ca1.tar.xz false
    checked: ubports-ab82f71538d423d2ede781431e719918bb0c3450f148c230407f58083c9b7e77.tar.xz true
    checked: device-b4422d1593b76acedd819149ddb24b505a9cc345c6d73cf8094996a926b44ca1.tar.xz true
    info: Good bye!
    

    UI of installer still says 'Sending ...' endlessly, device stays at this 'reboot system now'/'ubuntu actions'/'android actions' menu. No reboots could help, nor to 'recovery', nor to 'fastboot'.

    Any advice? Thanks!


Log in to reply