![]() Turn off Developer Options using ADB Commandĭisabling the Developer options on Android on a normal device is very easy. Now go to Settings > Developers options and you will find that USB debugging has been disabled. ![]() Connect your device to the computer and execute the following command after running adb shell.Launch the Command Prompt or open a PowerShell window.This should work on all Android devices regardless of the manufacturer. I tested it on Samsung Galaxy Note 10 Plus, Redmi K20 Pro, Galaxy S20, and OnePlus 8 successfully. Well, enabling USB debugging on a device with a locked or broken screen might not be possible but you can easily disable it using an ADB command if it’s already enabled. If you are somehow able to see the RSA notification on your phone’s display, tap on OK. ![]() Your phone will boot up with USB debugging enabled but there’s a catch here! Next time, when you try to run ADB commands, you’ll still have to allow USB debugging or verify the RSA key fingerprint on your phone. You can now reboot your phone to the system using the following command. If you followed every step carefully and didn’t miss anything, USB debugging should be enabled on your device. Save the file after you have made the above changes to build.prop and push it back to your phone using the following command.Īdb push " C:\Users\Technastic\Desktop/build.prop" /system/.Open the build.prop file with a text editor like NotePad++ and add the following lines to it.It’s time now to download the build.prop file of your device to your PC.Īdb pull /system/build.prop C:\Users\Technastic\Desktop\.Now use the adb push command to send it back to your device.Īdb push " C:\Users\Technastic\Desktop/" /data/property Open the file with a text editor and edit it to “ mtp,adb” and save it.Don’t forget to replace the location where you want to save the pulled file with yours.Īdb pull /data/property/ C:\Users\Technastic\Desktop\ To do that execute the following command. Now, you have to pull the file from your phone to the PC.After that, execute the mount data and mount system commands to mount the respective directories on your device. Now type adb shell and hit the Enter key. ![]() (Lucky you! :D) I could not get past this step.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |