始终在Android上允许ADB吗? [英] Always allow ADB on Android?

查看:139
本文介绍了始终在Android上允许ADB吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以将Android设备设置为自动从任何计算机授权adb?我知道这对安全性来说不是一个好主意,但我需要(如果可能)。

Is it possible for me to set an Android Device to automatically authorize adb from any computer? I know this this is a bad idea in terms of security, but I need if it's possible. Is there a list deep in the Android internals with the RSA fingerprints?

推荐答案

userdebug eng 版本,您可以使用 ro.adb.secure禁用 adb 授权= 0 。或者,如果您的设备已植根,则可以将 adbd 替换为自定义的修改后的不安全版本。

In userdebug or eng builds you can disable adb authorization with ro.adb.secure=0. Or if your device is rooted you could just replace the adbd with a custom modified insecure version.

如果通过任何计算机,您的意思是指您附近的几台计算机-使所有这些系统使用相同的RSA密钥可能会更容易。然后将该密钥保存在设备上会使所有这些系统立即获得授权。

Alternatively, if by any computer you just mean a few computers in your immediate vicinity - it might be easier to make all these systems to use the same RSA key. Then saving that key on the device would make all these systems authorized at once.

这篇关于始终在Android上允许ADB吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆