Skip to content

Instantly share code, notes, and snippets.

View chickendrop89's full-sized avatar
🫥
#keepandroidopen

chickendrop89

🫥
#keepandroidopen
View GitHub Profile
@chickendrop89
chickendrop89 / magisk-volume-key-selection.sh
Created November 1, 2024 15:20
Magisk volume key selection function
volumeselect() {
while true;
do
getevent -lc 1 2>&1 | grep VOLUME | grep DOWN > "$TMPDIR"/events
if grep VOLUME "$TMPDIR"/events >/dev/null;
then break
fi
done
if grep VOLUMEUP "$TMPDIR"/events >/dev/null;
@chickendrop89
chickendrop89 / amlogic-9xxx-useful-links.md
Last active April 5, 2026 09:17
Amlogic S9xxx (set top box) useful links