Oneplus 3/3T



  • @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!



  • Could all of you with flashing problems please do the following...

    You will need a computer with the fastboot package installed.

    1. Boot to bootloader
    2. Run the command fastboot format:ext4 cache && fastboot format:ext4 data
    3. Attempt installation again

    It appears the problem is ADB trying to read a file from the data partition, failing, and simply blocking all connections.



  • @UniSuperBox Thanks for the instructions; will try this in the next few days and post back here with the outcome.


  • Administrators

    @UniSuperBox said in Oneplus 3/3T:

    Could all of you with flashing problems please do the following...

    You will need a computer with the fastboot package installed.

    1. Boot to bootloader
    2. Run the command fastboot format:ext4 cache && fastboot format:ext4 data
    3. Attempt installation again

    It appears the problem is ADB trying to read a file from the data partition, failing, and simply blocking all connections.

    Please note this will DELETE all data on the device.



  • @mariogrip said in Oneplus 3/3T:

    @UniSuperBox said in Oneplus 3/3T:

    Could all of you with flashing problems please do the following...

    You will need a computer with the fastboot package installed.

    1. Boot to bootloader
    2. Run the command fastboot format:ext4 cache && fastboot format:ext4 data
    3. Attempt installation again

    It appears the problem is ADB trying to read a file from the data partition, failing, and simply blocking all connections.

    Please note this will DELETE all data on the device.

    Thank you @UniSuperBox and @mariogrip for your replies!

    Tried to follow your instruction from above, two issues:

    1. When trying to format 'data' partition, fastboot returns error:
    D:\Tools\platform-tools>fastboot format:ext4 data
    Warning: data type is , but ext4 was requested for formatting.
    fastboot: error: Couldn't parse partition size '0x'.
    
    1. I seem to have 'userdata' partition on my device and formatting it to ext4 goes successfully.

    After that, installation procedure does not seem to progress, again stuck at same point. Mb something should be done with this 'data' vs 'userdata' situation?



  • @UniSuperBox said in Oneplus 3/3T:

    Could all of you with flashing problems please do the following...

    You will need a computer with the fastboot package installed.

    1. Boot to bootloader
    2. Run the command fastboot format:ext4 cache && fastboot format:ext4 data
    3. Attempt installation again

    It appears the problem is ADB trying to read a file from the data partition, failing, and simply blocking all connections.

    Ran the command and noticed the word FAILED at the bottom of the output. Is that a problem?
    Tried installer again, but still stuck on 'sending files' step of the process after 40 mins.
    Phone will not boot into android anymore at the moment; it doesn't get past the spinning red and white dots. I'm not concerned about this necessarily...maybe I should be?

    3dba86dd-862c-4da9-b0da-337759883b5c-image.png file:///home/chris/Pictures/ubp-installer6Nov19,07-32am.png



  • @ziggutas try the same command but with userdata instead of data 🙂



  • @vince1171 said in Oneplus 3/3T:

    @ziggutas try the same command but with userdata instead of data 🙂

    Hi!
    Please look at my message just above the one of @ziggutas . I tried to format 'cache' and 'userdata' partitions separately - it did not help.



  • @vince1171 Thank you kindly for that. The modified command seemed to complete its task. Ran the installer again and it got a bit further this time, but errored out just after the 'sending files' stage.

    There was the 'Yikes' pop up window with details but I didn't know how to save the info, sorry. Screenshot of Terminal might help?

    Edit: I tried to carry on for 2nd time but it got stuck on 'sending files'

    1f8fd04c-2a37-45c7-bb74-25dfaf9ea916-image.png file:///home/chris/Pictures/ubp-installer,6Nov,16-26pm.png



  • For those getting

    "fastboot: error: Couldn't parse partition size '0x'."

    I fixed this by dropping into TWRP recovery and fixing /data. I had messed up /system as well and needed to fix that too 😞

    From TWRP I set /data to ext4 and then ran the installer. The files were able to send successfully and the installation completed.

    The other nice thing about using TWRP was that it has a terminal built in so I was able use df to confirm that the partition was correct.

    cf86fff5-2ef9-46f0-b581-38e075ab4401-image.png



  • Tried all the suggestions and am also getting stuck at "sending". By flashing twrp and switching data to ext4 as suggested above, I was able to format: ext4 cache and userdata without errors. but the first run of the installer I get the Yikes! page, immediately running the installer again i get stuck at sending while the phone shows fastboot mode. I waited 15/20 minutes.



  • I was able to get it to install now, not sure I could reproduce.



  • Happy to report successful installation to edge channel on OP3T via ubp installer 0.4.6-beta! I look forward to trying this phone alongside my daily driver BQ E4.5.

    Just for the record, I was not intending to run the installer again but I was playing with the phone (not connected to laptop) and trying to get to the Android Recovery screen because of being unable to get the phone to boot into anything at all

    In all previous attempts at pressing vol up & power a different screen would come up: offering Fastboot and other options. On selecting say, Recovery, another screen would come up saying 'untrusted device; oem unlocked' and would prompt a button press which would open yet another window offering similar options, ie restart,recovery, pwr off etc. Difficult to remember precise steps but quite often nothing would happen apart from going back and forwards between these two screens. Turning off the device seemed to be all that would work. Previously the Android Recovery screen only presented when connected to and running the installer.

    However, by constantly selecting recovery on both of these screens by about the fourth or fifth cycle the Android recovery screen presented itself. EDIT: Selected 'Android Actions' and 'Factory Reset'. Ultimately failed with an error...something to do with fstab. This looked promising enough for me to get out of bed and hook the phone up to the installer...where I noticed a new version. First run almost worked. Second run did the trick.

    Happy Days. I knew it would work out eventually, but this quickly was a surprise indeed! Well done you masters of magic at ubports!! Onward and upwards!!



  • Hi all!

    Following advice from @banderson5586:

    1. flashed TWRP to recovery partition using fastboot
      'fastboot flash recovery <twrp.img>
      where twrp.img was downloaded from https://twrp.me/oneplus/oneplusthree.html
    2. rebooted phone if 'recovery' mode and then using UI of TWRP I did the following
    • fixed 'cache' partition
    • fixed 'data' partition
    • formatted and fixed 'system' partition
    1. after that installation with ubports-installer v.0.4.6 could be finished successfully.

    Now all seem to work finally!

    Important step was to format and fix the 'system' partition, before I did that, only fixing 'cache' and 'data' partition did not help - installation always stalled somewhere in the middle of 'sending' phase, when Ubuntu OS is supposed to be flashed on the device. After doing manipulations with 'system' partition, finally all finished successfully.

    Thank you everybody for your comments and shared experience! And special thanks to UBPorts developers who make it all possible in the first place!


Log in to reply