Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-11-2017, 05:24 PM   #31
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
@tshering
Sure, that works to create a tgz archive, I use it also, thanks.
Apparently I thought that the KoboRoot.tgz must be zipped, like the one that the device downloads from the official update server. But now I figured out that it can be a pure KoboRoot.tgz as well. However, using a .zip one could rename it to any file name, using the .tgz, it must be KoboRoot.tgz.

And when I use 7za to create the zip file, for example:
Code:
"%the7zipexe%" a -tzip kobo-update.zip KoboRoot.tgz
Kobo downloads the zip file, but it can't uncompress it properly, and KoboRoot.tgz is not placed in /mnt/onboard/.kobo/ therefore the "update" does not happen.

Last edited by kido.resuri; 02-11-2017 at 05:27 PM.
kido.resuri is offline   Reply With Quote
Old 02-12-2017, 07:42 AM   #32
boriar
Evangelist
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
boriar's Avatar
 
Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
@tshering
Is it posible to change linux properties when compressed from windows?
boriar is offline   Reply With Quote
Advert
Old 02-12-2017, 02:14 PM   #33
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by boriar View Post
@tshering
Is it posible to change linux properties when compressed from windows?
For a short while I used some unix utilities to set the permissions in tar files under windows. But finally, I returned to 7zip. 7zip sets 777 permissions to all files (apart from folders). That is good enough for me. But if you really need to set different permissions, you can use unix utilities (I think there are several of them) or cygwin or similar. Maybe you can do this also with bash shell for windows, see for instance here. I never used this, so I do not know for sure.
tshering is offline   Reply With Quote
Old 02-12-2017, 02:29 PM   #34
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
Nice. I was compressing the files which need 755 permissions under Kobo, never noticed 7zip's feature. Will try this.
kido.resuri is offline   Reply With Quote
Old 02-13-2017, 11:42 AM   #35
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
Ok, I have a working version now, with some know bugs and limitations. Only files can be sent to Kobo, not folders. Filenames containing ! are not processed, if one is selected, then the auto-reboot doesn't work after nickel finishes reading the content, but only with a timeout.
Apart from these, the scripts can send to Kobo quite well, and even in large quantities. Its a windows batch file on the windows side with 7z, and a shell script on the Kobo side with some SQLite triggers and read query, all self-removed during the process, so it is quite safe. The batch has no (or few) error handling now, so problems may occur. I only had problem once with the mentioned filename with "!" in it, but nothing was hurt during that either.
The books are transfered to the Kobo with the hijacked sync update, then the script involves a virtual SD mount containing the books, and waits for nickel to finish reading the contents, then does a reboot, and the new content is then loaded from /mnt/onboard

If anyone is interested with these current issues, and/or willing to do some beta testing, I may release it "now", or else later as I have time to improve and fix bugs, and I'm actually satisfief with it. So please post here, if you wish.
kido.resuri is offline   Reply With Quote
Advert
Old 02-15-2017, 08:57 AM   #36
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
It's very interesting for me. I can collaborate as a beta tester, but I do not know if I will know how to do it ...
surquizu is offline   Reply With Quote
Old 02-15-2017, 11:38 AM   #37
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
Basicly it just means that you support with your feedback if it works or if you find something that does not, and specify how did you try, filename, etc, as much detail as you can.
kido.resuri is offline   Reply With Quote
Old 02-15-2017, 01:07 PM   #38
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by kido.resuri View Post
Basicly it just means that you support with your feedback if it works or if you find something that does not, and specify how did you try, filename, etc, as much detail as you can.
Ok. I can try.
surquizu is offline   Reply With Quote
Old 02-15-2017, 02:16 PM   #39
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
Send2Kobo

Here it is then.
First of all, make a backup of your Kobo, if anything goes wrong.
Next, you'll need synchack, described in this post.
Edit the config.inc file, change to this:
Code:
$KoboUpdateFile = 'KoboRoot.tgz';
Start up the webserver and make sure it is running.

After that, download the attached send2kobo.zip and unzip it to anywhere, for example c:\send2kobo (the zip file contains the folder)

Take a look at send2kobo.conf. You can edit the settings contained within. You'll need calibre if you want to convert your files before sending to Kobo. You can also set the file types to skip conversion. Be aware, if you add file types that Kobo doesn't recognize to NonConvertTypes, then things may fail.
Any file type not in ValidTypes will be skipped.

One of the most important things is the UpdateDir, make sure that it is set to the synchack webserver's downloads folder. If you use EasyPHP-DevServer-13.1VC11, and 32bits Windows, then it is set already, but if you use anything else, make sure you set the correct path!!

Open a Windows File Explorer, and type in the location bar: "sendto". This should open your user profile's SendTo folder, for example C:\Users\UserName\AppData\Roaming\Microsoft\Window s\SendTo

Create a shortcut of send2kobo.bat and move to this folder. Rename the shortcut to "Send to Kobo" or simply "Kobo". After this, a new item should appear in the "Send to" right click menu. Use this to send files to Kobo. You can select as many as you wish, but only files, not folders.
After it finishes, you need to start a manual sync on your Kobo. If everything goes well, you will find the new content in your library.
Attached Files
File Type: zip send2kobo.zip (647.6 KB, 447 views)
kido.resuri is offline   Reply With Quote
Old 02-16-2017, 07:00 AM   #40
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Uff ... the "Custom update server for Kobo" part seems complicated.

I am a simple user.
surquizu is offline   Reply With Quote
Old 02-16-2017, 07:15 AM   #41
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,557
Karma: 79436716
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
I will admit I'm not sure the typical Kobo user benefits from this mod.
PeterT is offline   Reply With Quote
Old 02-16-2017, 07:16 AM   #42
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
I'll try to make a prepared version to make it easy to setup.
kido.resuri is offline   Reply With Quote
Old 02-16-2017, 08:55 AM   #43
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
Quote:
Originally Posted by PeterT View Post
I will admit I'm not sure the typical Kobo user benefits from this mod.
A Kobo user could send content over wifi to the eReader with this mod.
kido.resuri is offline   Reply With Quote
Old 02-16-2017, 09:36 AM   #44
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
I would like to install using a simple koboRoot.tgz and then press sync to send and collect the books to kobo.
surquizu is offline   Reply With Quote
Old 02-18-2017, 01:19 PM   #45
kido.resuri
Groupie
kido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura aboutkido.resuri has a spectacular aura about
 
Posts: 172
Karma: 4282
Join Date: Dec 2016
Location: Hungary
Device: Kobo Aura H2O
Ok, I almost prepared an easy to use install package.
But now comes another problem with the new firmware... Previous version handled downloaded updates if it was a zip or a KoboRoot.tgz file. But the new version only does the update automatically if it is a zip file. The KoboRoot.tgz is only copied to .kobo, and waits for next manual reboot. The problem really is that I currently can't create a zip that Kobo would accept, all the methods I tried failed, Kobo downloads the zip, but can't extract it's contents... If I create a zip with for example Total Commander's built in zip, then, and only then it works. Grr... So if anyone knows a way to create a zip that the Kobo eReader "eats", then please share the information!
kido.resuri is offline   Reply With Quote
Reply

Tags
bookstore kobo replace


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Replacing Nook Simple Touch: Onyx T68 vs Kobo Aura vs Kobo Aura H2O iNovelReader Which one should I buy? 0 10-28-2014 01:40 AM
Kobo Bookstore? TorontoJenny Kobo Reader 1 07-15-2013 01:33 AM
Kobo bookstore on Kobo Touch not showing prices (Canada) RobertJSawyer Kobo Reader 13 09-23-2012 08:30 PM
Replacing my new Kobo - again! objectman Kobo Reader 7 09-20-2010 08:00 PM
Ratings on Kobo bookstore kiwikobo Kobo Reader 0 07-02-2010 03:39 AM


All times are GMT -4. The time now is 05:32 PM.


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