11-13-2023, 06:19 PM | #1156 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@Hightree: Depending no your use-cases, playing with the ZSH profile/env in /mnt/us/usbnet/etc/zsh might be enough to fake it.
But if you were hoping to use it for scp/sftp, that won't quite work, because ZSH isn't the default shell. I honestly don't recall what's persistent and what's dynamic, but assuming none of that is dynamic, you might have better luck just creating a new dedicated user that lives wherever you want it. (I wouldn't necessarily recommend touching the state of the root account, because you never really know what that might break in fun and interesting ways...). |
11-13-2023, 11:16 PM | #1157 | ||
Enthusiast
Posts: 38
Karma: 10
Join Date: Nov 2023
Device: Paperwhite 5
|
Quote:
I do use sftp (my client supports also SCP,FTP,Webdav,Amazon S3). Not sure why it matters that ZSH isn't the default shell? For SFTP a profile/settings isn't needed, so I could use a default shell for SFTP. Only need profile for SSH/console. Quote:
I'm not a linux person, so my questions may be silly If its same tools as with regular linux, there should be plenty info on web. Can I create another user with ROOT priveleges from default root account? Any recommended path for new account? Last edited by Hightree; 11-13-2023 at 11:19 PM. |
||
Advert | |
|
11-17-2023, 07:34 AM | #1158 |
Fanatic
Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
Python unistall script fails
PW5 here, fw 5.16.2.1 with Language Jailbreak running without issue.
When jailbreaking, I installed successfully the python plugin, but lately I've read a message from Niluje stating it is not needed on this fw version, so I decided to uninstall it. I have put the uninstall.bin in mrpackages folder and run the mrpi installer, but it says "script failed, moving on" and eventually reboots the UI. When rebooting, I'm finding a new txt document among my books: Spoiler:
You can find attached the tgz file (please remove the fake .zip extension). This is not the first run, I ran it twice and this is the log of the second attempts. Already in the first run I could see that even if it failed, it actually removed the python directory in main folder, but it left there the python3 directory, with about 120MB of files inside. My question is: may I simple delete that directory and I am good to go, or is there something else I must to in order to remove the plugin? Thanks! |
11-17-2023, 03:30 PM | #1159 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
It's not so much as "not needed" as it's unsupported .
More helpful would have been the MRPI log, but, anyways, yeah, mostly harmless, just kill the folder. |
11-17-2023, 03:32 PM | #1160 |
Wizard
Posts: 1,344
Karma: 4753026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Sorry @NiLuJe,
I lost track of updates. Is the Battery Status extension up to date for 5.16.x? Or do you have a list of what IS and what IS NOT updated? |
Advert | |
|
11-17-2023, 03:36 PM | #1161 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Nothing's updated. The only possibly sane packages are the bridge, KUAL and USBNet.
EDIT: For < 5.16.3, I mean. >= 5.16.3 will require a new toolchain, new binaries and dedicated packages. |
11-17-2023, 07:43 PM | #1162 |
Wizard
Posts: 1,344
Karma: 4753026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Got it, thanks!
For Battery status, what input do you need to “update” it? Like, the actual battery controller files’ locations and stuff? |
11-18-2023, 01:19 AM | #1163 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Nope, it's all gasgauge-info, so it'll probably mostly work automagically.
|
11-20-2023, 12:36 PM | #1164 |
Member
Posts: 14
Karma: 10
Join Date: Apr 2023
Location: Jakarta, Indonesia.
Device: Kindle Basic (KT5) 5.16.2.1.1
|
There any python running on KT5 devices?
|
11-20-2023, 01:53 PM | #1165 | |
Member
Posts: 14
Karma: 10
Join Date: Apr 2023
Location: Jakarta, Indonesia.
Device: Kindle Basic (KT5) 5.16.2.1.1
|
Quote:
so very thanks! |
|
11-22-2023, 09:35 PM | #1166 |
Wizard
Posts: 1,344
Karma: 4753026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Hi @NiLuJe,
BatteryStatus works! However, it reports most of the things 1000 times more. Is this fixable? The code is a real awk jungle... |
11-22-2023, 10:48 PM | #1167 |
Grand Sorcerer
Posts: 5,540
Karma: 100606001
Join Date: Apr 2011
Device: pb360
|
|
11-23-2023, 02:20 AM | #1168 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Like I said earlier, that's unprocessed output from `gasgauge-info`, so, technically not my bug ;o).
|
11-23-2023, 02:22 AM | #1169 |
Wizard
Posts: 1,344
Karma: 4753026
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Cool! Thanks) I'll just fix the units then.
|
11-24-2023, 05:17 AM | #1170 |
Fanatic
Posts: 538
Karma: 1000000
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW5, Kindle PW4, Kindle 4 NT
|
|
Tags |
hacks, kindle, niluje |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I removed the hacks, installed 3.1, then new hacks, and now Kindle is dead | cloudyvisions | Amazon Kindle | 55 | 11-29-2023 08:27 PM |
Tools Snapshots of Coplate's packages | coplate | Kindle Developer's Corner | 104 | 10-24-2022 12:41 AM |
NiLuJe offline? | picree | Kindle Developer's Corner | 1 | 09-28-2016 11:29 PM |
Snapshots test in Live version | Michele Clinco | OpenInkpot | 7 | 09-08-2009 03:42 PM |