Advanced Android users can harness the power of ADB (Android Debug Bridge) shell commands to make quick system tweaks and adjustments that aren't usually accessible through the standard user interface. Here’s a quick guide on how you can use ADB shell commands for system tweaks:
What You Need
- Android Device: Make sure Developer Options and USB Debugging are enabled.
- Computer: With ADB installed. You can download the Android SDK Platform Tools from the official Android website.
- USB Cable: To connect your Android device to your computer.
Basic ADB Setup
-
Install Platform Tools: Download and extract the platform tools on your computer.
-
Connect Device: Plug your Android device into your computer using a USB cable.
-
Open Terminal/Command Prompt:
- Navigate to the directory where ADB is installed.
- Type
adb devicesto ensure your device is connected properly. It should list your device ID.
Useful ADB Shell Commands
Here are some advanced ADB shell commands for system tweaks:
-
Access ADB Shell:
adb shell -
Change Animation Speeds for Better Performance:
settings put global window_animation_scale 0.5 settings put global transition_animation_scale 0.5 settings put global animator_duration_scale 0.5 -
Lower the Screen Resolution (for better performance):
wm size 1080x1920 -
Change the Display Density:
wm density 380 -
Enable Doze Mode (saves battery):
dumpsys deviceidle force-idle -
Disable Sleeping Apps (prevent apps from sleeping):
dumpsys deviceidle whitelist +com.example.app -
Grant Permissions Manually:
pm grant com.example.app android.permission.WRITE_EXTERNAL_STORAGE
Tips:
- Backup Data: Before making any changes, ensure all important data is backed up.
- Documentation: Review your device's specific documentation as some commands might not work similarly across all devices.
- Revert Changes: You can usually revert changes by resetting to default values, especially with animation and display settings.
Disclaimer:
Using ADB shell commands requires a certain level of technical understanding and can alter how your device operates. Proceed with caution and ensure you understand each command before executing it.
This method provides flexibility and control over your Android environment, enabling you to optimize and customize your experience further.


