01-31-2017, 03:50 PM | #16 | |
Connoisseur
Posts: 83
Karma: 10
Join Date: Jul 2013
Location: Planet Ocean
Device: Kobo Glo HD, Onyx Boox Note Pro 2, Samsung Galaxy Tab S5e, Pixel 4a
|
Quote:
what we need is the whole source code of the frigging kobo. or at least nickel. |
|
01-31-2017, 04:00 PM | #17 |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
Advert | |
|
01-31-2017, 04:23 PM | #18 | |
Connoisseur
Posts: 83
Karma: 10
Join Date: Jul 2013
Location: Planet Ocean
Device: Kobo Glo HD, Onyx Boox Note Pro 2, Samsung Galaxy Tab S5e, Pixel 4a
|
Quote:
Besides, tons of companies do exactly that. Your phone (assuming it's an Android phone, like about 80% of the phones out there) probably runs free software and you can often access the source code directly, which makes it easy to hack and extend, creating this amazing ecosystem of apps. I host the source code of wallabako on a Github alternative that publishes their source code for free as well - you could host your own Gitlab instance if you wished. So yeah, there's no reason why Kobo wouldn't publish that source code, in my opinion - they published part of it, for free too.. I also suspect that *not* releasing it may be breaking some license agreements, but i haven't looked into this in details, and I am not a lawyer so i don't wish to get into this particular endeavor right now. But getting access to the source code would be a great way to encourage development. That, or at least providing clear specifications, documentation and APIs... |
|
01-31-2017, 04:29 PM | #19 | ||
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
The device? Yes. The source code? No
Quote:
And tons of companies don't, as the companies I've worked all my career. Quote:
But you're mixing a SO as Android or Linux with an application. I don't think Kobo is interested in encourage development as it gives them no advantage. I doubt some people developing some apps over Kobo is going to contribute to sell a lot more of Kobo out of an environment like this (and even here). |
||
01-31-2017, 04:46 PM | #20 | |||
Connoisseur
Posts: 83
Karma: 10
Join Date: Jul 2013
Location: Planet Ocean
Device: Kobo Glo HD, Onyx Boox Note Pro 2, Samsung Galaxy Tab S5e, Pixel 4a
|
Quote:
Quote:
Quote:
Anyways, this is off-topic - it'd be nice to have the source or docs, we don't have it, oh well, moving on. |
|||
Advert | |
|
01-31-2017, 05:11 PM | #21 | |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Code:
(none) login: root [root@(none) ~]# mkdir -p /mnt/onboard/.mysd [root@(none) ~]# mount --bind /mnt/onboard/.mysd /mnt/sd [root@(none) ~]# echo sd add /dev/mmcblk1p1 >> /tmp/nickel-hardware-status [root@(none) ~]# Code:
echo sd add /dev/mmcblk1p1 >> /tmp/nickel-hardware-status |
|
01-31-2017, 05:33 PM | #22 |
Groupie
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
|
Hmm.. interesting. The library entry would point to /mnt/sd/yourbook.epub?
I don't have Kobo with me now, but I'll try this tomorrow. Last edited by kido.resuri; 01-31-2017 at 05:35 PM. |
01-31-2017, 05:41 PM | #23 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Yes it is file:///mnt/sd/mybook.epub.
Last edited by tshering; 01-31-2017 at 05:55 PM. |
01-31-2017, 06:21 PM | #24 |
Grand Sorcerer
Posts: 6,393
Karma: 12408443
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
02-01-2017, 01:43 PM | #25 | |
Connoisseur
Posts: 83
Karma: 10
Join Date: Jul 2013
Location: Planet Ocean
Device: Kobo Glo HD, Onyx Boox Note Pro 2, Samsung Galaxy Tab S5e, Pixel 4a
|
Quote:
do we actually need to store the files in /mnt/sd for the refresh to kick in? if we could fake remount the sd card *without* having to change anything, that would be ideal... then we could make this work for users with an sd card as well - just pretend the card was removed and put back in and we're done... |
|
02-01-2017, 01:43 PM | #26 |
Connoisseur
Posts: 83
Karma: 10
Join Date: Jul 2013
Location: Planet Ocean
Device: Kobo Glo HD, Onyx Boox Note Pro 2, Samsung Galaxy Tab S5e, Pixel 4a
|
also, in my experience, just this is not sufficient:
Code:
echo sd add /dev/mmcblk1p1 >> /tmp/nickel-hardware-status |
02-01-2017, 01:57 PM | #27 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
With this command you make nickel only read the files that belong to the sd. Reading the whole user partition in this situation would be a waste of time and energy.
|
02-01-2017, 02:26 PM | #28 |
Wizard
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I just tried, and it works with inserted sd.
|
02-01-2017, 03:09 PM | #29 |
Groupie
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
|
You can't use the real and virtual sd at the same time, can you?
Anyway, I tried this, and it works! I really like it! Maybe the database can be rewritten on reboot to look for the content on it's "real" place instead of the virtual sd. I tried to put a book in a subfolder and nickel had no problem with it, so one could easily do an UPDATE sql query on /mnt/sd/ebook or whatetever folder. This way I could add any book with the hacked update server with the built-in sync. Last edited by kido.resuri; 02-01-2017 at 03:12 PM. |
02-01-2017, 03:15 PM | #30 | |
Linux User
Posts: 2,279
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
|
Quote:
The Kobo firmware also handles multiple SD cards, identifies them by the random fat identifier... not sure what it does here with no real sd card present |
|
Tags |
filesystem, hack, reload, sdcard |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Refresh library | MrX | Calibre | 11 | 06-07-2016 05:45 PM |
Is it no possible to refresh the page automatically in Moon+ Reader? | cicabum | Android Devices | 4 | 10-22-2015 01:23 PM |
Library refresh after editing metadata | kelleybean | Library Management | 2 | 01-13-2015 10:10 AM |
Refresh library view? | Pepin33 | Development | 4 | 08-31-2012 06:18 AM |
7.40 - Automatically refresh the covers | edbro | Calibre | 0 | 01-14-2011 11:02 PM |