Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-10-2022, 07:47 PM   #1
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 908
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Can the "Reset" entry on settings menus be removed?

I was just wondering if it would be possible to remove this option from all places in the setting menus. I was thinking about this as I have customized a few Kindles as gifts and while I know not to ever select that option I am unsure if all of those I have given such Kindles to will remember to avoid using it.

I don't know the details on how these menus are being built, but I recently dug up the note on how to add the "Cover option" entry to the menus via:

To enable the "display book cover" option in the settings menu:

1) Create a file at /var/local/java/prefs/BookCover.preference containing the following:
Code:

#User preferences for Book Cover Preferences
#Sun May 29 18:17:30 GMT-06:00 2022
BookCoversEnabled=false
isBCSettingAccessed=true

2) And for `/var/local/KWISClient.db` insert this SQLite row:
Code:

INSERT INTO "main"."experiments" ("extra_identifier", "experiment", "treatment") VALUES ('CuratorBookCovers', 'EREADER_CURATOR_BOOK_COVERS_307723', 'T2');

I would imagine it would be possible to create a KUAL extension to add or remove this menu entry as the user would like. Assuming that the other menu entries are built in a similar manner I would expect it to be possible to address the "Reset" options as well once you know how they are encoded in the configuration.

Has anyone looked into this?

Dave
dhdurgee is online now   Reply With Quote
Old 12-10-2022, 08:51 PM   #2
luketheduke
Connoisseur
luketheduke knows what's going on.luketheduke knows what's going on.luketheduke knows what's going on.luketheduke knows what's going on.luketheduke knows what's going on.luketheduke knows what's going on.luketheduke knows what's going on.luketheduke knows what's going on.luketheduke knows what's going on.luketheduke knows what's going on.luketheduke knows what's going on.
 
luketheduke's Avatar
 
Posts: 87
Karma: 25608
Join Date: Sep 2022
Device: PW3, PW2, KT2, 2xKT, 2xK3G
Before 5.13.4 (I think) you might be able to edit a file in /usr/share/webkit-1.0/pillow/, but will the new React Native stuff I'm not sure.

Just my two cents.

Where'd you find the info about adding a "Cover Option"?
luketheduke is offline   Reply With Quote
Advert
Old 12-10-2022, 08:58 PM   #3
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 908
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by luketheduke View Post
Before 5.13.4 (I think) you might be able to edit a file in /usr/share/webkit-1.0/pillow/, but will the new React Native stuff I'm not sure.

Just my two cents.

Where'd you find the info about adding a "Cover Option"?
Here:

https://www.mobileread.com/forums/sh...20&postcount=3

Dave
dhdurgee is online now   Reply With Quote
Old 12-10-2022, 09:18 PM   #4
tekkasit
Groupie
tekkasit ought to be getting tired of karma fortunes by now.tekkasit ought to be getting tired of karma fortunes by now.tekkasit ought to be getting tired of karma fortunes by now.tekkasit ought to be getting tired of karma fortunes by now.tekkasit ought to be getting tired of karma fortunes by now.tekkasit ought to be getting tired of karma fortunes by now.tekkasit ought to be getting tired of karma fortunes by now.tekkasit ought to be getting tired of karma fortunes by now.tekkasit ought to be getting tired of karma fortunes by now.tekkasit ought to be getting tired of karma fortunes by now.tekkasit ought to be getting tired of karma fortunes by now.
 
Posts: 176
Karma: 200056
Join Date: Feb 2009
Location: Bangkok, Thailand
Device: Kindle Scribe, K3, Voyage, Oasis 3
Before you mess with KWISClient.db, make a backup first.

You can alter the content in KWISClient.db file, but the system "may" reset the values or wipe out the whole database.
tekkasit is offline   Reply With Quote
Old 12-11-2022, 12:34 PM   #5
katadelos
rm -rf /
katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.katadelos ought to be getting tired of karma fortunes by now.
 
Posts: 219
Karma: 3333683
Join Date: Nov 2019
Location: United Kingdom
Device: K5, KT, KT2, KT3, KT4, KV, PW2, PW3, PW4, PW5
I was wondering when somebody would ask this

There's an undocumented management feature (seemingly only used in Demo Mode) that allows you to enable/disable various features. It doesn't remove them from the UI entirely but does gray out the relevant options in the settings menu, which is the next best thing.

Not sure entirely how it all works as I've never needed this but here are all of the options available:
Code:
device.policy.action.discovery.disabled
device.policy.action.experimental.browser.disabled
device.policy.action.experimental.mp3player.disabled
device.policy.action.experimentalmenu.disabled
device.policy.action.kindlestore.disabled
device.policy.action.settings.changelanguage.disabled
device.policy.action.settings.changeprimarydictionary.disabled
device.policy.action.settings.deregistration.disabled
device.policy.action.settings.editdevicename.disabled
device.policy.action.settings.editpassword.disabled
device.policy.action.settings.editpersonalinfo.disabled
device.policy.action.settings.managesocialnetworks.disabled
device.policy.action.settings.menu.factoryrestore.disabled
device.policy.action.settings.toggleannotationsbackup.disabled
device.policy.action.settings.togglepopularhighlights.disabled
device.policy.action.settings.togglepublicnotes.disabled
device.policy.action.settings.turnoffpassword.disabled
device.policy.action.settings.turnonpassword.disabled
device.policy.action.settings.wifisettings.disabled
device.policy.action.togglewireless.disabled
device.policy.id
device.policy.setting.allowpolicywithdtcp
device.policy.setting.policysideload.disabled
device.policy.setting.wifisideload.disabled
These should be added to the "properties" table in appreg.db with the handlerId "dcc". Accepted values are "true" or "false" for everything other than device.policy.id which can be an arbitrary string. The specific policy that you're after is "device.policy.action.settings.menu.factoryrestore .disabled".
katadelos is offline   Reply With Quote
Advert
Old 12-11-2022, 01:02 PM   #6
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
Parental controls will also disable this (among other things), IIRC. And it behaves exactly like what @katadelos described, it's grayed out .
NiLuJe is offline   Reply With Quote
Old 12-11-2022, 03:19 PM   #7
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 908
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by katadelos View Post
I was wondering when somebody would ask this

There's an undocumented management feature (seemingly only used in Demo Mode) that allows you to enable/disable various features. It doesn't remove them from the UI entirely but does gray out the relevant options in the settings menu, which is the next best thing.

Not sure entirely how it all works as I've never needed this but here are all of the options available:
Code:
device.policy.action.discovery.disabled
device.policy.action.experimental.browser.disabled
device.policy.action.experimental.mp3player.disabled
device.policy.action.experimentalmenu.disabled
device.policy.action.kindlestore.disabled
device.policy.action.settings.changelanguage.disabled
device.policy.action.settings.changeprimarydictionary.disabled
device.policy.action.settings.deregistration.disabled
device.policy.action.settings.editdevicename.disabled
device.policy.action.settings.editpassword.disabled
device.policy.action.settings.editpersonalinfo.disabled
device.policy.action.settings.managesocialnetworks.disabled
device.policy.action.settings.menu.factoryrestore.disabled
device.policy.action.settings.toggleannotationsbackup.disabled
device.policy.action.settings.togglepopularhighlights.disabled
device.policy.action.settings.togglepublicnotes.disabled
device.policy.action.settings.turnoffpassword.disabled
device.policy.action.settings.turnonpassword.disabled
device.policy.action.settings.wifisettings.disabled
device.policy.action.togglewireless.disabled
device.policy.id
device.policy.setting.allowpolicywithdtcp
device.policy.setting.policysideload.disabled
device.policy.setting.wifisideload.disabled
These should be added to the "properties" table in appreg.db with the handlerId "dcc". Accepted values are "true" or "false" for everything other than device.policy.id which can be an arbitrary string. The specific policy that you're after is "device.policy.action.settings.menu.factoryrestore .disabled".
Sounds like exactly what I was looking for, a way to ensure that a novice user doesn't shoot themselves in the foot.

Is this true of all firmware levels?

Given this I imagine someone with experience could code a KUAL extension to toggle this feature.

Thank you for your assistance.

Dave
dhdurgee is online now   Reply With Quote
Old 12-11-2022, 04:12 PM   #8
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 908
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
Quote:
Originally Posted by NiLuJe View Post
Parental controls will also disable this (among other things), IIRC. And it behaves exactly like what @katadelos described, it's grayed out .
I don't think I had heard of this feature before. Sounds good for when a child's Kindle is on a parent's account. I guess I could suggest enabling that to whoever I give a gift Kindle to. I assume this has to be enable on Amazon's site, as it would not make sense if the child could turn it off on the Kindle itself.

Dave
dhdurgee is online now   Reply With Quote
Old 12-11-2022, 06:10 PM   #9
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@dhdurgee: IIRC, it is enabled on device, in the Settings menu (it requires you to choose a PIN to avoid the aforementioned issue; and I think there's an escape hatch coded... somewhere in case the PIN is forgotten). It probably requires a registered device.
NiLuJe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pressing "Restore Defaults" under "Book Details" wipes all "Look & Feel" settings. MarjaE Library Management 1 03-30-2021 11:46 AM
"Settings," then "311" - Int'l Kindle searches for wireless providers in the area Dr. Drib Amazon Kindle 2 08-28-2011 10:27 AM
Is "dc:rights" a valid entry in an OPF file for Kindlegen? Stodder Kindle Formats 5 06-06-2011 06:52 PM
Firmware Update No "Update your Kindle" option in "Settings" shimoncellos Amazon Kindle 4 05-26-2010 05:37 PM
"E-books" Menu: missing entry for epub book uploads ?!? cklammer Feedback 0 12-06-2009 06:28 AM


All times are GMT -4. The time now is 08:57 PM.


MobileRead.com is a privately owned, operated and funded community.