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 07-21-2014, 04:42 PM   #1006
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
Of note for the new 4GB PW2 owners: 5.4.5 is out. Haven't had time to look at it yet, it may be terribly evil, or not. Stay tuned.
NiLuJe is offline   Reply With Quote
Old 07-21-2014, 04:44 PM   #1007
afterbox
Enthusiast
afterbox began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Jul 2014
Device: Paperwhite 2013 3G + Wifi
@eschwartz

No, no Kterm here. KUAL isn't compatible with my device yet (thanks to Amazon's less than comprehensive firmware...) so I am using SSH. The thought of a subshell had indeed crossed my mind, I just couldn't think of a way around it. Will try to source it now...
afterbox is offline   Reply With Quote
Advert
Old 07-21-2014, 04:50 PM   #1008
afterbox
Enthusiast
afterbox began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Jul 2014
Device: Paperwhite 2013 3G + Wifi
Quote:
Originally Posted by NiLuJe View Post
Of note for the new 4GB PW2 owners: 5.4.5 is out. Haven't had time to look at it yet, it may be terribly evil, or not. Stay tuned.
Oooo! A firmware update! Should I poke it with a stick and upgrade? Or should I wait for you? What's the worst that could happen...

Will.
afterbox is offline   Reply With Quote
Old 07-21-2014, 04:50 PM   #1009
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by williamrochira View Post

exec /mnt/us/esys/bin/busybox ash
# # # # <- never reached by **prior** shell and not passed to new.
But echo $PATH returns:

/usr/local/bin:/bin:/usr/bin:/usr/sbin:/sbin:/usr/local/python/bin

So the export PATH=/mnt/us/esys/bin:/mnt/us/esys/usr/bin:$PATH didn't work...
The exec shell function does not pass the current command file and the current point of execution in it.

Ah, well, at least the Busybox version 1.17 (or whatever) ash that Amazon uses doesn't.

Hmm...
Maybe passing the new version of ash some argument(s) or option(s) might work.
As in:
exec /mnt/us/esys/bin/busybox ash -l
(-l, "ell" for "login shell" ? - - maybe)

- - - -

Thanks everyone for the help here.
knc1 is offline   Reply With Quote
Old 07-21-2014, 04:50 PM   #1010
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
I need to check if it's JB friendly or not .

----

@knc1: env PATH=... exec blah ?

(Yeah, I like env ;D).
NiLuJe is offline   Reply With Quote
Advert
Old 07-21-2014, 04:58 PM   #1011
knc1
Going Viral
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: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by NiLuJe View Post
I need to check if it's JB friendly or not .

----

@knc1: env PATH=... exec blah ?

(Yeah, I like env ;D ).
Maybe - at least it would in Bash.

This function **should** be (and is in some OSs) named "chain".
It should just be replacing the current code and data sections of the program executing with that of the program executed.
I.E: Same environment, same open file descriptors (the current command file should be open on fd #3 or on fd #5), same-same everything else.

But this is an old version of Busybox ash -
All we can do is mess with it until we figure out how it **actually** works.

Last edited by knc1; 07-21-2014 at 05:01 PM.
knc1 is offline   Reply With Quote
Old 07-21-2014, 05:02 PM   #1012
afterbox
Enthusiast
afterbox began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Jul 2014
Device: Paperwhite 2013 3G + Wifi
Okay, I've gotten it to work.

In my .profile, I have:

source path.sh
cd /mnt/us
exec esys/bin/busybox ash

An in '/tmp/root/path.sh':

export PATH="/mnt/us/esys/bin:/mnt/us/esys/usr/bin:$PATH"

Works for me :-)
afterbox is offline   Reply With Quote
Old 07-21-2014, 05:26 PM   #1013
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,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
You might want to move HOME to [userstore] or something.... or it will magically delete itself from tmp every time your Kindle reboots!
eschwartz is offline   Reply With Quote
Old 07-21-2014, 05:38 PM   #1014
afterbox
Enthusiast
afterbox began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Jul 2014
Device: Paperwhite 2013 3G + Wifi
Quote:
Originally Posted by eschwartz View Post
You might want to move HOME to [userstore] or something.... or it will magically delete itself from tmp every time your Kindle reboots!
Already done ;-)

Last edited by afterbox; 04-30-2018 at 12:12 PM.
afterbox is offline   Reply With Quote
Old 07-21-2014, 05:48 PM   #1015
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
Haven't checked if the JB still applies on vanilla 5.4.5, but did confirm that it should survive an update, so you're free to check if it helps, @williamrochira .
NiLuJe is offline   Reply With Quote
Old 07-21-2014, 05:48 PM   #1016
afterbox
Enthusiast
afterbox began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Jul 2014
Device: Paperwhite 2013 3G + Wifi
[deleted]

Last edited by afterbox; 04-29-2018 at 07:15 PM.
afterbox is offline   Reply With Quote
Old 07-21-2014, 06:00 PM   #1017
afterbox
Enthusiast
afterbox began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Jul 2014
Device: Paperwhite 2013 3G + Wifi
Updated, but ';un' still sends it into USB Drive Mode, so I think it killed the jailbreak. :-(

Edit: "Update Your Kindle" isn't greyed out when I copy over the JB files. Should I re-jailbreak?
afterbox is offline   Reply With Quote
Old 07-21-2014, 06:05 PM   #1018
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
@williamrochira: Note that the usual caveats apply (namely, it kills everything that had a foothold in the rootfs, except the JB itself).

So, just reinstall the hacks (MKK, USBnet, ...). That said, I'd be glad to know if you can indeed reinstall the JB itself, even if that shouldn't be needed.
NiLuJe is offline   Reply With Quote
Old 07-21-2014, 06:08 PM   #1019
afterbox
Enthusiast
afterbox began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Jul 2014
Device: Paperwhite 2013 3G + Wifi
@NiLuJe

Installing jailbreak now. Happy to be your guinea pig ;-)
afterbox is offline   Reply With Quote
Old 07-21-2014, 06:09 PM   #1020
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
FWIW, the update package itself has hopeful hints of awareness of new models (which is new, for a recovery PW2 update, BTW).
NiLuJe is offline   Reply With Quote
Reply

Tags
5.1.0, 5.2.0, jailbreak, kindle touch hacks, paperwhite, touch


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle Touch 5.0 Jailbreak yifanlu Kindle Developer's Corner 246 01-03-2013 04:57 PM
Is a Kindle Touch for a PaperWhite a good trade? route66 Amazon Kindle 7 09-29-2012 03:21 PM
Kindle Touch with 'Paperwhite' backlit display JoHunt Amazon Kindle 2 08-31-2012 04:33 AM
[Kindle Touch] Firmware 5.1.0 and jailbreak ixtab Kindle Developer's Corner 85 06-28-2012 04:43 AM
How to Kindle touch - jailbreak, screensaver morgun Kindle Developer's Corner 3 05-21-2012 06:39 PM


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


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