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, 06: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: 5,506
Karma: 5499999
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
Cool MobileRead Package Installer

Given the recent news regarding FW 5.6.x, and to scratch an itch than had been bothering me for a while, here comes the MobileRead Package Installer!


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.

Why reinvent the wheel?
Besides trying to avoid the evil tendencies of FW >= 5.6.x, 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 (02/12/2015):

Various critical bugfixes (1.5.N)

INSTALL:

Spoiler:


This is a KUAL extension, so it's as simple as unpacking the attached .zip file 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
  • Doc: $Id: MI_MR_THREAD 11505 2015-02-12 20:47:19Z NiLuJe $
Attached Files
File Type: zip kual-mrinstaller-1.5.N.zip (814.0 KB, 304 views)

Last edited by NiLuJe; 02-12-2015 at 05:00 PM. Reason: v1.5.N
NiLuJe is offline   Reply With Quote
Old 11-15-2014, 06: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: 5,506
Karma: 5499999
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
*reserved*

(also, *inserts evil laugh here*)

NB: Right now, you'll only see progress information with my snapshots 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; 11-15-2014 at 07:21 PM.
NiLuJe is offline   Reply With Quote
 
Advertisement
Old 11-15-2014, 06: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,545
Karma: 4669360
Join Date: Nov 2010
Location: California
Device: K-Fire, PW1, PW2
Quote:
Originally Posted by NiLuJe View Post
(also, *inserts evil laugh here*)
Muhahahahahaha! (inserted! )
GoSharks is offline   Reply With Quote
Old 11-15-2014, 10:20 PM   #4
eschwartz
Irrational Optimist
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: 9,997
Karma: 22198615
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 online now   Reply With Quote
Old 11-16-2014, 05: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: 778
Karma: 703245
Join Date: Feb 2009
Location: The Windmills of My Mind
Device: N3, N10.1, View, K1, K2, K3, PW1, PW2
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
Old 11-16-2014, 10: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: 5,506
Karma: 5499999
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
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 10:28 PM.
NiLuJe is offline   Reply With Quote
Old 11-17-2014, 06:48 AM   #7
rafalele
Enthusiast
rafalele began at the beginning.
 
rafalele's Avatar
 
Posts: 27
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, 12:14 PM   #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: 778
Karma: 703245
Join Date: Feb 2009
Location: The Windmills of My Mind
Device: N3, N10.1, View, K1, K2, K3, PW1, PW2
"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, 12:18 PM   #9
eschwartz
Irrational Optimist
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: 9,997
Karma: 22198615
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 online now   Reply With Quote
Old 11-17-2014, 12:33 PM   #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: 5,506
Karma: 5499999
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
@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, 12:47 PM   #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: 778
Karma: 703245
Join Date: Feb 2009
Location: The Windmills of My Mind
Device: N3, N10.1, View, K1, K2, K3, PW1, PW2
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, 12:53 PM   #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: 5,506
Karma: 5499999
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
@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, 02: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: 5,506
Karma: 5499999
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
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, 07: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: 5,506
Karma: 5499999
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
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, 04:59 AM   #15
Ruskie_it
Addict
Ruskie_it can successfully navigate the Paris bus system.Ruskie_it can successfully navigate the Paris bus system.Ruskie_it can successfully navigate the Paris bus system.Ruskie_it can successfully navigate the Paris bus system.Ruskie_it can successfully navigate the Paris bus system.Ruskie_it can successfully navigate the Paris bus system.Ruskie_it can successfully navigate the Paris bus system.Ruskie_it can successfully navigate the Paris bus system.Ruskie_it can successfully navigate the Paris bus system.Ruskie_it can successfully navigate the Paris bus system.Ruskie_it can successfully navigate the Paris bus system.
 
Posts: 205
Karma: 36260
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW2, Kindle 4 NT, Cybook Odissey
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 10:40 AM
0.8.4 new installer too slow JSWolf Calibre 6 06-04-2011 12:29 PM
Changes to Installer??? kgn Calibre 29 01-23-2011 11:40 AM
Invalid Windows Installer Package (7.4) Sydney's Mom Calibre 4 01-15-2011 02:28 PM
iLiad So ... any chance for an installer-package for FBReader 10? X. Trapnel iRex Developer's Corner 3 06-04-2009 09:32 PM


All times are GMT -4. The time now is 11:06 AM.


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