Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 09-29-2026, 02:51 PM   #16
xyclonei
Groupie
xyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trolls
 
xyclonei's Avatar
 
Posts: 153
Karma: 81356
Join Date: Dec 2018
Device: Kobo Clara HD
For the Customize ComfortLight settings patch, changing the base address from 0xE9C9B4 to 0xEA4364 seems to work.
xyclonei is offline   Reply With Quote
Old Yesterday, 06:58 AM   #17
xor_
Positively 4th Street
xor_ ought to be getting tired of karma fortunes by now.xor_ ought to be getting tired of karma fortunes by now.xor_ ought to be getting tired of karma fortunes by now.xor_ ought to be getting tired of karma fortunes by now.xor_ ought to be getting tired of karma fortunes by now.xor_ ought to be getting tired of karma fortunes by now.xor_ ought to be getting tired of karma fortunes by now.xor_ ought to be getting tired of karma fortunes by now.xor_ ought to be getting tired of karma fortunes by now.xor_ ought to be getting tired of karma fortunes by now.xor_ ought to be getting tired of karma fortunes by now.
 
Posts: 157
Karma: 1030318
Join Date: Nov 2012
Location: Berlin
Device: Kobo Forma, Kobo Sage, Tolino Vision Color
This way of anchoring the patches should be more robust for firmware updates. And the same code works for firmware 4.46.

Code:
Disable forward/backward swipe Gestures:
  - Enabled: yes
  - BaseAddress: {Sym: "_ZN11ReadingView12processSwipeEP12SwipeGesture"}
  - ReplaceBytes:
      Offset: 0xE8
      FindInstBLX: {SymPLT: "ReadingView::nextPageWithTimer()"}
      ReplaceH: 00 BF 00 BF
  - ReplaceBytes:
      Offset: 0xF6
      FindInstBLX: {SymPLT: "ReadingView::prevPageWithTimer()"}
      ReplaceH: 00 BF 00 BF

Disable menu swipe gesture:
  - Enabled: yes
  - BaseAddress: {Sym: "_ZN11ReadingView12processSwipeEP12SwipeGesture"}
  - ReplaceBytes:
      Offset: 0x134
      FindInstBLX: {SymPLT: "ReadingView::openQuickAccess()"}
      ReplaceH: 00 BF 00 BF
  - ReplaceBytes:
      Offset: 0x13c
      FindInstBLX: {SymPLT: "ReadingView::openFooterMenuOnSwipe()"}
      ReplaceH: 00 BF 00 BF
xor_ is offline   Reply With Quote
Old Yesterday, 07:24 AM   #18
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,123
Karma: 153791427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by xor_ View Post
This way of anchoring the patches should be more robust for firmware updates. And the same code works for firmware 4.46.

Code:
Disable forward/backward swipe Gestures:
  - Enabled: yes
  - BaseAddress: {Sym: "_ZN11ReadingView12processSwipeEP12SwipeGesture"}
  - ReplaceBytes:
      Offset: 0xE8
      FindInstBLX: {SymPLT: "ReadingView::nextPageWithTimer()"}
      ReplaceH: 00 BF 00 BF
  - ReplaceBytes:
      Offset: 0xF6
      FindInstBLX: {SymPLT: "ReadingView::prevPageWithTimer()"}
      ReplaceH: 00 BF 00 BF

Disable menu swipe gesture:
  - Enabled: yes
  - BaseAddress: {Sym: "_ZN11ReadingView12processSwipeEP12SwipeGesture"}
  - ReplaceBytes:
      Offset: 0x134
      FindInstBLX: {SymPLT: "ReadingView::openQuickAccess()"}
      ReplaceH: 00 BF 00 BF
  - ReplaceBytes:
      Offset: 0x13c
      FindInstBLX: {SymPLT: "ReadingView::openFooterMenuOnSwipe()"}
      ReplaceH: 00 BF 00 BF
When I get a chance, I'll test if it applies to 4.38.23828 and the latest 4.46 firmware. If they do apply, I'll updated things.
JSWolf is online now   Reply With Quote
Old Today, 05:30 AM   #19
Vetchy
Connoisseur
Vetchy began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Dec 2017
Device: Kobo Aura One
These don't work on me. But I'm not sure. Maybe I need other path for removing Shop Kobo and Kobo Plus from the bottom of Home page.
Kobo Aura One
Code:
Never show Kobo Plus, wishlist, and points SmartLinks:
  - Enabled: no
  - PatchGroup: SmartLink
  - Description: Removes Kobo Plus, wishlist, and points SmartLinks from the rotation.
  - BaseAddress: "ActivityManager::smartLinkGeneralMessage(Device const&)"
  # NOP Kobo Plus (2):
  - ReplaceBytes: {Offset: 310, FindH: 02 23, CheckOnly: true} # MOVS r3, #2
  - ReplaceBytes: {Offset: 320, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
  # NOP wishlist (14):
  - ReplaceBytes: {Offset: 218, FindH: 0E 23, CheckOnly: true} # MOVS r3, #14
  - ReplaceBytes: {Offset: 228, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}
  # NOP super points (17):
  - ReplaceBytes: {Offset: 430, FindH: 11 23, CheckOnly: true} # MOVS r3, #17
  - ReplaceBytes: {Offset: 440, FindInstBLX: {SymPLT: "QVector<SmartLinkType>::append(SmartLinkType const&)"}, ReplaceInstNOP: true}

Last edited by Vetchy; Today at 05:34 AM.
Vetchy is offline   Reply With Quote
Old Today, 05:49 AM   #20
xyclonei
Groupie
xyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trollsxyclonei doesn't feed trolls
 
xyclonei's Avatar
 
Posts: 153
Karma: 81356
Join Date: Dec 2018
Device: Kobo Clara HD
Quote:
Originally Posted by Vetchy View Post
These don't work on me. But I'm not sure. Maybe I need other path for removing Shop Kobo and Kobo Plus from the bottom of Home page.
Kobo Aura One
Do you have any other patches in PatchGroup: SmartLink enabled? If so, those will have to be disabled for this to work.

A PatchGroup will only allow one patch to be enabled per shared tag.
xyclonei is offline   Reply With Quote
Old Today, 07:58 AM   #21
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,123
Karma: 153791427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I did verify that the patch applies. I did not have any of the other Smartlink patches enables when I tested this So I know it at least applies correctly with none of the other Smartlink patches enabled.
JSWolf is online now   Reply With Quote
Old Today, 09:49 AM   #22
fogice
Addict
fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 343
Karma: 50000
Join Date: May 2014
Device: Kobo Libra 2 & Clara BW
General patch question.

If I enable "Default ePub serif font" and set the Kobo font face setting to "Publisher Default", will I see my newly chosen default font when there are no embedded fonts in the ebook?

I usually delete fonts from books, except for those cases where using multiple fonts is important for context. So I'm looking for a setting where the Kobo switches between the embedded fonts and my preferred font automatically. I'll take suggestions if there's a better way to do this.
fogice is offline   Reply With Quote
Old Today, 10:21 AM   #23
Vetchy
Connoisseur
Vetchy began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Dec 2017
Device: Kobo Aura One
Quote:
Originally Posted by xyclonei View Post
Do you have any other patches in PatchGroup: SmartLink enabled? If so, those will have to be disabled for this to work.

A PatchGroup will only allow one patch to be enabled per shared tag.
I'm using only these:
Code:
overrides:
   src/libadobe.so.yaml:
   src/libnickel.so.1.0.0.yaml:
     Set KePub hyphenation: yes     
     Shorten dictionary entry not found message: yes     
     Cyrillic Keyboard (GloHD/ClaraHD/AuraOne/H2O2): yes     
     Always show confirmation dialog before upgrading: yes     
     Remove recommendations (row1col2) from home screen: yes     
     Never show Kobo Plus, wishlist, and points SmartLinks: yes     
     Allow rotation on all devices: yes
For understanding I'm mean region which I mark by red square. Which patch I need to remove it?
Attached Thumbnails
Click image for larger version

Name:	screen_001.jpg
Views:	9
Size:	86.9 KB
ID:	226349  
Vetchy is offline   Reply With Quote
Old Today, 10:29 AM   #24
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,123
Karma: 153791427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by fogice View Post
General patch question.

If I enable "Default ePub serif font" and set the Kobo font face setting to "Publisher Default", will I see my newly chosen default font when there are no embedded fonts in the ebook?

I usually delete fonts from books, except for those cases where using multiple fonts is important for context. So I'm looking for a setting where the Kobo switches between the embedded fonts and my preferred font automatically. I'll take suggestions if there's a better way to do this.
You are best to just side load the font you want to a directory called fonts. Then you can choose the font you want and not have to deal with Publisher Default.
JSWolf is online now   Reply With Quote
Old Today, 10:38 AM   #25
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,123
Karma: 153791427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Vetchy View Post
I'm using only these:
Code:
overrides:
   src/libadobe.so.yaml:
   src/libnickel.so.1.0.0.yaml:
     Set KePub hyphenation: yes     
     Shorten dictionary entry not found message: yes     
     Cyrillic Keyboard (GloHD/ClaraHD/AuraOne/H2O2): yes     
     Always show confirmation dialog before upgrading: yes     
     Remove recommendations (row1col2) from home screen: yes     
     Never show Kobo Plus, wishlist, and points SmartLinks: yes     
     Allow rotation on all devices: yes
For understanding I'm mean region which I mark by red square. Which patch I need to remove it?
I just tested the patches you want to use and all applied. Download the ZIP file again. It's possible you have an older version posted before Never show Kobo Plus, wishlist, and points SmartLinks was fixed.
JSWolf is online now   Reply With Quote
Old Today, 10:57 AM   #26
Vetchy
Connoisseur
Vetchy began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Dec 2017
Device: Kobo Aura One
I'm think that correct patch is one of these:
Code:
Remove footer (row3) and increase cover size on new home screen: no
Remove footer (row3) on new home screen: no
and it marked as: ## Does not work
Vetchy is offline   Reply With Quote
Old Today, 10:59 AM   #27
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 85,123
Karma: 153791427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Vetchy View Post
I'm think that correct patch is one of these:
Code:
Remove footer (row3) and increase cover size on new home screen: no
Remove footer (row3) on new home screen: no
and it marked as: ## Does not work
They night do. But I would not use either of these with Never show Kobo Plus, wishlist, and points SmartLinks.

They do apply. They are not marked as not working. You are thinking of a different firmware where they may not work.

Last edited by JSWolf; Today at 11:05 AM.
JSWolf is online now   Reply With Quote
Old Today, 01:12 PM   #28
fogice
Addict
fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!fogice is faster than a rolling 'o,' stronger than silent 'e,' and leaps capital 'T' in a single bound!
 
Posts: 343
Karma: 50000
Join Date: May 2014
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by JSWolf View Post
You are best to just side load the font you want to a directory called fonts. Then you can choose the font you want and not have to deal with Publisher Default.
That's my current state, and it requires me to try to remember which books still have embedded fonts. I'm hoping to make this work automatically.
fogice is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firmware 4.38.23828 tschucha Kobo Reader 21 Today 08:35 AM
Patches for 4.46.23836 JSWolf Kobo Developer's Corner 12 09-27-2026 07:39 AM
Patches for 4.38.23684 JSWolf Kobo Developer's Corner 46 09-24-2026 10:48 AM
Patches avresbo Kobo Reader 2 05-12-2026 07:51 AM
Glo What hacks/patches etc do I need? catsknit Kobo Reader 23 04-02-2018 10:38 AM


All times are GMT -4. The time now is 03:13 PM.


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