/daemon

Main repository at https://github.com/TriForceX/MiyooCFW

Primary LanguageC

miyoo_daemon

Battery Low Warning

Will flash screen or vibrate when battery reports lower than 3550 by default.
battery low config
/mnt/.batterylow.conf
default: 3550

Default Button Mappings

BUTTON ACTION
Right Brightness Up
Left Brightness Down
Down Volume Down
Up Volume Up
Start Screenshot
Hold Select Quick Shutdown

Config

button config location
/mnt/.buttons.conf
button config format
x:a:y:b:up:down:left:right:select:start:hold-x:hold-a:hold-y:hold-b:hold-up:hold-down:hold-left:hold-right:hold-select:hold-start
button config default
0:0:0:0:3:4:2:1:0:13:0:0:0:0:0:0:0:0:21:0

Actions

1 = backlight up
2 = backlight down
3 = volume up
4 = volume down
5 = mute
6 = volume rotate up
7 = volume rotate down
8 = backlight rotate up
9 = backlight rotate down
10 = backlight min max
11 = remount /mnt as rw
12 = remount /mnt as ro
12 = screenshot using fbgrab 20 = kill, sync and shutdown
21 = kill. Does not work on most emulators. do not use