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 10-18-2016, 05:53 PM   #31
AxaRu
Member
AxaRu will become famous soon enoughAxaRu will become famous soon enoughAxaRu will become famous soon enoughAxaRu will become famous soon enoughAxaRu will become famous soon enoughAxaRu will become famous soon enough
 
Posts: 22
Karma: 624
Join Date: May 2013
Location: Moscow
Device: Kobo Aura H2o, Kobo Aura One, Kobo Forma
There patch for russian Cyrillic

Spoiler:
Code:
# Patch Cyrillic keyboard for Kobo Aura One
# Add patch to libnickel.so.1.0.0.patch
<Patch>
patch_name = `Cyrillic keyboard`
patch_enable = `yes`
# patch_group = `Keyboard alternatives`
#
## Replaces keys on the Extended Latin keypad with Cyrillic alternatives.
# 
# Enable uppercase for `ß` key
# Не ясно для чего это
#replace_bytes = 851C38, 00 24, 01 24
# Replace layout sign
find_base_address = `ÉÀÇ`
replace_string = 0000, `ÉÀÇ`, `АБВ`
# Change keyboard layout
find_base_address = `æ\0à\0è\0ì\0ò\0`
replace_string = 0000, `æ`, `ю`
replace_string = 0003, `à`, `й`
replace_string = 0006, `è`, `г`
replace_string = 0009, `ì`, `о`
replace_string = 000C, `ò`, `ф`
replace_string = 000F, `ù`, `я`
replace_string = 0012, `á`, `ц`
replace_string = 0015, `é`, `ш`
replace_string = 0018, `í`, `л`
replace_string = 001B, `ó`, `ы`
replace_string = 001E, `ú`, `ч`
replace_string = 0021, `ý`, `ё`
replace_string = 0024, `œ`, `-`
replace_string = 0027, `â`, `у`
replace_string = 002A, `ê`, `щ`
replace_string = 002D, `î`, `д`
replace_string = 0030, `ô`, `в`
replace_string = 0033, `û`, `с`
replace_string = 0036, `ä`, `к`
replace_string = 0039, `ë`, `з`
replace_string = 003C, `ï`, `ж`
replace_string = 003F, `ö`, `а`
replace_string = 0042, `ü`, `м`
replace_string = 0045, `ÿ`, `x`
replace_string = 0048, `ã`, `е`
replace_string = 004B, `ñ`, `и`
replace_string = 004E, `õ`, `п`
replace_string = 0051, `å`, `н`
replace_string = 0054, `ß`, `,`
replace_string = 0057, `ç`, `т`
replace_string = 005A, `đ`, `ь`
replace_string = 005D, `ø`, `р`
replace_string = 0060, `ij`, `;`
replace_string = 0063, `ł`, `б`

# Top row
find_base_address = `š\0ž\0þ\0`
replace_string = 0000, `š`, `ъ`
replace_string = 0003, `ž`, `э`
replace_string = 0006, `þ`, `.`
replace_string = 0009, `ŀ`, `!`
</Patch>



Last edited by AxaRu; 10-18-2016 at 06:23 PM.
AxaRu is offline   Reply With Quote
Old 10-21-2016, 01:41 PM   #32
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by jackie_w View Post
... to see if there is any general interest in a patch to reduce (not eliminate) the size of the top header menubar thereby reducing what many have described as 'screen wastage' in kepubs.
I'm not detecting enough interest in using this option so I'll assume 'fullscreen mode' is preferable for the majority and leave it there.
jackie_w is offline   Reply With Quote
Advert
Old 10-21-2016, 01:52 PM   #33
surquizu
Evangelist
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 411
Karma: 902071
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD, kobo aura ONE
Quote:
Originally Posted by jackie_w View Post
I'm not detecting enough interest in using this option so I'll assume 'fullscreen mode' is preferable for the majority and leave it there.
Oh ... I was very interested ...
surquizu is offline   Reply With Quote
Old 10-21-2016, 02:10 PM   #34
boriar
Evangelist
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
boriar's Avatar
 
Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
Quote:
Originally Posted by jackie_w View Post
I'm not detecting enough interest in using this option so I'll assume 'fullscreen mode' is preferable for the majority and leave it there.
If it left the information bar, I'm also interested. I only dislike the waste space.
boriar is offline   Reply With Quote
Old 10-21-2016, 03:52 PM   #35
pickyaxe
Addict
pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.pickyaxe ought to be getting tired of karma fortunes by now.
 
Posts: 285
Karma: 3762916
Join Date: Nov 2011
Device: none
Quote:
Originally Posted by jackie_w View Post
I'm not detecting enough interest in using this option so I'll assume 'fullscreen mode' is preferable for the majority and leave it there.
I really liked it, first time I'm seeing that post. I would probably use this over fullscreen, which feels a little too busy sometimes.
pickyaxe is offline   Reply With Quote
Advert
Old 10-21-2016, 04:44 PM   #36
kobayashi
Groupie
kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!
 
Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
Quote:
Originally Posted by JSWolf View Post
I know I'd like the top margin reduced and as long as I can still access the functions of the top menu, I'm good with it.
+1
kobayashi is offline   Reply With Quote
Old 10-22-2016, 02:20 PM   #37
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Custom Header patches

@surquizu, boriar, pickyaxe, kobayashi,
OK, you talked me into it.

Just copy/paste one of the patches below (do not enable both at once) into your existing nickel.patch file for fw 4.1.7729 and run GeoffR's Patcher program as normal.

I've written these patches in a way that should also allow them to run in future firmware versions - but only if Kobo don't change the CSS code for this particular section (so no guarantees).

See below for pictures of how they look on an AuraOne. Make your own mind up about which you prefer.
  • the left-hand pair show a KA1 patched with GeoffR's Custom Footer plus my Custom Header: 50% reduction
  • the middle pair show a KA1 patched with GeoffR's Custom Footer plus my Custom Header: 33% reduction
  • the right-hand pair show an unpatched KA1

Note for those who already installed the 33% patch:
I've updated the `Custom Header menubar - reduce height by 33%` patch so that the Header menu icons are slightly better vertically-centred.


Patch to reduce size of Top Header menubar by 33%
Spoiler:
Code:
<Patch>
# For fw 4.01.7729 (all models) 
# N.B. It is possible this patch will also work in future firmwares, but will need testing
#
patch_name = `Custom Header menubar - reduce height by 33%`
patch_enable = `no`
find_base_address = `\x78\x9C\xA5\x95\xCB\xAE\xD3\x30\x10\x86\xF7\x7D`
replace_bytes = 0000, 78 9C A5 95 CB AE D3 30, 78 9C 95 56 4D 4F C2 40
replace_bytes = 0008, 10 86 F7 7D 8A E8 74 4B, 10 BD F3 2B 1A B9 4A 52
replace_bytes = 0010, A5 A4 4D 9A 93 20 16 5C, A0 E5 CB 78 F0 E3 A0 07
replace_bytes = 0018, 16 B0 38 02 09 04 0B 84, A2 89 46 0F C6 98 85 2E
replace_bytes = 0020, 90 DB F8 A4 16 A9 ED E3, 65 63 D9 5D B6 8B 80 C6
replace_bytes = 0028, B8 B4 05 F1 EE 34 B7 A2, FF 6E 5B 4A 4D 3B BB D3
replace_bytes = 0030, 64 C6 97 8A ED E8 CF 37, 72 9D BC 7D 6F FA 66 E6
replace_bytes = 0038, 93 7F 2E 9E 7F D4 44 1F, A5 ED 27 4D F4 26 BE 26
replace_bytes = 0040, EA 57 44 7D 66 F4 F8 F5, EA 85 D1 ED DB FA 4A CA
replace_bytes = 0048, E9 A5 94 DF 0B FA 93 6D, 8F 80 7E B1 39 BD 8F 9F
replace_bytes = 0050, E9 BB FA 93 62 95 28 CF, 15 8B 44 B8 BF 3C D3 6A
replace_bytes = 0058, 2F EE B4 3A D0 BB 6F C1, 43 CF DE 9D 9F 96 E3 AC
replace_bytes = 0060, EF 59 10 EC 19 5F EC 28, 18 EF 2C 29 0B 97 7A E2
replace_bytes = 0068, 2B 77 3A 0F D2 48 9E 9E, 78 43 B9 BB 48 6B 64 57
replace_bytes = 0070, 37 31 72 9A C4 FE CC E6, A9 FD B6 DA 08 EF E3 52
replace_bytes = 0078, 16 EE 87 9D A0 9C 9D 8C, 50 CE 76 56 DE 81 0B 79
replace_bytes = 0080, DC 0C E1 66 1E DC 37 8A, 0F 35 9C F7 56 91 50 70
replace_bytes = 0088, 94 82 1B B1 D1 12 E1 F6, 2B ED C8 40 3B 6A 42 4B
replace_bytes = 0090, 41 07 98 9C AB 46 6E 46, F6 51 8A B6 12 77 5D 1F
replace_bytes = 0098, 27 29 82 EE 82 17 B4 6A, 32 E7 C5 84 5A A5 85 57
replace_bytes = 00A0, 02 5F 58 51 52 6D 75 F8, 16 84 54 A3 FE 9E B7 DA
replace_bytes = 00A8, D9 6C 5E D1 47 1F E5 B5, 11 5D 34 41 16 1D 6C 59
replace_bytes = 00B0, 82 23 2B F4 2E 0F 96 61, A0 97 13 A7 E7 7A FF 0D
replace_bytes = 00B8, FC AF 80 71 CC 96 7F D2, 94 6B 98 7E 65 0E 88 BE
replace_bytes = 00C0, 09 4B 7E 53 CF 86 5C 49, 6D 62 47 2D DF 85 FA BE
replace_bytes = 00C8, 08 F3 77 31 5B FE 71 C7, 5B A7 5F 9E 17 22 6F 19
replace_bytes = 00D0, 2C E9 0D AD ED 33 AD A2, 6C AE D4 EF 0E 80 7A 5E
replace_bytes = 00D8, 35 C8 DE C7 AC D9 27 6D, 43 D5 2B 63 C5 F4 6D 1B
replace_bytes = 00E0, B5 E5 37 4D 40 9F 2D 0E, 90 AB 79 EE 10 74 90 D7
replace_bytes = 00E8, 53 50 41 1F 9B 54 70 F9, 2A 1D 24 8F D8 8A 44 53
replace_bytes = 00F0, 88 ED 49 F5 20 0A 3A C0, 11 D0 23 D9 09 33 39 F5
replace_bytes = 00F8, 6E E8 C9 AD 5F 4F EB 8C, 75 B5 CF EE C8 07 7D E6
replace_bytes = 0100, EE 13 50 67 1F BB D4 59, B5 A4 CF 38 3B 81 19 51
replace_bytes = 0108, B7 2B B0 21 EA B5 E0 9A, 37 82 6B C2 38 55 D9 FB
replace_bytes = 0110, 30 4E 95 7B 08 9F A4 12, B5 54 42 52 A5 F7 1D 2D
replace_bytes = 0118, 92 2A 7D 5E 68 21 1F 88, E4 94 A8 90 F1 89 E3 66
replace_bytes = 0120, 2A 19 CF 83 B5 17 0E AB, 2F 56 34 8E 49 48 33 D8
replace_bytes = 0128, 15 C5 DD 7B E1 90 19 F9, 8C CC 3F 43 25 36 3C E8
replace_bytes = 0130, 1F 1A D6 71 94 17 85 2D, CC 45 24 D4 C4 D1 8A F0
replace_bytes = 0138, 70 4F EB 9A 94 B4 D5 6D, 58 12 45 B9 4E 35 25 09
replace_bytes = 0140, C8 F6 47 A9 C4 81 17 8B, 02 C6 C3 94 25 99 CF A1
replace_bytes = 0148, AD A8 84 CA 03 AD 08 AF, 8F 63 2D FD C6 84 B4 5C
replace_bytes = 0150, 25 51 94 EB C6 7E 49 8A, 54 87 43 3A AE D1 4C F3
replace_bytes = 0158, 82 F1 B2 C1 5C 46 B5 6B, 3B B1 A2 75 27 14 4B C6
replace_bytes = 0160, C9 10 6B DA 9D 07 E1 38, 93 D6 6B 2F 2D 25 7F E0
replace_bytes = 0168, A8 BA 9B 32 6C D4 46 F3, 75 B0 2D 5B B0 43 34 D4
replace_bytes = 0170, B7 62 4F 5D D7 A4 96 8C, 21 67 44 6B AA F6 CD C0
replace_bytes = 0178, BB BA D8 0C 58 03 7F CF, D9 20 D9 37 FE 31 60 CB
replace_bytes = 0180, 5D B2 23 7B 64 DD 95 74, E0 9A 7B 03 CC 1C B8 4B
replace_bytes = 0188, 29 37 44 6B AA CE 7E E2, 46 73 0C 2B 67 32 07 C2
replace_bytes = 0190, 76 A6 D9 2F FB CF 80 85, 6C E6 40 24 62 0E 04 9B
replace_bytes = 0198, 83 1B 1F AF 6D E6 C0 B5, CD A9 59 6D 1F 9A E3 A3
replace_bytes = 01A0, 42 CD 41 B6 0F 33 07 CA, E6 80 F0 31 7A 03 23 CA
replace_bytes = 01A8, 4C E6 40 A5 C5 1C 28 C6, 64 0D 40 D9 9C 01 40 C4
replace_bytes = 01B0, CD 71 6C 79 02 CD 49 AC, 18 80 35 FB 82 67 E3 10
replace_bytes = 01B8, E6 80 3B 8C 7A 03 AF 35, 06 F3 10 3D 28 43 2A 9A
replace_bytes = 01C0, 66 0D 50 99 9C 01 42 8B, 8D 31 A4 A7 D1 1A 88 B3
replace_bytes = 01C8, 31 40 8B FB 62 7F 26 52, 9A 03 A1 98 3D 10 6D 31
replace_bytes = 01D0, F8 46 A5 D6 85 42 1E 08, A8 26 BC C7 D0 A2 F1 29
replace_bytes = 01D8, DC 18 E4 21 41 AD 81 3A, 99 93 F1 95 83 AC 3B 3E
replace_bytes = 01E0, A3 39 50 6A B3 07 AA 0D, E1 2C 0D EF 7B 7E F3 CD
replace_bytes = 01E8, 06 39 DE B1 0C 5A 94 DD, 35 3C EF E3 CF 4D 7E 94
replace_bytes = 01F0, 72 73 5A DE F8 90 45 D9, 09 8A 9F B8 E6 39 55 09
replace_bytes = 01F8, 0D 6B 89 7C BF 4C FC 27, ED C2 81 E6 C7 5C 61 28
replace_bytes = 0200, 17 F9 7C 65 FF 1C F3 63, 3C 68 BC F6 15 82 7E 0D
replace_bytes = 0208, 0C 88 87 57 DC FF 4E 4D, 01 66 43 4E E1 E5 14 7F
replace_bytes = 0210, 8E F6 D5 01 FF 65 9E 10, 27 D0 E2 20 00 00 00 00
replace_bytes = 0218, AE 1E 78 8F FD 04 B0 72, 00 00 00 00 00 00 00 00
replace_bytes = 0220, 00 6C 36 F4 88 B8 47 FC, 00 00 00 00 00 00 00 00
replace_bytes = 0228, 05 09 3D 43 96, 00 00 00 00 00
</Patch>


Patch to reduce size of Top Header menubar by 50%
Spoiler:
Code:
<Patch>
# For fw 4.01.7729 (all models) 
# N.B. It is possible this patch will also work in future firmwares, but will need testing
#
patch_name = `Custom Header menubar - reduce height by 50%`
patch_enable = `no`
find_base_address = `\x78\x9C\xA5\x95\xCB\xAE\xD3\x30\x10\x86\xF7\x7D`
replace_bytes = 0000, 78 9C A5 95 CB AE D3 30, 78 9C 95 56 CB 6E DB 30
replace_bytes = 0008, 10 86 F7 7D 8A E8 74 4B, 10 BC FB 2B 84 F8 5A 03
replace_bytes = 0010, A5 A4 4D 9A 93 20 16 5C, 72 2C F9 55 F4 D0 C7 A1
replace_bytes = 0018, 16 B0 38 02 09 04 0B 84, 3D 04 0D 90 22 39 04 41
replace_bytes = 0020, 90 DB F8 A4 16 A9 ED E3, 41 5B 8C 4C 54 26 99 15
replace_bytes = 0028, B8 B4 05 F1 EE 34 B7 A2, 5D DB 09 FA EF 91 64 C9
replace_bytes = 0030, 64 C6 97 8A ED E8 CF 37, 85 B4 E4 52 3E 7A 31 3B
replace_bytes = 0038, 93 7F 2E 9E 7F D4 44 1F, B3 9C 7D C8 C3 3B C3 CC
replace_bytes = 0040, EA 57 44 7D 66 F4 F8 F5, 2E FF C2 E0 5E F0 FD E3
replace_bytes = 0048, E9 A5 94 DF 0B FA 93 6D, CB 67 AD 7F 27 FC AF 58
replace_bytes = 0050, E9 BB FA 93 62 95 28 CF, F3 1F F9 2F 10 99 4A 8F
replace_bytes = 0058, 2F EE B4 3A D0 BB 6F C1, 9F AE 0C EC F8 D5 53 F0
replace_bytes = 0060, EF 59 10 EC 19 5F EC 28, 36 08 82 AD 90 A3 0D 17
replace_bytes = 0068, 2B 77 3A 0F D2 48 9E 9E, E9 C6 2C 83 49 AC 0F 1F
replace_bytes = 0070, 37 31 72 9A C4 FE CC E6, CB 18 3B 74 62 FF 06 43
replace_bytes = 0078, 16 EE 87 9D A0 9C 9D 8C, 82 F7 76 A3 B8 14 07 27
replace_bytes = 0080, DC 0C E1 66 1E DC 37 8A, 6F 64 E1 8D 7A F0 7E 03
replace_bytes = 0088, 94 82 1B B1 D1 12 E1 F6, 96 2A E9 A4 9D 86 98 F6
replace_bytes = 0090, 41 07 98 9C AB 46 6E 46, 14 F3 D0 B2 63 56 A2 9D
replace_bytes = 0098, 27 29 82 EE 82 17 B4 6A, C4 73 0B F1 BC 21 86 F2
replace_bytes = 00A0, 02 5F 58 51 52 6D 75 F8, F7 83 48 52 6E 48 77 3F
replace_bytes = 00A8, D9 6C 5E D1 47 1F E5 B5, 0C 86 19 7F EE 83 3C EB
replace_bytes = 00B0, 82 23 2B F4 2E 0F 96 61, EF 45 62 36 CB E0 3A 8C
replace_bytes = 00B8, FC AF 80 71 CC 96 7F D2, FE EB B7 63 94 7E A7 0B
replace_bytes = 00C0, 09 4B 7E 53 CF 86 5C 49, 84 BE AB 5F 8D 56 1C 62
replace_bytes = 00C8, 08 F3 77 31 5B FE 71 C7, FD D8 FB FE 76 B7 08 79
replace_bytes = 00D0, 2C E9 0D AD ED 33 AD A2, 47 5B 6B A5 C9 78 8A D4
replace_bytes = 00D8, 35 C8 DE C7 AC D9 27 6D, EB 18 A9 DE 69 2A A5 EF
replace_bytes = 00E0, B5 E5 37 4D 40 9F 2D 0E, EA 7F AD 16 85 33 54 41
replace_bytes = 00E8, 53 50 41 1F 9B 54 70 F9, 1D EB 54 50 24 89 2D CB
replace_bytes = 00F0, 88 ED 49 F5 20 0A 3A C0, 6E 54 C2 1B B2 0B 7A 72
replace_bytes = 00F8, 6E E8 C9 AD 5F 4F EB 8C, 69 76 B7 CE F1 3C 46 75
replace_bytes = 0100, EE 13 50 67 1F BB D4 59, D6 B1 A2 CE BC 5A 80 15
replace_bytes = 0108, B7 2B B0 21 EA B5 E0 9A, 83 AF 4A 1A 26 24 87 2A
replace_bytes = 0110, 30 4E 95 7B 08 9F A4 12, FF 45 83 D2 1C CC 71 64
replace_bytes = 0118, 92 2A 7D 5E 68 21 1F 88, 94 BE 61 90 0A B9 0C C2
replace_bytes = 0120, 2A 19 CF 83 B5 17 0E AB, 2A 63 CB F3 9C A5 BC 82
replace_bytes = 0128, 15 C5 DD 7B E1 90 19 F9, AD D8 FA 4F 0A 6A 27 93
replace_bytes = 0130, 1F 1A D6 71 94 17 85 2D, D1 5A 65 0A 96 81 01 26
replace_bytes = 0138, 70 4F EB 9A 94 B4 D5 6D, 73 CD 80 4B 53 6A 6A 96
replace_bytes = 0140, C8 F6 47 A9 C4 81 17 8B, 24 42 A6 25 4B D1 9F 53
replace_bytes = 0148, AD A8 84 CA 03 AD 08 AF, 1D 4D AC 7C 63 41 DA 0E
replace_bytes = 0150, 25 51 94 EB C6 7E 49 8A, C2 69 8F 9A 31 5A 19 F9
replace_bytes = 0158, 82 F1 B2 C1 5C 46 B5 6B, 5D 6D B9 6F 85 72 2D 64
replace_bytes = 0160, C9 10 6B DA 9D 07 E1 38, 51 BA 77 D3 4A F2 9F D2
replace_bytes = 0168, A8 BA 9B 32 6C D4 46 F3, 07 DB 8B 67 71 3A 0C 3E
replace_bytes = 0170, B7 62 4F 5D D7 A4 96 8C, E4 8A 19 C3 E1 D8 0F 5C
replace_bytes = 0178, BB BA D8 0C 58 03 7F CF, 35 52 BC D2 8F 41 53 86
replace_bytes = 0180, 5D B2 23 7B 64 DD 95 74, C7 3C 9A 52 E6 E0 59 B2
replace_bytes = 0188, 29 37 44 6B AA CE 7E E2, 9A 63 19 39 9B 39 18 E6
replace_bytes = 0190, 76 A6 D9 2F FB CF 80 85, 32 07 23 09 73 30 D8 6E
replace_bytes = 0198, 83 1B 1F AF 6D E6 C0 B5, 8E 67 B4 63 6C 4E 4C 9A
replace_bytes = 01A0, 42 CD 41 B6 0F 33 07 CA, 83 8E 8F D5 1B 7C A2 6C
replace_bytes = 01A8, 4C E6 40 A5 C5 1C 28 C6, D6 20 94 CB 19 04 24 8C
replace_bytes = 01B0, CD 71 6C 79 02 CD 49 AC, 41 58 BB 2F F4 6D 9C E1
replace_bytes = 01B8, E6 80 3B 8C 7A 03 AF 35, C3 3C 23 17 CA 72 15 ED
replace_bytes = 01C0, 66 0D 50 99 9C 01 42 8B, C6 58 AE A7 D5 1A 8C 73
replace_bytes = 01C8, 31 40 8B FB 62 7F 26 52, 9A 83 A1 94 3D 18 ED 30
replace_bytes = 01D0, F8 46 A5 D6 85 42 1E 08, C8 73 BC 17 D8 A2 C5 25
replace_bytes = 01D8, DC 18 E4 21 41 AD 81 3A, 37 A7 E2 6B 1F B2 F1 E2
replace_bytes = 01E0, A3 39 50 6A B3 07 AA 0D, 82 B5 B4 E4 5F C7 FD 27
replace_bytes = 01E8, 06 39 DE B1 0C 5A 94 DD, D7 92 3E A1 D3 6D 7E B4
replace_bytes = 01F0, 72 73 5A DE F8 90 45 D9, 09 A2 E6 D3 D5 FF 4E 75
replace_bytes = 01F8, 0D 6B 89 7C BF 4C FC 27, 8E F6 D9 81 FE CB DC 61
replace_bytes = 0200, 17 F9 7C 65 FF 1C F3 63, 38 7B D0 7B EC 3B 04 13
replace_bytes = 0208, 0C 88 87 57 DC FF 4E 4D, 0F 01 65 03 B4 FF 72 BE
replace_bytes = 0210, 8E F6 D5 01 FF 65 9E 10, 03 90 DE E1 C0 00 00 00
replace_bytes = 0218, AE 1E 78 8F FD 04 B0 72, 00 00 00 00 00 00 00 00
replace_bytes = 0220, 00 6C 36 F4 88 B8 47 FC, 00 00 00 00 00 00 00 00
replace_bytes = 0228, 05 09 3D 43 96, 00 00 00 00 00
</Patch>
Attached Thumbnails
Click image for larger version

Name:	KA1_50.jpg
Views:	515
Size:	112.7 KB
ID:	152838   Click image for larger version

Name:	KA1_50a.jpg
Views:	517
Size:	109.0 KB
ID:	152839   Click image for larger version

Name:	KA1_33.jpg
Views:	532
Size:	115.7 KB
ID:	152840   Click image for larger version

Name:	KA1_33a.jpg
Views:	484
Size:	112.4 KB
ID:	152841   Click image for larger version

Name:	KA1_default.jpg
Views:	472
Size:	113.3 KB
ID:	152842   Click image for larger version

Name:	KA1_defaulta.jpg
Views:	478
Size:	115.4 KB
ID:	152843  

Last edited by jackie_w; 11-06-2016 at 01:36 PM. Reason: Added extra patch to reduce header by 50%. Added images
jackie_w is offline   Reply With Quote
Old 10-22-2016, 02:58 PM   #38
kobayashi
Groupie
kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!
 
Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
Quote:
Originally Posted by jackie_w View Post
@surquizu, boriar, pickyaxe, kobayashi,

OK, you talked me into it. Just copy/paste the patch below into your existing nickel.patch file for fw 4.1.7729 and run GeoffR's Patcher program as normal.

I've written this patch in a way that should also allow it to run in future firmware versions - but only if Kobo don't change the CSS code for this particular section (so no guarantees).

See post #13 for pictures of how it looks on an AuraOne.

Patch to reduce size of Top Header menubar by 33%

Spoiler:
Code:
<Patch>
# For fw 4.01.7729 (all models) 
# N.B. It is possible this patch will also work in future firmwares, but will need testing
#
patch_name = `Custom Header menubar - reduce height by 33%`
patch_enable = `yes`
find_base_address = `\x78\x9C\xA5\x95\xCB\xAE\xD3\x30\x10\x86\xF7\x7D`
replace_bytes = 0000, 78 9C A5 95 CB AE D3 30, 78 9C 9D 56 CB 4E E3 30
replace_bytes = 0008, 10 86 F7 7D 8A E8 74 4B, 14 FD 17 B2 9D 4A 09 4D
replace_bytes = 0010, A5 A4 4D 9A 93 20 16 5C, FA 08 62 01 C3 82 59 A0
replace_bytes = 0018, 16 B0 38 02 09 04 0B 84, 41 02 0D 8B 11 42 6E 63
replace_bytes = 0020, 90 DB F8 A4 16 A9 ED E3, 52 6B 12 DB 38 2E 6D A7
replace_bytes = 0028, B8 B4 05 F1 EE 34 B7 A2, EA BF D3 C4 41 EA F5 2B
replace_bytes = 0030, 64 C6 97 8A ED E8 CF 37, 86 E5 B5 CE 3D C7 3E F7
replace_bytes = 0038, 93 7F 2E 9E 7F D4 44 1F, 91 44 0F 12 C9 75 73 8D
replace_bytes = 0040, EA 57 44 7D 66 F4 F8 F5, C4 1F 82 37 7F DF AE 38
replace_bytes = 0048, E9 A5 94 DF 0B FA 93 6D, 7F 29 F0 3B 59 E2 5F CD
replace_bytes = 0050, E9 BB FA 93 62 95 28 CF, A3 20 15 2B 77 97 67 52
replace_bytes = 0058, 2F EE B4 3A D0 BB 6F C1, AC F1 D9 F3 BE 26 74 B4
replace_bytes = 0060, EF 59 10 EC 19 5F EC 28, C2 A4 5C C9 3C 9D F2 ED
replace_bytes = 0068, 2B 77 3A 0F D2 48 9E 9E, 45 8D B6 20 3E 44 1E B2
replace_bytes = 0070, 37 31 72 9A C4 FE CC E6, FB 15 C3 94 6C 6D 64 93
replace_bytes = 0078, 16 EE 87 9D A0 9C 9D 8C, 18 92 75 B1 97 EC 46 A0
replace_bytes = 0080, DC 0C E1 66 1E DC 37 8A, 92 51 1B D7 4C E3 9A 0D
replace_bytes = 0088, 94 82 1B B1 D1 12 E1 F6, 73 A1 5D D5 42 6D 6C 49
replace_bytes = 0090, 41 07 98 9C AB 46 6E 46, 9C 41 3A 75 70 88 44 1B
replace_bytes = 0098, 27 29 82 EE 82 17 B4 6A, 3D 91 A2 C4 D2 EB D9 8F
replace_bytes = 00A0, 02 5F 58 51 52 6D 75 F8, A8 C2 AF 21 C0 4E 75 43
replace_bytes = 00A8, D9 6C 5E D1 47 1F E5 B5, 0A B9 CA CF E3 B4 17 3D
replace_bytes = 00B0, 82 23 2B F4 2E 0F 96 61, 8D 3D 9A 9A B5 6E 4D 5B
replace_bytes = 00B8, FC AF 80 71 CC 96 7F D2, 0D 7A 8D 2C 86 9A 59 EC
replace_bytes = 00C0, 09 4B 7E 53 CF 86 5C 49, D7 84 15 70 4B 5A 2A A5
replace_bytes = 00C8, 08 F3 77 31 5B FE 71 C7, 14 C6 C9 04 28 AA D8 A7
replace_bytes = 00D0, 2C E9 0D AD ED 33 AD A2, A8 D5 C9 A3 69 AB A8 52
replace_bytes = 00D8, 35 C8 DE C7 AC D9 27 6D, 49 E3 29 50 55 31 54 3D
replace_bytes = 00E0, B5 E5 37 4D 40 9F 2D 0E, A2 49 8D AA 3B 56 E0 4F
replace_bytes = 00E8, 53 50 41 1F 9B 54 70 F9, 86 70 BF BF 9A 7C 72 B7
replace_bytes = 00F0, 88 ED 49 F5 20 0A 3A C0, 64 96 81 BB A9 F8 10 35
replace_bytes = 00F8, 6E E8 C9 AD 5F 4F EB 8C, 5D EF 2E 90 F8 C9 A8 44
replace_bytes = 0100, EE 13 50 67 1F BB D4 59, 84 62 E1 EF A4 37 2E 18
replace_bytes = 0108, B7 2B B0 21 EA B5 E0 9A, C7 42 EE 46 92 F1 3B 24
replace_bytes = 0110, 30 4E 95 7B 08 9F A4 12, 4A 42 F3 49 00 8F 7E 33
replace_bytes = 0118, 92 2A 7D 5E 68 21 1F 88, 1B CF 2C 80 47 2B F9 B7
replace_bytes = 0120, 2A 19 CF 83 B5 17 0E AB, 69 F4 2A DA 88 92 F8 C8
replace_bytes = 0128, 15 C5 DD 7B E1 90 19 F9, 54 E3 A6 41 25 DE 2F D0
replace_bytes = 0130, 1F 1A D6 71 94 17 85 2D, F2 5F 29 D8 9A 16 A3 25
replace_bytes = 0138, 70 4F EB 9A 94 B4 D5 6D, AB 98 C8 A5 40 B4 E1 48
replace_bytes = 0140, C8 F6 47 A9 C4 81 17 8B, 60 2A 2F 38 2A 0A 42 CB
replace_bytes = 0148, AD A8 84 CA 03 AD 08 AF, 36 37 1F 1F 7D FD 8C DB
replace_bytes = 0150, 25 51 94 EB C6 7E 49 8A, DA E5 F1 C9 41 D7 0A B9
replace_bytes = 0158, 82 F1 B2 C1 5C 46 B5 6B, 6A FF 85 A4 B7 AC C6 03
replace_bytes = 0160, C9 10 6B DA 9D 07 E1 38, 23 DE 70 42 87 AA 72 6C
replace_bytes = 0168, A8 BA 9B 32 6C D4 46 F3, 92 96 F7 37 1D 40 6D C8
replace_bytes = 0170, B7 62 4F 5D D7 A4 96 8C, 2B 51 CB 6A 00 B8 40 52
replace_bytes = 0178, BB BA D8 0C 58 03 7F CF, 62 B1 0B C2 76 4D 49 FE
replace_bytes = 0180, 5D B2 23 7B 64 DD 95 74, FB DF 71 3A 25 70 34 D3
replace_bytes = 0188, 29 37 44 6B AA CE 7E E2, 89 DB 0C 63 16 AC 66 98
replace_bytes = 0190, 76 A6 D9 2F FB CF 80 85, 13 63 33 C3 40 B9 CC 30
replace_bytes = 0198, 83 1B 1F AF 6D E6 C0 B5, 80 1E 33 0C AC DD 0C F7
replace_bytes = 01A0, 42 CD 41 B6 0F 33 07 CA, 58 66 D0 8C CC 63 86 BE
replace_bytes = 01A8, 4C E6 40 A5 C5 1C 28 C6, 14 AD 5E 18 9B D3 66 85
replace_bytes = 01B0, CD 71 6C 79 02 CD 49 AC, 0E 72 39 A1 E3 3C 46 E8
replace_bytes = 01B8, E6 80 3B 8C 7A 03 AF 35, 50 BB 0F CE 7D 3D 85 1F
replace_bytes = 01C0, 66 0D 50 99 9C 01 42 8B, 88 A9 67 40 CC 4D 6D 37
replace_bytes = 01C8, 31 40 8B FB 62 7F 26 52, C2 5C E8 56 2B 0C 98 D3
replace_bytes = 01D0, F8 46 A5 D6 85 42 1E 08, 0C 03 E9 B3 C3 00 3B 0C
replace_bytes = 01D8, DC 18 E4 21 41 AD 81 3A, 71 7F 4C E6 D0 92 79 F8
replace_bytes = 01E0, A3 39 50 6A B3 07 AA 0D, CE D8 83 ED 93 CC 83 E7
replace_bytes = 01E8, 06 39 DE B1 0C 5A 94 DD, 0B 26 9E 67 A1 BD 08 F3
replace_bytes = 01F0, 72 73 5A DE F8 90 45 D9, C6 BE 3C FD BD 20 B3 FF
replace_bytes = 01F8, 0D 6B 89 7C BF 4C FC 27, CF 0B 5B 28 70 A3 F6 AF
replace_bytes = 0200, 17 F9 7C 65 FF 1C F3 63, 0C 1B 3F 98 DA BF 33 A8
replace_bytes = 0208, 0C 88 87 57 DC FF 4E 4D, 63 61 E6 D8 9B E9 7A AA
replace_bytes = 0210, 8E F6 D5 01 FF 65 9E 10, CA 4D BB DC 0F 4A 3E 2B
replace_bytes = 0218, AE 1E 78 8F FD 04 B0 72, 88 00 00 00 00 00 00 00
replace_bytes = 0220, 00 6C 36 F4 88 B8 47 FC, 00 00 00 00 00 00 00 00
replace_bytes = 0228, 05 09 3D 43 96, 00 00 00 00 00
</Patch>
Thank you for trying but it must be conflicting with something. I'm unable to run the .bat file as it reports and error when making the libnickel file.
kobayashi is offline   Reply With Quote
Old 10-22-2016, 03:29 PM   #39
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by kobayashi View Post
Thank you for trying but it must be conflicting with something. I'm unable to run the .bat file as it reports and error when making the libnickel file.
I just retested 4.1.7729.bat It runs OK for me.

Are you sure you added the patch to the correct file? This patch works with nickel and nickel.patch not libnickel.so.1.0.0 and libnickel.so.1.0.0.patch

One thing to check is that the nickel file itself is an original non-patched version. I believe it should be date-stamped 2016-10-10 16:22
jackie_w is offline   Reply With Quote
Old 10-22-2016, 03:44 PM   #40
boriar
Evangelist
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
boriar's Avatar
 
Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
Quote:
Originally Posted by jackie_w View Post
@surquizu, boriar, pickyaxe, kobayashi,

OK, you talked me into it. Just copy/paste the patch below into your existing nickel.patch file for fw 4.1.7729 and run GeoffR's Patcher program as normal.

I've written this patch in a way that should also allow it to run in future firmware versions - but only if Kobo don't change the CSS code for this particular section (so no guarantees).

See post #13 for pictures of how it looks on an AuraOne.

Patch to reduce size of Top Header menubar by 33%

Spoiler:
Code:
<Patch>
# For fw 4.01.7729 (all models) 
# N.B. It is possible this patch will also work in future firmwares, but will need testing
#
patch_name = `Custom Header menubar - reduce height by 33%`
patch_enable = `yes`
find_base_address = `\x78\x9C\xA5\x95\xCB\xAE\xD3\x30\x10\x86\xF7\x7D`
replace_bytes = 0000, 78 9C A5 95 CB AE D3 30, 78 9C 9D 56 CB 4E E3 30
replace_bytes = 0008, 10 86 F7 7D 8A E8 74 4B, 14 FD 17 B2 9D 4A 09 4D
replace_bytes = 0010, A5 A4 4D 9A 93 20 16 5C, FA 08 62 01 C3 82 59 A0
replace_bytes = 0018, 16 B0 38 02 09 04 0B 84, 41 02 0D 8B 11 42 6E 63
replace_bytes = 0020, 90 DB F8 A4 16 A9 ED E3, 52 6B 12 DB 38 2E 6D A7
replace_bytes = 0028, B8 B4 05 F1 EE 34 B7 A2, EA BF D3 C4 41 EA F5 2B
replace_bytes = 0030, 64 C6 97 8A ED E8 CF 37, 86 E5 B5 CE 3D C7 3E F7
replace_bytes = 0038, 93 7F 2E 9E 7F D4 44 1F, 91 44 0F 12 C9 75 73 8D
replace_bytes = 0040, EA 57 44 7D 66 F4 F8 F5, C4 1F 82 37 7F DF AE 38
replace_bytes = 0048, E9 A5 94 DF 0B FA 93 6D, 7F 29 F0 3B 59 E2 5F CD
replace_bytes = 0050, E9 BB FA 93 62 95 28 CF, A3 20 15 2B 77 97 67 52
replace_bytes = 0058, 2F EE B4 3A D0 BB 6F C1, AC F1 D9 F3 BE 26 74 B4
replace_bytes = 0060, EF 59 10 EC 19 5F EC 28, C2 A4 5C C9 3C 9D F2 ED
replace_bytes = 0068, 2B 77 3A 0F D2 48 9E 9E, 45 8D B6 20 3E 44 1E B2
replace_bytes = 0070, 37 31 72 9A C4 FE CC E6, FB 15 C3 94 6C 6D 64 93
replace_bytes = 0078, 16 EE 87 9D A0 9C 9D 8C, 18 92 75 B1 97 EC 46 A0
replace_bytes = 0080, DC 0C E1 66 1E DC 37 8A, 92 51 1B D7 4C E3 9A 0D
replace_bytes = 0088, 94 82 1B B1 D1 12 E1 F6, 73 A1 5D D5 42 6D 6C 49
replace_bytes = 0090, 41 07 98 9C AB 46 6E 46, 9C 41 3A 75 70 88 44 1B
replace_bytes = 0098, 27 29 82 EE 82 17 B4 6A, 3D 91 A2 C4 D2 EB D9 8F
replace_bytes = 00A0, 02 5F 58 51 52 6D 75 F8, A8 C2 AF 21 C0 4E 75 43
replace_bytes = 00A8, D9 6C 5E D1 47 1F E5 B5, 0A B9 CA CF E3 B4 17 3D
replace_bytes = 00B0, 82 23 2B F4 2E 0F 96 61, 8D 3D 9A 9A B5 6E 4D 5B
replace_bytes = 00B8, FC AF 80 71 CC 96 7F D2, 0D 7A 8D 2C 86 9A 59 EC
replace_bytes = 00C0, 09 4B 7E 53 CF 86 5C 49, D7 84 15 70 4B 5A 2A A5
replace_bytes = 00C8, 08 F3 77 31 5B FE 71 C7, 14 C6 C9 04 28 AA D8 A7
replace_bytes = 00D0, 2C E9 0D AD ED 33 AD A2, A8 D5 C9 A3 69 AB A8 52
replace_bytes = 00D8, 35 C8 DE C7 AC D9 27 6D, 49 E3 29 50 55 31 54 3D
replace_bytes = 00E0, B5 E5 37 4D 40 9F 2D 0E, A2 49 8D AA 3B 56 E0 4F
replace_bytes = 00E8, 53 50 41 1F 9B 54 70 F9, 86 70 BF BF 9A 7C 72 B7
replace_bytes = 00F0, 88 ED 49 F5 20 0A 3A C0, 64 96 81 BB A9 F8 10 35
replace_bytes = 00F8, 6E E8 C9 AD 5F 4F EB 8C, 5D EF 2E 90 F8 C9 A8 44
replace_bytes = 0100, EE 13 50 67 1F BB D4 59, 84 62 E1 EF A4 37 2E 18
replace_bytes = 0108, B7 2B B0 21 EA B5 E0 9A, C7 42 EE 46 92 F1 3B 24
replace_bytes = 0110, 30 4E 95 7B 08 9F A4 12, 4A 42 F3 49 00 8F 7E 33
replace_bytes = 0118, 92 2A 7D 5E 68 21 1F 88, 1B CF 2C 80 47 2B F9 B7
replace_bytes = 0120, 2A 19 CF 83 B5 17 0E AB, 69 F4 2A DA 88 92 F8 C8
replace_bytes = 0128, 15 C5 DD 7B E1 90 19 F9, 54 E3 A6 41 25 DE 2F D0
replace_bytes = 0130, 1F 1A D6 71 94 17 85 2D, F2 5F 29 D8 9A 16 A3 25
replace_bytes = 0138, 70 4F EB 9A 94 B4 D5 6D, AB 98 C8 A5 40 B4 E1 48
replace_bytes = 0140, C8 F6 47 A9 C4 81 17 8B, 60 2A 2F 38 2A 0A 42 CB
replace_bytes = 0148, AD A8 84 CA 03 AD 08 AF, 36 37 1F 1F 7D FD 8C DB
replace_bytes = 0150, 25 51 94 EB C6 7E 49 8A, DA E5 F1 C9 41 D7 0A B9
replace_bytes = 0158, 82 F1 B2 C1 5C 46 B5 6B, 6A FF 85 A4 B7 AC C6 03
replace_bytes = 0160, C9 10 6B DA 9D 07 E1 38, 23 DE 70 42 87 AA 72 6C
replace_bytes = 0168, A8 BA 9B 32 6C D4 46 F3, 92 96 F7 37 1D 40 6D C8
replace_bytes = 0170, B7 62 4F 5D D7 A4 96 8C, 2B 51 CB 6A 00 B8 40 52
replace_bytes = 0178, BB BA D8 0C 58 03 7F CF, 62 B1 0B C2 76 4D 49 FE
replace_bytes = 0180, 5D B2 23 7B 64 DD 95 74, FB DF 71 3A 25 70 34 D3
replace_bytes = 0188, 29 37 44 6B AA CE 7E E2, 89 DB 0C 63 16 AC 66 98
replace_bytes = 0190, 76 A6 D9 2F FB CF 80 85, 13 63 33 C3 40 B9 CC 30
replace_bytes = 0198, 83 1B 1F AF 6D E6 C0 B5, 80 1E 33 0C AC DD 0C F7
replace_bytes = 01A0, 42 CD 41 B6 0F 33 07 CA, 58 66 D0 8C CC 63 86 BE
replace_bytes = 01A8, 4C E6 40 A5 C5 1C 28 C6, 14 AD 5E 18 9B D3 66 85
replace_bytes = 01B0, CD 71 6C 79 02 CD 49 AC, 0E 72 39 A1 E3 3C 46 E8
replace_bytes = 01B8, E6 80 3B 8C 7A 03 AF 35, 50 BB 0F CE 7D 3D 85 1F
replace_bytes = 01C0, 66 0D 50 99 9C 01 42 8B, 88 A9 67 40 CC 4D 6D 37
replace_bytes = 01C8, 31 40 8B FB 62 7F 26 52, C2 5C E8 56 2B 0C 98 D3
replace_bytes = 01D0, F8 46 A5 D6 85 42 1E 08, 0C 03 E9 B3 C3 00 3B 0C
replace_bytes = 01D8, DC 18 E4 21 41 AD 81 3A, 71 7F 4C E6 D0 92 79 F8
replace_bytes = 01E0, A3 39 50 6A B3 07 AA 0D, CE D8 83 ED 93 CC 83 E7
replace_bytes = 01E8, 06 39 DE B1 0C 5A 94 DD, 0B 26 9E 67 A1 BD 08 F3
replace_bytes = 01F0, 72 73 5A DE F8 90 45 D9, C6 BE 3C FD BD 20 B3 FF
replace_bytes = 01F8, 0D 6B 89 7C BF 4C FC 27, CF 0B 5B 28 70 A3 F6 AF
replace_bytes = 0200, 17 F9 7C 65 FF 1C F3 63, 0C 1B 3F 98 DA BF 33 A8
replace_bytes = 0208, 0C 88 87 57 DC FF 4E 4D, 63 61 E6 D8 9B E9 7A AA
replace_bytes = 0210, 8E F6 D5 01 FF 65 9E 10, CA 4D BB DC 0F 4A 3E 2B
replace_bytes = 0218, AE 1E 78 8F FD 04 B0 72, 88 00 00 00 00 00 00 00
replace_bytes = 0220, 00 6C 36 F4 88 B8 47 FC, 00 00 00 00 00 00 00 00
replace_bytes = 0228, 05 09 3D 43 96, 00 00 00 00 00
</Patch>
Many thanks for your work! I suppose it's screen size independent, isn't?

I have two questions?
Is there any chance to modify to use with FW 3.1x? I like use 3.12.1, 3.15 or 3.19 if i have the opportunity.
Is there any chance to use same method to reduce the botton bar? The top bar look awesome!


Edit: I refered to menubars, of course.

Last edited by boriar; 10-22-2016 at 03:47 PM.
boriar is offline   Reply With Quote
Old 10-22-2016, 04:07 PM   #41
kobayashi
Groupie
kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!
 
Posts: 176
Karma: 100000
Join Date: Jan 2015
Device: KA1
Quote:
Originally Posted by jackie_w View Post
I just retested 4.1.7729.bat It runs OK for me.

Are you sure you added the patch to the correct file? This patch works with nickel and nickel.patch not libnickel.so.1.0.0 and libnickel.so.1.0.0.patch

One thing to check is that the nickel file itself is an original non-patched version. I believe it should be date-stamped 2016-10-10 16:22
100% user error. I had put it in the libnickel file instead of nickel. Working great now.
kobayashi is offline   Reply With Quote
Old 10-22-2016, 04:21 PM   #42
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by boriar View Post
Is there any chance to modify to use with FW 3.1x? I like use 3.12.1, 3.15 or 3.19 if i have the opportunity.
I can't help you with 3.12 or 3.15 but I do have a version for 3.19.5761 which I'm using on my own H2O and GloHD. It would be too confusing to post it in this 4.1.7729 thread, so I'll PM you a copy.

Quote:
Originally Posted by boriar View Post
Is there any chance to use same method to reduce the botton bar? The top bar look awesome!
If there is I haven't found it yet - and it's not for the lack of trying. There's a lot of guesswork involved. I did find a few potential candidates but so far none of them had the desired effect.
jackie_w is offline   Reply With Quote
Old 10-22-2016, 04:57 PM   #43
boriar
Evangelist
boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.boriar ought to be getting tired of karma fortunes by now.
 
boriar's Avatar
 
Posts: 407
Karma: 314204
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
Quote:
Originally Posted by jackie_w View Post
I can't help you with 3.12 or 3.15 but I do have a version for 3.19.5761 which I'm using on my own H2O and GloHD. It would be too confusing to post it in this 4.1.7729 thread, so I'll PM you a copy.
Ok. Many thanks again for the patch for 3.19, the 4.x FW is not for me at the moment.


Quote:
Originally Posted by jackie_w View Post
If there is I haven't found it yet - and it's not for the lack of trying. There's a lot of guesswork involved. I did find a few potential candidates but so far none of them had the desired effect.
Don't worry. Happy trial and error!
boriar is offline   Reply With Quote
Old 10-22-2016, 07:12 PM   #44
icallaci
Guru
icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.icallaci ought to be getting tired of karma fortunes by now.
 
Posts: 768
Karma: 6528026
Join Date: Sep 2012
Device: Kobo Elipsa
Thank you for this, jackie_w. It's perfect. Just what I was looking for.

irene

Quote:
Originally Posted by jackie_w View Post
@surquizu, boriar, pickyaxe, kobayashi,

OK, you talked me into it. Just copy/paste the patch below into your existing nickel.patch file for fw 4.1.7729 and run GeoffR's Patcher program as normal.

I've written this patch in a way that should also allow it to run in future firmware versions - but only if Kobo don't change the CSS code for this particular section (so no guarantees).

See post #13 for pictures of how it looks on an AuraOne.

Patch to reduce size of Top Header menubar by 33%
icallaci is offline   Reply With Quote
Old 10-22-2016, 07:20 PM   #45
Lyn2012
Addict
Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.Lyn2012 ought to be getting tired of karma fortunes by now.
 
Lyn2012's Avatar
 
Posts: 382
Karma: 1118562
Join Date: Sep 2010
Location: Middlesex, UK
Device: Kobo Aura One, iPhone 8, iPad Pro
Quote:
Originally Posted by jackie_w View Post
I'm making this post to see if there is any general interest in a patch to reduce (not eliminate) the size of the top header menubar thereby reducing what many have described as 'screen wastage' in kepubs.

In the last few days I've been tinkering with pipcat's alternative method for patching the nickel file. I discovered that it's currently quite easy to reduce the height of the top menubar. See attached images for example.

First image: a typical kepub page on an AuraOne with GeoffR's 'Custom Footer' patch plus my 'Reduce Header by 33%' patch.

Second image: same page when tapped to show top and bottom menus. Without the 'Reduce Header' patch both top and bottom menubars are 13mm in height. With the extra patch the top menubar is 8.5mm.

In truth the height could be reduced to any number of pixels you like, but I chose reducing by 33% as a first stab.

What I'm not sure about is whether those who describe the top header in kepubs as 'waste' are more than happy to just use the 'full-screen' option. In which case I won't bother pursuing this.

If there is any interest I can use GeoffR's makepatch utility to create a suitable 4.1.7729-specific addition to nickel.patch
I like it too. Just about to get my Aura One and considering using kepubs for the first time.
Lyn2012 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.13.1 GeoffR Kobo Developer's Corner 56 07-01-2016 09:59 AM
Instructions for patching firmware 3.17.3 GeoffR Kobo Developer's Corner 60 09-17-2015 05:35 PM
Instructions for patching firmware 3.17.0 GeoffR Kobo Developer's Corner 49 08-16-2015 05:20 AM
Instructions for patching firmware 3.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 07:28 AM
Instructions for patching firmware 3.3.x, 3.4.x, 3.5.x GeoffR Kobo Developer's Corner 285 08-27-2014 10:06 AM


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


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