01-31-2019, 12:56 PM | #76 | |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
Interesting. I didn't know you can build update.bin packages on the Kindle itself. That said, instructions for building an update*.bin package for LibrarianSync using the Kindle itself (likely via kterm or something) just so MrPI can then copy/untar the librariansync folder to /mnt/us/extensions seem unnecessarily complicated. Admittedly, I'm interested in trying to do it now. |
|
01-31-2019, 03:36 PM | #77 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
It does sound a bit of over-kill.
Unless your PC happens to be broke, or your working in the field ... NiLuJe can correct me if I don't have this correct, but I don't think the Kindle build of kindletool is "special" (as in, only unpack). |
Advert | |
|
01-31-2019, 05:09 PM | #78 |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Alas, the build script wasn't designed for running under kterm.
First, it looks for git to check for PKGREV. I just hard coded that one based on the latest commit. Second, it expects kindletool to be in /usr/bin/. As far as I can tell, MrPI doesn't bother with creating a /usr/bin/kindletool symlink and just calls kindletool from the full path. (incidentally, I just noticed MrPI recognizes the PW4 as a K5 instead of a PW2) Last: Unexpected "(" in Line 16. I'm not at all familiar with Linux shell, though, so I'm stumped as to how to edit line 16 to make it palatable for the Kindle. Code:
KT_PM_FLAGS=( "-xPackageName=${PKGNAME}" "-xPackageVersion=${PKGVER}-g${PKGREV}" "-xPackageAuthor=barsanuphe" "-xPackageMaintainer=barsanuphe" "-X" ) Of course, after switching to the PC and reading the kindletool readme, I realized that line was likely unnecessary. Alas, I'm way too tired of typing on the Kindle's onscreen keyboard to try again. |
01-31-2019, 05:41 PM | #79 |
Grand Sorcerer
Posts: 5,285
Karma: 98804578
Join Date: Apr 2011
Device: pb360
|
With usb networking and ssh, I've never felt the need for kterm.
|
01-31-2019, 06:29 PM | #80 |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
|
Advert | |
|
01-31-2019, 08:02 PM | #81 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
I am not surprised that the scripting isn't for the Kindle environment.
But - Quote:
NiLuJe will stumble on this and add his insight to the matter. |
|
01-31-2019, 08:31 PM | #82 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yup, KindleTool on ARM is a Real Boy .
As for MRPI's CPU detection, that's quite probable... What does /proc/cpuinfo look like on the PW4? (And, yeah, no, my packaging scripts are pretty much desktop only, they may depend on Bash 3+, SVN, git, wget/curl, GNU tar, rar, xz, ...). |
01-31-2019, 09:06 PM | #83 |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Now that I'm not completely clueless (just mostly clueless), edited the build script to make it more kterm-friendly as well as fixed some minor stuff. Would you look at that, it actually worked.
I used the PW2 kindletool binary for packaging. (extracted from: kual-mrinstaller-1.7.N-r15706.tar.xz/extensions/MRInstaller/data/mrpi-PW2.tar.gz/bin/PW2) Tested working on a PW4 running 5.10.1.2 using latest snapshot versions (2019-01-28). Last edited by ilovejedd; 01-31-2019 at 09:54 PM. |
01-31-2019, 09:19 PM | #84 | |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
Code:
processor : 0 model name : ARMv7 Processor rev 1 (v71) BogoMIPS : 7.54 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x4 CPU part : 0xc09 CPU revision : 1 Hardware : Freescale i.MX6 SoloLite (Device Tree) Revision : 0000 Serial : Last edited by ilovejedd; 01-31-2019 at 09:30 PM. |
|
01-31-2019, 09:49 PM | #85 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
When the switch was made to the i.MX6SoloLite - there was only one screen size / resolution.
Now there are several, plus the i.MX6Dual core and an even larger screen size / resolution. Not exactly "bit rot", but more of a "bit race" problem. Just detecting the processor type will no longer be unique to the model. |
01-31-2019, 09:57 PM | #86 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@ilovejedd:
Huh. Will have to fix that, thanks! (to match against someting like "i.MX[[:space:]]?[6-7]" instead) That's mainly to pickup a potentially slightly better optimized binary, there's no functional change. As far as logging goes, it's because eips is not accounting for dpi (and is still using the exact same cell size since the PW, which means it's been rendering text smaller and smaller as the years went on ), unlike FBInk, so, yeah, the font is going to be bigger (plus, it's already "bigger/blockier" to begin with, since the default font is ye olde IBM VGA font (as seen in your BIOS POST, f.g.), i.e., it's semi-bold), whereas eips's one is thin. Also, one of 'em is square (FBInk), the other tall-ish (eips). The scaling tries to match the original intent of the PW days (as far as column width is concerned), as that looked perfectly fine at the time (and is what I roughly based the length of my messages on). But, on 300dpi devices, we jump a scaling step, mainly to make things better on 7" & 8" devices, where eips is ridiculously unreadable. Which means things might be a tad cramped on 6" 300dpi devices like the PW4, even if the maths still yields roughly the same amount of columns as expected (>= 32 IIRC). Last edited by NiLuJe; 01-31-2019 at 10:40 PM. |
01-31-2019, 11:33 PM | #87 | |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
Didn't realize the smallish text with eips was unintended behavior. I kinda prefer it since it's more discreet and doesn't block any of the menu items. Lol, I just frankensteined my librariansync folder (latest from github with old eips logging from 12/08/18 commit). |
|
02-01-2019, 04:29 AM | #88 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
|
|
02-01-2019, 08:34 AM | #89 |
BLAM!
Posts: 13,478
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@ilovejedd: You could arguably enforce a different scaling factor, but it's going to be tedious to maintain .
For ref., LS: After L#14 (the FBINK_CFG.row line), add Code:
FBINK_CFG.fontmult = 3 Code:
FBINK_BIN="${my_fbink} -S3" |
02-01-2019, 08:54 AM | #90 | |
hopeless n00b
Posts: 5,111
Karma: 19597086
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, Libra H2O, iPad 10.5, iPad 11, iPad 12.9
|
Quote:
Shouldn't be tedious at all. LibrarianSync is stable and only gets updated when there's an incompatibility with new firmware. I don't update my firmware for it to be an issue. |
|
Tags |
jailbreak, pw3, pw3 jailbreak |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tools Software Jailbreak for PW2, PW3, PW3W, KT2, KV, KOA and KT3 | knc1 | Kindle Developer's Corner | 3376 | 05-31-2023 09:43 AM |
Discussion about software jailbreak of newer fresh-out-of-the-box kindles | coplate | Kindle Developer's Corner | 6 | 09-15-2018 04:38 PM |
How to jailbreak DXG with 3.3 software? | crazywong | Kindle Developer's Corner | 2 | 11-25-2014 09:19 PM |