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-27-2014, 02:37 AM   #1
Ruskie_it
Groupie
Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.
 
Posts: 150
Karma: 4734
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW2, Kindle 4 NT, Cybook Odissey
JB version - how to tell

Hey everybody,

A couple questions:

1) I have installed JB on my kindle quite some time ago; is there a way to tell - by inspecting local directory, looking on KUAL or anything else, which version of the JB I installed?

2) In case it is not the most recent, is it possible to "update" JB by simply installing the most recent one (fw version 5.4.5.1) on an already jailbroken device?

Thanks
Ruskie_it is offline   Reply With Quote
Old 11-27-2014, 02:39 AM   #2
Ruskie_it
Groupie
Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.
 
Posts: 150
Karma: 4734
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW2, Kindle 4 NT, Cybook Odissey
PS: Question 1 also applies to MKK and SS Hack
Ruskie_it is offline   Reply With Quote
Old 11-27-2014, 03:15 AM   #3
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: 8,250
Karma: 14594159
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Yes, simply reinstall the jailbreak. I believe the update_bridge-version.bin is what you want for that.

The jailbreak will bundle MKK, so no worries there.

Again, just reinstall any hacks to make sure you have the latest version.
eschwartz is online now   Reply With Quote
Old 11-27-2014, 03:21 AM   #4
Ruskie_it
Groupie
Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.
 
Posts: 150
Karma: 4734
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW2, Kindle 4 NT, Cybook Odissey
Quote:
Originally Posted by eschwartz View Post
Yes, simply reinstall the jailbreak. I believe the update_bridge-version.bin is what you want for that.
Hmmm, the JB instructions post say this, for fw 5.4.5.1:

Code:
This will NOT work on FW >= 5.4.5!
Currently, it does survive an update to >= 5.4.5
[...]
If your PW2 shipped on 5.4.5 or newer, all is not lost, you should be able to downgrade to 5.4.3.2 with a bit of trickery.
According to this, I should downgrade to 5.4.3.2 first, but this is for "new" Kindles, i.e. not already jailbroken.
Does this applies to already jailbroken Kindles, or can I just apply the new JB on top of the old one even if my fw is 5.4.5.1?
Ruskie_it is offline   Reply With Quote
Old 11-27-2014, 03:26 AM   #5
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: 8,250
Karma: 14594159
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Like I said, use the bridge. It applies the jailbreak via an update.bin, since you already have the jailbreak certificate.

It will update your Kindle with the latest jailbreak goodies -- which includes bridging the Cowards Rescue Pack, sourcing an emergency script, and preserving jailbreak powers into fw5.6.1
eschwartz is online now   Reply With Quote
Old 11-27-2014, 03:31 AM   #6
Ruskie_it
Groupie
Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.
 
Posts: 150
Karma: 4734
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW2, Kindle 4 NT, Cybook Odissey
Sounds great. Which is usually when things start to go really BAD.
I like BAD things. I am bored. Might give it a try.

Thanks!

Last edited by Ruskie_it; 11-27-2014 at 03:32 AM. Reason: grammar
Ruskie_it is offline   Reply With Quote
Old 11-27-2014, 04:30 AM   #7
Ruskie_it
Groupie
Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.
 
Posts: 150
Karma: 4734
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW2, Kindle 4 NT, Cybook Odissey
Confirmed working!
For reference of whoever might want to do that.

Starting fw version: 5.4.5.1
Starting JB version: unknown
-
Final fw version: 5.4.5.1 (this is NOT fw update)
Final JB version: 1.13.N

I am specifying because I can not assume this will work in every condition - though I think it will

Process (aka What _I_ did):
- Download JB zip package
- Copy Update_jailbreak_bridge_1.13.N_install.bin to Kindle root folder
- Eject Kindle
- [HOME] -> [MENU] > Settings -> [MENU] > Update Your Kindle.
- After the reboot, copy the content of archive kindle-5.4-jailbreak.zip to Kindle root folder (kindle-5.4-jailbreak.zip is in the JB zip package)
- Eject Kindle
- [HOME] -> [MENU] > Settings -> [MENU] > Update Your Kindle.

I described all this just to let everyone know that yes: you have to apply both .bin packages: at first I wasn't sure because the "bridge" had the word "update" in it, and also because I had the impression from eschwartz post that it wasn't needed, but then I read the docs and got the opposite impression.

Last edited by Ruskie_it; 11-27-2014 at 04:32 AM.
Ruskie_it is offline   Reply With Quote
Old 11-27-2014, 04:35 AM   #8
Ruskie_it
Groupie
Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.
 
Posts: 150
Karma: 4734
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW2, Kindle 4 NT, Cybook Odissey
By the way, I see some JB leftovers in the Kindle root directory:

gandalf
bridge.conf
json-simple1.1.jar
developer.keystore
bridge.sh
jb.sh

Is it safe to delete them?
Ruskie_it is offline   Reply With Quote
Old 11-27-2014, 04:43 AM   #9
knc1
Helpdesk Junkie
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 6,991
Karma: 6314536
Join Date: Feb 2012
Device: Too many.
Quote:
Originally Posted by Ruskie_it View Post
- - - - -
At first I wasn't sure because the "bridge" had the word "update" in it, and ...
- - - - -
All of our packages that use the Amazon provided installer must fit the Amazon expected filename pattern.
That filename pattern includes the sub-strings: "update_" and ".bin"

Note: the "Jailbreak" package **does not** use the Amazon provided installer.

It can't, since there isn't (yet) a Mobileread developer certificate installed to check the package's validity.
(It is the JB's job to install that certificate.)
knc1 is offline   Reply With Quote
Old 11-27-2014, 04:49 AM   #10
Ruskie_it
Groupie
Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.
 
Posts: 150
Karma: 4734
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW2, Kindle 4 NT, Cybook Odissey
Quote:
Originally Posted by knc1 View Post
All of our packages that use the Amazon provided installer must fit the Amazon expected filename pattern.
That filename pattern includes the sub-strings: "update_" and ".bin"
Understood. That may lead to confusion in this case, but it's not developer's fault, got it.
What about deleting leftovers? Is it possible or are they needed by bridge and/or JB?
Ruskie_it is offline   Reply With Quote
Old 11-27-2014, 09:49 AM   #11
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,241
Karma: 5164853
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
@Ruskie_it: The leftovers are most likely because you unpacked the jailbreak zip, but installed the bridge, not the 'from scratch' jailbreak. The scripts only cleanup their *own* mess . (So, yep, clean that up manually).

In most cases, if you want to update the jailbreak, either reinstall the jailbreak like you would on a vanilla device, or reinstall the bridge like any other hack, depending on what is most practical on your device/FW combo.

And to anwser the original question, no, you can't tell. The closest idea you can get is checking the SVN revision of your bridge script and matching that to the releases from the detailed changelog, but that requires a shell access. But that isn't 100% fool-proof, because my build tree is organized in a fairly chaotic manner, so not everything ends up in the right ChangeLog.

Last edited by NiLuJe; 11-27-2014 at 09:53 AM.
NiLuJe is online now   Reply With Quote
Old 11-27-2014, 10:04 AM   #12
Ruskie_it
Groupie
Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.Ruskie_it is fluent in JavaScript as well as Klingon.
 
Posts: 150
Karma: 4734
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW2, Kindle 4 NT, Cybook Odissey
Hmmm... No, what I did was: first I copied to the root dir only the bridge bin. "Updated my Kindle" et voilà, the device rebooted - with some "all done" message that I can't remember but I saw it was there - and the bin was gone.
Done that, once again by the rules I copied the zip-in-the-zip content in the root folder, and again "Updated my Kindle". It said it was done, but when I connected the newly copied bin wasn't there, the other mess it was.

Maybe because the 2nd bin was not necessary as the bridge already updated the jb to latest version?

Too bad with the version thing. It's not only you, I have noticed that not so many hacks/tools have a way to tell wich version they are, and sometimes it's a bit problematic because there are version prerequisites in between them... :-/
Ruskie_it is offline   Reply With Quote
Old 11-27-2014, 10:10 AM   #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,241
Karma: 5164853
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O
@Ruskie_it: Yup, you could have stopped after the first bin (the bridge). The second one would have been a jailbreak 'from scratch' install, except either you're already on 5.6.x, so it doesn't work, hence the leftovers, or the OTA updater got confused and did something stupid. Regardless, if you installed the bridge, you're done, just kill the leftovers manually.

There's no version info because it was never supposed to get so complex. It began as *one* file, and is now a tentacular mess. And with no parts actually living in the userstore, and because of some technical restrictions, just dropping an extra file somewhere in the userstore as a reminder is way more trouble than it's worth.

FYI, everything else I'm releasing has an 'info.txt' file in its main folder to tackle just that issue (that, and the 'version info' button in KUAL extensions).
NiLuJe is online now   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
Version 2.7 available now... kguil Marvin 8 03-12-2014 02:17 PM
Latest version of iOS5/iPad-only version temporarily available on App Store kguil Marvin 0 01-05-2014 06:31 AM
How to install prior version of Calibre when newer version installed? SilentSeven Calibre 3 04-13-2011 01:46 PM
Updated Christian Bible Launches eBook Version Before Print Version tubemonkey News 21 12-30-2010 04:53 PM
Version 1.2.3 Laisvunas EPUBReader 1 12-11-2009 07:38 AM


All times are GMT -4. The time now is 04:35 PM.


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