UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    How to enable ACA (OTG + charging) on Oneplus5 Ubuntu Touch 20.04

    Scheduled Pinned Locked Moved 20.04 Focal Fossa
    oneplus 5aca modeotg + charging
    8 Posts 3 Posters 846 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • A Offline
        Albert 0
        last edited by

        Hi, I just successfully flashed my old OnePlus 5 with Ubuntu 20.04 using UBPorts installer.

        But I can't make my phone to be charged while reading a USB drive. I tried using Anker powered hub, but the phone can either charge or read external drive, but cannot do both at the same time.

        How should I enable this ACA (Accesory Charging Adaptor) mode? 🙏 Thank you.

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi @Albert 0
          last edited by

          @albert-0 What happens when you charge while a flash drive is mounted? It gets unmounted?

          I don't usually use flash drives but I've tried external display and/or mouse/keyboard and charging usually just works even on old devices like the Nexus 5.

          A 1 Reply Last reply Reply Quote 0
          • A Offline
            Albert 0 @kugiigi
            last edited by

            @kugiigi
            I tried a few different steps:

            1. I plug the power & external drive to the hub, then plug in the hub to phone (only power works)
            2. Only plug ext drive to hub, hub to phone. At this point the ext drive works, but later I plug in the power to the hub, it doesn't charge and just continue reading the ext drive.
            3. Only plug the power to hub, hub to phone. The charging works fine. But after I plug in ext drive, it just ignores the drive, and continue charging only.
              Basically whatever it does first will stay and ignore the rest. I tried with LAN cable too since the anker hub also has the socket for Ethernet port. It behaves the same as the ext drive.

            I suspect that the hub was broken, but nope, it works on my macbook and Samsung Galaxy phone.

            K 1 Reply Last reply Reply Quote 0
            • K Offline
              kugiigi @Albert 0
              last edited by

              @albert-0 I'm gonna test it on my devices but I have no OnePlus device. I've heard OTG limitations in OnePlus but let's see 😄

              A 1 Reply Last reply Reply Quote 1
              • A Offline
                Albert 0 @kugiigi
                last edited by Albert 0

                @kugiigi thanks a bunch 😁 Btw, what other devices that you can confirm can do that? I may just try and find second hand phones.

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  kugiigi @Albert 0
                  last edited by

                  @albert-0 I tried it on my Fxtec Pro1-X and Fairphone 4. They seem to work fine. I don't have a FAT32 drive though so I just used the external storage app to test if the drive is read.

                  A 1 Reply Last reply Reply Quote 0
                  • A Offline
                    Albert 0 @kugiigi
                    last edited by

                    @kugiigi thankyou for your kind help. I think I've figured out why after reading so much, I found out that not all Android devices support charging and OTG at the same time, some mentioned the value of resistor on certain pins.
                    https://forum.xda-developers.com/t/android-tab-which-supports-otg-and-charging-at-the-same-time.3896766/
                    Anyway, thank you again for your help Kugiigi

                    K 1 Reply Last reply Reply Quote 1
                    • K Offline
                      kristatos @Albert 0
                      last edited by

                      @albert-0 On my Vollaphone charging and using mouse/keyboard at the same time via a USB-hub is also working.

                      BQ Aquaris E4.5 (UT 16.04)
                      Vollaphone (UT 20.04)

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post