Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-17-2016, 10:11 PM   #166
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by NiLuJe View Post
@geekmaster: otaup might indeed require otav2 packages, but MRPI certainly doesn't, so that's intriguing. Could you take a look at its log, to see how it actually complained.
Code:
Package 'Update_autorun_k5g_0.1.GM_install.bin' (autorun k5g 0.1.GM I) is not an MR package, skipping . . . :(
That was the OTA (not OTA2) update package I mentioned previously. It works on my K1 if I selecdt k1 instead of k5g. Kindletool creates OTA packages just fine, it seems, but on win32 the OTA2 package creation attempts get that temp file error (moving a file onto itself?).

Are you sure MRPI still supports OTA packages?

Last edited by geekmaster; 04-17-2016 at 10:14 PM.
geekmaster is offline   Reply With Quote
Old 04-17-2016, 10:31 PM   #167
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@geekmaster: Ouch. Either I broke MRPI w/ a KT update recently, or the mingw version mangles the headers somehow... (Because, yeah, we're supposed to handle OTAV1 packages just fine).

Could you PM me that file?
NiLuJe is offline   Reply With Quote
Old 04-17-2016, 11:03 PM   #168
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
I built a k5g ota2 update.bin, and my eink animation did run there too. You want my K5g ota1 file? So far, the ota2 versions just spats some /dev/urandom on the top 10% of the k5 screen during the update process, and creates an autorun.log file. Will send ota and ota2 now...

BTW, I just rebuild both ota and ota2 from a linux VM, and as expected, ota version failed (destroyed without running, logged "not an MR package") and ota2 version ran fine (but reported an error from script even though it does a "return 0" at the end).
geekmaster is offline   Reply With Quote
Old 04-17-2016, 11:14 PM   #169
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@geekmaster: Yeah, I'd like to take a look at that OTAv1, I can't seem to reproduce that in a sandbox here...

The scripts are run w/ set -e (... on FW 5.x), so if anything returns !0 at any point, it aborts ASAP.
NiLuJe is offline   Reply With Quote
Old 04-17-2016, 11:28 PM   #170
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
I sent a PM. No way I could see to do attachments, so I sent a link to a mediafire download. I just looked at the MR log, and I see the successful write to the screen had a failure trying to force eink update. It updated once when the script exited. Apparently the K1 (same as K3) is different from the K5 in the eink update proc location... No matter for gmplay which uses ioctl updates, *IF* I can figure out how to launch it from my install.sh script (where even sourcing files failed). But for the purposes of this thread, I sent ota and ota2 versions, only one of which works in MRPI.
geekmaster is offline   Reply With Quote
Old 04-18-2016, 09:53 AM   #171
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Just whipped up a (hopefully working) hotfix for the win32 KindleTool builds.

And I just reproduced the MRPI issue with OTAv1 packages, so, I'll work on fixing that as well .
NiLuJe is offline   Reply With Quote
Old 04-18-2016, 10:47 AM   #172
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
The previous mingw version worked on ota but failed on ota2. This new version fails on both. For example, this previously worked but now fails:
Code:
..\..\kindletool create ota -d k1 * ../Update_autorun_k1_0.1.GM_install.bin
Couldn't open temporary tarball file: Invalid argument.
geekmaster is offline   Reply With Quote
Old 04-18-2016, 11:03 AM   #173
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@geekmaster: Awesome! I broke everything \o/.

Trying something else, binaries are cooking...
NiLuJe is offline   Reply With Quote
Old 04-18-2016, 11:05 AM   #174
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
There, 1.6.4.60 is up. *Hopefully* that one's good.

The MRPI snapshots should also be fixed, FWIW .
NiLuJe is offline   Reply With Quote
Old 04-18-2016, 11:09 AM   #175
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by NiLuJe View Post
There, 1.6.4.60 is up. *Hopefully* that one's good.

The MRPI snapshots should also be fixed, FWIW .
Up where? The post#1 binaries are still the earlier borked 1.6.4 versions. I discovered this after downloading and refailing both ota and ota2. Or did you mean only the source code is up?
geekmaster is offline   Reply With Quote
Old 04-18-2016, 11:27 AM   #176
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
With all the snapshots.
NiLuJe is offline   Reply With Quote
Old 04-18-2016, 12:48 PM   #177
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Quote:
Originally Posted by NiLuJe View Post
With all the snapshots.
Okay, the mingw kindletool at that link works for ota, but for ota2 it crashes with a popup window "kindletool.exe has stopped working" with these details:
Code:
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	kindletool.exe
  Application Version:	0.0.0.0
  Application Timestamp:	350734e5
  Fault Module Name:	msvcrt.dll
  Fault Module Version:	7.0.7601.17744
  Fault Module Timestamp:	4eeaf722
  Exception Code:	c0000005
  Exception Offset:	00060139
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	1033
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789
You mentioned msvcrt.dll being a problem in the past. You are necromancing ancient code bugs? Yeah, windows sux, but that does not prevent it from eating the planet... ...and thanks for your efforts to support it!

Last edited by geekmaster; 04-18-2016 at 12:59 PM.
geekmaster is offline   Reply With Quote
Old 04-18-2016, 01:18 PM   #178
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Okay, so mkstemp is okay, but my tmpfile hack is borked, that's progress, of a sort ;p.
NiLuJe is offline   Reply With Quote
Old 04-18-2016, 02:23 PM   #179
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Pushed 1.6.4.67, *might* be a tad better, but I'm not holding my breath on that one...

It's probably something very stupid, but I guess it'll take a VM and a debugger to get to the bottom of it, which I won't have time to do until a few weeks...
NiLuJe is offline   Reply With Quote
Old 04-18-2016, 06:56 PM   #180
geekmaster
Carpe diem, c'est la vie.
geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.geekmaster ought to be getting tired of karma fortunes by now.
 
geekmaster's Avatar
 
Posts: 6,433
Karma: 10773670
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
Okay, this latest version of mingw kindletool creates both ota and ota2 update files. However, one time it reported:
Code:
..\..\kindletool create ota2 -d k5g * ../Update_autorun_k5g_ota2_0.1.GM_install.bin
Building OTA V2 (FD04) update package '../Update_autorun_k5g_ota2_0.1.GM_install.bin' for 1 device (Kindle 5 Touch WiFi+3G), Min. OT
A: 0, Target OTA: MAX, Critical: 0, Cert: 0, 0 Metadata.
a install.sh            <-
a kindletool_create_tarball_a06276
archive_write_header() failed: Can't add archive to itself.
a install.sh.sig
a kindletool_create_tarball_a06276.sig
a update-filelist.dat.sig
a update-filelist.dat
I deleted all the update.bin files and reran it, and it succeeded, so some intermittent glitch. Until that "uninitialized whatever" gets unborked, perhaps the readme should say if it fails run it again? Anyway, it works well enough to be useful, so thanks much for that...

If you have find yourself sitting on your thumbs with nothing to do (), one minor annoyance with kindletool (for windows-dependent folks) is that windows won't do tab-completion for filenames with '/' in the path (but '\' works) and kindletool does not support '\', so I start with '\' then after tab-completion I back-arrow and overtype '/'. Nice if (some day RSN) kindletool could also support '\' (because it is unlikely windows will ever support '/' for tab-completion). Plus, it seems "highly illogical" to see a command line with backlashes on the left and forward slashes on the right.
geekmaster is offline   Reply With Quote
Reply

Tags
kindletool, update


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
BookCreator: Does anybody create IMP files using BC? =X= Workshop 0 01-07-2011 01:20 PM
Create readable .mobi files out of pdfs jordan13589 Amazon Kindle 3 12-21-2010 11:35 PM
Create catalogue without creating new files and folders? zaphod234 Calibre 4 07-21-2010 06:44 PM
Firmware Update Kindle dx not sorting recent files after 2.5 update,help nayito2 Amazon Kindle 8 06-05-2010 12:49 PM
unpack requires a string argument of length 2 Sannepan Calibre 2 02-23-2010 02:05 PM


All times are GMT -4. The time now is 03:13 PM.


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