03-01-2024, 08:34 AM | #16 | |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Quote:
Edit: Just had a look at your installer. I suspect it will not work. Afaik the installer has access to mnt/secure but not the app it is installing. Last edited by nhedgehog; 03-01-2024 at 08:40 AM. |
|
03-01-2024, 08:40 AM | #17 | |
Connoisseur
Posts: 54
Karma: 30682
Join Date: Aug 2011
Device: Samsung Note FBReader, Nook Simple Touch FBReader, (Kindle3 died)
|
Quote:
Code:
#!/bin/sh # enable opds echo have_opds=1 >> /mnt/secure/device.cfg # delete this script rm $0 exit 0 |
|
Advert | |
|
03-01-2024, 08:43 AM | #18 |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Yes you are right, it shouldn't create problems but my test with pbi installers say it will not work. I'll test it soon myself. First post was edited before your reply came through
|
03-01-2024, 08:47 AM | #19 |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
@neil_swann80:
Installer didn't create the results you hoped for. Tested it on an unrooted device. |
03-01-2024, 08:49 AM | #20 | |
0000000000101010
Posts: 5,721
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Quote:
It works fine on my rooted device, at worst it'll just fail to write to device.cfg on an unrooted. |
|
Advert | |
|
03-01-2024, 08:52 AM | #21 |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
What could work though is extracting ezdiy's app out of his root installer, the one that starts his rooting scripts and use this to run the code as root.
Edit: But I'm to lazy to extract it out of that base64 code. Last edited by nhedgehog; 03-01-2024 at 08:55 AM. |
03-01-2024, 08:53 AM | #22 |
0000000000101010
Posts: 5,721
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
|
03-01-2024, 09:03 AM | #23 | |
0000000000101010
Posts: 5,721
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Quote:
There seems to be some redundancy with device.cfg as when I editing mine with the .pbi I also have a device.cfg.back file. |
|
03-01-2024, 09:07 AM | #24 |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
We neither have read nor write access of /mnt/secure without root.
But as strange as it is, we have read access to /ebrmain. So "borrowing" from the root script is the only way I see it working without permanently rooting it. |
03-01-2024, 09:51 AM | #25 |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
@neil_swann80: Just got curious and tested your installer on my rooted pb 631. It installed but didn't change device.cfg and since I was curious I tried to cp my changed device.cfg and that didn't work too.
Neither with \cp, cp -f, \cp -f ... |
03-01-2024, 10:03 AM | #26 | |
0000000000101010
Posts: 5,721
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Quote:
Did you try getting the pbi to install the changed device.cfg? |
|
03-01-2024, 10:10 AM | #27 | |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
No, I used your installer as it is which did run through but didn't give the expected result (unchanged device.cfg).
Later I changed the device.cfg manually in PBTerm: echo have_opds=1 >> /mnt/secure/device.cfg That worked but my device.cfg had some unexpected code at the end, so it looks now like this: Quote:
Last edited by nhedgehog; 03-01-2024 at 10:13 AM. |
|
03-01-2024, 11:16 AM | #28 |
Groupie
Posts: 184
Karma: 194590
Join Date: Jan 2018
Device: Cybook Orizon, PocketBook Touch HD
|
My /mnt/secure/device.cfg also ends with
Code:
webStoreToolbar=simpletoolbar #5df79580 |
03-01-2024, 10:33 PM | #29 |
0000000000101010
Posts: 5,721
Karma: 11482159
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Needs testers - please report back - Enable OPDS without root/jailbreak
*** May only work on older devices and firmware ***
(Latest installer available HERE) Running EnableOPDS_p1.pbi creates a new installer called EnableOPDS_p2.pbi that contains the (device specific) config file copied from /var/run/device.cfg and has the line "have_opds=1" prepended, which will be unpacked to /mnt/secure. Basically... run p1, wait for p2 to appear, run p2 and wait for the automatic restart. Full instructions: Spoiler:
FYI: Some OPDS catalogs are listed in the wiki HERE (Click on the links first to test, if you don't see xml they're defunct.) EDIT: Updated the installer to streamline the installation process. Will also now add the Project Gutenberg and Internet Archive catalogs so you can immediately test; unless you've saved catalogs to the system previously. Last edited by neil_swann80; 03-06-2024 at 08:26 PM. |
03-02-2024, 05:13 AM | #30 |
Guru
Posts: 771
Karma: 625816
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
@neil_swann80:
You did it! Just tested it on an unrooted device as instructed and I have now "Network Libraries" in the library menu. God job, well done, thanks! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-505 How to re-enable 'Go To'? | kweller | Sony Reader | 1 | 10-16-2012 09:56 AM |
Development Possible way to enable ADB during next update | kveroneau | enTourage Archive | 20 | 12-23-2010 10:32 AM |
PRS-600 How do you enable the dictionary? | sphinx666 | Sony Reader | 4 | 05-25-2010 05:46 PM |
penable and enable? | nsr | iRex | 6 | 03-10-2010 11:09 AM |
Classic Enable apps from 3 | mos | Barnes & Noble NOOK | 10 | 02-11-2010 04:48 PM |