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?

+3


source to share


2 answers


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

+2


source


There are at least two versions of ADB.EXE, which should be 1.0.32.

The size and date version below supports the command;

adb.exe 1 011 200 2015-03-24 17:15 -a--



adb <enter>

gives (among others reponses);

adb disable-verity - disable dm-verity checking on USERDEBUG builds

0


source







All Articles