Where does UBports 'remember' adb authorizations?
-
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
-
/data/misc/adb/adb_keys thanks to @advocatux
-
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
-
a note that the topic in the OP has more details, but
adb backupis completely broken for me on pureOS (debian).
https://forums.ubports.com/topic/1725
Thanks for the info on adb_keys location @Lakotaubp !
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