[Samsung Galaxy S7 Edge (Exynos) ROMs, Kernels, Rec] DirkStorck:
Synapse: Wakelocks

Hi, [MENTION=1148003]lyapota[/MENTION]

after I have flashed v2.0 the wakelock tab was empty. Now I have played around a bit with installing and uninstalling busybox and now I get at least these errors

11-21 14:37:45.518 17175 17254 W System.err: com.af.synapse.utils.ElementFailureException: com.af.synapse.utils.RunCommandFailedException: /res/synapse/actions//generic[7]: cat: sys/module/wakeup/parameters/enable_sensorhub_wl: No such file or directory
11-21 14:37:45.518 17175 17254 W System.err:	at com.af.synapse.elements.SOptionList.getLiveValue(SOptionList.java:467)
11-21 14:37:45.518 17175 17254 W System.err:	at com.af.synapse.elements.SOptionList.getView(SOptionList.java:185)
11-21 14:37:45.518 17175 17254 W System.err:	at com.af.synapse.MainActivity$TabSectionFragment.prepareView(MainActivity.java:475)
11-21 14:37:45.518 17175 17254 W System.err:	at com.af.synapse.MainActivity$TabSectionFragment.setArguments(MainActivity.java:509)
11-21 14:37:45.518 17175 17254 W System.err:	at com.af.synapse.MainActivity$SectionsPagerAdapter.buildFragment(MainActivity.java:348)
11-21 14:37:45.518 17175 17254 W System.err:	at com.af.synapse.MainActivity$SectionsPagerAdapter.access$600(MainActivity.java:340)
11-21 14:37:45.518 17175 17254 W System.err:	at com.af.synapse.MainActivity$SectionsPagerAdapter$2.run(MainActivity.java:385)
11-21 14:37:45.518 17175 17254 W System.err:	at com.af.synapse.utils.NamedRunnable.run(NamedRunnable.java:28)
11-21 14:37:45.518 17175 17254 W System.err:	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
11-21 14:37:45.518 17175 17254 W System.err:	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
11-21 14:37:45.518 17175 17254 W System.err:	at java.lang.Thread.run(Thread.java:818)
11-21 14:37:45.518 17175 17254 W System.err: Caused by: com.af.synapse.utils.RunCommandFailedException: /res/synapse/actions//generic[7]: cat: sys/module/wakeup/parameters/enable_sensorhub_wl: No such file or directory
11-21 14:37:45.518 17175 17254 W System.err:	at com.af.synapse.utils.SuperShell.flushError(Utils.java:341)
11-21 14:37:45.518 17175 17254 W System.err:	at com.af.synapse.utils.SuperShell.runCommand(Utils.java:385)
11-21 14:37:45.518 17175 17254 W System.err:	at com.af.synapse.utils.Utils.runCommandWithException(Utils.java:96)
11-21 14:37:45.518 17175 17254 W System.err:	at com.af.synapse.utils.Utils.runCommand(Utils.java:103)
11-21 14:37:45.518 17175 17254 W System.err:	at com.af.synapse.elements.SOptionList.getLiveValue(SOptionList.java:464)
11-21 14:37:45.518 17175 17254 W System.err:	... 10 more

11-21 14:37:45.938 17175 17254 W System.err: com.af.synapse.utils.ElementFailureException: com.af.synapse.utils.RunCommandFailedException: /res/synapse/actions//generic[7]: cat: sys/module/wakeup/parameters/enable_bcmdhd4359_wl: No such file or directory
11-21 14:37:45.938 17175 17254 W System.err:	at com.af.synapse.elements.SOptionList.getLiveValue(SOptionList.java:467)
11-21 14:37:45.938 17175 17254 W System.err:	at com.af.synapse.elements.SOptionList.getView(SOptionList.java:185)
11-21 14:37:45.938 17175 17254 W System.err:	at com.af.synapse.MainActivity$TabSectionFragment.prepareView(MainActivity.java:475)
11-21 14:37:45.938 17175 17254 W System.err:	at com.af.synapse.MainActivity$TabSectionFragment.setArguments(MainActivity.java:509)
11-21 14:37:45.938 17175 17254 W System.err:	at com.af.synapse.MainActivity$SectionsPagerAdapter.buildFragment(MainActivity.java:348)
11-21 14:37:45.938 17175 17254 W System.err:	at com.af.synapse.MainActivity$SectionsPagerAdapter.access$600(MainActivity.java:340)
11-21 14:37:45.938 17175 17254 W System.err:	at com.af.synapse.MainActivity$SectionsPagerAdapter$2.run(MainActivity.java:385)
11-21 14:37:45.938 17175 17254 W System.err:	at com.af.synapse.utils.NamedRunnable.run(NamedRunnable.java:28)
11-21 14:37:45.938 17175 17254 W System.err:	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
11-21 14:37:45.938 17175 17254 W System.err:	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
11-21 14:37:45.938 17175 17254 W System.err:	at java.lang.Thread.run(Thread.java:818)
11-21 14:37:45.938 17175 17254 W System.err: Caused by: com.af.synapse.utils.RunCommandFailedException: /res/synapse/actions//generic[7]: cat: sys/module/wakeup/parameters/enable_bcmdhd4359_wl: No such file or directory
11-21 14:37:45.938 17175 17254 W System.err:	at com.af.synapse.utils.SuperShell.flushError(Utils.java:341)
11-21 14:37:45.938 17175 17254 W System.err:	at com.af.synapse.utils.SuperShell.runCommand(Utils.java:385)
11-21 14:37:45.938 17175 17254 W System.err:	at com.af.synapse.utils.Utils.runCommandWithException(Utils.java:96)
11-21 14:37:45.938 17175 17254 W System.err:	at com.af.synapse.utils.Utils.runCommand(Utils.java:103)
11-21 14:37:45.938 17175 17254 W System.err:	at com.af.synapse.elements.SOptionList.getLiveValue(SOptionList.java:464)
11-21 14:37:45.938 17175 17254 W System.err:	... 10 more

But the files from the errors are at the expected place

root@herolte:/data/data # cd /sys/module/wakeup/parameters
cd /sys/module/wakeup/parameters
root@herolte:/sys/module/wakeup/parameters # ls -l
ls -l
-rw-r--r-- root root 4096 2016-11-21 14:34 enable_bcmdhd4359_wl
-rw-r--r-- root root 4096 2016-11-21 14:53 enable_bluedroid_timer_wl
-rw-r--r-- root root 4096 2016-11-21 14:53 enable_mmc0_detect_wl
-rw-r--r-- root root 4096 2016-11-21 14:34 enable_sensorhub_wl
-rw-r--r-- root root 4096 2016-11-21 14:34 enable_ssp_wl
-rw-r--r-- root root 4096 2016-11-21 14:53 enable_wlan_ctrl_wake_wl
-rw-r--r-- root root 4096 2016-11-21 14:53 enable_wlan_rx_wake_wl
-rw-r--r-- root root 4096 2016-11-21 14:53 enable_wlan_wake_wl
-rw-r--r-- root root 4096 2016-11-21 14:53 enable_wlan_wd_wake_wl

I did not change the ROM still the same ROM as with v1.9!

BTW would it be possible to add the other enable_xyz too in the next release?

Thank you!