How to disable authorization on Android?
On my device, when I connect it to the system, a pop-up message appears asking for authorization. Only after I resolve can I use adb. I am building my own system and the display does not fit properly, so I need to use adb for debugging, but since adb is unauthorized I cannot use it. Since the display is not working, I cannot see the pop-up message. Is there a way that I can turn off this authorization? I found out about some disable-verity option but couldn't find it in adb 1.0.32. Any idea on this?
source to share
adb disable-verity is available from this version:
$ adb version
Android Debug Bridge version 1.0.32
Revision 09a0d98bebce-android
To update adb on Linux, you could
1. Download android-sdk_ [latest version] -linux.tgz from here:
https://developer.android.com/studio/index.html#downloads
2. Extract the file:
$ tar -zxvf android-sdk_[latest-version]-linux.tgz
3. Download the tool packages:
$ sudo android-sdk-linux/tools/android update sdk -t platform-tools --no-ui
4. Set the downloaded default adb version:
$ sudo mv android-sdk-linux/platform-tools/adb /usr/bin/adb
Now you can execute $ adb disable-verity
source to share