![]() |
#991 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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: Don't. That never really worked well, and it's far more likely to screw up in an horrible way than anything else (it was done in the time of the Kindle touch, which happens to be a nigh-indestructible beast, software-wise). If you *really* want new stuff without the hassle of cross compiling or emulated native compiling, look at twobob & knc1's threads on how to rip stuff out of Debian armel.
The rootfs is mounted ro for very good reasons (the most prominent ones being keeping the sw safe, and that there's almost no room in there). Do not mess with it, unless you know exactly what you're doing and what that entails. The most recent 'I bricked my PW' thread was from someone who didn't think anything wrong would happen. Spoilers: it did. ;p. Last edited by NiLuJe; 07-20-2014 at 08:42 PM. |
![]() |
![]() |
![]() |
#992 | |||
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
If you really can't help yourself, and must diddle, buy a used Kindle Touch to play with. If you really, really must - Install the current (at the moment 0.3) ARMhf system libraries (they install into user storage - not Amazon filespace) - Then pick from Debian/Jessy ARMhf packages. You will have to do a bit of un-packaging, finding dependencies, running patchelf as required - - **BUT** You will not be bricking a non-recoverable device. ![]() Quote:
You have written the answer yourself: Quote:
- - - - Just the simplified over-view: A "filesystem" is something that exists on top of a "backing store". In a *nix system, two different levels of abstraction. Either, or both, or neither may be "read only" in nature. In addition, *nix systems support filesystems that **can not be written** - sorry, not in their design spec. they can only be created and read, never written to. Your PW2 has a large number of such creatures included in its file system tree. |
|||
![]() |
![]() |
Advert | |
|
![]() |
#993 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Jul 2014
Device: Paperwhite 2013 3G + Wifi
|
@NiLuJe @knc1
Thanks guys! I'm glad you're around to stop people like me screwing up our Kindles ;-) Could either of you give me a link to the latest "threads on how to rip stuff out of Debian armel" ? Because that would be a lifesaver, so many debian packages I want! Thanks again, Will. |
![]() |
![]() |
![]() |
#994 | ||
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
It is also nice to find someone that asks when they first run into a problem rather than waiting to post when it is too late. ![]() Quote:
Most of that was done by twobob, but is pretty well scattered around the forum inside of his various posts. His work does include scripting to determine the dependencies of a binary. This process is limited to software from a fairly old Debian release that is compatible with the very old system libraries that are pre-installed on your Kindle. (Still, that is many thousands of packages) Ripping Debian ARMhf packages - - Takes bow, pats self on back... I have the done the basics of that, but am a long way from finished due to lack of time. https://www.mobileread.com/forums/sho...d.php?t=240616 Which is a set of the **most recent** Linux system libraries. The advantage of this project direction, is that it allows the Kindle to concurrently support more than one set of Linux system libraries (only two at the moment, but it is not limited to that). I.E: Both (Amazon age) ancient applications and very recent applications. My base installation includes very recent scripting engines (Busybox ash and Lua(Jit) ) but the only scripting is what is hinted at in my notes (and twobob's work). The time and effort of making up "end-user" scripted tools is a large item. If the world waits for me, we may all die of old age before I finish that on my own. Ah, but I can probably find time to help guide someone else in that work. The same for other members here - They "know the answers" but do not have time to do the work themselves. But they are all quick to respond with answers to problems posted by others. I'll start a different thread for this topic - If you find time to add to it (even just adding good "how do I" questions) - that would be great. - - - - Do not be intimidated - twobob started with hardly knowing more than the name of the OS: "Linux" and became one of our most prolific contributors in a short amount of time. Last edited by knc1; 07-21-2014 at 09:10 AM. |
||
![]() |
![]() |
![]() |
#995 |
Enthusiast
![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#996 |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Because you renamed the directory.
![]() https://www.mobileread.com/forums/sho...1&postcount=47 Let me know if you find a typo or other error in that post. |
![]() |
![]() |
![]() |
#997 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Jul 2014
Device: Paperwhite 2013 3G + Wifi
|
@knc1
You're a wonderful person ;-) I knew it would be something stupid I'd done! Just wondering... What does the "exec esys/bin/busybox ash" command achieve? Whether or not I run this, just setting the PATH variable seems to work for me, so is it still necessary? Last question! This is probably very stupid of me, but adding the PATH setting command to a '.bashrc' or a '.bash_profile' didn't set the path at login. Is there a way to do this? Thanks, Will. |
![]() |
![]() |
![]() |
#998 | |
Going Viral
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
You will notice the differences when you try to run ash ('sh') scripts. The old version provided on your Kindle is a real headache to use at times. |
|
![]() |
![]() |
![]() |
#999 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
|
What about manually setting the PATH in /etc/environment
|
![]() |
![]() |
![]() |
#1000 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Jul 2014
Device: Paperwhite 2013 3G + Wifi
|
@knc1: Ah, okay. So the command still has to be executed every session?
@eschwartz: I'm afraid that /etc/environment didn't work for the PATH variable, and obviously isn't suitable for executing the "exec esys/bin/busybox ash" command. I've also tried /etc/bash/bashrc to no avail. Any other ideas? I'm thinking I might just put it in a shell script and remembering to run it at login. Will. Sidenote: What do people do with the 'control' directory in deb packages? Should I keep 'em? Last edited by afterbox; 07-21-2014 at 02:32 PM. |
![]() |
![]() |
![]() |
#1001 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
Wild guess: Try ~/.profile. Drawback: ${HOME} is a tmpfs for root by default.
|
![]() |
![]() |
![]() |
#1002 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Jul 2014
Device: Paperwhite 2013 3G + Wifi
|
Well we're getting somewhere, ~/.profile successfully executed:
cd /mnt/us exec esys/bin/busybox ash 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... PS: Same result with a shell script, can't export the PATH variable. Last edited by afterbox; 07-21-2014 at 02:48 PM. |
![]() |
![]() |
![]() |
#1003 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
|
|
![]() |
![]() |
![]() |
#1004 | |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
|
Quote:
Kterm is actually running ~/.profile on startup, but isn't picking up on exports? ![]() |
|
![]() |
![]() |
![]() |
#1005 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
IIRC, there's a login sell vs. non-login shell shenanigan for the KTerm thing (cf. KTerm's issue tracker on GH).
|
![]() |
![]() |
![]() |
Tags |
5.1.0, 5.2.0, jailbreak, kindle touch hacks, paperwhite, touch |
|
![]() |
||||
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 |