In this post we will be talking about what options Android offers you in its Debug or debugging mode, which offers a series of tools that will be used to correct errors in our system and some other things.
- What are the Debug Mode options on my Android device
- What is the function of Android Debug Mode?
- What developer options does Debug Mode have on Android?
- USB debugging
- Control permissions
- How do you disable developer options on Android?
What are the Debug Mode options on my Android device
If you use a mobile with an Android system, you should know that it is a very powerful operating system , as well as that it brings many interesting options for those people who like to experiment a little with the optimization of their mobiles and devices.
Basically, the Debug mode enables the developer options so that there can be communication at this level between the device that uses Android (mobile or tablet) and the computer, which will also use specialized software such as Android Studio to be able to use the developer tools and these take effect on the device.
What is the function of Android Debug Mode?
As we have mentioned, this mode offers the user the power to use the developer tools on the device, however there are also functions that are not necessarily to modify the kernel of the operating system , but that are extremely useful and that otherwise could not be done . Among them we can say that in Debug mode we can:
- Format or update a system partition.
- Install a firmaware
- Give special permissions.
- Copy all kinds of filesfrom the computer to the device via USB.
What developer options does Debug Mode have on Android?
Among the functions most commonly used by most users who make use of Debug mode, we can mention three that are fundamental and very useful .
This function is hidden by default for the end user , since it is designed for the use of programmers, it works as a connection channel through USB between the computer and the device without the need to be Root . To activate USB debugging you must follow the following steps:
- Access your device’s settings.
- Look for the option called “About this device. “
- Find the section “Build number”and click on it at least 10 times.
- You will see a notification that says “You are already a developer. “
- You will notice that a new section called “Developer options”has been added to your menu .
- Go to “Programmer Options”, locate the option “Debugging by USB” and activate it.
- The system will ask you if you really want to activate this option, answer yes.
If you carried out all the steps correctly, then you will be able to connect your device to the computer and you will be able to use all the developer tools through Android Studio or any of its modules, since it is not necessary to have the complete environment installed but rather the necessary tools depending on of what you want to do with your device.
Although most of the permissions you need to give to apps you can do from the Android environment, there are certain adjustments that you can make in a more controlled way in Debug mode.
Using ADB Shell you can give orders to your Android system through text commands . One of them is that you can give special permissions to different applications to make interface changes in your system, one of the most used is: adb Shell pm Grant com.name of the application and in the following command line type: android.permission. WRITE.SECURE_SETTINGS
With this command, what we will be doing is allowing the application that we have mentioned to have special controls in our system, so it is important that we use these commands with caution and be totally sure that the application to which we are giving permissions is reliable. and safe.
These commands are very powerful, another example is that we can force our device to activate the dark mode through an ADB Shell command, we can use the command ” settings put secure uinightmode 2 “, since this function cannot be activate from the standard user interface.
The debug mode through its tools also offers a file explorer that allows you access to the very root of the system , so locating files or compilations that you want to edit will be something that you can do that the usual file explorer will not. never allow.
To access this tool, you must enter the ” Device File Explorer ” tab through Android Studio and select the device of all those that you have connected that you want to explore. Here you will be able to see all the files on your device and you will be able to navigate through them just as you normally do in a common file explorer.
You can also copy, paste, or create new files in the different locations where you are. It is important to mention that the path to explore the files of the applications that are inside the internal storage of your device is: data / data / app_name / , while the files that are stored in an external device such as a micro SD that you have installed in your mobile will be: sdcard /
How do you disable developer options on Android?
If you want to deactivate the developer options for security reasons or simply because you consider that it is not necessary to have them active for the use you give to your mobile, just follow the following steps:
- Go to your mobile settings.
- Select ” Developer Options.”
- Uncheck the box called ” USB debugging.