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

    Where does UBports 'remember' adb authorizations?

    Scheduled Pinned Locked Moved Support
    4 Posts 2 Posters 800 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.
      • C Offline
        circ
        last edited by

        Where/ how does UBports store auth info for adb? I remember having to tell the device that the host it was connected to was trusted early on in the install/early boot, but I want to try to remove any auth that might be on the device now, to try to force a re-authorization process....

        I have tried deleting the adb key/pub in ~/.android hoping it require a new auth, but no luck (adb regenerates them)

        I'm tracking down a problem with adb backup from here : https://forums.ubports.com/topic/1725

        LakotaubpL 1 Reply Last reply Reply Quote 0
        • LakotaubpL Offline
          Lakotaubp @circ
          last edited by

          /data/misc/adb/adb_keys thanks to @advocatux

          1 Reply Last reply Reply Quote 4
          • C Offline
            circ
            last edited by

            thanks @Lakotaubp - maybe @advocatux can help my N5 forget my host machine....

            I've removed /data/misc/adb/adb_keys from the device (adb root, adb shell, rm -rf /data/misc/adb/adb_keys).

            • N5 in Recovery mode
            • then plug it in
            adb backup -apk -obb -shared -all -f ./current.ab
            # Now unlock your device and confirm the backup operation...
            
            • momentary flash on UBports recovery screen of "Backup in progress...."
            • sadness
            1 Reply Last reply Reply Quote 0
            • C Offline
              circ
              last edited by

              a note that the topic in the OP has more details, but adb backup is completely broken for me on pureOS (debian).
              https://forums.ubports.com/topic/1725
              Thanks for the info on adb_keys location @Lakotaubp !

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post