Thread: Glo Kobo Night Mode
View Single Post
Old 08-29-2017, 04:55 PM   #717
akorx
Addict
akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.akorx never is beset by a damp, drizzly November in his or her soul.
 
Posts: 336
Karma: 59242
Join Date: Apr 2013
Location: France, languages : french and a little bit english.
Device: Kobo Glo, Aura HD
I'm back... first sorry fr my bad english. I've got a GLO too and for me all is ok with the last FW and the last nighmode plugin.

So :

1. uninstall the last night mode and reboot.

2. uninstall nightmode v13 and reboot.

3. delete your kobotweaks.ini if you've got one and mostly before reinstall the last FW (4.5.9587 (c77383d7d1)), read the patching instructions here : https://www.mobileread.com/forums/sh...54#post3554654 because you have to install a patch after the FW.

Wait the reboot of your device in each step if it's written that is needed.

4. Now : verify if the screen if blurry or not. If all is ok, continue... totally power off your GLO with a long press.

5. reintall the NEW nightmode (the link that you have given to us if the good one), wait the reboot.

6. try my nightmode.ini (yours is the same but perhaps you've got a bad character that is invisible) :

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 = 99		#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 &
and reboot your device again.

If you have always the same problem try to compare your "/.kobo/Kobo/Kobo eReader.conf" with mine in order to see if there is a big difference on one or few lines... Yours will be different because you have not the same library and I use a particular font ("Charis SIL ModifiedLarger"), etc... but the purpose is to see if there is an old setting of a plugin that can explain the bug you see. Save yours before.

Code:
[General]
DictionaryRecentSearches=Sparte, fourbure, "grève.", hardiesse, sentine, "flanqués", "musquée,", licou, maestria, burnous
hasSyncedExistingRelatedItems=true
scrambleHighScores=13 30/06/2014 00:34, 11 30/06/2014 00:31

[ApplicationPreferences]
AIRPLANE_MODE=true
BrightnessOpenCount=-1
CurrentDemoRegion=
CurrentLocale=fr_FR
DictionaryOpenCount=-1
EarliestChangeLog=2.1.5
FteLandingShown=true
HomePageShown=true
HomePageViewVisitCount=10
LastChangeLog=2.5.2
LastLibraryReadingStatusFilter_books_filterByBundled%28%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_books_filterByMine%28%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28BELLEMARE%20Pierre%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28BERRY%20Steve%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28BROWN%20Dan%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28BYRNES%20Michael%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28CHATTAM%20Maxime%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28CHRISTIE%20Agatha%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28COBEN%20Harlan%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28COOPER%20Glenn%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28CRONIN%20Justin%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28DIETRICH%20William%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28DOCUMENTATION%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28GIACOMETTI%20Eric%20et%20RAVENNE%20Jacques%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28KING%20Stephen%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28PETERS%20Ellis%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28ROLLINS%20James%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28SUSSMAN%20Paul%29=removeReadingStatusFilter()
LastLibraryReadingStatusFilter_shelf_filterByBookshelf%28VINGE%20Vernor%29=removeReadingStatusFilter()
LastLibrarySorter_Recommendations_=sortByNull()
LastLibrarySorter_articles_filterByArticles%28%29=sortByNewest()
LastLibrarySorter_books_=sortByNewest()
LastLibrarySorter_books_filterByAllItems%28%29=sortByNewest()
LastLibrarySorter_books_filterByArticles%28%29=sortByNewest()
LastLibrarySorter_books_filterByBundled%28%29=sortByNewest()
LastLibrarySorter_books_filterByKepub%28%29=sortByNewest()
LastLibrarySorter_books_filterByMine%28%29=sortByNewest()
LastLibrarySorter_shelfList_=sortByShelfName()
LastLibrarySorter_shelf_filterByBookshelf%28BELLEMARE%20Pierre%29=sortByNewest()
LastLibrarySorter_shelf_filterByBookshelf%28BERRY%20Steve%29=sortByTitle()
LastLibrarySorter_shelf_filterByBookshelf%28BROWN%20Dan%29=sortByTitle()
LastLibrarySorter_shelf_filterByBookshelf%28BYRNES%20Michael%29=sortByNewest()
LastLibrarySorter_shelf_filterByBookshelf%28CHATTAM%20Maxime%29=sortByNewest()
LastLibrarySorter_shelf_filterByBookshelf%28CHRISTIE%20Agatha%29=sortByNewest()
LastLibrarySorter_shelf_filterByBookshelf%28COBEN%20Harlan%29=sortByNewest()
LastLibrarySorter_shelf_filterByBookshelf%28COOPER%20Glenn%29=sortByNewest()
LastLibrarySorter_shelf_filterByBookshelf%28CRONIN%20Justin%29=sortByNewest()
LastLibrarySorter_shelf_filterByBookshelf%28DIETRICH%20William%29=sortByTitle()
LastLibrarySorter_shelf_filterByBookshelf%28DOCUMENTATION%29=sortByNewest()
LastLibrarySorter_shelf_filterByBookshelf%28GIACOMETTI%20Eric%20et%20RAVENNE%20Jacques%29=sortByTitle()
LastLibrarySorter_shelf_filterByBookshelf%28KING%20Stephen%29=sortByTitle()
LastLibrarySorter_shelf_filterByBookshelf%28PETERS%20Ellis%29=sortByNewest()
LastLibrarySorter_shelf_filterByBookshelf%28ROLLINS%20James%29=sortByNewest()
LastLibrarySorter_shelf_filterByBookshelf%28SUSSMAN%20Paul%29=sortByNewest()
LastLibrarySorter_shelf_filterByBookshelf%28VINGE%20Vernor%29=sortByTitle()
LastLibrarySubFilter_books_filterByAllItems%28%29=
LastLibraryTab=Books
LastLibraryViewType_articles=viewBy3x3ArticleGrid()
LastLibraryViewType_books=viewBy5List()
LastLibraryViewType_news=viewBy5List()
LastLibraryViewType_shelf=viewBy5Shelf()
LastSearchType_ReadingView=Dictionary
LastShelfListSorter_shelfList_=sortByShelfName()
LastShelfSorter_books_=sortByNewest()
LastSyncTime=@Variant(\0\0\0\x10\0%{q\x4\x9e?J\x2)
LibraryViewVisitCount=1
LongPressDialogShown=true
MostRecentReadID=file:///mnt/onboard/ROLLINS James/Sigma 01 - Tonnerre de sable - ROLLINS James.epub
PeriodicAutoSync=false
PromotionsAvailable=true
QuickTourShown=true
QuickTourWidgetShown=true
ReadABookShown=true
ReadingSettingsChanged=true
RefresherDialogShown=true
ShowBrightnessToast=false
SwipeDialogShown=true
SyncReminderDialogShown=true
firstRunDate=@Variant(\0\0\0\x10\0%y\xfb\x4~\x85\xe6\x2)
lastPlugTime=@Variant(\0\0\0\x10\0%\x81\x8a\x4ye\xa0\x2)
pocketFteTileShown=true
showFirstTimeExperience=0
sleepOnNextBoot=false

[FeatureSettings]
FullScreenReading=true

[GoogleAnalytics]
visitorCookie=253130064.2129312266.1384558724.1336769446.1336769446.167

[PowerOptions]
FrontLightLevel=4
FrontLightState=true
FullscreenCoverStretch=true
InvertFooterWithFrontlight=false
ShowBookCover=true
SleepAccessoryEnabled=false

[Reading]
bookProgressType=2
fullScreenReading=false
libraryBuilderBlueprint=filterByBookshelf(ROLLINS James)\nremoveReadingStatusFilter()\nviewBy5Shelf()
numPartialUpdatePageTurns=99
pageTurningOption=default
pinchToZoom=false
poolMode=false
readingAdobeShowPageNumbers=false
readingAlignment=justify
readingFontFamily=Charis SIL ModifiedLarger
readingFontSharpness\Georgia=@Variant(\0\0\0\x87\xbd\xcc\xcc\xcd)
readingFontSharpness\Kobo%20Nickel=@Variant(\0\0\0\x87\0\0\0\0)
readingFontSize=22
readingFontWeight\Georgia="@Variant(\0\0\0\x87=#\xd7\n)"
readingFontWeight\Kobo%20Nickel=@Variant(\0\0\0\x87\0\0\0\0)
readingLeftMargin=2
readingLineHeight=1.07
readingMenuState=
readingRightMargin=2
swipeBrightness=false

[ReadingLife]
NotificationsEnabled=true
ODM=false
StatsTrackingEnabled=true

[RushHour]
BoardNumbereasy=17
DifficultyLevel=expert
SavedMoves=@Invalid()
Reboot to test your changes.

7. Give us the result.

Last edited by akorx; 08-29-2017 at 06:33 PM.
akorx is offline   Reply With Quote