How to Enable USB Debugging on Sony Xperia XZ2 Compact
By connecting the smartphone to the PC via USB cable, the user can charge the gadget or transfer files, for example. To extend the pairing possibilities, you need to enable USB debugging on the Sony Xperia XZ2 Compact. This will allow access to additional operations when the phone and the PC are communicating.
Why USB debugging is needed
Debugging is most often used by mobile app developers, as it gives access not only to the files stored on the smartphone, but also to the internals of the mobile platform. However, this mode is also used by ordinary users.
In particular, it allows you to flash your smartphone via a computer if the operation cannot be performed using standard means. Also, debugging allows you to connect to a PC without warning. That is, when pairing devices in this mode, no notification will appear on the smartphone screen asking you to select a connection mode ("Charge only" or "File transfer").
Standard activation method
Every Android smartphone, including the Sony Xperia XZ2 Compact, allows you to activate debug mode. But by default this option is hidden, so the activation takes place in two steps.
№1. Switching to developer mode
Debugging is enabled via Developer mode, which is initially hidden. Consequently, the first thing we need to do is to activate the advanced options menu:
- Open the phone settings.
- Go to "About phone".
- Click 5 times on the build number or MIUI version.
The message "You are now a developer" will appear to indicate that you have activated the missing option. You can then move on to the process of activating debugging itself.
№2. Enabling debugging
Having completed the preparatory steps, move on to the main part of the instructions, which look as follows:
- Open the Sony Xperia XZ2 Compact settings.
- Go to "Additional settings" and then to "Developer options".
- Activate the slider next to "USB debugging".
- Confirm the operation.
This completes enabling the option, and you can communicate with the smartphone via the computer in debug mode.
How to enable USB debugging on Sony Xperia XZ2 Compact with broken screen
Previously mentioned, the mode in question allows you to connect your phone to a PC without giving permission for file transfer. Therefore, this option is often seen as a means of exchanging data between a PC and a faulty smartphone. However, it can be difficult to activate the mode itself.
To enable USB debugging on the Sony Xperia XZ2 Compact if the screen is broken, you can use optional accessories:
- Insert the OTG adaptor into your phone.
- Connect your computer mouse to it.
- Follow the steps described in the previous instructions with the accessory connected.
This option will help to activate the option in a situation where only the touch screen layer does not work and the information on the matrix remains readable. Otherwise, you will have to proceed at random.
How to enable USB debugging when the Sony Xperia XZ2 Compact is locked
The principle of activating mode on a locked phone is slightly different. In this case, you cannot access the home screen or settings. You can only bypass the restrictions by first resetting the settings via the recovery. Hence, to enable USB debugging on the Sony Xperia XZ2 Compact if the phone is locked, you need to:
- Switch off your smartphone.
- Press the power button and lower volume knob (you can also try another combination, e.g. "Volume Up" + "Power").
- Go to "Wipe data/factory reset" after the Recovery menu appears (use the volume knob to move and the power key to confirm the move).
- Confirm the wipe-down.
- Go back to the main menu and confirm the "Reboot system now" operation.
After a reboot, the Sony Xperia XZ2 Compact will turn on unlocked and you can activate debugging via the settings menu. However, after resetting via the recovery, all files will be deleted.
Share this page with your friends:See also:
How to flash Sony Xperia XZ2 Compact
How to root Sony Xperia XZ2 Compact
Hard reset for Sony Xperia XZ2 Compact
How to reboot Sony Xperia XZ2 Compact
How to unlock Sony Xperia XZ2 Compact
What to do if Sony Xperia XZ2 Compact won't turn on
What to do if Sony Xperia XZ2 Compact doesn't charge
What to do if Sony Xperia XZ2 Compact doesn't connect to PC via USB
How to take a screenshot on Sony Xperia XZ2 Compact
How to reset FRP on Sony Xperia XZ2 Compact
How to call recording on Sony Xperia XZ2 Compact
How to update Sony Xperia XZ2 Compact
How to connect Sony Xperia XZ2 Compact to TV
How to clear the cache on Sony Xperia XZ2 Compact
How to backup Sony Xperia XZ2 Compact
How to disable ads on Sony Xperia XZ2 Compact
How to clear storage on Sony Xperia XZ2 Compact
How to increase font on Sony Xperia XZ2 Compact
How to share internet on Sony Xperia XZ2 Compact
How to transfer data to Sony Xperia XZ2 Compact
How to unlock bootloader on Sony Xperia XZ2 Compact
How to recover photos on Sony Xperia XZ2 Compact
How to record the screen on Sony Xperia XZ2 Compact
How to find blacklist in Sony Xperia XZ2 Compact
How to set up fingerprint on Sony Xperia XZ2 Compact
How to block number on Sony Xperia XZ2 Compact
How to enable auto-rotate on Sony Xperia XZ2 Compact
How to set up or turn off an alarm on Sony Xperia XZ2 Compact
How to change ringtone on Sony Xperia XZ2 Compact
How to enable battery percentage on Sony Xperia XZ2 Compact
How to turn off notifications on Sony Xperia XZ2 Compact
How to turn off Google assistant on Sony Xperia XZ2 Compact
How to turn off the lock screen on Sony Xperia XZ2 Compact
How to delete app on Sony Xperia XZ2 Compact
How to recover contacts on Sony Xperia XZ2 Compact
Where is the recycle bin on Sony Xperia XZ2 Compact
How to install WhatsApp on Sony Xperia XZ2 Compact
How to set contact photo in Sony Xperia XZ2 Compact
How to scan QR code on Sony Xperia XZ2 Compact
How to connect Sony Xperia XZ2 Compact to computer
How to install SD card in Sony Xperia XZ2 Compact
How to update Play Store in Sony Xperia XZ2 Compact
How to install Google Camera in Sony Xperia XZ2 Compact
How to turn off Sony Xperia XZ2 Compact
How to charge Sony Xperia XZ2 Compact
How to use the camera on Sony Xperia XZ2 Compact
How to find lost Sony Xperia XZ2 Compact
How to set password on Sony Xperia XZ2 Compact
How to turn on 5g on Sony Xperia XZ2 Compact
How to turn on VPN on Sony Xperia XZ2 Compact
How to install apps on Sony Xperia XZ2 Compact
How to insert a SIM card in Sony Xperia XZ2 Compact
How to enable and configure NFC on Sony Xperia XZ2 Compact
How to set time on Sony Xperia XZ2 Compact
How to connect headphones to Sony Xperia XZ2 Compact
How to clear browser history on Sony Xperia XZ2 Compact
How to disassemble Sony Xperia XZ2 Compact
How to hide an app on Sony Xperia XZ2 Compact
How to download YouTube videos on Sony Xperia XZ2 Compact
How to unblock a contact on Sony Xperia XZ2 Compact
How to turn on the flashlight on Sony Xperia XZ2 Compact
How to split the screen on Sony Xperia XZ2 Compact
How to turn off the camera sound on Sony Xperia XZ2 Compact
How to trim video on Sony Xperia XZ2 Compact
How to check RAM in Sony Xperia XZ2 Compact
How to bypass the Google account on Sony Xperia XZ2 Compact
How to fix black screen on Sony Xperia XZ2 Compact
How to change the language on Sony Xperia XZ2 Compact
How to open engineering mode in Sony Xperia XZ2 Compact
How to open recovery mode in Sony Xperia XZ2 Compact
How to find and turn on a voice recorder on Sony Xperia XZ2 Compact
How to make video calls on Sony Xperia XZ2 Compact
Sony Xperia XZ2 Compact sim card not detected
How to transfer contacts to Sony Xperia XZ2 Compact
How to enable/disable «Do not disturb» mode on Sony Xperia XZ2 Compact
How to enable/disable answerphone on Sony Xperia XZ2 Compact
How to set up face recognition on Sony Xperia XZ2 Compact
How to set up voicemail on Sony Xperia XZ2 Compact
How to listen to voicemail on Sony Xperia XZ2 Compact
How to check the IMEI number in Sony Xperia XZ2 Compact
How to turn on fast charging on Sony Xperia XZ2 Compact
How to replace the battery on Sony Xperia XZ2 Compact
How to update the application on Sony Xperia XZ2 Compact
Why the Sony Xperia XZ2 Compact discharges quickly
How to set a password for apps in the Sony Xperia XZ2 Compact
How to format Sony Xperia XZ2 Compact
How to install TWRP on Sony Xperia XZ2 Compact
How to set up call forwarding on Sony Xperia XZ2 Compact
How to empty the recycle bin on Sony Xperia XZ2 Compact
Where to find the clipboard on Sony Xperia XZ2 Compact
How to Enable USB Debugging on Another Phones