Thread: Glo Kobo Night Mode
View Single Post
Old 08-27-2017, 06:59 AM   #715
bayang
Junior Member
bayang began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2017
Device: kobo
Hey,

I tried to install nightMode on my glo, but all I get is unreadable, inverted colors, pages with very blurry text.

I have a glo with latest firmware, I installed the .tgz from https://github.com/gtalusan/kobo-nightmode.

I powered off my glo, copied the install .tgz in .kobo, safely ejected the kobo and waited for reboot.

I can toggle the night mode with the light button, but it's just unreadable. I tried to adjust the refreshScreenPages in the .ini file, but no luck.

I used to get it working with older firmwares and the build13 version of the night mode but I can't get it to work anymore.

I guess I am missing something obvious but I can't figure what.

The .ini present in the device after install is this one :
Code:
# config file for kobo-nightmode

[state]
invertActive = no		# yes / no
retainStateOverRestart = no	# yes / no

[control]
longPressDurationMS = 800       # time in milliseconds to toggle (1000 = 1 second)
debug=no			# yes/no to enable/disable debug logging

[nightmode]
refreshScreenPages = 3		#force refresh every X pages
#forceSWInvert = true		#force SW invert mode (default: false)

[brightness]
1percentPatch = yes		# yes / no : Nickel set brightness to 2% even when on UI it is set to 1%
				#            this patch will force brightenss to 1% when:
				#		- it was set to 1%, then it was set to 0% (for instance: stand-by) then changed again to "what Nickel says is 2%"
				#		- it was set to 3%, then it was set to 1% then changed again to "what Nickel says is 2%"
timeout = 5			# time in seconds, after brightness is set (and maintained) to a given level, to toggle the action set to that level
# switch device off
7 = echo -ne "\xfe\x0f\xc5\x54\xff\x6a\x0d\x00\x01\x00\x74\x00\x01\x00\x00" > /dev/input/event0 
# put device in standby
8 = echo -ne "\xf0\x0f\xc5\x54\x3c\xe0\x0d\x00\x01\x00\x74\x00\x01\x00\x00\x00\xf1\x0f\xc5\x54\x8e\xe3\x02\x00\x01\x00\x74\x00\x00\x00\x00\x00" > /dev/input/event0
 # when brightness is set to 11% : special action, toggle night toggleNightMode
11 = toggleNightMode
12 = enableNightMode
13 = disableNightMode
#20 = dmesg > /mnt/onboard/.kobo/dmesg_$(date +%s).log &
#30 = mv -f /mnt/onboard/.kobo/screenInv.so /root/screenInv.so >/dev/null 2>&1
#50 = hwclock -w -u
#98 = touch /mnt/onboard/.kobo/switchoff/test0.log &
#99 = /mnt/onboard/.kobo/switchoff/test.sh &
#some examples of invoking any script when brightness is set to X% for at least TIMEOUT seconds
#4 = touch /mnt/onboard/hello.world
#5 = touch /mnt/onboard/hello.world.async &
bayang is offline   Reply With Quote