Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-06-2016, 05:21 PM   #1
ferbv
Junior Member
ferbv began at the beginning.
 
ferbv's Avatar
 
Posts: 6
Karma: 10
Join Date: Feb 2016
Device: Kindle Touch 2
Modifying device options on an unregistered Kindle

For the past four hours, me and my good friend WinSCP have been digging into the Kindle filesystem, trying to figure out how on Earth settings are stored on this thing. So for the veteran developers here, two questions:
  1. Is there a central settings storage location I'm not aware of? The closest thing I've found is /var/local/java/prefs, but those files look autogenerated and possibly incomplete.
  2. Is there any way to get to the part of the Settings booklet that contains the device personalization stuff Amazon doesn't let you change without registering? The wiki has an example here that passes a parameter when launching Settings, but where did whoever wrote it get that parameter? Is there a list? Do I have to learn how to decompile JARs?
The reason I'm doing this is really because of the new home screen, which wastes more than half of its screen space trying to convince me to register my Kindle. With that in mind, my last request: if anyone here has jailbroken their Kindle, upgraded to 5.7.2, registered and disabled the home screen, could you pretty please post your /var/local/java/prefs/com.lab126.booklet.home.preferences file? Or at least tell me if and how it differs from this one:
Code:
#User preferences for Booklet Preferences
#Sat Feb 06 22:13:36 GMT+02:00 2016
FIRST_BOOT=false
HOME_FILTER_SORT_ASSOCIATION_1=title
ASR_FIRST_BOOT=false
APP_ITEMS_DELETED=true
VIEW_MODE=LIST_VIEW_MODE
HOME_V2_FIRST_BOOT=false
OOBE_DELETED=true
HOME_FILTER=1
ferbv is offline   Reply With Quote
Old 02-06-2016, 11:09 PM   #2
eschwartz
Irrational Optimist
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 18,682
Karma: 78399357
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
See: Tutorial Fake-register your Paperwhite 5.2.x to use collections and other blocked features

Note the last few posts, it seems that file has changed its format slightly.
eschwartz is offline   Reply With Quote
Old 02-07-2016, 05:35 AM   #3
ferbv
Junior Member
ferbv began at the beginning.
 
ferbv's Avatar
 
Posts: 6
Karma: 10
Join Date: Feb 2016
Device: Kindle Touch 2
Quote:
Originally Posted by eschwartz View Post
See: Tutorial Fake-register your Paperwhite 5.2.x to use collections and other blocked features

Note the last few posts, it seems that file has changed its format slightly.
I've seen that tutorial already, but it sounds like it doesn't work for the newer firmware versions. Besides, digging through JARs and poking at settings files sounds more fun.

This is what I found so far:
  1. The SQLite databases in /var/local/ don't contain any settings.
  2. You can launch various bits of the settings app through appmgrd using the viewRequest parameter, but only a few of them. Here are the IDs I found after a cursory look at settings.jar.
  3. The diagnosticMode parameter is useless; it's only checked against ";311", ";411" and ";711".
  4. Setting the get, startresult or load properties of com.lab126.booklet.settings through LIPC only managed to crash the app.
  5. Adding a "HOME_VIEW" preference to the settings file I mentioned in the first post (home.jar seems to look for it) didn't do much of anything. Tried true, false, 0, 1 and 2, no change.
My apologies if this is old news to the veteran developers, but I didn't find much of anything in the way of public documentation. Also, my request still stands - if anyone has disabled their home screen, I'd love to take a look at your settings files.
ferbv is offline   Reply With Quote
Old 02-07-2016, 08:00 AM   #4
knc1
¯\_(ツ)_/¯ <- Clueless
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 11,210
Karma: 11512571
Join Date: Feb 2012
Location: Central Texas
Device: Nothing KV or newer, not interested.
A nice start.
You know, of course, that all of those single letter names will change with every Amazon build?

That is part of the reason Ixtab stopped working on Kindles and took a real day-job.
(Also, he ran out of excuses to stay in school when he completed his PhD.)
knc1 is offline   Reply With Quote
Old 02-07-2016, 02:05 PM   #5
ferbv
Junior Member
ferbv began at the beginning.
 
ferbv's Avatar
 
Posts: 6
Karma: 10
Join Date: Feb 2016
Device: Kindle Touch 2
I finally bit the bullet and registered so I could scan the system for changes, and boy, what a bullet it was.

Turns out each one of my guesses was wrong, unsurprisingly enough. I found absolutely no indication of where the home booklet gets its settings from. The only difference in the com.lab126.booklet.home.preferences file is a SHOW_KU_BANNER_FLAG entry that doesn't seem to do much of anything, /etc/deviceConfig.conf is identical with or without registration and none of the other vaguely configuration-shaped things I looked at changed in any meaningful way.

On the bright side, I can report/confirm that the jailbreak persists through hard resets. All you have to do is reinstall NiLuJe's update package.

Quote:
Originally Posted by knc1 View Post
You know, of course, that all of those single letter names will change with every Amazon build?
Sure, but all I wanted to do was find out where settings are stored. Patching Amazon's .jars is way beyond my skill level.
ferbv is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PW2 Wikipedia on unregistered device peterson Kindle Developer's Corner 17 03-16-2014 09:54 AM
Send To Device Options anamardoll Calibre 2 08-13-2013 10:47 PM
HOWTO: make your kobo faster by modifying filesystem options sysKin Kobo Developer's Corner 1 04-25-2013 12:26 PM
Time in unregistered kindle aditya3098 Kindle Developer's Corner 20 03-05-2012 11:55 PM
Send to Device options greyed out starrigger Calibre 9 05-08-2010 08:59 PM


All times are GMT -4. The time now is 06:27 AM.


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