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

Instructions for patching firmware 3.16.0

$
0
0
Before starting:

1. Make sure your Kobo ereader is already running firmware version 3.16.0 (f56b42a2e1).

2. Check that your battery is well charged.

3. Note that in Windows 8 the instructions below might require the batch file to be run in admistrator mode.


Patching from Windows, Linux (i386/x86_64), or Mac (OS X 10.8-10.9, i386/x86_64):

1. Download and extract patch_kobo_3160.zip (attached). [WARNING: If using Windows, make sure the path to the extracted files does not contain any '&' characters.]

2. Download the Kobo firmware archive version 3.16.0 for your device (See this thread) and copy it into the 3.16.0_source/ subdirectory. (Don't extract.)

3. Read and edit all the *.patch files in the 3.16.0_source/ subdirectory in order to: choose which patches to enable (patch_enable=`yes`) or disable (patch_enable=`no`); and to change some of the replacement values to suit your device and preferences.

4. In Windows double-click 3.16.0.bat; For Linux/Mac open a terminal, change to the patch_kobo_3160/ directory, and run ./3.16.0.sh from the command line.

5. If there were no errors, copy the resulting KoboRoot.tgz from the 3.16.0_target/ subdirectory to the .kobo directory on your ereader.

6. Safely eject and unplug the device, which will then update and restart.


To return your ereader to its original unpatched state:

1. Edit all the 3.16.0_source/*.patch files to disable all patches (set patch_enable = `no` for every patch).

2. Repeat steps 4-6 of the procedure above.

Attached Files
File Type: zip patch_kobo_3160.zip (473.0 KB)

Glo Line space bug with some fonts

$
0
0
I notice that with some fonts when i reopen a ebook or open another ebook, the line space don't agree to that i set. for exampe the line space of the book is very little. is there a way to fix? Maybe editing the font?
Thanks

Adding new interface languages

$
0
0
The whole thing is still a little experimental. I describe the work flow:
  1. extract a qm file from nickel
  2. create a ts file based on the qm file
  3. replace the translations in the ts file by the new translations
  4. run lrelease against the new ts file in order to create a qm file
  5. rename the new qm file after the language you intend to replace, e.g. trans_it.qm
  6. copy the new qm file to usr/local/Kobo/translations

Be aware that the language you replace defines how date and time are formatted, and may have further effects.

For now, I have done steps 1 and 2. The resulting ts files are in the uploaded archive. The archive contains two ts files one with English translations, and one with Japanese translations. Use the English ts file for languages that distinguish grammatically between singular and plural, and Japanese for languages that do not.

If you like I can do points 4 and 5 for you if you upload your ts files.

The current ts files concern FW 3.16.0. Future firmwares might require updating these files.

Attached Files
File Type: zip kobo_ts_3160.zip (227.9 KB)

Choosing a screensaver cover by adding an image into a Shelf

$
0
0
Hi,
Following an idea of davidfor discussed here ; I figure this out :

This is working, basis on database tests only
(where i simulated the adding, the updating, etc by sql cmd) assuming :

1. the shelf is named Screensaver (watch the capital S)
2. the images are in a root directory named screensaver OR are named screensaverXX.ext
3. the images are added into the shelf by a insert (how could be)
4. remove an item from a shelf doesn’t delete the line in ShefContent but sets the _IsDeleted value at ‘true’
5. re-adding the item updates the line with ‘false’ value.
6. the kobo is configured to display the cover of the book which is reading
7. It’s not designed to have more than one image inside the Screensaver shelf at the same time but I’m also curious to see what happen if two images have exactly the same content DateLastRead and ReadStatus...
Options I could imagine are 1. choose randomly (which could be great but from my experience, the system don’t do that) 2. take another image which has an earlier date 3. take always the same image by choosing on another thing (the row, the id, alphabetically ?).


Won’t be able to test it on a kobo device before friday. If somebody want to try... :) (at your own risk and after a backup of koboreader.sqlite)


Code:

create trigger add_screensaver
after insert on ShelfContent
for each row
when new.ShelfName = 'Screensaver'
and new.ContentId like '%screensaver%'
BEGIN
update content
set DateLastRead = '2032-01-01T12:00:00Z', ReadStatus = '1'
where ContentID = new.ContentId
and ContentType = '6';
END

create trigger delete_screensaver
after update of _IsDeleted
on ShelfContent
for each row
when new._IsDeleted = 'true'
and old._IsDeleted = 'false'
and old.ShelfName = 'Screensaver'
and old.ContentId like '%screensaver%'
BEGIN
update content
set DateLastRead = '2015-01-01T12:00:00Z', ReadStatus = '2'
where ContentID = old.ContentId
and ContentType = '6';
END

create trigger addagain_screensaver
after update of _IsDeleted
on ShelfContent
for each row
when new._IsDeleted = 'false'
and old._IsDeleted = 'true'
and new.ShelfName = 'Screensaver'
and new.ContentId like '%screensaver%'
BEGIN
update content
set DateLastRead = '2032-01-01T12:00:00Z', ReadStatus = '1'
where ContentID = new.ContentId
and ContentType = '6';
END

heavily used the doc available here for the relation (even if it’s a little old now)

Glo USB not working.

$
0
0
Hey people of MobileRead,
I've encountered the following problem: USB doesn't work.
When I connect USB cable (the one that came with Glo) - Glo is offering me to "connect" (if Nickel is running), in KSM when i choose usb enable.sh OR usb with nickel id - it "hangs" like always but then does nothing, after screen refresh all 3 options are still here.
When i use usbnet (from Vlasovsoft launcher OR KSM itself) - it works :O
If i reinstall 3.13.1 - it works for the first time, but after Glo is powered off - doesn't work anymore.

Oh, and i can't do factory reset 'cause i've used dualboot patch (android one) and now it's waiting for android microsd instead of doing factory reset if i hold frontlight button.

Any suggestions how to fix that?
Thanks.

UPD: All the stuff happened after Glo discharged and was untouched for ~2 weeks.
UPD2: If there's a way to remove dualboot - i'd gladly do it, since i've lost my android microsd anyways.
UPD3: Damn it, just noticed that i made a topic in the Developer's corner -_- And can't remove it either -_- Mods, would you gladly assist me moving it outside the developers corner? Thanks.

Virtual frambuffer switching for Kobo

$
0
0
Hi,

There are several programs which run on the kobo reader and take it over, such as debian linux, or andriod, etc. And I was wondering if anyone had a program that is able to save the state of the framebuffer, eg; save the orientation, and data on the frame-buffer, and restore them -- so that switching between kobo reader mode, and these alternate systems could be done on the fly, rather than having to reboot and pull or insert an sd card?

I've written a virtual terminal that runs on my Kobo GLO, that I want to be able to run alternately with nickel; It's a vt52 emulator with unicode capability, international morse code keyboard interface that allows all control, alt, shift, keys and all characters on a vt52 keyboard to be produced without ever having to draw a vitual keyboard onscreen; including an extra xterm SGR mode mouse ( xterm mode 1006 ) which means full linux compatibilty for command line programs that run in an x-terminal under curses; eg: vim, emacs, etc. including cut and paste.

I set it up to proxy the touch-screen driver under /dev/input/event1 -- so that I can steal screen touches before nickel gets them and still pass them on to nickel if I don't want them; which allows me to catch an escape sequence that nickel happily ignores; so that I can use this gesture to launch a script to change modes between virtual terminal and nickel, and back again. I just need a program that can save and load the framebuffer so that I can complete the switch -- and I'd rather not re-invent it, if a program already exists.

Also, I have another issue,
I'd like my terminal program to be able to work with an extenal keyboard as well; and because of that, I bought an android external USB keyboard, and an adapter to plug in into kobo's USB OTG slot;
It does plug in just fine, but the KOBO kernel does not recognize the keyboard as it causes no dmesges at all -- Do I need to load a kernel driver, or something, and if so -- which one ?

Kobo WebPortal / Notes / ServiceMenu

$
0
0
This used to be a mod for the iriver Story HD.
Old threads for sake of history:Story HD Mod: WebPortal ; Story HD Mod: Notes ; Story HD Mod: ServiceMenu.


The Kobo Web Portal is a local webserver, running on your Kobo. It has a HTML landing page with links to several sites. It can also run CGI scripts and thus provide you with browser-based apps.

Unfortunately it won't work if no wifi network is available, since the Kobo refuses to start the webbrowser. But it does come with a small hack that allows intranet wifi networks (without real internet connectivity).

After installation it can be reached via http://webportal/ and you can choose to "Set Page as Home" in Kobo's webbrowser settings.

To install, copy KoboRoot-WebPortal.tgz » .kobo/KoboRoot.tgz

After the installation you will find the following files:
  • .webportal/cgi-bin/notes (sample CGI script, see below)
  • .webportal/cgi-bin/servicemenu (sample CGI script, see blow)
  • .webportal/httpd.conf (webserver configuration file)
  • .webportal/index.html (WebPortal landing page, edit to your liking)
  • .webportal/ncsi.txt (part of the intranet wifi hack)
  • .webportal/vhosts.conf (vhosts configuration file, also part of the intranet wifi hack)

Note: These files will be overwritten any time you install this mod. If you customize these files, make backups! Alternatively set a different home directory in httpd.conf and make your customizations in that directory.

To uninstall, create .webportal/uninstall and reboot the device. It will be renamed to .webportal/uninstall-date-time and you can remove the .webportal directory yourself.

Notes


Read, write and edit notes as plain text files in your webbrowser. They will be stored in /notes/file.txt. May be useful for shopping lists or something. (From the way it looks you can tell it was originally made for another device. I've yet to learn Kobo browser oddities. Clicking the 'save' button only seems to work while the keyboard is open.)

ServiceMenu


Displays system info. Checks internal and external memory for read errors. Also has an option to format the external card. (On the iriver Story HD, this mod could also format the internal card, and delete the book database, but I've disabled it here).


:oops2:
The 5 people who already downloaded this the day it was released (30-Jun-15) should redownload it. There was a bug in the uninstall/update routine.

Another issue I believe is a Kobo bug: If you set a different start page in the browser but that page becomes unavailable, it breaks Wifi - device will always say "oops something went wrong" even if there is nothing whatsoever wrong with the connection. Therefore if you used "Set Page as Home" to set WebPortal as entry page, you should set it back to Google (or something reliable) before uninstalling the WebPortal mod.

Attached Thumbnails
Click image for larger version

Name:	webportal.jpg
Views:	N/A
Size:	57.3 KB
ID:	139851   Click image for larger version

Name:	servicemenu.jpg
Views:	N/A
Size:	63.5 KB
ID:	139852   Click image for larger version

Name:	notes.jpg
Views:	N/A
Size:	90.0 KB
ID:	139968  
Attached Files
File Type: zip KoboRoot-WebPortal.zip (6.0 KB)

MathML, HTML5 Canvas, Javascript

$
0
0
I've be testing Kobo Reader App for iPad/iPhone and have found it supports many of the latest EPUB3 standards including MathML, HTML5 Canvas, and JavaScript. Has anyone used these capabilities in creating interactive Kobo books?

Touch porting tinycore linux to touch

$
0
0
I am wondering if anybody has tried porting Tinycore Linux[1] to the touch?

I would like to use it place of the current touch gui


[1] http://tinycorelinux.net/

initiate factory reset by script

$
0
0
Could anybody please confirm whether this script looks okay? It is meant to be run from an external sd.

Code:

#!/bin/sh

PLATFORM=freescale
if [ `dd if=/dev/mmcblk0 bs=512 skip=1024 count=1 | grep -c "HW CONFIG"` == 1 ]; then
  CPU=`ntx_hwconfig -s -p /dev/mmcblk0 CPU`
  PLATFORM=$CPU-ntx
fi

if [ -f "/etc/u-boot/${PLATFORM}/u-boot.recovery" ]; then
  dd if=/etc/u-boot/${PLATFORM}/u-boot.recovery of=/dev/mmcblk0 bs=128k count=1 seek=6
  sync
  reboot
else
  mount -o remount,rw /mnt/sd
  sleep 2
  echo "Cannot find /etc/u-boot/${PLATFORM}/u-boot.recovery" > /mnt/sd/factory_reset.log
  sync
  /bin/busybox poweroff
fi

For the older Kobo Touch, if it is running on an older FW (3.0.0 and older), one would have to set the PLATFORM to ntx508.

Kobo's busybox, setuid and mystery about /bin/busybox ?!

$
0
0
Hi,

I'm working on a KoboAuraHD and Glo, and of course -- for an embedded system the Kobo uses busybox (likey to save memory) and busybox has some peculiar problems.

I'm needing to create user accounts that are not super-user based, and which allow users to add their own temporary libraries (LD_LIBRARY_PATH), but still allow users to login as superuser, or execute scripts with a command like sudo.

That way games can be installed relatively safely on the kobo.

But -- the kobo won't allow a user to do that. eg: Busybox in the Kobo isn't installed as set user id enabled, and also linux on the Kobo prevents plain scripts from running set user id for good security reasons.

So -- I thought, no problem -- turn on suid root on busybox and configure it like a normal linux system. But then things got *really* strange.....

For a configured busybox doesn't work quite right. eg: And I mean even if /bin/busybox is owned by root, and chmod u+s /bin/busybox is done -- and busybox is configured so that ONLY two busybox applets are allowed to actually run suid, the rest being demoted to normal user -- it STILL doesn't work right.

I did in fact install this config as root:root @ chmod 600 /etc/busybox.config
Code:

[SUID]
su = ssx root.root
login = ssx root.root


When a normal user tries to run su or login, busybox is SUPPOED to erase the shell variable LD_LIBRARY_PATH, and several others during busybox operation so that no one can use a hacked library to crack into the system. But busybox has no reason to keep the variables cleared, unless the user is running a dangerous applet as root.

Normally busybox doesn't cause problems...

However, on the Kobo, busybox's modified code strangely doesn't appear smart enough to tell the difference, and it clears the variables regardless of whether they are dangerous or not; and never restores them. ( Hence it causes bugs in innocent programs. )

For example if I want to use a python script requiring an interpreter stored on extenal SD card, which is plugged in temporarily; then there are no superuser priveleges involved, desired, or needed -- and no reason to clear LD_LIBRARY_PATH after busybox terminates suid mode.

Yet, if I export LD_LIRBARY_PATH=/mnt/sd/libs and then create a python script with the standard opening line:
Code:

#!/usr/bin/env python
#test.py -- this file is a script to test python.
print "ran a python 2.7.10 script"

The following happens when you try to use it from a login shell (but not a root shell).

Code:

$ EXPORT LD_LIBRARY_PATH=/mnt/sd/libs
$ ./test.py
python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory
$ python test.py
ran a python 2.7.10 script
[18366 refs]

And the reason is simple, because env is a busybox command -- and it's erasing LD_LIBRARY_PATH and forgetting to restore it once it realizes that 'env' is not supposed to be run as superuser. The erasure never happens except when a busybox command is run.

I tried to download busybox source code to figure out how add code to solve the problem.
But what I'm reading in the source code, and what is happening with busybox don't match.

I even asked George.talusan which version of busybox the Kobo used a while back to make sure I'm not insane, and was told after much ambiguous dialog that the version *in* the repository is in fact up to date. (http://www.mobileread.com/forums/sho...0&postcount=26 )

OK. Fine. So I'll assume the *unlabeled* version of busybox on the kobo git repository is in fact up to date. ( https://github.com/kobolabs/busybox ).

Now, here's where it gets really weird -- see if you can explain what I discovered...:
Busybox runs a subroutine that sanitizes several variables, the routine is the ONLY place that the word LD_LIBRARY_PATH shows up in the whole KoboLabs busybox repository:

https://github.com/kobolabs/busybox/.../libbb/login.c

When I do strings /bin/busybox on the Kobo, sure enough there is only ONE instance of that string in the whole busybox binary. And it should NOT clear shell variables once busybox decides to de-escalate from superuser setuid mode to normal mode... but apparently it still does...

So -- I thought I'd be smart, and used a hex editor to do an experiment -- and searched the /bin/busybox binary, and found the table of strings. I changed only LD_LIBRARY_PATH, to LE_LIBRARY_PATH, and re-saved the binary with the change. I then re-installed it on my kobo as /bin/busybox.
This version of busybox is the one found on my AuraHD after installing KoboUpdate version 3.15.0, which I downloaded manually from MR forums link, and the hexeditor dump of the part I changed follows:

Quote:

0081660: 484f 4d45 0049 4653 0053 4845 4c4c 004c HOME.IFS.SHELL.L
0081670: 455f 4c49 4252 4152 595f 5041 5448 004c E_LIBRARY_PATH.L
0081680: 445f 5052 454c 4f41 4400 4c44 5f54 5241 D_PRELOAD.LD_TRA
0081690: 4345 5f4c 4f41 4445 445f 4f42 4a45 4354 CE_LOADED_OBJECT
NOTE: You can find the original and edited files, as I got them off my AuraHD in the system.tar.gz archive at the end of this post; along with a utility program called 'system'.

So, in theory -- if /bin/busybox is being run, is must change LE_LIBRARY_PATH, instead of LD_LIBRARY_PATH. But that doesn't happen.... So I began thinking maybe a binary in memory was running and the one on disk was not because it was running when I changed it; so I even rebooted, and it still doesn't work. I checked the md5sum -- and my binary is installed at /bin/busybox.

WTFoobar?!

Busybox magically still erases LD_LIBRARY_PATH and does NOT erase LE_LIBRARY_PATH even though LD_LIBRARY_PATH does not exist anywhere in the binary.. How is this possible ??! :chinscratch:

Is the kobo really running /bin/busybox ? or is there a trick making it run a different version of it in spite of the applets specifically pointint at /bin/busybox ?

--------- In the meantime I made a hacky fix that is pretty unix flavor independent -------

I made a second program which allows me to work around the problem and takes up very little memory. Eg: it lets me implement sudo capability on scripts without recompiling busybox, so I can run some of busybox's commands by replacing their soft links in /bin/busybox with a suid script (which doesn't run as suid in linux), that calls a suid program (which does run suid in linux), to decide whether or not to run busybox as a different uid or NOT. This both fixes the problem -- indirectly -- and lets me test busybox out to see if the suid vs. real uid is causing the erasure or not -- result -- the difference in uid and euid is what triggers busybox to erase variables.

Since my only other choice is to recompile busybox so that I have two versions of it, one of which runs as suid -- and one which does not. And this solution wastes less memory.... I thought I would share it as a useful system tool.

I can now make what are reasonably secure one liner scripts like this one for /bin/su:
Code:

#!/bin/system \slogin root
The \s makes the script line following it run as superuser, but only if the shell script and the /bin/system program are both owned by root, and only if both are setuid.

Read the comments in the attached source code to how it works, as it's very short -- and I believe it still keeps the system secure. Comments welcome; Busybox no longer needs to be setuid, ever; though I would like to fix it properly.

Now I've tested this weird behavior out, and none of the explanations I come up with make sense.
Any geniuses out there, who can explain how a hex edited version of Busybox is still erasing LD_LIBRARY_PATH? (It's attached so you can check how I edited it.)

ffa324c328fdc4c168433337d4c58c7f busybox.old (Unedited MD5 sum)
0b17487b53dd95a306d834bb8a7ebd79 busybox (Edited busbox's MD5 sum)
e009836ddb97f0f9d01e854f20e2b249 system.tar.gz

Attached Files
File Type: gz system.tar.gz (786.5 KB)

Aura H2O Does the Kobo Aura H2O accepts 64GB SDXC?

$
0
0
Looking at the current cards on sale, I would almost expect it. However, I can't find the thread in which someone got a 64GB microSD card working.

Display Kobo Annotation on PC

$
0
0
Hi guys, I've looked in the forum without find the answer to my questions so I thought about starting a thread about it.
Basically I need to export and epub from the Kobo device along with its annotations and be able to read the book (with the annotations on the PC).
I had a Sony reader and I could do it without any problem, while with Kobo I can only extract the annotation, which isn't that useful for my purposes.

Ty in advance for the help

Changing the info panel in full size screensaver

$
0
0
Hi all

Is it possible change the info panel in screensaver full size (screensaver->show info panel on screen covers), that the panel will show in the top corner of the screen, and show only power-off or sleeping, and in small size.

Attached Thumbnails
Click image for larger version

Name:	IMG_20150711_124809.jpg
Views:	N/A
Size:	720.5 KB
ID:	140185  

building the SDK headaces

$
0
0
I am trying to build the kobo SDK by following these instructions:

http://www.mobileread.com/forums/sho...78&postcount=3

at the build-all step
Quote:

~/kobo/Koboreader/build/build-all.sh
libmng wont compile, I updated it to 2.0.3, and it compiled ;)
now QT wont compile:
Quote:

make: C++: command not found
:angry:
can someone help me?

Nickel Icons

$
0
0
This script extracts PNG icons from nickel (and possibly other binaries). It runs on disconnect from PC (currently without visual feedback). The extraction process takes about a minute.

You can edit and replace the PNGs with your own images, as long as they are not larger than the original image was. For some images it can be difficult to meet the size requirement: Reduce color depth. Try pngcrush. Disable optional PNG data (comments, etc.). If nothing helps, reduce colors even further / remove details.

The custom images will be written directly back into the binary. The script does check for valid PNG header and filesize, but even so, bricking is still possible - make backups of your data.

To install, KoboRoot-NickelIcons.tgz » .kobo/KoboRoot.tgz

After installation you will find a .nickelicons directory.
  • .nickelicons/uninstall.txt - uninstallation instructions
  • .nickelicons/report.txt - logfile of the last script run
  • .nickelicons/targets.txt - list of files to be processed by this mod (nickel)
  • .nickelicons/nickel/*.png - the extracted PNG images (leave as is)
  • .nickelicons/nickel/restore/*.png - put your edited PNG images in here (to be restored on disconnect)
  • .nickelicons/nickel/done/*.png - your edited PNG images (previously processed by the script - check report.txt for success)
  • .nickelicons/nickel/invalid/* - broken or invalid files found during processing

The script will not run if nickel/*.png exists (if it already extracted PNG before) and if nickel/restore/*.png does not exist (if there is no custom PNG to put back into the binary). So to start over you must remove .nickelicons/nickel/*.png.

A reboot is necessary to make the changes visible.

In order to uninstall the Nickel Icons mod, simply delete or rename the .nickelicons dir.

Uninstalling will not restore the original icons. You have to do so manually, before uninstalling, by moving the original PNG files into restore/. Alternatively, use a firmware update to get the original /usr/local/Kobo/nickel file back.

Attached Thumbnails
Click image for larger version

Name:	charge.jpg
Views:	N/A
Size:	116.1 KB
ID:	140240   Click image for larger version

Name:	connected.jpg
Views:	N/A
Size:	64.7 KB
ID:	140241  
Attached Files
File Type: zip KoboRoot-NickelIcons.zip (2.4 KB)

Desktop App Kobo annotation exporter

$
0
0
In February 2012 Yoths wrote a small tool for exporting annotations from the Sony PRS-T1 to HTML. After a few updates he disappeared from the forum and I have been unable to contact him. He did leave behind the sourcecode.

The program still does contains some bugs and I took it upon myself to try to squash those bugs. Not only that, but I also extended the program to also export annotations (and markings) from the Kobo readers that support annotations. Therefore I renamed the application from 'PRST1AnnotationExporter' to 'Annotation Exporter'.

This is the first release.

It supports:
- Highlights (text selection) for Sony PRS-Tx and Kobo
- Text annotations (text selection + typed note) for Sony PRS-Tx and Kobo
- Drawing annotations (text selection + painted note) Sony PRS-Tx only
- For ePub books, the original selected text can be expanded (e.g. to avoid the 200-characters-limit).
- Design your own export style, default and simple included

It DOES NOT support:
- Drawing annotations made by painting directly on a page (without text selection)

It still contains one bug that sometimes appears while exporting to HTML that has to do with the text expansion. I cannot fix this without a testcase. If other bugs turn up, please let me know.


Attached Files
File Type: zip Annotation Export_1.0_setup.zip (1.90 MB)

How to make a uImage....

$
0
0
Hi,

I've been hacking on the Glo.
It's zForce-ir-touch driver is buggy, and gives wildly wrong timestamps because of a timer error and misses a certain number of short touches because of the bug.

The zForce-ir-touch driver in the AuraHD was patched by someone to fix the timer bug and works pretty well. I'm not sure it's an optimal solution, but it's a good enough solution which doesn't require any new kernel symbols (it's a self cotained fix).

SO -- I want to move the HD's fix over to my Glo...

Unfortunately, the zForce driver is compiled as built-in driver and not as a module -- so I must recompile and reinstall the whole kernel rather than just make a module. sigh.
I know how to make modules work.... I don't know how to do uboot stuff, and don't really want to fight this....

I replaced the zForce_i2c.c driver source code in the Glo Kernel directly from KoboLabs,
and to make sure I get a message in the kernel log, I replaced the zforce's printk Boot complete message with a printk Patched Boot complete message.

Then I recompiled the kernel using KoboLabs C compilers from the repository; ( make arch=arm CROSS_COMPILE=arm_none_linux-gnueabi- )

No problems. I find a Image, zImage, and uImage file in the kernel tree after it's built.
and install the uimage in a variety of ways, but the new message doesn't printk. So, I delete uImage from the kernel tree and remake -- and to my disgust uImage is not remade, so it's was a stale binary.

when I try to "make uImage", it complains that a mkimage command is not found, U-Boot images will not be built.

So -- I realize I have to install u-boot, and I do that.
For the Glo it exists, and is pre-compiled; but I have no idea what it is compiled for...-- but for the Aura-HD, It is not compiled at all....

I can recover my SD card if I hard brick it, but I'd rather not do a lot of trial and error.
The kenel now makes a uImage when I say make uImage -- but does anyone know if the make file in the Glo's linux kernel is already correctly configured to make a uImage, or do I have to do anything special to make a proper uImage?

How do I get the proper load addresses, etc, for the image if I need them?

Eg: do I have to install both a uImage and complie some specific u-boot-bin, or can I just use the old u-boot-bin from the kobo-update package, and just replace the Kobo-Glo's uImage ?

How is it normally done?

(EDIT: I installed the uImage made by the kernel make file, and left the old uboot.bin --- and my Kobo Glo did successfully boot the new kernel. So... thankfully it was preconfigured right, but I still don't know how to make the uboot package for the AuraHD if I need it in the future....)

How to trigger a book update on the Kobo...

$
0
0
Hi,


From a hacking perspective;

I've got scripts on my kobo which are automatically downloading/generating/translating ebooks while the Kobo is NOT plugged into USB , and putting them in the normal place on /mnt/onboard as if I had copied them from my linux PC over to the reader; However, not even rebooting will cause the Kobo reader to "discover" these new books and allow me to read them. I have to plug in the USB cord, mount the reader on my PC, and unmount it -- before the reader suddenly detects them.

That stinks, as it means I have to do the hokey pokey, disable telnet -- unload modules -- etc. etc. etc. before I can make all that happen.

How can I fool the reader into thinking I have plugged the USB cord in, mounted the reader, and unmounted it -- using a shell script / without physically doing any of it?

Is there a simple way?

searching Android for Kobo Glo HD

$
0
0
Hello,

is there any possiblity to install android on a kobo glo hd?
I just found images for all other kobo devices, but not for the glo hd.

thanks
Viewing all 1562 articles
Browse latest View live


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