Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-15-2014, 05:37 PM   #1
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,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Cool MobileRead Package Installer

Given the restrictions imposed on OTA packages by FW 5.5.x, and to scratch an itch than had been bothering me for a while, here comes the MobileRead Package Installer (aka., MRPI)!


What Does It Do?:

This is a KUAL extension, that will plug into the Helper menu a single Install MR Packages button.
Notice the plural, we'll come back to that later .
This provides an alternate to the good old Update Your Kindle UI to install the various packages offered on MR in the form of update packages (.bin).
It supports the full range of devices able to run KUAL (... but can be run outside of KUAL if need be ).

Why reinvent the wheel?
Besides overcoming the restrictions imposed by FW >= 5.5.x on OTA packages, it provides a few interesting (for us) advantages:
• You can automatically chain multiple update packages (and it handles a basic dependency chain, prioritizing stuff if needed [jb, usbnet, python, rp])
• On FW 5.x, it doesn't force a full reboot on you (something that the vast majority of our packages don't need) [it also doesn't kill USBNet].
In short, it's noticeably more efficient .


Latest Updates (06/04/2019):

New devices support (1.7.N)

PSA: All downloads have been moved to the Snapshots thread!

INSTALL:

Spoiler:


This is a KUAL extension, so it's as simple as unpacking the MRPI package you'll find in the Snapshots thread to the root directory of your Kindle over USB . You should end up with an extensions folder (with an MRInstaller subfolder) and an mrpackages folder at the USB root of your device.
As mentioned earlier, it'll plug into the Helper menu.




USAGE:

Spoiler:


It's fairly simple: upload all the update packages you need (in one go ) to the mrpackages directory, which you'll find at the root of your Kindle over USB if you installed this correctly .
Eject & unplug your Kindle, then click the Install MR Packages button in the KUAL Helper menu.

Once the installer has done its job, and the UI has been brought up again, while your device should be usable straight away, some hacks may need a full restart to 'take' .



FAQs:
Spoiler:

Q. What happens if I upload an update package not made for my device?

A. Just like the OTA updater, a package not targeting your device will be skipped & destroyed. In the same vein, any package not made by our tools will be destroyed (as will non-OTA updates). This means that if you mistakenly put an official update in there, you don't have to worry about it, it'll go poof .

Q. I don't see any progress information for some packages!

A. That's the downside. Packages will need to provide their own means of user-feedback if they wish to handle progress reporting. Developers can can open up any of my latest snapshots packages and look at the libotautils/libotautils5 helper scripts for some inspiration [spoiler: there's no API, you basically do what you want ^^].



ChangeLog:
Spoiler:
  • MR Installer:
    • 1.0.N:
      • Initial release.
    • 1.1.N:
      • A few fixes.
    • 1.2.N:
      • Minor fixes.
    • 1.3.N:
      • Minor packaging fix (i.e., we now really ship with an empty mrpackages folder ).
    • 1.4.N:
      • Fix a severe incompatibility with AcXE.
      • A few minor bugfixes, mostly related to error handling.
    • 1.5.N:
      • Unbreak on legacy devices... Ooopsie.
      • Don't keep unneeded binaries around (thanks for the push, hfpop ).
      • More logging to aid debugging
      • More integrity checking when extracting packages
    • 1.6.N:
      • Proper handling of the KT2.
      • Honor the version constraints of a package.
      • Some theoretical future-proofing on the device identification front.
      • Minor tweaks to the logging to make the logs more useful.
    • 1.7.N:
      • Unbreak OTAv1 handling.
      • Handle latest PW3, KOA, KT3 & KOA2 known variants.
  • Doc: $Id: MI_MR_THREAD 16002 2019-06-04 16:56:27Z NiLuJe $

Last edited by NiLuJe; 06-04-2019 at 12:53 PM. Reason: v1.7.N
NiLuJe is offline   Reply With Quote
Old 11-15-2014, 05:38 PM   #2
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,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
*reserved*

(also, *inserts evil laugh here*)

NB: Right now, you'll only see progress information with my own packages.
Not a problem with ixtab's packages, which have always used a custom feedback mechanism .

This is an initial release, so it may not be utterly bug-free. I've only tested this with my own packages, on a K5 & a K4.

Last edited by NiLuJe; 08-18-2015 at 06:33 PM.
NiLuJe is offline   Reply With Quote
Advert
Old 11-15-2014, 05:45 PM   #3
GoSharks
SQUIRREL!!
GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.GoSharks ought to be getting tired of karma fortunes by now.
 
GoSharks's Avatar
 
Posts: 1,636
Karma: 8400000
Join Date: Nov 2010
Location: California
Device: K-Fire, PW2, PW3
Quote:
Originally Posted by NiLuJe View Post
(also, *inserts evil laugh here*)
Muhahahahahaha! (inserted! )
GoSharks is offline   Reply With Quote
Old 11-15-2014, 09:20 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Okay, I just want to say this is totally awesome!

Quote:
* On FW 5.x, it doesn't force a full reboot on you (something that the vast majority of our packages don't need) [it also doesn't kill USBNet].
This should've happened a long time ago.

Thanks NiLuJe, for all your amazing work!!!
eschwartz is offline   Reply With Quote
Old 11-16-2014, 04:16 PM   #5
pghaworth
Fervent Pleasure Seeker
pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.
 
pghaworth's Avatar
 
Posts: 1,220
Karma: 712073
Join Date: Feb 2009
Location: The Windmills of My Mind
Device: Clara HD
Quote:
Originally Posted by eschwartz View Post
Okay, I just want to say this is totally awesome!



This should've happened a long time ago.

Thanks NiLuJe, for all your amazing work!!!
Just finished the install. Agreed.
pghaworth is offline   Reply With Quote
Advert
Old 11-16-2014, 09:15 PM   #6
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,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Quick but important notice until I can look into it:

Regardless of what we've said so far, DON'T use (the current version) on FW 5.6.x. It's subtly broken right now, and that can lead to fairly impressive breakage.

EDIT: Confirmed that the biggest part of the issue should be limited to FW 5.6.1

Last edited by NiLuJe; 11-16-2014 at 09:28 PM.
NiLuJe is offline   Reply With Quote
Old 11-17-2014, 05:48 AM   #7
rafalele
Enthusiast
rafalele began at the beginning.
 
rafalele's Avatar
 
Posts: 44
Karma: 10
Join Date: Mar 2013
Device: Kindle Paperwhite
Hi NiLuJe.

Thanks a lot for your job. I think it is very useful extension.
rafalele is offline   Reply With Quote
Old 11-17-2014, 11:14 AM   #8
pghaworth
Fervent Pleasure Seeker
pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.
 
pghaworth's Avatar
 
Posts: 1,220
Karma: 712073
Join Date: Feb 2009
Location: The Windmills of My Mind
Device: Clara HD
"that can lead to fairly impressive breakage"

I had to laugh, though it's not really funny, and I concur after further testing.
pghaworth is offline   Reply With Quote
Old 11-17-2014, 11:18 AM   #9
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by NiLuJe View Post
Quick but important notice until I can look into it:

Regardless of what we've said so far, DON'T use (the current version) on FW 5.6.x. It's subtly broken right now, and that can lead to fairly impressive breakage.

EDIT: Confirmed that the biggest part of the issue should be limited to FW 5.6.1
You said elsewhere the issue is trying to mntroot rw without root and assuming it worked.
Here you say "the biggest issue".

Is there another issue, that might break on other firmwares?
eschwartz is offline   Reply With Quote
Old 11-17-2014, 11:33 AM   #10
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,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@eschwartz: Hopefully not . There's still something I'm not quite sure of with what happened to @pghaworth, but I'm hoping it came from that first big issues.

Last edited: Today at 03:28. I probably wasn't thinking straight anymore at that point ^^.
NiLuJe is offline   Reply With Quote
Old 11-17-2014, 11:47 AM   #11
pghaworth
Fervent Pleasure Seeker
pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.pghaworth ought to be getting tired of karma fortunes by now.
 
pghaworth's Avatar
 
Posts: 1,220
Karma: 712073
Join Date: Feb 2009
Location: The Windmills of My Mind
Device: Clara HD
Quote:
Originally Posted by NiLuJe View Post
@pgh
No offense if you want to use the shortened version.
pghaworth is offline   Reply With Quote
Old 11-17-2014, 11:53 AM   #12
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,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@pghaworth: Noted, thanks . I usually c/p so it's not a problem, but a shortened version might sometimes slip through before I edit a post .
NiLuJe is offline   Reply With Quote
Old 11-17-2014, 01:18 PM   #13
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,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Okay, released 1.1.N with the few minor fixes accumulated since the initial release.

It's still not FW 5.6.1 ready, but it should at least die gracefully in case of trouble, to avoid shooting yourself in the foot .

It might be *overly* strict, and uncover bugs in some install scripts. If you encounter a repeatable failure when installing a specific package, give me a shout, and I'll look into it.
NiLuJe is offline   Reply With Quote
Old 11-25-2014, 06:20 PM   #14
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,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Released v1.3.N, because I forgot to release 1.2.N ;p.

Minor fixes, and fixed the actual packaging to match the doc.
NiLuJe is offline   Reply With Quote
Old 11-27-2014, 03:59 AM   #15
Ruskie_it
Fanatic
Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.
 
Posts: 535
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
Is it possible to choose the order the package are installed?
Ruskie_it is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISSUE: There is a problem with this Windows Installer package Eggplantus Calibre 5 04-14-2013 09:40 AM
0.8.4 new installer too slow JSWolf Calibre 6 06-04-2011 11:29 AM
Changes to Installer??? kgn Calibre 29 01-23-2011 10:40 AM
Invalid Windows Installer Package (7.4) Sydney's Mom Calibre 4 01-15-2011 01:28 PM
iLiad So ... any chance for an installer-package for FBReader 10? X. Trapnel iRex Developer's Corner 3 06-04-2009 08:32 PM


All times are GMT -4. The time now is 04:31 AM.


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