![]() |
#46 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54
Karma: 30682
Join Date: Aug 2011
Device: Samsung Note FBReader, Nook Simple Touch FBReader, (Kindle3 died)
|
I did the changes in ebrmain as described in the OP, which then did enable the "Network Libraries".
To test the syncing to /var/run/device.cfg I then changed the /mnt/secure/device.cfg and /mnt/secure/device.cfg.back to have "have_opds=0". Rebooted. After reboot /var/run/device.cfg now also has "have_opds=0" but "Network Libraries" still enabled... |
![]() |
![]() |
![]() |
#47 | |
0000000000101010
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,669
Karma: 11226897
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Quote:
![]() Thanks for that info, really useful feedback. The people at Pocketbook have definitely been tinkering in the newest FW revisions! Glad you have it working for yourself at least... now you can work on the COPS catalog for your son! ![]() ![]() Last edited by neil_swann80; 03-04-2024 at 02:36 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#48 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54
Karma: 30682
Join Date: Aug 2011
Device: Samsung Note FBReader, Nook Simple Touch FBReader, (Kindle3 died)
|
Thanks for your help. Odd that it works opposite for you. If you need me to do anymore testing to figure stuff out let me know.
I also figured out the issue with the COPS Calibre OPDS feed and the Android Pocketbook, just in case anyone else runs into this. It's an OPDS feed validation error and there's a patch on a newer fork of COPS Calibre by Mikespub. Also kudos to all those who worked on the JailBreak and Services. Didn't realise it would be so straightforward. |
![]() |
![]() |
![]() |
#49 | ||||
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 763
Karma: 625812
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Got it working on FW 6.8.2676-U-W without ssh with root (I'm a Windows user).
There are a some files in /ebrmain that are not in a compressed read-only rom image - cramfs. All of /ebrmain/config/*.* are outside the cramfs loop: Quote:
Steps: 1) Copy /ebrmain/config/device.cfg.gen /mnt/ext1/device.cfg.gen and change the line: Quote:
Quote:
2.1) remount /ebrmain to rw 2.2) set permission for /ebrmain/config/device.cfg.gen to rw-rw-rw 2.3) copy changed device.cfg.gen from mnt/ext1 back to /ebrmain/config/device.cfg.gen 2.4) changes permission back and remounts /ebrmain to ro back. Quote:
Last edited by nhedgehog; 03-05-2024 at 09:34 AM. |
||||
![]() |
![]() |
![]() |
#50 |
0000000000101010
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,669
Karma: 11226897
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Nice work nhedgehog!
![]() More convenient than ssh and nano. Presume this is a mistype though: /mnt/secure/su cp -f /ebrmain/config/device.cfg.gen /mnt/ext1/device.cfg.gen.org >> $logname FYI... ssh from the Windows command prompt is easy, just type: ssh root@ip-adress (Grab the IP address from the "Rooted device settings" section.) Last edited by neil_swann80; 03-05-2024 at 10:42 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#51 |
0000000000101010
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,669
Karma: 11226897
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Made it completely autonomous...
FYI.. the script below is just a simpler method for rooted/jailbroken devices. Save the code as a .app file in /mnt/ext1/applications to run. If you're NOT rooted or can't root try THIS Code:
#!/bin/sh # needs root! udo=/mnt/secure/su rm -f /mnt/ext1/device.cfg.gen IFS=''; cat "/ebrmain/config/device.cfg.gen" | while read data; do if echo "$data" | grep -q "have_opds=0"; then echo "have_opds=1" >> "/mnt/ext1/device.cfg.gen" else echo "${data}" >> "/mnt/ext1/device.cfg.gen"; fi done $udo mount -o rw,remount /ebrmain $udo chmod 666 /ebrmain/config/device.cfg.gen $udo cp -f /mnt/ext1/device.cfg.gen /ebrmain/config $udo chmod 644 /ebrmain/config/device.cfg.gen $udo mount -o ro,remount /ebrmain rm -f /mnt/ext1/device.cfg.gen exit Last edited by neil_swann80; 03-06-2024 at 03:45 AM. |
![]() |
![]() |
![]() |
#52 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 763
Karma: 625812
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Thanks, much better than my half-automatic attempt. I just reset my device to:
have_opds=0 and run your script and everything was working fine. |
![]() |
![]() |
![]() |
#53 | |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 30844
Join Date: Feb 2024
Device: Pocketbook Inkpad 4
|
Quote:
@JSWolf I'll test it and post my findings |
|
![]() |
![]() |
![]() |
#54 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 30844
Join Date: Feb 2024
Device: Pocketbook Inkpad 4
|
|
![]() |
![]() |
![]() |
#55 |
0000000000101010
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,669
Karma: 11226897
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Could somebody test the attached installer? It works perfectly on my rooted device, some unrooted feedback would be great.
Theoretically it should work on an unrooted device as it uses ezdiy's root permission exploit. (If the attached installer fails for you, try the old one from HERE) Install 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: Added success/fail dialog. Should now only reboot on success. Running the installer again will give you the option to disable OPDS. EDIT2: Fixed an error preventing failure message display. Tidied code up too. Last edited by neil_swann80; 03-07-2024 at 10:31 AM. |
![]() |
![]() |
![]() |
#56 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 763
Karma: 625812
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
And finally the "Ezdiy method"!
Just to test I reset my opds entry, removed jailbreak and tested it. Success! Nice one, working fine! Though adding an uninstaller into the installer would complete the package. Edit: One thing regarding the use of pbi-installer files should be considered too: Every installer is getting an entry in: /mnt/secure/pbpk/ like: enableopds_p1.fop enableopds_p1.inf enableopds_p1.inf.back enableopds_p2.fop enableopds_p2.inf enableopds_p2.inf.back enableopds_v3.fop enableopds_v3.inf enableopds_v3.inf.back Last edited by nhedgehog; 03-06-2024 at 09:24 AM. |
![]() |
![]() |
![]() |
#57 |
0000000000101010
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,669
Karma: 11226897
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
Interesting. What are the default permissions for /mnt/secure/pbpk?
I've changed mine without noting the original. |
![]() |
![]() |
![]() |
#58 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 763
Karma: 625812
Join Date: Sep 2013
Device: EnergySistemEreaderPro, Nook STG, Pocketbook 622, Bookeen Cybooks ...
|
Custom installer seems to leave those artifacts open to all compared to the PB installer:
Quote:
|
|
![]() |
![]() |
![]() |
#59 |
0000000000101010
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,669
Karma: 11226897
Join Date: Mar 2023
Location: An island off the coast of Ireland
Device: PB632 [HD3]
|
770, thanks. I'll leave it as 775 whilst I continue testing.
FYI... I think setting destNofop=1 within _scriptInstall is preventing these log files from being created. Cleared pbpk and ran a couple of installers with and without this entry and so far it holds up. I wonder if there's also an entry for setting initial permissions? destProtect maybe? I figure there must also be a setting to auto-delete the installer on completion. Seems like the .fop files contain a log of the files installed and the .inf is a copy of the _scriptInstall parameters. I've updated the installer above to now uninstall. Seems to work. Also added nofop line. Last edited by neil_swann80; 03-06-2024 at 01:54 PM. |
![]() |
![]() |
![]() |
#60 |
Old Kaz
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 208
Karma: 1064151
Join Date: May 2010
Device: PocketBook Era
|
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-505 How to re-enable 'Go To'? | kweller | Sony Reader | 1 | 10-16-2012 08:56 AM |
Development Possible way to enable ADB during next update | kveroneau | enTourage Archive | 20 | 12-23-2010 09:32 AM |
PRS-600 How do you enable the dictionary? | sphinx666 | Sony Reader | 4 | 05-25-2010 04:46 PM |
penable and enable? | nsr | iRex | 6 | 03-10-2010 10:09 AM |
Classic Enable apps from 3 | mos | Barnes & Noble NOOK | 10 | 02-11-2010 03:48 PM |