大多数人从来没有真正搞砸过他们的Android手机,但如果你曾经尝试过做一些不走寻常路的事情,你可能已经进入了USB调试模式。激活它并不难,但这种易用性隐藏了一个事实,即勾选那个小框时会产生严重影响。让我们看看这个Android功能并权衡使用它的利弊。
什么是 Android USB 调试?
Android USB 调试(Android USB Debugging)模式是开发人员选项(Developer Options)菜单的一部分。这是Android中的一组切换,应用程序开发人员使用它来确保他们的应用程序正常运行并在出现问题时诊断问题。
通常,您的Android手机会对通过(Android)USB连接到它的设备有严格的规定。它通常不允许连接的设备修改它、给它命令或以其他方式接管设备的功能。
当您将手机切换到USB调试模式时,您将打开一个用于Android 软件开发工具包(Android Software Development Kit)( SDK ) 的控制通道,让应用程序开发人员可以轻松地在连接的 PC 上查看实时读数手机或平板电脑。
Android USB 调试(Android USB Debugging)有什么用?
除了预期的开发人员用途之外,为什么普通的非开发人员用户甚至首先打开此功能?您可能希望利用USB调试模式对Android手机执行许多操作。(Android)
Android Debug Bridge Utility是一种流行的工具,也适用于开发人员。这会在您的计算机上打开一个命令行界面,并让您在手机上执行代码和脚本。
这是一种快速有效的修改手机本身的方法,也是“ root ”安卓(Android)手机的关键方法。如果您不知道 root 电话意味着什么,那只是获得管理员权限的行为。然后, ADB(ADB)进一步开辟了用定制固件或只是最新Android版本的库存版本替换(Android)Android工厂版本的可能性。
如何激活 USB 调试模式
如上所述,为了访问USB调试模式,您需要跳过几圈才能激活开发者模式。确切的方法可能会从一个版本的Android(Android)到下一个版本略有不同。这些步骤来自Galaxy S21 Ultra。
- 打开设置(Settings)。
- 向下滚动到关于电话(About Phone)。
- 选择软件信息(Software information)。
- 继续点击内部版本号(Build Number),直到激活开发人员模式。
- 现在转到设置(Settings )>开发人员选项( Developer Options)。
- 在调试(Debugging)部分下查找USB 调试(USB Debugging)并将开关切换到打开位置。
现在您的手机处于USB 调试(USB Debugging)模式,您可以执行所有需要此模式的操作。
标准 USB 模式有何不同?
默认状态下的Android(Android)设备非常安全。当您将它们插入计算机进行充电或传输文件时,它们不允许对操作系统的核心和关键软件组件进行任何访问。
因此,您可以将USB闪存驱动器或充电器等设备连接到您的手机,而不必担心您的设备可能会发生任何不良情况。也就是说,从外部存储执行恶意软件除外。但是,将应用程序安全地旁加载到您的Android设备是一种不同类型的风险。
在开始安装您在网上找到的任何内容之前,请查看如何使用 APK 文件(How To Install Android Apps Using The APK File)和5 个适用于 Android 应用程序的最佳安全 APK 下载站点安装 Android 应用程序!(5 Best Safe APK Download Sites for Android Apps)
当您以默认USB模式将(USB)Android设备连接到计算机时,手机始终处于控制状态,您需要以授权Android用户身份批准计算机和移动设备之间发生的任何事情。
在USB调试模式下,可以将设备的全部控制权移交给连接的 PC。知道了这一点,您的下一个问题可能是打开调试模式是否是一个好主意。
您应该打开 USB 调试吗?
最简洁的答案是不。如果USB调试模式处于开启状态,您将面临恶意行为者或恶意软件危害您的手机的风险。诚然,现实世界的风险很小。但是,请记住,黑客只需运气好几次,就值得利用这样一个敞开的大门。此外,如果您的手机被盗或被没收,USB调试可能会提供某种方式来侵入设备。
同样,这些都是低概率结果,但是由于在您不积极使用调试模式时关闭调试模式是一件如此快速和容易的事情,因此最好谨慎行事。
如果您在调试模式下(Debug Mode)丢失了电话怎么办?
如果您丢失了激活 USB调试模式(Debug Mode)且已被植根的手机,您可能会遇到严重的情况。如果这种情况已经发生,除了更改您使用的服务的所有密码外,您无能为力。此外,您应该注意身份盗用(identity theft)的迹象,并采取适当的措施来保护自己。
即使您没有打开USB调试,也请花时间安装 Google 的“查找我的设备”(Find My Device)应用。如果您无法检索设备,这将让您远程擦除设备。一些安卓(Android)手机品牌,比如三星的手机,有自己定制的远程设备跟踪和擦除解决方案。在这种情况下,您可能需要进行设置。
不要掉以轻心 USB 调试
就这一点和任何开发人员选项而言,最重要的是,您永远不应激活手机或平板电脑随附的默认配置之外的任何内容,除非您确切知道该选项的作用。如果您确实出于临时目的打开这些选项中的任何一个,则相关选项的激活也应该是临时的。实践(Practice)这个简单的原则,您将避免对您的信息造成任何不必要的安全风险。
What Is USB Debugging on Android How to Enable It?
Most рeople neνer reallу mess around with their Android phones, but if you’ve ever tried doing something a little off the beaten path, you’ve probably run into USB dеbugging mode. Activating it isn’t hard, but this ease of use hides the fact that there arе serious implications when ticking that little box. Let’s look at thіѕ Androіd feature and weigh the prоs and cons of uѕing it.
What Is Android USB Debugging?
The Android USB Debugging mode is a part of the Developer Options menu. This is a set of toggles in Android that app developers use to make sure that their apps are working correctly and diagnose problems when issues arise.
Normally, your Android phone will have strict rules regarding devices that are connected to it via USB. It typically does not allow a connected device to modify it, give it commands or otherwise take over the functions of the device.
When you switch your phone over to USB debugging mode, you’re opening a control channel meant for the Android Software Development Kit (SDK), making it easy for app developers to see a live readout on a connected PC of what’s going on in the phone or tablet.
What Are the Uses for Android USB Debugging?
Apart from the intended developer use, why are regular non-developer users even turning this function on in the first place? There are a number of things you may want to do with your Android phone that take advantage of USB debugging mode.
One popular tool, which is also meant for developers is the Android Debug Bridge Utility. This opens up a command-line interface on your computer and lets you execute code and scripts on the phone.
This is a fast and effective way to modify the phone itself and a key method to “root” an Android phone. If you don’t know what it means to root a phone, it’s simply the act of gaining administrator privileges. ADB then further opens up the possibility of replacing the factory version of Android with custom firmware or simply the stock version of the latest Android release.
How to Activate USB Debugging Mode
As mentioned above, in order to access USB debugging mode you need to jump through a few hoops to activate developer mode. The exact method may differ slightly from one version of Android to the next. These steps are from a Galaxy S21 Ultra.
- Open Settings.
- Scroll down to About Phone.
- Select Software information.
- Keep tapping on Build Number until developer mode is activated.
- Now go to Settings > Developer Options.
- Look for USB Debugging under the Debugging section and toggle the switch to the on position.
Now your phone is in USB Debugging mode and you can do all the things that have this mode as a requirement.
How Is Standard USB Mode Different?
Android devices in their default state are highly secure. When you plug them in to a computer to charge or transfer files, they don’t allow any access to the core and crucial software components of the operating system.
So, you can connect devices like USB flash drives or chargers to your phone without worrying that anything bad might happen to your device. That is, with the exception of malware being executed from external storage. However, safely sideloading applications to your Android device is a different type of risk.
Check out How To Install Android Apps Using The APK File and 5 Best Safe APK Download Sites for Android Apps before you start installing whatever you find on the net!
When you connect an Android device in its default USB mode to a computer, the phone always remains in control and you need to approve anything that happens between the computer and mobile device as the authorized Android user.
In USB debugging mode total control of the device can be handed over to the connected PC. Knowing this, the next question you have is probably whether leaving debugging mode on is a good idea or not.
Should You Leave USB Debugging On?
The short answer is no. If USB debugging mode is left on, you run the risk of a malicious actor or malicious software compromising your phone. The real-world risk is admittedly quite small. However, keep in mind that hackers only need to be lucky a small number of times for it to be worth the trouble of exploiting such an open door. Furthermore, if your phone is ever stolen or seized, there’s the potential that USB debugging could offer some way to break into the device.
Again, these are low-probability outcomes, but since switching off debugging mode when you aren’t actively using it is such a quick and easy thing to do, it’s better to err on the side of caution.
What if You Lose a Phone in Debug Mode?
If you’ve lost a phone that has USB Debug Mode active and it has been rooted, you may have a potentially serious situation on your hands. There’s nothing much you can do if this has already happened, other than to change all your passwords for the services you use. Additionally, you should watch out for signs of identity theft and take appropriate steps to protect yourself.
Even if you haven’t left USB debugging on, take the time to install Google’s Find My Device app. This will let you remotely wipe your device if you can’t retrieve it. Some Android phone brands, such as Samsung’s phones, have their own custom remote device tracking and erasure solution. In that case, you’ll probably want to set that up instead.
Don’t Take USB Debugging Lightly
The bottom line when it comes to this and any developer options is that you should never activate anything outside of the default configuration your phone or tablet shipped with, unless you know exactly what that option does. If you do switch on any of these options for a purpose that is only temporary, then the activation of the relevant option should be temporary as well. Practice this simple principle, and you’ll avoid any unnecessary security risks to your information.