[Nexus 7 (2013) Original Android Development] ak:
Faq

Q: How i can set custom settings via sysfs?

thanks to

@tk-glitch

@flar2

@faux123

[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] ## cpu type[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] cat sys/kernel/debug/acpuclk/pvs_bin[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] cat sys/kernel/debug/acpuclk/speed_bin[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] [/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] ## color temperature[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] echo "red green blue" > /sys/devices/platform/mdp.458753/kcal[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 1 = min[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 255 = max[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] [/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] ## fastcharge[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] echo ? > /sys/kernel/fast_charge/force_fast_charge[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 0 = disabled[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 1 = enabled[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] [/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] ## s2w[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] echo ? > /sys/android_touch/sweep2wake[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 0 = disabled[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 1 = sweep2wake/sweep2sleep[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 2 = sweep2sleep only[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] [/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] ## short sweep[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] echo ? > /sys/android_touch/shortsweep[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 0 = disabled[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 1 = enabled[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] [/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] ## s2w/dt2w orientation[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] echo ? > /sys/android_touch/orientation[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 0 = disabled[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 1 = landscape mode[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 2 = portrait[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] [/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] ## dt2w[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] echo ? > /sys/android_touch/doubletap2wake[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 0 = disabled[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 1 = enabled[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] [/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] ## s2w/dt2w power key toggle[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] echo ? > /sys/android_touch/pwrkey_suspend[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 0 = disabled[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 1 = enabled[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] [/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] ## s2w/dt2w magnetic cover toggle[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] echo ? > /sys/android_touch/lid_suspend[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 0 = disabled[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] 1 = enabled[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] [/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] ## magnetic cover[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2] echo ? > /sys/module/lid/parameters/enable_lid[/SIZE][/FONT]
[FONT=Century Gothic][SIZE=2]

​