|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#16 |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Nov 2023
Device: Paperwhite 5
|
Thank you!
Anybody uses 5.14.1.1? How obsessive is interface (comparing to whats described in the 1st post, i.e. 5.15.1 FW)? Don't know how to try this FW without flashing. Last edited by Hightree; 11-24-2023 at 09:02 PM. |
![]() |
![]() |
![]() |
#17 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,417
Karma: 99236514
Join Date: Apr 2011
Device: pb360
|
Quote:
Search -> Advanced Search Besides searching on keywords, you can search on thread prefixes, such as "Firmware Update" and several of the results are about 5.14.x I don't know of anyone being able to run kindle firmware in an emulator. |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Nov 2023
Device: Paperwhite 5
|
Here's where all the stuff for Library page/membership checking/Cloud error happens:
=========== 231126:064348 cvm[2949]: E CustomerStatusRequestProcessor:Error::Internet connection is not available, hence returning default response 231126:064348 cvm[2949]: E KppActionHelper:Error::kppAction Action:kppCustomerMembership Result:Failure [!]231126:064348 KPPMainApp: [4385] [LipcUtils:INFO] Successfully set lipc hash property 231126:064348 cvm[2949]: I com.amazon.kindle.restricted.library.action.Sharin gServiceHandler:Information::Get Content Sharing Available status: false ======= Didn't dig it dipper, but can bet com.amazon.kindle.restricted.library.action.Sharin gServiceHandler:Information::Get is a java class/method. For some reason whatever code in KppActionHelper:Error::kppAction Action:kppCustomerMembership doesn't accept fake registration. Last edited by Hightree; 11-26-2023 at 02:19 AM. |
![]() |
![]() |
![]() |
#19 |
Member
![]() Posts: 21
Karma: 10
Join Date: Apr 2022
Device: KO3
|
@Hightree, I hope you can find a fix regarding "Cloud not available" error. This is very annoying, but don't want to downgrade my OS..
|
![]() |
![]() |
![]() |
#20 | |
Enthusiast
![]() Posts: 38
Karma: 10
Join Date: Nov 2023
Device: Paperwhite 5
|
Quote:
There's nothing we can do without rewriting the code unfortunately. If it were the only issue with PW5... There's tons of spyware, high CPU load due to Amazon junk etc, etc. Some can be fixed, but again easy to brick. I'm looking for another brand. Amazon lost its mind with recent Kindle versions. Especially without JB is literally nothing more but a poor console/client for consuming Amazon content. Even JB doesn't help much. Last edited by Hightree; 12-05-2023 at 07:28 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,194
Karma: 4236616
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
With the command
Code:
lipc -a -v > lipc.txt Code:
lipc-set-prop com.lab126.appmgrd start app://com.lab126.KPPMainApp?view=KPP_HOME lipc-set-prop com.lab126.appmgrd start app://com.lab126.KPPMainApp?view=KPP_LIBRARY lipc-set-prop com.lab126.appmgrd start app://com.lab126.KPPMainApp?view=KPP_NOTEBOOK lipc-set-prop com.lab126.appmgrd start app://com.lab126.KPPMainApp?view=KPP_MORE Code:
lipc-get-prop com.lab126.appmgrd ActiveContext Good luck ![]() Last edited by mergen3107; 12-31-2023 at 03:24 AM. |
![]() |
![]() |
![]() |
#22 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20
Karma: 1000
Join Date: Jan 2024
Device: Paperwhite 4, Paperwhite 5 SE
|
Thank you mergen3107 -- your post had some excellent direction for my testing with this. I took a look at changing /var/local/mesquite/start.sh:
Code:
APP=booklet.home Code:
APP=KPPMainApp?view=KPP_LIBRARY I did see some conversation in this thread about a database entry, so I searched around in files and found a lot of references to the Home screen entry (com.lab126.booklet.home) in /var/local/appreg.db. Just wanted to contribute my findings so far, even if I couldn't find a full solution for this. If there is a way to preserve changes to start.sh across reboots, or to modify the code that's written into that file on boot, that might be the best bet for automatically directing to your Library instead of the Home screen on boot. Last edited by KetchupCider; 01-14-2024 at 01:30 AM. |
![]() |
![]() |
![]() |
#23 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1
Karma: 10000
Join Date: Jan 2024
Device: Paperwhite 5
|
The file in /var/local/mesquite/start.sh seems to be unpacked from a SquashFS img in /opt/var/local/local.sqsh at boot, which is why your change does not persist. I tried to patch it during boot, but it did not have an effect, so I'm not sure if its actually executed at any point.
But one option to change the default view is to simply wait for the home screen to load, and then use the same LIPC command to change to the library view. The tricky part is to determine when to run the command (you can't do it too early, and waiting too long is obviously not optimal either), but we can poll the activeView prop periodically to determine when KPP_HOME is active. I'm new to the Kindle ecosystem and haven't had time to properly investigate if there's a better way to force the app to load the library screen directly, but I think this is a decent compromise (the home screen shows up for less than a second before the library activates... might be possible to decrease it further by tweaking the polling frequency, or writing a custom LIPC event listener). Example upstart script below (put into /etc/upstart/defaultscreen.conf). You should be able to test it before rebooting by going into the home screen and executing "start defaultscreen". Code:
start on started kppmainapp script source /etc/upstart/functions f_log I defaultscreen "defaultscreen.conf started" sleep 2 while ! lipc-get-prop com.lab126.appmgrd activeView | grep KPP_HOME >/dev/null; do f_log I defaultscreen "Home screen not yet active, sleeping 300ms" usleep 300000 done f_log I homescreen "Homescreen is active, switching screens" lipc-set-prop com.lab126.appmgrd start app://com.lab126.KPPMainApp?view=KPP_LIBRARY end script We can however patch the nag screen away by modifying the Hermes bytecode in /app/KPPMainApp/js/KPPMainApp.js.hbc. Below is a simple shell script patcher that works on 5.16.2.1.1, and patches the file directly (without creating a backup first, so do it manually). Separate fake registering is not required, but collection creation remains disabled, so further investigation is needed to enable that (very likely related to the sync issue I mentioned earlier). Code:
#!/bin/sh FILE=KPPMainApp.js.hbc ORIGINAL_CHECKSUM=459d917210ebe4cf6908974cef9fb378 PATCHED_CHECKSUM=5a7cec166d174b5917100264ef4dba40 if [ ! -f $FILE ]; then echo $FILE not found in working directory exit fi checksum=$(md5sum $FILE | awk '{ print $1 }') if [ "$checksum" != "$ORIGINAL_CHECKSUM" ]; then echo "$FILE has an incorrect checksum: $checksum (expected $ORIGINAL_CHECKSUM)" echo "This patch is compatible with fw 5.16.2.1.1 only" exit fi echo Press OK to start patching $FILE echo NOTE: Make sure you have a backup first! read printf '\034' | dd of=$FILE bs=1 seek=89860 conv=notrunc printf '\152\000\001\130\000' | dd of=$FILE bs=1 seek=1309769 conv=notrunc echo Verifying patched file checksum... checksum=$(md5sum $FILE | awk '{ print $1 }') if [ "$checksum" == "$PATCHED_CHECKSUM" ]; then echo "Patched file checksum ok." elif [ "$checksum" == "$ORIGINAL_CHECKSUM" ]; then echo "File checksum did not change. Make sure your file system is not read-only." else echo "WARNING: Patched file checksum is incorrect. Something went wrong!" fi |
![]() |
![]() |
![]() |
#24 | |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20
Karma: 1000
Join Date: Jan 2024
Device: Paperwhite 4, Paperwhite 5 SE
|
Quote:
That might result in a brick if the system refuses to boot a modified local.sqsh file... but that's all just my speculation at this point. |
|
![]() |
![]() |
![]() |
#25 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Dec 2023
Device: pw 11 se
|
Combined with the patching to remove the nag, an expedient way to deal with the collections issue seems (i don't know if it works with never registered devices) to be LibrarianSync https://www.mobileread.com/forums/sh...d.php?t=245691 which has a 'create collection from folder structure' button available in kual.
|
![]() |
![]() |
![]() |
#26 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20
Karma: 1000
Join Date: Jan 2024
Device: Paperwhite 4, Paperwhite 5 SE
|
I just tested the /etc/upstart/defaultscreen.conf method to automatically switch to Library view, and it worked flawlessly on both the PW4 and the PW5! Both running 5.15.1. Wanted to share the results here if it helps.
Edited to add, I decreased the time from 300ms to 50ms (iteratively tested through 150, 100, then 50 across reboots on both devices) and found that 50ms works well on both devices to skip right to the Library on boot. I don't even see the ad-laden homescreen anymore with this! Last edited by KetchupCider; 01-17-2024 at 06:28 PM. Reason: Added time (ms) testing |
![]() |
![]() |
![]() |
#27 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,194
Karma: 4236616
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Cool! So we just need to add this lipc command in the end? Or what are the exact steps please?
|
![]() |
![]() |
![]() |
#28 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 961
Karma: 10500008
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
|
|
![]() |
![]() |
![]() |
#29 | ||
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20
Karma: 1000
Join Date: Jan 2024
Device: Paperwhite 4, Paperwhite 5 SE
|
Quote:
Just tried exiting KUAL and it didn't work unfortunately. I'll see if modifying the sleep time back up to 300ms will catch it when I exit KUAL though. Quote:
You can modify the 300ms time within the script before adding it, to change the value to whatever you'd like to test or run. Also, you can use other editors besides nano, that's just the one I usually go to. Note I'm not responsible for any issues caused by this, as I only tested with a PW4 and PW5 using 5.15.1 ![]() Last edited by KetchupCider; 01-18-2024 at 02:48 PM. Reason: Added reboot step |
||
![]() |
![]() |
![]() |
#30 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,194
Karma: 4236616
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Thanks! Will try soon
|
![]() |
![]() |
![]() |
Tags |
launcher, library, paperwhite 5, registration |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Where are the side icons defined in the default launcher? | csdvrx | Onyx Boox | 0 | 10-30-2022 02:34 PM |
PW2 Use Dark Mode with default reader and launcher? | at0m | Kindle Developer's Corner | 4 | 06-22-2022 09:18 AM |
Is it possible to make Koreader my default launcher application? | TidusWulf | KOReader | 3 | 09-03-2020 08:28 PM |
Cloud Library / Adobe Digital Editions error | jackj | Apple Devices | 1 | 04-15-2020 11:51 AM |
Smashwords error report:Please make your cover image the very first page of your EPUB | slicknick001 | ePub | 2 | 01-12-2014 05:03 PM |