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 01-09-2022, 05:19 PM   #1
JJTech
Nerd
JJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongue
 
JJTech's Avatar
 
Posts: 52
Karma: 22352
Join Date: Dec 2020
Location: USA
Device: Kindle Basic 3 (2019)
Kindle .active_content_sandbox

I've recently noticed the .active_content_sandbox folder on my kindle. This puzzled me, because according to the internet, all active content had been disabled before my kindle even came out (it's a 2019 edition).

I did some preliminary experiments, and it appears to contain several caches and databases related to the built in apps (experimental browser, store, help, etc.). They were mostly .localstorage files, which turned out to be regular sqlite dbs that contain the settings and history for the apps. Interestingly, I was able to replace the cached storefront.html, and display my own page in place of the store. There were also some additional apis available on window.kindle, which I would like to experiment with.

Has anyone else experimented with this? Do you think this could be used to develop anything interesting (i.e. a jailbreak or similar)? Or at least (a) custom app?
JJTech is offline   Reply With Quote
Old 01-10-2022, 12:42 PM   #2
JJTech
Nerd
JJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongue
 
JJTech's Avatar
 
Posts: 52
Karma: 22352
Join Date: Dec 2020
Location: USA
Device: Kindle Basic 3 (2019)
Just putting this here so that it gets more notice, I managed to use the aforementioned active_content_sandbox to change the Kindle browser's orientation (without jailbreaking).

Quote:
Originally Posted by JJTech View Post
This is a very simple process, and does not require you to jailbreak your Kindle.
Note that this process has only been tested on the KT4.
  1. Download SQLite Browser.
  2. Open SQLite browser and select "Open Database" on the top ribbon.
  3. Navigate to the .active_content_sandbox/browser/resource/LocalStorage/ folder on your Kindle. Select file__0.localstorage. Note that you may have to select "All files (*)" in the file type drop-down.
  4. When the database opens, select the "Browse Data" tab.
  5. In the table, click on the value column in the "settings" row. (It should hold JSON containing the browser settings). It will open on the right. Modify the "orientation" key, replacing it with the desired orientation. (Possible values: 'auto', 'portrait', 'portraitUp', 'portraitDown', 'landscape', 'landscapeLeft', 'landscapeRight')
  6. Click the apply button below the edit box.
  7. Click "Write Changes" on the top ribbon.

You're done! The changes should take effect next time you open the browser.

Last edited by JJTech; 01-13-2022 at 08:46 AM. Reason: Quote instructions
JJTech is offline   Reply With Quote
Advert
Old 01-14-2022, 02:51 AM   #3
Eures
Connoisseur
Eures is on a distinguished road
 
Eures's Avatar
 
Posts: 58
Karma: 66
Join Date: Jan 2012
Location: Italy
Device: Kindle Keyboard, Paperwhite 4
Tested on PW4, great! The browser menu (three dots) is now in the center because it must have set an absolute margin somewhere.
Eures is offline   Reply With Quote
Old 01-16-2022, 05:54 AM   #4
Eures
Connoisseur
Eures is on a distinguished road
 
Eures's Avatar
 
Posts: 58
Karma: 66
Join Date: Jan 2012
Location: Italy
Device: Kindle Keyboard, Paperwhite 4
I wonder if you could add a text wrapping instruction there as well, like there was in the Kindle Keyboard, I'm looking into the Kindle Keyboard's file system to see if I can find it...
Eures is offline   Reply With Quote
Old 01-16-2022, 03:42 PM   #5
JJTech
Nerd
JJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongueJJTech can tie a knot in a cherry stem with his or her tongue
 
JJTech's Avatar
 
Posts: 52
Karma: 22352
Join Date: Dec 2020
Location: USA
Device: Kindle Basic 3 (2019)
I don't have a Kindle Keyboard, so I'm afraid I won't be much help.
JJTech is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amazon Kindle 7th Gen stuck on Tree Screen after deleting ".active_content_sandbox" thelink10 Amazon Kindle 10 11-09-2021 05:54 PM
Kindle Nicknaming Scheme, Using Kindle with Calibre, and Hacking the Kindle Klif Amazon Kindle 11 09-12-2012 05:11 PM


All times are GMT -4. The time now is 01:44 PM.


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