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
Lakotaubp last edited by
/data/misc/adb/adb_keys thanks to @advocatux
I've removed /data/misc/adb/adb_keys from the device (
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...."
a note that the topic in the OP has more details, but
adb backupis completely broken for me on pureOS (debian).
Thanks for the info on adb_keys location @Lakotaubp !