04-01-2018, 05:10 PM | #1 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Disassembling the kobo firmware
I will update this post as I find interesting things about the kobo firmware.
Index: Last edited by geek1011; 04-01-2018 at 06:58 PM. |
04-01-2018, 05:11 PM | #2 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
FeatureSettings
I have found some interesting things in the FeatureSettings class.
FeatureSettings contains functions such as showLayoutRectangles, sketchNote, fullScreenBrowser, gestureKeyboardEnabled, bookSpecificStatsEnabled, invertScreen, myWords, and syncEmulatorPath. Some of these are known values for the config file. These enable or disable features. The main difference is that some of these functions check the config file, while some of the others have different checks such as device type. For reference, here is a partial list of some FeatureSettings which can be changed in the config file: Code:
Epub2fxl bool NewStore string (this looks kinda interesting) ReaderBookmarkHistory bool InvertScreen bool MyWords bool MaxWifiTimeout int MaxDownload int (max number of books to download?) ForceSingleBook bool MediaOverlay bool ExcludeEndMatterFromStats bool OverDrive bool (I don't think this will enable overdrive by itself) SyncEmuPath string (seems to be able to do fake syncs. may be useful for blocking upgrades) FullScreenReading bool SmartShelves bool SketchNote bool OptlyTest bool (what?) ShowLayoutRectangles bool FullScreenBrowser bool GestureKeyboard bool ExportHighlights bool BookSpecificStats bool PhraseTranslation bool Last edited by geek1011; 04-01-2018 at 06:24 PM. |
Advert | |
|
04-01-2018, 05:40 PM | #3 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
SmartLink (the rotating links at the bottom of the new home screen)
Here is a bit about how the smart links work. The relevant symbols are _ZN15SmartLinkWidget19showRotationMessageERK6Devic e and _ZN15ActivityManager23smartLinkGeneralMessageERK6D evice.
Messages and conditions: Format: "Message" (Title): Conditions "Catch up on the %n article(s) you added recently" (POCKET): - 1 or more unread articles "Read articles from the web on your eReader" (POCKET): - Not signed into pocket "You've finished %n book(s) and read for %n hour(s)/minute(s)" (READING STATS): - More than 1 book finished, more than ? minutes read - Stats enabled "Learn about the natural light feature" (SETTINGS): - Has light sensor - Not yet clicked this link "Create a Wishlist of books you're interested in" (WISHLIST): - Can't understand "Discover books related to the ones you're reading" (RELATED READS): - Always? "Read the user guide for your %0" (USER GUIDE): - Has user guide - Not read yet - More? "Find out what's new in this software update" (RELEASE NOTES): - Unsure "Learn how to borrow ebooks from your public library" (OVERDRIVE) - Supports OverDrive - Not signed in "Get quick tips about reading on your eReader" (GETTING STARTED): - Quick tour not shown yet - Quick tour widget not showing "Get to know your %0" (GETTING STARTED): - Quick tour not shown yet - Quick tour widget not showing "Get unlimited access to books in all genres" (KOBO PLUS): "Browse Kobo Plus books" (KOBO PLUS): - Has kobo plus - More? "Browse fiction, romance, biography and more" (KOBO STORE): - Always "You have %0 Super Points to redeem" (KOBO SUPER POINTS): - Has at least 0x960 (2400) super points "Customize the way you read a book" (SETTINGS): - Reading settings not changed yet "Get recommendations by telling us what you like" (RECOMMENDED): - Always |
04-01-2018, 05:42 PM | #4 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Checksum for stats and achievements
Still trying to understand the disassembly. Will update later.
|
04-01-2018, 05:45 PM | #5 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
List of AbTests
|
Advert | |
|
04-01-2018, 05:46 PM | #6 |
Connoisseur
Posts: 52
Karma: 55058
Join Date: Mar 2018
Location: Spain
Device: Kobo Glo HD
|
Thanks, this is really interesting.
|
04-01-2018, 05:48 PM | #7 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Features specific to affiliates
|
04-01-2018, 05:55 PM | #8 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Kepub renderer
This will be updated as I find more interesting tidbits of information.
Regex used to find kobo spans: <span [^>]*id=\"kobo(.*)\" Chapter titles classified as end matter (used for a FeatureSetting to prevent end matter from being included in stats):
|
04-01-2018, 05:57 PM | #9 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Demo mode
Type the following in the search box:
To turn demo mode on, either type demo mode on or demomodeon To turn demo mode off, either type demo mode off or demomodeoff Last edited by geek1011; 04-01-2018 at 06:04 PM. |
04-01-2018, 05:58 PM | #10 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Kobo Web Browser user agent
The user agent currently follows the following pattern:
Mozilla/5.0 (Linux; U; Android 2.0; en-us;) AppleWebKit/%1 (KHTML, like Gecko) Version/4.0 Mobile Safari/%1 (Kobo Touch %2/%3) %1 is the webkit version. %2 is the last 4 digits of the device id (like 0375 for the KA2, which is the last 4 digits of 00000000-0000-0000-0000-000000000375) %3 is the current firmware version This is useful because this means that my firmware downloader will be able to detect the kobo firmware version and device id to support new devices easier. I will add this feature soon. Last edited by geek1011; 04-01-2018 at 06:16 PM. |
04-01-2018, 05:59 PM | #11 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
reserved 2
|
04-01-2018, 06:03 PM | #12 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
reserved 3
|
04-01-2018, 06:05 PM | #13 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
reserved 4
|
04-01-2018, 06:07 PM | #14 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
reserved 5
|
04-01-2018, 06:16 PM | #15 |
Wizard
Posts: 2,735
Karma: 6990705
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
reserved 6
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Disassembling I86? | Neru | Onyx Boox | 0 | 09-25-2017 10:06 AM |
Disassembling of Onyx M92 | Booxtor | Onyx Boox | 30 | 05-20-2016 06:58 AM |
Onyx Boox i62HD disassembling | Booxtor | Onyx Boox | 6 | 08-02-2012 11:58 AM |
Disassembling a Plucker pdb | rsperberg | Reading and Management | 0 | 11-21-2005 10:35 AM |
Instructions for Disassembling Older PDAs | ignatz | Lounge | 0 | 07-04-2004 10:28 PM |