|
Bibliophagist
Posts: 51,612
Karma: 179962432
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Originally Posted by fil9998
HI
I've just Got upgrade on Kobo aura HD to 3.1.0 via OTA
is there any Metazoas ' patcher ready for it? Has it any issue?
many thanks  
|
There are some limited patches that can be applied using Metazoa's patcher. I've pasted my kpg.conf for 3.1.0 into the code block below. To use it, extract the libnickel.so.1.0.0 from the firmware file and place it in a directory with the kpg.conf and kpg.exe (from Metazoa's v11 patcher) and run as usual.
Code:
# Kobo Patch Generator config file
# firmware ver. 3.1.0
# (c) 2013 MZ
#
<Patch>
patch_name = `Custom reading footer style`
patch_enable = `yes`
# CSS. Then CSS over zlib. Then CSS over XOR "crypto". Then CSS over XOR+NOT "crypto". Kobo managers, are you wacky ???
#
# Disable footer example
#replace_xor_58 = 13FA550, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n\tqproperty-footerMargin: 15;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[deviceCodeName="kraken"], \n[deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `* {\n\theight: 5px;\n\tfont-size: 1px;\n\tcolor: transparent;\n}\n\n`
# Decrease footer example
replace_xor_58 = 13FA550, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n\tqproperty-footerMargin: 15;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[deviceCodeName="kraken"], \n[deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `* {\n\theight: 25px;\n\tfont-size: 20px;\n}\n\n`
</Patch>
<Patch>
patch_name = `My line spacing values`
patch_enable = `yes`
# Bypass code-injected values 1.0, 1.2, 1.5, 2.0, 3.0
replace_bytes = 73FA06, 35 F6 BC EB, 00 46 00 46
replace_bytes = 73FA54, 35 F6 94 EB, 00 46 00 46
replace_bytes = 73FA7A, 35 F6 82 EB, 00 46 00 46
replace_bytes = 73FAB0, 35 F6 66 EB, 00 46 00 46
replace_bytes = 73FB0C, 35 F6 38 EB, 00 46 00 46
# Other values for replace
replace_float = 73FB50, 1.05, 0.9
replace_float = 73FB58, 1.07, 0.95
replace_float = 73FB60, 1.1, 1.0
replace_float = 73FB68, 1.35, 1.05
replace_float = 73FB70, 1.7, 1.10
replace_float = 73FB78, 1.8, 1.15
replace_float = 73FB80, 2.2, 1.2
replace_float = 73FB88, 2.4, 1.25
replace_float = 73FB90, 2.6, 1.3
replace_float = 73FB98, 2.8, 1.35
</Patch>
<Patch>
patch_name = `Custom fonts sizes`
patch_enable = `yes`
# Values for replace
replace_int = 1157928, 12, 20
replace_int = 115792C, 14, 21
replace_int = 1157930, 16, 22
replace_int = 1157934, 17, 23
replace_int = 1157938, 18, 24
replace_int = 115793C, 19, 25
replace_int = 1157940, 20, 26
replace_int = 1157944, 21, 27
replace_int = 1157948, 22, 28
replace_int = 115794C, 24, 29
replace_int = 1157950, 25, 30
replace_int = 1157954, 26, 31
replace_int = 1157958, 28, 32
replace_int = 115795C, 32, 33
replace_int = 1157960, 36, 34
replace_int = 1157964, 40, 35
replace_int = 1157968, 44, 36
replace_int = 115796C, 46, 37
replace_int = 1157970, 48, 38
replace_int = 1157974, 50, 39
replace_int = 1157978, 52, 40
replace_int = 115797C, 54, 44
replace_int = 1157980, 56, 42
replace_int = 1157984, 58, 43
</Patch>
<Patch>
patch_name = `Custom left & right margins`
patch_enable = `yes`
# Values for replace
replace_int = 13EF57C, 02, 01
replace_int = 13EF580, 04, 02
replace_int = 13EF584, 06, 03
replace_int = 13EF588, 08, 04
replace_int = 13EF58C, 10, 05
replace_int = 13EF590, 12, 06
replace_int = 13EF594, 14, 07
replace_int = 13EF598, 16, 08
</Patch>
<Patch>
patch_name = `Fix page breaks bug`
patch_enable = `yes`
replace_bytes = DE6576, E8 D0, E8 E7
#Alternative method
#replace_bytes = DE6576, E8 D0, 00 46
</Patch>
For me, shrinking the footer and customizing the font size and line spacing are the more critical items.
Much thanks to GeoffR for his work on this.
Regards,
David
|