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.
      • 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
                                        • flohackF Offline
                                          flohack @nutzernam
                                          last edited by

                                          @nutzernam You just fixed a permission problem for the MTP driver which mounts the storage to the USB host πŸ˜‰ - it will be repaired in 16.04 also...

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

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