This simple guide will help you resolve persistent hardware, software, and system issues. These techniques include deeper diagnostics, advanced tools, and system-level fixes for experienced users or those comfortable with technical troubleshooting.
Safe Mode disables third-party apps, isolating software conflicts:
1. Press and hold the Power button until the power menu appears.
2. Tap and hold Power Off until the Safe Mode option appears.
3. Select Safe Mode and wait for the device to restart.
4. If the issue is resolved in Safe Mode, uninstall recent or suspicious third-party apps.
Recovery Mode allows you to repair system issues at a deeper level.
1. Turn off the phone.
2. Press and hold Power + Volume Up (or Volume Down, depending on the model) until the recovery menu appears.
3. Use the volume buttons to navigate and the power button to select options:
- Wipe Cache Partition: Clears temporary system files without deleting data.
- Factory Reset: Erases all data and restores the phone to factory settings.
Fastboot allows advanced users to flash firmware or custom recovery images.
1. Power off the phone.
2. Boot into Fastboot by holding Power + Volume Down until the Fastboot menu appears.
3. Connect the phone to a PC via USB and use ADB/Fastboot commands for advanced diagnostics.
- Example Command: fastboot flash recovery recovery.img
adb shell settings put global airplane_mode_on 1 && adb shell am broadcast -a android.intent.action.AIRPLANE_MODE
1
to 0
. adb shell dumpsys battery
adb shell top
to view running processes and identify resource-heavy apps. Clearing the Dalvik/ART cache can resolve app crashes:
1. Boot into Recovery Mode.
2. Select Wipe Cache Partition.
3. Restart the device.
Reflashing the stock firmware can repair system corruption:
1. Download Official Firmware:
- Obtain the firmware for your device from the manufacturer’s website or a trusted source (e.g., SamMobile for Samsung).
2. Use Flashing Tools:
- Samsung: Odin
- Other Devices: SP Flash Tool or Fastboot
3. Flashing Commands (Fastboot):
- Bootloader unlock: fastboot oem unlock
- Flash system: fastboot flash system system.img
If system recovery fails, install a custom recovery:
1. Unlock the bootloader using fastboot oem unlock
.
2. Flash the TWRP image using:
- fastboot flash recovery twrp.img
3. Use TWRP to flash custom ROMs or perform advanced troubleshooting.
adb shell du -sh /data
to locate large hidden files. rm
commands carefully to remove unnecessary files. adb shell dumpsys media.audio_policy
to diagnose audio input settings. Use ADB to view detailed error logs:
1. Connect the phone to a PC and enable USB Debugging.
2. Open a terminal and run:
- adb logcat
to view real-time logs.
- Use filters like adb logcat *:E
to display errors only.
adb shell df -h
to view disk usage. adb shell dumpsys meminfo
to analyze app memory usage. | Tool | Purpose |
|----------------------------|---------------------------------------------------|
| ADB (Android Debug Bridge) | Advanced debugging and system commands. |
| Logcat | Real-time error logging for system and apps. |
| SP Flash Tool | Flash firmware for MediaTek devices. |
| Odin | Reflash firmware for Samsung devices. |
| TWRP | Custom recovery for advanced troubleshooting. |