05-18-2020, 04:59 PM | #91 |
BLAM!
Posts: 13,496
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Latest update includes some more minor shell QoL tweaks, and some more busybox tweaks (like, working modutils! modprobe with automagic dependency resolution, yay!).
Python 2 is EoL, so the default python symlink now points to Python 3. perf & co is now bundled. It requires (among other things) perf events in the kernel, though, so it's probably Mk.6+ only (I can confirm that it won't work on Mk.5, but is probably okay on Mk. 7). ---- Most importantly, it changes how Python is shipped: instead of the insanity of bundling *two* full Python builds in every KoboRoot tarball, what's available in the first post now only bundles the core shell stuff. So, how do you install Python, now? A new OTA update script has been added: update-kobostuff It'll check for updates and properly (i.e., it finally handles pre- and post- install cleanup) install the latest version of the core stuff, the python 3 build, or the python 2 build. The README has a new section with more details about it, but, basically: it's much more convenient, it's a lot faster (zstd instead of gzip), it doesn't require a reboot or even an USBMS session, and it saves a bunch of precious write cycles, as the compressed data never actually makes it to disk (it's a curl -> zstd -> tar pipeline). And, you no longer get force-fed 300MB of Python down your throat if you couldn't care less about Python, which makes the initial install that much more pleasant. As far as this is concerned, you basically never have to deal with a KoboRoot tarball ever again, as using the script to update the core shell stuff will also be much faster, and it'll only update if there's actually an update available. (TL;DR: All hail our evil overlord Facebook for coming up with zstandard, because zlib is the absolute pits). Last edited by NiLuJe; 05-18-2020 at 05:17 PM. |
05-18-2020, 07:07 PM | #92 | |
Guru
Posts: 869
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
Now granted, the compression ratio may be better, but I wasn't to concerned about that for my specific desires. If you ever want speed, LZ4 is waaaaaay faster. But that comes at the expense of compression ratio, so you win some, and lose some. |
|
Advert | |
|
05-18-2020, 07:47 PM | #93 |
BLAM!
Posts: 13,496
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@sherman: Decompression is where it's truly impressive, and that's what I was going for (coupled w/ a decent compression ratio, since the actual bottleneck is liable to be the Wifi, anyway) . Here, to get a compression ratio that's still worse than xz's defaults, I jump to --ultra -20, and it's then *slower* than xz (on the host, x64, both threaded).
(I mention xz because I've actually been using xz for these for quite a while on the Kindle side of things, and decompression speed is fairly nice (IIRC, better than both gzip & bz2) ). But, yeah, if I needed the reverse (i.e, quick on-device compression, without particularly caring about the compression ratio), LZ4 would definitely be the top contender . Last edited by NiLuJe; 05-18-2020 at 07:57 PM. |
05-18-2020, 07:50 PM | #94 | |
Guru
Posts: 869
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
Makes sense. |
|
07-13-2020, 10:46 PM | #95 |
Banned
Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
|
@NiLuJe Um...
would you please explain this again, but for complete newbies? |
Advert | |
|
07-14-2020, 01:52 PM | #96 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2020
Device: Kobo Clara HD
|
I tried running gdb but get the following error:
Code:
gdb: error while loading shared libraries: libreadline.so.8: cannot open shared object file: No such file or directory |
07-14-2020, 02:28 PM | #97 |
BLAM!
Posts: 13,496
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@marcoms: Oops. As I said on GH, there's currently a silent dependency on the Python package, which is obviously unwanted .
It'll be fixed in the next builds, thanks! (In the meantime, installing Python will magically "fix" it ^^). |
07-15-2020, 02:16 PM | #98 |
Banned
Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
|
So...would KoboStuff work on the Mini?
|
07-15-2020, 02:20 PM | #99 |
BLAM!
Posts: 13,496
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
|
07-15-2020, 05:27 PM | #100 |
Banned
Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
|
|
07-15-2020, 10:46 PM | #101 |
Banned
Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
|
Wait, wait, wait. So I put the KoboRoot.tgz into .kobo and it rebooted. Now, how do I put these things to use?
|
07-15-2020, 10:50 PM | #102 | |
Guru
Posts: 869
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
Code:
ssh root@<kobo ip addr> The reboot is normal, as the KoboRoot.tgz method uses the firmware update mechanism to install stuff. |
|
07-15-2020, 10:58 PM | #103 | |
Banned
Posts: 2,296
Karma: 5300240
Join Date: Jun 2020
Location: Edmonton, AB
Device: Kobo Aura H2O Edition 2 (mark 7), Kobo Mini
|
Quote:
Last edited by Elektron; 07-15-2020 at 11:03 PM. |
|
07-15-2020, 11:10 PM | #104 |
Guru
Posts: 869
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
You do it from your lapdop/desktop. In Windows 10/linux/MacOSX, you can open the command line/terminal and type
Code:
ssh root@<kobo ip addr> You can probably also use NickelMenu to launch some of the tools/programs in this package. |
07-16-2020, 01:11 AM | #105 |
Bibliophagist
Posts: 39,956
Karma: 154914010
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
If you are using Windows, I'd recommend Putty as an ssh client. While Putty also has SCP and SFTP clients for file transfers, either of @sherman's suggested programs would be my preferred options.
|
Tags |
ssh, telnet, tools |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Package with console tools | CGarces | Development | 0 | 09-06-2013 05:04 PM |
Combined Tools Package | Lizj1 | Plugins | 5 | 01-11-2013 10:32 AM |
USBNetwork USB Driver & Telnet on Windows XP SP3 | namati | Kindle Developer's Corner | 0 | 02-24-2012 01:20 AM |
Instruction to get root on 60x/90x + remote telnet & FTP | mamaich | PocketBook | 17 | 08-27-2011 07:41 PM |