Quantcast
Channel: MobileRead Forums - Kobo Developer's Corner
Viewing all 1561 articles
Browse latest View live

goodreads on kobo?

$
0
0
Hi Folks,

I have a glo (loving it), and I haven't looked into the hacking possibilities yet. While I know that amazon bought goodreads, i'm wondering if anyone has thought about making some sort of app that would integrate goodreads into the glo? It'd be awesome, for example, to post your book ratings right from the glo, look at recommendations, etc. Pie in the sky, I know, but I'm really not sure what hacking the glo is capable of.

thanks!

Glo Few questions before I get a Kobo Glo

$
0
0
Hi all,

I am looking for a new e-reader and would have some questions about the Glo.

But i'm in France and the only version available is the one branded by the Fnac.

Is that possible to get rid of the Fnac firmware version and upgrade to a naked Kobo "clean" one?

The goal is to have something as close to the "factory version" as possible.

Then, just install the script that enables light managment.

Thanks,

Telnet on Kobo Mini (firmware

$
0
0
I'm trying to get telnet working on my Kobo Mini per the instructions in the wiki, but am having no luck. I am using firmware 2.6.1. All the steps seem to work fine, but when I attempt to connect to telnet with my computer, I get "Connection closed by foreign host".
Anyone manage to get this working?

Glo Need help for enabling ftp on Windows

$
0
0
Hi,

I've recently buyed a Kobo Glo, and i'd like to add some tweaks on it.
After some search, i can't find any tuto to enable it on the Glo reader.

Could ou help me please ?
Regards.

Kobo files monitor

$
0
0
Hi!

File monitor is a simple tool that allows to track opening of the specific files (e.g. png icons) and run specific commands in response. For today it seems that is is the only way to run shell scripts and programs on kobo.

Earlier it was the part of KoboLauncher, but I decided to improve it and make the separate installation.

You can download it (including the sources) here:

http://pbchess.vlasovsoft.net/files/kobo/fmon.zip

Installation:

1. Install KoboRoot.tgz
2. Create .kobo/fmon directory and copy "fmon" executable file there
3. copy on_start.sh to your .kobo directory
4. edit on_start.sh - add the custom commands.
5. copy png icons into the root of kobo's flash.

on_start.sh example:

Code:

#!/bin/sh
root=/mnt/onboard
$root/.kobo/fmon/fmon $root/launcher.png $root/.kobo/KoboLauncher/KoboLauncher.sh >> $root/.kobo/fmon/fmon.log.txt 2>&1 &
$root/.kobo/fmon/fmon $root/reboot.png $root/.kobo/KoboLauncher/utils/reboot.sh >> $root/.kobo/fmon/fmon.log.txt 2>&1 &

KoboLauncher.sh will be executed after launcher.png opening; reboot.sh will be executed after reboot.png opening from the kobo shell.

on_start.sh also allows to run another specific commands during kobo startup.

IMPORTANT:

1. on_start.sh is executed from on_animator.sh when onboard flash is already mounted. There is almost no risk to spoil your kobo boot process editing on_start.sh because on_animator.sh is a background process.

have fun!

Mini Wikipedia, new translation options, and many other tweaks to nickel

$
0
0
A few tips tested on the mini, (probably works on other kobos) that I have not seen reported yet?

Also a lot of new possibilities for others to test further, and please report back to this forum:thanks:

Apart from the options already enter in the “kobo eReader.conf” file, according to the string found in libnickel library, a few more is possible to activate options in nickel not accessible from gui.

Under the section of:

[FeatureSettings]
• AllowDevConsole=true
Activates a new button at the end of the settings list. This button opens a page with 3 buttons, “fonts test”, “Activites” (empty, probably a log) and “save” (Report if your find out what it does:chinscratch:).
• GestureKeyboard=true
When dragging your finger across the keyboard, a line is drawn. Probably like a swepe keyboard found on mobile phones, but without a T9-lookup this seems pointless. Report if your find out what it can be used for
• OnlineWikipedia=true :2thumbsup
Wikipedia in kobobooks GREAT! When longpressing a word in a kobobook, using the dictionary menu, a new items give access to online lookup in Wikipedia. Needs wifi.
The whole reason I started to look in the binary libnickel was to find how to activate the libwikipedia.so library found in /usr/local/kobo/. - Now I just need to find a way to activate libcrossword
There is some strange things with the fonts in the Wikipedia dialog, when you do the second lookup, the fonts changes.:blink:
• PhraseTranslation=true
Like the Wikipedia, highlight a whole sentence in a kobobook, then use the dictionary menu to translate the whole sentence to another language. Uses online translation, so it needs wifi.
• TelnetConsole=
Unknown, does NOT enable a telnet login over wifi, somebody try if this work over usb:chinscratch:
• BookSpecificStats=true
Enables more stats when pressing the % read in the lower left corner.
• FullBookPageNumbers=
Might be pagenumber for full book rather than for each chapter?
The rest of the options is not tested, please try them out, and report back if you find out what they are for. :help:
Also please notice that I’m not exactly sure that they are listed under the correct section. (between brackets[]) So test them in other sections, if they do not seem to work in the ones listed below.

[Services]
• AbTestURL
• DictionaryUrl
• PeriodicSyncEnabled

[LibraryTabSettings]
• lastRecommendationPaletteWidth
• lastRecommendationViewIndex

[ReadingLife]
• MarketingMessages

[TasteQuizSettings]
• lastTasteQuizRatedCount
• lastTasteQuizInterestedCount
• lastTasteQuizNotInterestedCount
• lastTasteQuizItemsRated
• lastTasteQuizItemsShown
• tasteQuizEnabled

[FeatureSettings]
• TasteProfile
• SelectiveSync
• ReadingTimePerDay
• FullScreenBrowser
• TestSync
• Thesaurus

[ApplicationPreferences]
• ClockDisplayDuration
• ExtraLocales
• SyncAnimationSpeed
• NumMaxToasts
• SyncShelves
• ShowBrightnessToast
• QuickTourShown
• Debugging=true
WARNING this turns off sleep timeout, and burns battery.
• PromotionsAvailable

[Browser]
• SwipeDialogShown=true
Might have something to do with the Wikipedia dialog, its possible to “swipe” the dialog pages without using the small page arrows on the button:chinscratch:
[ReadingLife]
• readingAdobeShowPageNumbers
• libraryShowCovers
• readingBGColor
• readingTextColor
• readingTheme

Listed below are some strings listed after readingTheme, might be different themes
• Kepub-book-theme-
• Sepia
• Night
Hey:bulb2: maybe “Night” is a reversed display like the night mode hack. Or the readingBGColor and readingTextColor above can be used for the same effect.

Happy hacking all :iloveyou:
– kobo sure has a lot of easter eggs in this little gem of a ebook:thanks:

Enable sound output

$
0
0
Hi!

I´m using my Mini as a GPS gliding computer and it would be great to have sound output for warnings etc.
Since there is no headphone jack or speaker, my idea is to connect a USB sound card. Could you estimate what to do to get that working? Do you think it´s possible?

Regards,
Pascal

Loading a custom CSS on kepub opening

$
0
0
Hi,

I've spent some (interesting...) time strace-ing nickel and found that, on every kepub opening, it searches for this file:
Code:

/mnt/onboard/.kobo/kepub/kepub-book.css
So I tried to create such a file with a single line like this:
Code:

* { -webkit-hyphens: auto; }
and voilà, every book I open gets hyphenated!

This could also used to force other properties like widows/orphans, margin, ecc. ecc.

Running strace on Kobo

$
0
0
I've been asked more info on how I run strace on Kobo to gather infos on nickel (see here), so I'll open a new, dedicated, thread.

In order to run strace, you need to have telnet/ftp or ssh access to your kobo, you can find more info on this several threads here in MobileRead.

First step is to download strace.zip from this post and extract the strace executable from the archive.

Next put strace in your Kobo, e.g. in /root (you can use ftp for this).

Now you must flag the command as executable, by using this command from telnet:
Code:

chmod +x /root/strace
In order to use strace, you must launch a new executable or attach to a running process. Since nickel should be already running on your Kobo, you can find its pid with the 'ps' command:
Code:

ps | grep nickel
Suppose that the process id of nickel is 510, you can run strace on it with
Code:

/root/strace -p 510
If you are interested only in file operations, you can use the '-e' option of strace like this:
Code:

/root/strace -e trace=file -p 510
strace has a lot of other options, you can find them in its man page

Hope this helps.

Mini Need Sd image model n705

$
0
0
Hi, i've just brick my kobo mini trying a downgrade.
I try to clone the recovery partion to the root one on the sd, kobo starts the recovery,but after that it stops on the restart icon and then green led flashing.

Do you have a backup sd image for my model? please helpme! thanks!

GLO firmware version

$
0
0
Hi all

There is a file called version found in the /mnt/onboard/.kobo folder
or on the PC mapped as DRIVELETTER:/.kobo/version

How is this deciphered.

I recently experienced python and or pygame failing with the latest version of firmware and have purchased a few new units and need to know if i need to downgrade them..

Can anyone overcome the recent firmware ( only a few weeks ago that broke python pygame )

GLO IRDA Infared

$
0
0
I recently noticed there is a IRDA infared TX and TX led on the main PCB of the kobo glo

It would appear that maybe this is only used by the manufacturer to load the inital firmware on production maybe

It is located on the pcb behind the CE logo bottme left of the USB cable
I cant see any light coming out of it using my camera as a IT detector

I will post some pictures with the cover off..

you need to drill holes in the case to expose this but its a extra port that I would like to use for my custom kobo hacking I am doing..

does anyone know if its mapped to /dev/ttymxc1 or 2 or maybe the I2c ports found in the dev folder of linux

I know /dev/ttymxc0 is is a console login ( i have wired up a usb to serial adapter and can get root access with zero mods to the kobo firmware

Modifications for bad eyes

$
0
0
Some time ago I started modifying libnickel in an attempt to make the Touch more useful for people with bad eyesight. Because of copyright concerns I didn't upload the files in this forum, but offered to share them per PM.
Several people asked for some changes, or asked for a modified version of one FW in order to compare them to the original and apply them to the file of another FW or for another device. For these and some other reasons, I thought it might be better to share information and patch files, so that everybody can produce her own modified version.
Therefore, I put together a package consisting of one executable (for Windows), several patch files and a punch of batch files (for Windows). [The patch files, by the way, can be opened and edited with a simple text editor and show in detail what changes are made to libnickel; they contain also comments for easier maintenance. So they might be useful for people who don't intend to use the other parts of the package too.]

The current package is for FW 2.6.1b.

I previously planned to prepare this package for FW 2.8.1. But since this FW is noticeable different from 2.6.1 with regards to the points I am concerned with, I don't think I am able to do this in near future (if at all).

The current package modifies
- the library view (books, shelves)
- the annotation list and details view
- the search list
- some menus
- the dictionary
- the header and footer texts
- as an option it can set the user language to en_GB

If everything goes as planned, the whole process can be achieved with some mouse clicks.

I prepared the package mainly for the Touch. I did however change the values for Glow/Mini/Aura whenever I easily found them. Since I only own a Touch, I had to guess the values for the other devices without checking the results (so some of them are probably off).

If you have some findings or suggestions, please share them.

I attach one picture here. See here and here more pictures of earlier attempts (the current results however are slightly better).

Instructions are included in the package. I put it here too for your convenience:
Spoiler:
This presupposes that your OS is Windows XP or newer and that 7-zip is installed.

Preparing
1) unzip kbpatcher.zip on your PC (you should then have something like: C:\mytestprogs\kobopatcher)
2) download the upgrade file 2.6.1b (mark 4) to somewhere on the SAME drive (e.g. C:) as kobopatcher is located
3) extract KoboRoot.tar from the upgrade file
4) drag and drop KoboRoot.tar onto 01_drop_KoboRoot.tar_here.bat (drop it ONTO the .bat file, don't drop it IN/INTO the folder!)

Patching
5) double click on 02_libnickel_bigfontsize.bat
6) double click on one or several of the 03_...bat files, as fits your needs (the file names are self explaining, I hope)

Compressing
7) double click on 04_makeKoboRoot.bat

If everything went smooth, you should now find a new KoboRoot.tgz in the folder newKoboRoot. Connect your reader to the PC, copy KoboRoot.tgz to the .kobo folder of the reader, eject and disconnect the reader from the PC.

ATTENTION: The current patch files are only applicable to FW 2.6.1b. Your reader must have installed FW 2.6.1b. In order to know whether FW 2.6.1 is installed look at Settings>Device Information. To find whether it is version "b", use the test file from http://www.mobileread.com/forums/sho...3&postcount=63. Take the epub (rather than the kepub.epub). If the png-image does not display, you are on FW 2.6.1a, if it does display, you are on 2.6.1b.
DISCLAIMER: Use this package at your own risk.

Attached Thumbnails
Click image for larger version

Name:	KT261b_large.jpg
Views:	N/A
Size:	471.7 KB
ID:	108766  
Attached Files
File Type: zip kobopatcher.zip (59.6 KB)

Python for Kobo Firmware 2.6+

$
0
0
Python for Kobo devices running firmware 2.6 and newer.

Download Here


Usage
  • To install, just extract the zip file onto your Kobo.
  • For easy running of Python, create a symlink in /usr/bin to your Python binary:
    Code:

    ln -s <your python location>/bin/python2.7 /usr/bin/python
  • If you want to use Pygame, start Python like this:
    Code:

    LD_LIBRARY_PATH=<your python location>/pygamelibs/ python

Aura HD Small tool for filling book library in Kobo Aura

$
0
0
Small tool for filling book library in Kobo Aura

functionality:

- search of books in folders and subfolders
- grouping of books on authors
- editin book name and book author(only first author in list will be used for be visible and edited)
- editing of the author for group of books
- editing sqlite file and append in it of information on shelves, author name corresponds to the shelf name
- transfering books to the selected directory

the program can contain errors, i have no lot of time for debugging

you must do backup for sqlite file and source book lib folder

Attached Files
File Type: zip KoboLibImport.zip (5.47 MB)

Aura HD view file name

$
0
0
is there a hack for the aura hd that allows you to view a book by its file name? this can be in the form of a file browser or via metadata. currently, if you long press on a book in the library, you can "view details". but this doesn't give you any information as to the actual file name.

i side load all of my books and i ask this because i often name books of a series with a numerical prefix ("01 [title of book 1]", "02 [title of book 2]", etc). i want to be able to easily figure out which number in the series is the next to read without having to use a computer to look at the actual file name.

thanks.

Aura HD IMAP email client?

$
0
0
Today my Aura HD arrived, it is my first ereader, consider me a e-reader newbie.

I'm a Linux developer http://github.com/skinkie and basically I am interested in an e-mail client on the Kobo. My guess is this question has popped up before, and more people are interested in it: best case it already exists (I couldn't find it).
  1. Is there already a working mail client?
  2. If I wanted to start to develop one, using standards libs, what is the best place to start for display output?

I'm basically thinking in the terms of a long list with subjects / senders, a header, starting with a reading client.

A Proper Web Browser

$
0
0
Out of curiosity, has anyone here succeeded in getting a proper web browser (such as Chromium or Firefox, or even Opera) running on a Kobo Linux (Glo/Touch/Mini) device? Any successful attempts at compiling Firefox Mobile, for example?

kobo mini bricked?

$
0
0
I had some problems and I had no idea how to rebuild the database file so i threw 2.6.1 firmware to my kobo hoping it will fix it. I am sure that there was no information about updating firmware on screen, but unfortunately, i apperantly did something wrong (pulled usb cable in/out or unpatiently used power switch or something like that)

and now my kobo is stuck at "Powered off :|" screen

Even the leds won't light. I tried internal reset button and power slider combinations but don't really know what's (or even if there is) the proper one for a hard factory reset for Kobo Mini. A casual holding power etc doesn't do anything.

I am able to access recoveryfs and rootfs partitions, copying recoveryfs into rootfs doesn't help (yes, this time i did a small backup of rootfs's files -,-), I didn't even know if it was smart but I was hopeless

The only sign of life from my Kobo is
Quote:

Bus 002 Device 050: ID 15a2:0052 Freescale Semiconductor, Inc. i.MX50 SystemOnChip in RecoveryMode
appearing for 5 seconds in lsusb in linux console when it's plugged to my pc and i try to turn it on.

Is there any hope that my hardware isn't broken?

install pyserial on python 2.7.2

$
0
0
Hi guys

I am writing some code to talk to the serial port
I have installed the Kernal from XCSoar that gives me

/dev/ttyUSB0 when using USB OTG prolific usb-serial adapter

I can read and write to the serila port change baud rate etc via shell

But I want to do some serial stuff in python


the import serial command doesnt work ( as the 2.7.2 does have serial to import )

any suggestions..
Viewing all 1561 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>