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 backup
is completely broken for me on pureOS (debian).
https://forums.ubports.com/topic/1725
Thanks for the info on adb_keys location @Lakotaubp !