Mobileread
MobileRead Package Installer
#1  NiLuJe 11-15-2014, 06:37 PM
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 Warning below








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 Warning below








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 Warning below







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 Warning below






Reply 

#2  NiLuJe 11-15-2014, 06:38 PM
*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.
Reply 

#3  GoSharks 11-15-2014, 06:45 PM
Quote NiLuJe
(also, *inserts evil laugh here*)
Muhahahahahaha! (inserted! )
Reply 

#4  eschwartz 11-15-2014, 10:20 PM
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!!!
Reply 

#5  pghaworth 11-16-2014, 05:16 PM
Quote eschwartz
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.
Reply 

#6  NiLuJe 11-16-2014, 10:15 PM
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
Reply 

#7  rafalele 11-17-2014, 06:48 AM
Hi NiLuJe.

Thanks a lot for your job. I think it is very useful extension.
Reply 

#8  pghaworth 11-17-2014, 12:14 PM
"that can lead to fairly impressive breakage"

I had to laugh, though it's not really funny, and I concur after further testing.
Reply 

#9  eschwartz 11-17-2014, 12:18 PM
Quote NiLuJe
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?
Reply 

#10  NiLuJe 11-17-2014, 12:33 PM
@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 ^^.
Reply 

  Next »  Last »  (1/16)
Today's Posts | Search this Thread | Login | Register