How to Disable USB Debugging Mode in Any APK

Hello guys, how are you? I hope everyone is doing well. Today we will learn how to remove any USB debugging restriction from your app. This means that whenever we open an app or mirror a screen, we have to turn on USB debugging, and a popup appears in the app saying “turn off USB debugging.” We will remove that popup via modify. Let’s get started.

  1. First, you should have the MT Manager, which you can find by clicking here.
  2. Select the app you want to modify.
  3. After installing on both phones, open MT Manager and click on “Extract app.”
  4. After extraction, you will see it on the left side with the app icon for easy identification.
  5. After clicking on the app, you will see a view option, click on it.
view edit
  1. After clicking, you will see many files on the left side. You need to look for the ‘resources.arsc’ file name.
    Once you find it, click on it and open it with the arsc editor. You will see 4 options, choose the ‘search research value’ option. Enter the USB string, and click OK to search for that value.
string

After searching for the value, you will see many options; find the option to turn off USB debugging. If you find it, hold on to that option, copy the ID, and go back to the files.

On the left side, you will see ‘dex files.’ Click on any one of them, open it with dex editor plus, it will ask for multidex options, select all, and click OK.

By searching and opening all these files, you will see 4 options at the top: explorer, history, search, and string. Click on search.
When you click on search, it will ask for ‘text to find.’ Paste the ID you copied there, keep the search type as smali, check the search subdirectories option, and click OK.

After searching, you will see many options. Click on ‘baseactivity,’ then on the GPS-like icon at the top. Among many options, look for the switch at the bottom. Click on it, search for ‘debug enable,’ and click on it. A coding page will open, go back to the GPS icon, click on it, enable debugging, click on the switch, it will take you to a class file. Hold on to the file, find and click on ‘clear code,’ then save the file.
Finally, go back, save all files, sign the APK, and install it.

selectgps

If You Still didnot understand i am attaching the video you can follow it.

That’s it, guys. The USB debug restrictions have been removed. If you have any doubts, comment below, and I will reply. Keep visiting the blog website for more tricks. Don’t forget to bookmark it. See you there. Thank you.”

SHARE WITH YOUR FRIENDS

Leave a Comment

Translate ยป