Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 06-04-2024, 04:54 PM   #1351
Falafelteller
Enthusiast
Falafelteller began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Mar 2023
Device: Kindle Oasis, Tolino Vision Color
I have tried Nickelmenu on my Kobo Libre Colour, I enabled telnet but I can not log in.
I tried with username root and empty password but it won't log me in. Any advice? whats the password?
Falafelteller is offline   Reply With Quote
Old 06-04-2024, 05:42 PM   #1352
Didier
Junior Member
Didier began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2013
Location: Paris, France
Device: Kobo Libra
Try admin admin
Didier is offline   Reply With Quote
Old 06-04-2024, 06:30 PM   #1353
Didier
Junior Member
Didier began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2013
Location: Paris, France
Device: Kobo Libra
Hi all, I have adapted the battery script to Libra Colour :
- found correct path
- commented out empty lines (they generate error messages on Libra Colour, weird ?)

The result is attached.

Here is the script :

Quote:
# Battery Statistics Calculator 1.1 (2024-05-25) by Aleron Ives
#
# This script calculates battery statistics for the Kobo Libra 2.
# (adapted for Libra Colour : see v_pct")
# (adapted for Libra Colour : "bd71827_bat" instead of "battery" in path)
# Check the contents of /sys/class/power_supply/ if you use a different
# model to ensure that the statistics you want to track are available.
#
# You can use NickelMenu to invoke this script like so:
# menu_item :main :Battery :cmd_output :500 :/mnt/onboard/.adds/battcalc.sh
#
# Gather the necessary statistics
#
meter=$(cat /sys/class/power_supply/bd71827_bat/capacity)
v_now=$(cat /sys/class/power_supply/bd71827_bat/voltage_now)
v_min=$(cat /sys/class/power_supply/bd71827_bat/voltage_min)
v_max=$(cat /sys/class/power_supply/bd71827_bat/voltage_max)
c_now=$(cat /sys/class/power_supply/bd71827_bat/charge_now)
c_full=$(cat /sys/class/power_supply/bd71827_bat/charge_full)
c_dfull=$(cat /sys/class/power_supply/bd71827_bat/charge_full_design)
#
# Format the statistics
#
#let v_pct=$v_max-$v_now; let v_pct/=7000 # Calculate charge percentage from V - Libra 2
let v_pct=$v_max-$v_now; let v_pct/=9000 # Calculate charge percentage from V - Libra Colour
let v_pct=100-$v_pct # "
let v_now/=1000; let v_min/=10000; let v_max/=10000 # Convert to V
let c_now/=1000; let c_full/=1000; let c_dfull/=1000 # Convert to mAh
let v_nowr=$v_now%1000; let v_now/=1000 # Simulate floating-point arithmetic
let v_minr=$v_min%100; let v_min/=100 # "
let v_maxr=$v_max%100; let v_max/=100 # "
let charge=$c_now*100/$c_full # Calculate charge percentage from mAh
let c_health=$c_full*100/$c_dfull # Calculate health percentage from mAh
#
# Display the results
#
echo Capacity: $c_now mAh / $charge% / $meter%
echo Voltage: $v_min.$v_minr V / $v_now.$v_nowr V / $v_max.$v_maxr V / $v_pct%
echo Health: $c_full mAh / $c_dfull mAh / $c_health%
Attached Thumbnails
Click image for larger version

Name:	Capture d'écran 2024-06-05 001114.png
Views:	30
Size:	60.3 KB
ID:	208705  
Didier is offline   Reply With Quote
Old Yesterday, 12:12 AM   #1354
Falafelteller
Enthusiast
Falafelteller began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Mar 2023
Device: Kindle Oasis, Tolino Vision Color
Quote:
Originally Posted by Didier View Post
Try admin admin
Thanks, that worked.
Falafelteller is offline   Reply With Quote
Old Yesterday, 07:10 AM   #1355
beedaddy
Groupie
beedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoon
 
Posts: 156
Karma: 131606
Join Date: Oct 2011
Location: Germany (south-west)
Device: Kobo Libra 2, Tolino Shine 5th Gen
Has anyone already tried NickelMenu on the tolino shine 5? Since the firmware v5 no longer recognizes KoboRoot.tgz, is renaming enough? Or should one keep one's hands off it at the moment?
beedaddy is offline   Reply With Quote
Old Yesterday, 08:39 AM   #1356
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,766
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by beedaddy View Post
Has anyone already tried NickelMenu on the tolino shine 5? Since the firmware v5 no longer recognizes KoboRoot.tgz, is renaming enough? Or should one keep one's hands off it at the moment?
It needs a different build for qt6... it won't even load if you try it.
geek1011 is offline   Reply With Quote
Old Yesterday, 09:29 AM   #1357
beedaddy
Groupie
beedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoonbeedaddy knows that there *is* no spoon
 
Posts: 156
Karma: 131606
Join Date: Oct 2011
Location: Germany (south-west)
Device: Kobo Libra 2, Tolino Shine 5th Gen
Quote:
Originally Posted by geek1011 View Post
It needs a different build for qt6... it won't even load if you try it.
Right, QT6... I was (also) afraid of that. Thanks for clarifying this.
beedaddy is offline   Reply With Quote
Old Yesterday, 03:41 PM   #1358
mullse01
Junior Member
mullse01 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2024
Device: Kobo Clara BW
Quote:
Originally Posted by hatuluang View Post
Yes, you are right the light level doesn't change between two stages, unfortunately.
I know I'm late to the party, but i found a solution to solve this issue: I've added a chain_always command after the dark mode toggle that runs a shell script:
Quote:
menu_item : reader : Toggle Dark Mode : nickel_setting : toggle : dark_mode
chain_always : cmd_spawn : quiet : exec /mnt/onboard/.adds/misc/DarkModeHelper.sh
And here's the script:

Quote:
#!/bin/sh

KOBO_CONF="/mnt/onboard/.kobo/Kobo/Kobo eReader.conf"

if grep '^DarkMode=true' "$KOBO_CONF"; then
ioctl /dev/ntx_io 241 -v 1
sed 's/^FrontLightLevel=.*/FrontLightLevel=1/g' <"$KOBO_CONF" >"$KOBO_CONF".tmp && mv "$KOBO_CONF".tmp "$KOBO_CONF"

elif grep '^DarkMode=false' "$KOBO_CONF"; then
ioctl /dev/ntx_io 241 -v 5
sed 's/^FrontLightLevel=.*/FrontLightLevel=5/g' <"$KOBO_CONF" >"$KOBO_CONF".tmp && mv "$KOBO_CONF".tmp "$KOBO_CONF"

fi
This way, every time you toggle Dark Mode, there is a check to determine whether dark mode has been turned on or off ; it then changes the level accordingly in ioctl AND in "Kobo eReader.conf", so that the level changes persist across reboots.
mullse01 is online now   Reply With Quote
Reply

Tags
kobo, launcher, ldpreload, nickel


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo eReaders and Heat PeterT Kobo Reader 13 08-02-2014 04:35 AM
kobo arc launcher not working lana loves books Kobo Tablets 8 03-21-2014 06:40 AM
Orginization on kobo ereaders crochetgeek2010 Kobo Reader 7 09-03-2013 02:13 PM
Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US markemark News 1 04-02-2013 01:46 PM
Ereaders with Integrated Dictionary poohbear_nc Which one should I buy? 4 04-08-2010 06:42 AM


All times are GMT -4. The time now is 12:53 AM.


MobileRead.com is a privately owned, operated and funded community.