New version 0.9.5beta
- Deep Idle (Ezekeel's approach) *
  fix sound glitches when TOP=OFF
  added option to enable/disable statistics (disabled by default)
  added dflags accesible through sysfs to debug deep idle checks **
  some optimization for less CPU overhead
  scripts to enable/disable Deep Idle and Deep Idle statistics
- fix: Smartassv2 use LiveOC frequencies
- Option to lock min frequency to 100MHz when gpu inactive
- enable_logger: change script to always copy current version modules
- fix conservative script
* To get TOP=OFF you need to power down BT when screen off. Use rfkill scripts of mod frameworks. I use this command in a terminal emulator:
	codice:
	
echo 1 > /sys/devices/platform/bt_rfkill/rfkill/rfkill0/soft
 You need to reboot to get back BT
** This is for development purposes. to enable debug use this command:
	codice:
	
echo 1 > /sys/devices/virtual/misc/deepidle/ddebug_enabled
 Then reading this
	codice:
	
cat /sys/devices/virtual/misc/deepidle/dflags
 you get the value of various checks that performed before phone entering deep idle:
/*
 *  dflags bits:
 *  0 S5PV210_PD_LCD, 1 S5PV210_PD_CAM, 2 S5PV210_PD_TV, 3 S5PV210_PD_MFC
 *  4 S5PV210_PD_G3D, 5 SND_S5P_RP, 6 S5P_CLKGATE_IP0, 7 S5P_CLKGATE_IP1
 *  8 S5P_CLKGATE_IP3, 9 loop_sdmmc_check, 10 check_usbotg_op
 *  11 check_rtcint, 12 check_idmapos
 */
I use the script below in a terminal emulator to get the dflags value every 1 second and check what prevents the phone entering deep idle:
	codice:
	
#!/system/xbin/busybox sh
while true; do
        cat /sys/devices/virtual/misc/deepidle/dflags
        sleep 1
done