1 hour ago · Tech · 0 comments

AI;DR – This blog post was mostly generated by Claude (via Claude Code), as was the script which is described here. If you don’t want to read “AI slop”, stop reading now. One small thing about my Motorola G7 Power (codename ocean) had been bugging me ever since I put LineageOS on it: the little LED that lights up while the phone is charging glows in a harsh, bright white. On the original stock firmware I remembered it as a softer, dimmer light. I wanted that back. What follows is how I chased it down, what I got wrong along the way, the one-line change that actually fixes it, and the considerably less small effort it takes to make that change survive a reboot. Poking at the LED live, without rebuilding anything The nice thing about Android LED control is that it lives in sysfs, under /sys/class/leds/. You can write to those files as root and the LED reacts instantly, which makes it perfect for trial and error: no compiling, no flashing, and nothing is permanent until you decide it…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.