PRACTICAL ANDROID TROUBLESHOOTING REPOSITORY

Android Problem Fixes & Diagnostic Guides

Every guide solves one real Android issue: stop aggressive background killing, diagnose overnight battery drain, fix slow charging, repair app crashes, and connect Android Auto.

How to Stop Battery Drain on Samsung (One UI 6 & 7)
Samsung

Solve Samsung Galaxy battery drain caused by excessive background network wakelocks and Always On Display consumption.

1 Settings > Battery > Background usage limits > Put unused apps to sleep (Turn ON).
2 Settings > Lock screen > Always On Display > Tap to show (instead of "Show always").
3 Settings > Connections > More connection settings > Nearby device scanning (Turn OFF).
Extends daily battery life by 25-35%
Why Android Battery Drains Overnight (And How to Fix It)
Universal

If your phone drops more than 3–5% battery while you sleep, background location polling or Google Play Services wakelocks are active.

1 Settings > Location > Location services > Wi-Fi scanning & Bluetooth scanning > Disable both.
2 Settings > Apps > Google Play Services > Storage > Clear Cache.
3 Enable Bedtime mode / Do Not Disturb to automatically suspend ambient screen wakes.
Limits standby drain to under 2-3%
Why Is My Android Phone Charging Slowly? (4 Common Causes)
Hardware & Cable

Diagnose why your phone displays "Cable charging" instead of "Super Fast Charging" or takes 3+ hours to fill.

1 Lint in USB-C port: Use a wooden toothpick to gently clean pocket lint preventing CC pin contact.
2 USB-PD Protocol Mismatch: Modern phones require Power Delivery (USB-PD PPS) chargers, not old QC2.0 blocks.
3 Thermal Throttling: Android throttles charging wattage from 45W down to 5W if battery temperature exceeds 39°C. Remove thick cases while charging.
Restores Full Fast Charging Speeds
Samsung Notifications Not Showing or Delayed
One UI Push Alerts

Samsung's aggressive "Never sleeping apps" policy kills WhatsApp, Telegram, banking, and prayer apps in the background.

1 Settings > Battery > Background usage limits > Never auto-sleeping apps > Add your app with (+).
2 Long-press app icon > App Info (i) > Battery > Select "Unrestricted".
3 Settings > Apps > Special access > Optimize battery usage > All > Toggle off for the app.
Instant Push Notification Delivery
Android App Keeps Crashing on Launch (WebView Fix)
App Stability

When multiple apps crash with "App keeps stopping" upon opening, the culprit is almost always Android System WebView.

1 Open Google Play Store > Search for Android System WebView.
2 Tap Update (or tap Uninstall Updates, then tap Update to install a clean build).
3 Also update Google Chrome and reboot the phone.
Resolves 90% of Sudden Multi-App Crash Spikes
How to Clear Android App Cache & System Cache Partition
Storage & Glitches

Wiping stale temporary files reclaims gigabytes of storage and fixes UI micro-stutters after major OS updates.

1 App Cache: Settings > Apps > Select App > Storage > Tap Clear Cache (do NOT tap Clear Data unless resetting).
2 System Cache Partition: Power off > Connect USB to PC > Hold Vol Up + Power to enter Recovery > Select Wipe cache partition > Reboot system now.
Safe Procedure • Leaves Personal Data Intact
Android Auto Not Connecting to Car Display
Car Connectivity

Resolve black screens, "Device not supported" warnings, or connection disconnects during vehicle navigation.

1 Settings > Apps > Android Auto > Storage > Clear Cache & Clear Data.
2 Verify your USB cable supports high-speed data transfer (USB 3.1 rated, under 1 meter length). Charge-only cables fail completely.
3 In your car head unit settings, delete the existing paired phone profile and initiate a fresh Bluetooth + USB handshake.
Restores Stable Navigation & Spotify Link
How to Enable Developer Options & USB Debugging
Power Users

Unlock ADB wireless commands, 120Hz display refresh forcing, background process limits, and bug reports.

1 Settings > About Phone > Software information.
2 Tap Build number 7 times continuously until "You are now a developer!" appears. Enter PIN.
3 Go back to main Settings menu > Scroll to the very bottom to open Developer options > Toggle USB debugging ON.
Enables ADB Debugging & Sideloading
How to Transfer Everything from Android to Android
Data Migration

Seamlessly migrate contacts, photos, WhatsApp chats, and apps to your new phone without cloud backup limits.

1 Direct Cable Transfer: Connect both phones with a USB-C to USB-C cable during the new device initial setup wizard for 10x faster transfer speed than WiFi.
2 Samsung Smart Switch: On Galaxy phones, open Smart Switch on both devices > Tap "Send data" / "Receive data".
3 WhatsApp Chat Migration: Open WhatsApp > Settings > Chats > Transfer chats > Scan QR code with new phone to migrate gigabytes of media without Google Drive.
100% Complete Device Migration
How to Stop Apps Running in the Background (Xiaomi & Oppo)
HyperOS & ColorOS

Tame heavy background consumers on Xiaomi HyperOS and Oppo ColorOS to maximize battery endurance.

1 Xiaomi (HyperOS): Settings > Apps > Permissions > Autostart > Disable autostart for social, shopping, and game apps.
2 Oppo (ColorOS): Settings > Battery > More settings > App battery management > Select app > Turn off "Allow background activity".
Reduces Idle CPU Usage
Fix Duplicate Class & Dex/R8 Compilation Errors
2012 → 2026 Evolution

The modern successor to AndroidRich's 2012 "Dalvik format failed with error 1" fix. Resolve duplicate classes, 65K method limits, and 16KB ELF alignment failures.

1 Run ./gradlew app:dependencies in terminal to find conflicting transitive dependencies pulling both legacy and AndroidX artifacts.
2 Exclude the conflicting module in your build.gradle.kts: exclude(group = "...", module = "...").
3 In gradle.properties, ensure android.enableR8.fullMode=true and update native NDK libraries for 16KB page alignment.