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

    [HowTo][OPO]Fix MTP driver permissions

    Scheduled Pinned Locked Moved Support
    flo hacks
    22 Posts 9 Posters 8.2k Views 2 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.
      • T Offline
        trainailleur
        last edited by trainailleur

        Florian, this works well. Thank you for the fix.

        /a would not umount, giving me the error umount: can't umount /a: Device or resource busy I couldn't see easily what was keeping it busy, so I just tossed umount the -l (lazy) flag, and it worked fine.

        I also had to issue a CTRL-D between steps 10 and 11.

        After reboot, MTP worked fine.

        Thanks again!

        Stephen

        flohackF 1 Reply Last reply Reply Quote 0
        • flohackF Offline
          flohack @trainailleur
          last edited by

          @trainailleur Good I updated my guide!

          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

          1 Reply Last reply Reply Quote 1
          • A Offline
            andybleaden
            last edited by

            Well this was really really easy to do.

            I take my hat off to you Florian for taking the time to sort this guide out and write it up.

            I followed it and ...yes it is idiot proof!

            It worked.

            The only change I would make is to insert the word "text" in 7 between favourite and editor

            Now my OPO rebooted and mounted automatically

            Yippeeeee

            I got my Nexus 4 then 5 then FP2 then one plus cooking on #UBUNTU via @ubports and have run it on Op3T Op6t OP5T Pinephone/Pro Pine Tab and Pinebook Pro and my favourite OnePlus One.

            1 Reply Last reply Reply Quote 1
            • R Offline
              rocky58
              last edited by

              After typed adb reboot recovery, I obtain this message:

              error: device offline

              Known OPO error never resolved

              1 Reply Last reply Reply Quote 0
              • G Offline
                GT
                last edited by

                Thanks @Flohack, your HowTo worked perfectly.

                Step 1 did not work on my OPO, so I had to put it manually into recovery mode (Powerbutton + volume down for a few seconds (while it is switched of)). Then steps 2 - 12 went smoothly. Thanks for the HowTo!!!

                @rocky58: If adb reports "device offline", then it sometimes helps to simply wait for a few seconds or to unplug and plug in again the USB cable. This worked for me.

                1 Reply Last reply Reply Quote 1
                • R Offline
                  rocky58
                  last edited by

                  Okkkkkkkkey... all worked fine. At last I can mount my OPO using my Ubuntu PC.
                  Thanks @Flohack for the job and also @GT for the suggest.

                  1 Reply Last reply Reply Quote 1
                  • advocatuxA Offline
                    advocatux @flohack
                    last edited by

                    @flohack helping a user in the UB Welcome & Install Group he thought he have to type all the commands on the phone screen. So maybe is a good idea to add the step Connect the PC or laptop to the phone using a USB cable or something like that.

                    Thank you for your guide!

                    flohackF 1 Reply Last reply Reply Quote 0
                    • flohackF Offline
                      flohack @advocatux
                      last edited by

                      @advocatux OK thanks added a hint πŸ™‚

                      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                      1 Reply Last reply Reply Quote 0
                      • BlueKennyB Offline
                        BlueKenny
                        last edited by

                        Thank you for this fix πŸ™‚

                        Fairphone 5
                        PinePhone
                        Nexus 7 Flo

                        1 Reply Last reply Reply Quote 0
                        • advocatuxA Offline
                          advocatux
                          last edited by

                          @Flohack this thread needs the "FLO HACKS" tag to find it easier.

                          flohackF 1 Reply Last reply Reply Quote 0
                          • flohackF Offline
                            flohack @advocatux
                            last edited by

                            @advocatux Done xD

                            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                            1 Reply Last reply Reply Quote 1
                            • ? Offline
                              A Former User
                              last edited by A Former User

                              THX Flo @Flohack ! that worked like a charme !!
                              I hope to get some more knowledge about that fancy OPO with this keen support !
                              GREATGREATGREAT πŸ˜‰

                              1 Reply Last reply Reply Quote 0
                              • ? Offline
                                A Former User
                                last edited by

                                @Flohack please take the Note, I just learned, that you have to install the

                                [[HowTo] [OPO] Fix MTP driver permissions](link url)

                                before attemptig to update/upgrade with the ubports-installer , because this is mandatory.
                                the installer will not be successfull whatsoever before taking care for that solution at the
                                affected Devices !!

                                advocatuxA flohackF 2 Replies Last reply Reply Quote 0
                                • advocatuxA Offline
                                  advocatux @Guest
                                  last edited by

                                  @pet_hh don't leave us hanging! What do we need to install? ^_^

                                  1 Reply Last reply Reply Quote 0
                                  • flohackF Offline
                                    flohack @Guest
                                    last edited by

                                    @pet_hh Hmm this is strange, adb should work, only MTP would be broken. We shall test!

                                    My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                    1 Reply Last reply Reply Quote 0
                                    • N Offline
                                      nutzernam
                                      last edited by

                                      I have a problem with this HowTo:
                                      When i start "abd reboot recovery" i come to the Recovery Screen.
                                      But what next?
                                      Choose one of the options? Which one? When i try to access the phone by "adb shell" the terminal shows "~ # " and not "...@phablet..."
                                      Since there is a warning ( it can damage your system files! ) i want to be sure what to do next:
                                      Choose an option or continue in the terminal?

                                      flohackF advocatuxA 3 Replies Last reply Reply Quote 0
                                      • flohackF Offline
                                        flohack @nutzernam
                                        last edited by

                                        @nutzernam Dont choose any options in recovery. Just let it sit there and type adb shell πŸ˜‰

                                        My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                        1 Reply Last reply Reply Quote 0
                                        • flohackF Offline
                                          flohack @nutzernam
                                          last edited by

                                          @nutzernam And yes there is no phablet user, you are in recovery and are root user. Take care πŸ˜‰

                                          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                          1 Reply Last reply Reply Quote 0
                                          • advocatuxA Offline
                                            advocatux @nutzernam
                                            last edited by advocatux

                                            @nutzernam when your phone is on that recovery screen you don't have to select anything there, just use your terminal.

                                            When i try to access the phone by "adb shell" the terminal shows "~ # " and not "...@phablet..."

                                            With your phone connected, type first adb devices in your PC to see if adb recognizes your OPO. That command also starts the needed server if it isn't running already. If it does, follow the instructions carefully. If it doesn't maybe there's a problem with the usb cable, or the usb port you're using, etc

                                            Edit: @Flohack was quicker πŸ™‚

                                            1 Reply Last reply Reply Quote 0
                                            • N Offline
                                              nutzernam
                                              last edited by

                                              @advocatux and @Flohack thank you ! There were no further problems and i can acces my OPO in the filemanager. Now i feel like a highclass-hacker although i have absolutly no clue what i have done to my phone πŸ™‚

                                              flohackF 1 Reply Last reply Reply Quote 2
                                              • First post
                                                Last post