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 594 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
              • First post
                Last post