[Galaxy S 4 i9500 Android Development] MD500:
Thank you! Testing if Screen Control Hook is working properly.

Edit:

Doesnt'work properly Screen Control Hook.

SCR filters are messed up (gives me up me blackscreen) and after 30 seconds blockscreen are gone but Register Hook and Master Sequence are auto disabled(both are on). It gives me black screen if i enable it again. Had to use an init.d script to force set default scr values and block it including Register Hook and Master Sequence switches on (to readonly). Solved with Init.d Script

I am trying to enable Edge Enhancement and set my settings but it says disabled(but the tweak has been enabled) but if i make a reboot the setting is truly disabled. Solved with Init.d Script

Same Issue with Grayscale Addend(setting goes to default if I make a reboot or i exit synapse)... I dont know what is happening

Battery Calibration Button (to reset gauge chip) is missing

I think if the tweaks must be the following to prevent disconfiguring:

1.- set perms to write-read mode ( 777 )

2.- make a change (echo "anything" > file_to_modify)

3.- set perms to readonly mode ( 444 ).

Code (init.d script) to solve my problem with SCR filters and Edge Enhancement...

#!/system/bin/sh
# Block Mdnie Hook

sleep 30

echo "Mdnie Executed" > /data/mdniehookblocked
touch /data/mdniehookblocked

###Block Hook Tweaks

chmod 777 /sys/class/misc/mdnie/hook_intercept
echo 1 > /sys/class/misc/mdnie/hook_intercept
chmod 444 /sys/class/misc/mdnie/hook_intercept

chmod 777 /sys/class/misc/mdnie/sequence_intercept
echo 1 > /sys/class/misc/mdnie/sequence_intercept
chmod 444 /sys/class/misc/mdnie/sequence_intercept

echo 0 > /sys/class/misc/mdnie/hook_control/s_edge_enhancement

echo 1 > /sys/class/misc/mdnie/hook_control/s_edge_enhancement

chmod 777 /sys/class/misc/mdnie/hook_control/scr_black_blue
echo 0 > /sys/class/misc/mdnie/hook_control/scr_black_blue
chmod 444 /sys/class/misc/mdnie/hook_control/scr_black_blue

chmod 777 /sys/class/misc/mdnie/hook_control/scr_black_green
echo 0 > /sys/class/misc/mdnie/hook_control/scr_black_green
chmod 444 /sys/class/misc/mdnie/hook_control/scr_black_green

chmod 777 /sys/class/misc/mdnie/hook_control/scr_black_red
echo 0 > /sys/class/misc/mdnie/hook_control/scr_black_red
chmod 444 /sys/class/misc/mdnie/hook_control/scr_black_red

chmod 777 /sys/class/misc/mdnie/hook_control/scr_blue_blue
echo 255 > /sys/class/misc/mdnie/hook_control/scr_blue_blue
chmod 444 /sys/class/misc/mdnie/hook_control/scr_blue_blue

chmod 777 /sys/class/misc/mdnie/hook_control/scr_blue_green
echo 0 > /sys/class/misc/mdnie/hook_control/scr_blue_green
chmod 444 /sys/class/misc/mdnie/hook_control/scr_blue_green

chmod 777 /sys/class/misc/mdnie/hook_control/scr_blue_red
echo 0 > /sys/class/misc/mdnie/hook_control/scr_blue_red
chmod 444 /sys/class/misc/mdnie/hook_control/scr_blue_red

chmod 777 /sys/class/misc/mdnie/hook_control/scr_cyan_blue
echo 255 > /sys/class/misc/mdnie/hook_control/scr_cyan_blue
chmod 444 /sys/class/misc/mdnie/hook_control/scr_cyan_blue

chmod 777 /sys/class/misc/mdnie/hook_control/scr_cyan_green
echo 240 > /sys/class/misc/mdnie/hook_control/scr_cyan_green
chmod 444 /sys/class/misc/mdnie/hook_control/scr_cyan_green

chmod 777 /sys/class/misc/mdnie/hook_control/scr_cyan_red
echo 42 > /sys/class/misc/mdnie/hook_control/scr_cyan_red
chmod 444 /sys/class/misc/mdnie/hook_control/scr_cyan_red

chmod 777 /sys/class/misc/mdnie/hook_control/scr_green_blue
echo 0 > /sys/class/misc/mdnie/hook_control/scr_green_blue
chmod 444 /sys/class/misc/mdnie/hook_control/scr_green_blue

chmod 777 /sys/class/misc/mdnie/hook_control/scr_green_green
echo 245 > /sys/class/misc/mdnie/hook_control/scr_green_green
chmod 444 /sys/class/misc/mdnie/hook_control/scr_green_green

chmod 777 /sys/class/misc/mdnie/hook_control/scr_green_red
echo 64 > /sys/class/misc/mdnie/hook_control/scr_green_red
chmod 444 /sys/class/misc/mdnie/hook_control/scr_green_red

chmod 777 /sys/class/misc/mdnie/hook_control/scr_magenta_blue
echo 255 > /sys/class/misc/mdnie/hook_control/scr_magenta_blue
chmod 444 /sys/class/misc/mdnie/hook_control/scr_magenta_blue

chmod 777 /sys/class/misc/mdnie/hook_control/scr_magenta_green
echo 20 > /sys/class/misc/mdnie/hook_control/scr_magenta_green
chmod 444 /sys/class/misc/mdnie/hook_control/scr_magenta_green

chmod 777 /sys/class/misc/mdnie/hook_control/scr_magenta_red
echo 255 > /sys/class/misc/mdnie/hook_control/scr_magenta_red
chmod 444 /sys/class/misc/mdnie/hook_control/scr_magenta_red

chmod 777 /sys/class/misc/mdnie/hook_control/scr_red_blue
echo 0 > /sys/class/misc/mdnie/hook_control/scr_red_blue
chmod 444 /sys/class/misc/mdnie/hook_control/scr_red_blue

chmod 777 /sys/class/misc/mdnie/hook_control/scr_red_green
echo 17 > /sys/class/misc/mdnie/hook_control/scr_red_green
chmod 444 /sys/class/misc/mdnie/hook_control/scr_red_green

chmod 777 /sys/class/misc/mdnie/hook_control/scr_red_red
echo 247 > /sys/class/misc/mdnie/hook_control/scr_red_red
chmod 444 /sys/class/misc/mdnie/hook_control/scr_red_red

chmod 777 /sys/class/misc/mdnie/hook_control/scr_white_blue
echo 246 > /sys/class/misc/mdnie/hook_control/scr_white_blue
chmod 444 /sys/class/misc/mdnie/hook_control/scr_white_blue

chmod 777 /sys/class/misc/mdnie/hook_control/scr_white_green
echo 245 > /sys/class/misc/mdnie/hook_control/scr_white_green
chmod 444 /sys/class/misc/mdnie/hook_control/scr_white_green

chmod 777 /sys/class/misc/mdnie/hook_control/scr_white_red
echo 255 > /sys/class/misc/mdnie/hook_control/scr_white_red
chmod 444 /sys/class/misc/mdnie/hook_control/scr_white_red

chmod 777 /sys/class/misc/mdnie/hook_control/scr_yellow_blue
echo 8 > /sys/class/misc/mdnie/hook_control/scr_yellow_blue
chmod 444 /sys/class/misc/mdnie/hook_control/scr_yellow_blue

chmod 777 /sys/class/misc/mdnie/hook_control/scr_yellow_green
echo 241 > /sys/class/misc/mdnie/hook_control/scr_yellow_green
chmod 444 /sys/class/misc/mdnie/hook_control/scr_yellow_green

chmod 777 /sys/class/misc/mdnie/hook_control/scr_yellow_red
echo 255 > /sys/class/misc/mdnie/hook_control/scr_yellow_red
chmod 444 /sys/class/misc/mdnie/hook_control/scr_yellow_red

Hope you can fix it in the next release.

PD: Only synapse app has been used!

Using GearCM Rom