![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15
Karma: 1028
Join Date: Jan 2025
Device: Kindle Basic 11th Gen
|
![]()
I am trying to replace a jar under /opt/amazon/ebook/lib from within kindle root terminal (KOReader SSH server) but getting
rm: can't remove '....jar': Read-only file system How can I do it ? ![]() |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jan 2025
Device: Kindle PW5
|
Just out of curiosity: what do you mean to achieve by modifying that .jar?
When you first connect there is usually a message from dropbear/SSH that says Code:
Rootfs is mounted read-only. Invoke mntroot rw to switch back to a writable rootfs. The specific file or folder may also be immutable if that does not work Code:
lsattr <dir/file> Code:
chattr -i <dir/file> |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,506
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Also, make sure to
- make backups! - remember original files' permissions - make sure to restore the same permissions if they are different after replacement Generally be careful with system files, Kindles are fragile and take ANY excuse to go into unboot-loop. Make sure you have your USBNet auto-starting so you can have a chance to change files if it goes into this unboot-loop. |
![]() |
![]() |
![]() |
#4 | ||
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15
Karma: 1028
Join Date: Jan 2025
Device: Kindle Basic 11th Gen
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,506
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
As I said, Kindle firmware is fragile
![]() What you think is not critical, might actually brick it for good. You need usbnetlite from Marek: https://fw.notmarek.com/khf/ Here be dragons! |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15
Karma: 1028
Join Date: Jan 2025
Device: Kindle Basic 11th Gen
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,506
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Have you found older tweaks were people modified margins?
It was a long time ago, but I vaguely remember that /opt/* stuff is a factory stock stuff. I'll have a look later how I did it, although on 5.9.7 on PW3 |
![]() |
![]() |
![]() |
#8 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15
Karma: 1028
Join Date: Jan 2025
Device: Kindle Basic 11th Gen
|
![]() I trying modifying another resource somewhere else and it worked! I wonder why the original resource replacement didn't work (I modified a string under /opt/amazon/ebook/lib/wikipedia.jar) |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Get System File Date | tamarissa | Library Management | 5 | 06-02-2020 05:30 AM |
The system cannot find the file specified | birkmaggs | Devices | 5 | 02-06-2019 10:38 AM |
Troubleshooting DX: File system corrupt? | hfrummer | Amazon Kindle | 2 | 01-19-2015 04:50 AM |
How can I replace KPW system default font? | eloong | Kindle Developer's Corner | 3 | 01-19-2013 11:53 AM |
how to clean more disk space in root file system to upgrade system | chinaet | iRex | 1 | 12-18-2006 03:54 PM |