Diagnose and fix Android phone lag over ADB without root or a wipe

A Redditor let Gemini 4 Neon in Antigravity diagnose a laggy Redmi Note 15 Pro+ over ADB; it found memory leaks and a stuck camera thread, and free RAM rose from 2.7 GB to 4.8 GB.

Done withGemini· Nov 25, 2026

What they did

u/MainBeneficial3742 had a Redmi Note 15 Pro+ that still felt slow after a debloat. They connected it to their PC with USB debugging on and had Gemini 4 Neon, at its highest reasoning setting inside Google's Antigravity, investigate over ADB. The agent pulled logcat and dumpsys output, wrote Python scripts to parse it, and named the causes: memory bloat after 47 days without a reboot, a camera driver thread burning CPU with the camera closed, and dozens of background apps carried over from an old phone. It then disabled two system apps and restricted background activity for more than 70 nonessential apps over ADB, leaving messaging and banking alone.

How it went

After the agent's changes and an update to HyperOS 4, free RAM on the 8 GB phone went from 2.7 GB to 4.8 GB and ZRAM use fell from 5 GB to 2.3 GB. The agent then checked again, saw the update had reset app compilation, and ran ART compilation over ADB for the core UI and daily apps rather than waiting for overnight optimisation. The poster says the stutter is gone with no root, no wipe and no data lost, and that the diagnosis took about 15 minutes.

Worth knowing

The OS update, not the agent, cleared the leaks and the stuck thread; the agent's part was finding them, trimming background apps and recompiling. The poster chose which apps to protect. The post had one comment and nobody else confirmed the numbers.

Try it

With Gemini· 2 parts to fill in

My [phone model] is connected over ADB with USB debugging on, and it lags even after a debloat. Pull logcat, dumpsys meminfo, cpuinfo and battery stats, parse them with scripts, and tell me the actual causes with numbers: memory pressure, processes or threads burning CPU, and apps waking in the background. Then propose fixes that need no root and no wipe, such as disabling or restricting specific apps. Never touch [messaging, banking and other apps I rely on]. Show me the full list of ADB commands and wait for my approval before running any of them, then measure again and report before and after.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related