Created
February 12, 2024 19:10
-
-
Save ungeskriptet/c0c23dd0e7e2b97e9b8c467b1da618ff to your computer and use it in GitHub Desktop.
Dump regulators from Android with root
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /sys/class/regulator; for i in $(ls); do cat $i/name; [ -f "$i/max_microvolts" ] && echo "$i/name" || echo "$i/name\n"; [ -f "$i/min_microvolts" ] && cat $i/min_microvolts && echo "$i/min_microvolts"; [ -f $i/max_microvolts ] && cat $i/max_microvolts && echo "$i/max_microvolts\n"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment