Thread
:
Patching firmware 4.0.7523
View Single Post
09-17-2016, 09:30 AM
#
83
Terisa de morgan
Grand Sorcerer
Posts: 6,636
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by
oren64
Those patchs moved from libnickel.so.1.0.0 to nickel have been compressed CSS string.
I used
CSS styles modifications inside nickel
thanks to pipcat, python 2.
Patches:
Changing the info panel in full size screensaver
Spoiler
:
/* found: 124 (zlib) pos: 4c33d4 */
#coverLabel[qApp_deviceIsTrilogy="true"] {
min-width: 600px;
max-width: 600px;
min-height: 800px;
max-height: 800px;
}
#coverLabel[qApp_deviceIsPhoenix="true"] {
min-width: 758px;
max-width: 758px;
min-height: 1024px;
max-height: 1024px;
}
#coverLabel[qApp_deviceIsDragon="true"] {
min-width: 1080px;
max-width: 1080px;
min-height: 1440px;
max-height: 1440px;
}
#coverLabel[qApp_deviceIsDaylight="true"] {
min-width: 1404px;
max-width: 1404px;
min-height: 1872px;
max-height: 1872px;
}
#verticalWidget {
background: transparent;
}
#verticalWidget[qApp_deviceIsTrilogy="true"] {
qproperty-topMargin: 000px;
}
#verticalWidget[qApp_deviceIsPhoenix="true"] {
qproperty-topMargin: 000px;
}
#verticalWidget[qApp_deviceIsDragon="true"] {
qproperty-topMargin: 0000px;
}
#verticalWidget[qApp_deviceIsDaylight="true"] {
qproperty-topMargin: 0000px;
}
#infoWidget {
background-color: #ffffff;
}
#infoWidget[qApp_deviceIsTrilogy="true"] {
min-width: 200px;
min-height: 100px;
max-height: 100px;
}
#infoWidget[qApp_deviceIsPhoenix="true"] {
min-width: 260px;
min-height: 120px;
max-height: 120px;
}
#infoWidget[qApp_deviceIsDragon="true"] {
min-width: 350px;
min-height: 150px;
max-height: 150px;
}
#infoWidget[qApp_deviceIsDaylight="true"] {
min-width: 450px;
min-height: 200px;
max-height: 220px;
}
#infoWidget[powerOffView="true"] {
background-color: #000000;
}
#infoWidget[smallInfoPanel="true"][qApp_deviceIsTrilogy="true"] {
min-height: 95px;
max-height: 95px;
}
#infoWidget[smallInfoPanel="true"][qApp_deviceIsPhoenix="true"] {
min-height: 120px;
max-height: 120px;
}
#infoWidget[smallInfoPanel="true"][qApp_deviceIsDragon="true"] {
min-height: 130px;
max-height: 130px;
}
#infoWidget[smallInfoPanel="true"][qApp_deviceIsDaylight="true"] {
min-height: 169px;
max-height: 169px;
}
#infoFrame {
background-color: transparent;
border-top: 1px solid black;
border-bottom: 1px solid black;
border-right: 1px solid black;
}
#infoFrame[qApp_deviceIsTrilogy="true"] {
qproperty-leftMargin: 02;
qproperty-topMargin: 02;
qproperty-bottomMargin: 02;
}
#infoFrame[qApp_deviceIsPhoenix="true"] {
qproperty-leftMargin: 02;
qproperty-topMargin: 02;
qproperty-bottomMargin: 02;
}
#infoFrame[qApp_deviceIsDragon="true"] {
qproperty-leftMargin: 02;
qproperty-topMargin: 02;
qproperty-bottomMargin: 02;
}
#infoFrame[qApp_deviceIsDaylight="true"] {
qproperty-leftMargin: 02;
qproperty-topMargin: 02;
qproperty-bottomMargin: 02;
}
#infoFrame[powerOffView="true"] {
border-top: 1px solid white;
border-bottom: 1px solid white;
border-right: 1px solid white;
}
#infoFrame > * {
background-color: transparent;
color: #000000;
}
#infoFrame > *[powerOffView="true"] {
color: #ffffff;
}
#batteryStatus {
font-family: Georgia;
}
#batteryStatus[qApp_localeName="ja_JP"] {
font-family: Sans-SerifJP, sans-serif;
font-style: normal;
}
#batteryStatus[qApp_deviceIsTrilogy="true"] {
font-size: 17px;
}
#batteryStatus[qApp_deviceIsPhoenix="true"] {
font-size: 22px;
}
#batteryStatus[qApp_deviceIsDragon="true"] {
font-size: 26px;
}
#batteryStatus[qApp_deviceIsAlyssum="true"] {
font-size: 30px;
}
#batteryStatus[qApp_deviceIsDaylight="true"] {
font-size: 34px;
}
#modeLabel {
qproperty-alignment: AlignCenter;
}
Dictionary frame size
(there is no need fore the file nickel.patch)
Spoiler
:
/* found: 83 (zlib) pos: 4be516 */
InlineDictionaryView {
min-width: 540px;
max-width: 540px;
min-height: 300px;
max-height: 300px;
}
InlineDictionaryView[qApp_deviceIsPhoenix="true"] {
min-width: 680px;
max-width: 680px;
min-height: 360px;
max-height: 360px;
}
InlineDictionaryView[qApp_deviceIsDragon="true"] {
min-width: 998px;
max-width: 998px;
min-height: 500px;
max-height: 500px;
}
InlineDictionaryView[qApp_deviceIsDaylight="true"] {
min-width: 1350px;
max-width: 1350px;
min-height: 800px;
max-height: 800px;
}
#dictionary {
margin-top: 10px;
}
#dictionary[qApp_deviceIsDragon="true"] {
margin: 10px;
}
#dictionary[qApp_deviceIsDaylight="true"] {
margin: 20px;
}
#dictionary[qApp_deviceIsPhoenix="true"] {
margin: 10px;
}
#textEdit {
min-height: 150px;
max-height: 150px;
min-width: 520px;
max-width: 520px;
}
#textEdit[qApp_deviceIsPhoenix="true"] {
min-height: 320px;
max-height: 320px;
min-width: 660px;
max-width: 660px;
}
#textEdit[qApp_deviceIsDragon="true"] {
min-height: 430px;
max-height: 430px;
min-width: 978px;
max-width: 978px;
}
#textEdit[qApp_deviceIsDaylight="true"] {
min-height: 580px;
max-height: 580px;
min-width: 1300px;
max-width: 1300px;
}
#settings {
background-color: #d9d9d9;
font-family: Georgia;
}
#settings[qApp_localeName="ja_JP"] {
font-family: Sans-SerifJP, sans-serif;
font-style: normal;
}
#settings[qApp_deviceIsTrilogy="true"] {
font-size: 19px;
}
#settings[qApp_deviceIsPhoenix="true"] {
font-size: 23px;
}
#settings[qApp_deviceIsDragon="true"] {
font-size: 29px;
}
#settings[qApp_deviceIsAlyssum="true"] {
font-size: 32px;
}
#settings[qApp_deviceIsDaylight="true"] {
font-size: 37px;
}
#settings[qApp_deviceIsTrilogy="true"] {
padding-left: 12px;
padding-right: 12px;
}
#settings[qApp_deviceIsPhoenix="true"] {
padding-left: 16px;
padding-right: 16px;
}
#settings[qApp_deviceIsDragon="true"] {
padding-left: 22px;
padding-right: 22px;
}
#settings[qApp_deviceIsDaylight="true"] {
padding-left: 28px;
padding-right: 28px;
}
#bottomSpacer {
qproperty-visible: false;
}
#bottomSpacer[qApp_deviceIsTrilogy="true"] {
qproperty-visible: true;
min-height: 30px;
max-height: 30px;
}
#message {
padding-top: 10px;
}
#message[qApp_deviceIsPhoenix="true"] {
margin-left: 35px;
margin-right: 35px;
}
#message[qApp_deviceIsDragon="true"] {
margin-left: 50px;
margin-right: 50px;
}
#message[qApp_deviceIsDaylight="true"] {
margin-left: 65px;
margin-right: 65px;
}
#footer[qApp_deviceIsPhoenix="true"] {
qproperty-leftMargin: 20;
qproperty-rightMargin: 20;
qproperty-bottomMargin: 00;
}
#footer[qApp_deviceIsDragon="true"] {
qproperty-leftMargin: 25;
qproperty-rightMargin: 25;
qproperty-bottomMargin: 00;
}
#footer[qApp_deviceIsDaylight="true"] {
qproperty-leftMargin: 32;
qproperty-rightMargin: 32;
qproperty-bottomMargin: 00;
}
#language[qApp_deviceIsTrilogy="true"] {
font-size: 19px;
}
#language[qApp_deviceIsPhoenix="true"] {
font-size: 23px;
}
#language[qApp_deviceIsDragon="true"] {
font-size: 29px;
}
#language[qApp_deviceIsAlyssum="true"] {
font-size: 32px;
}
#language[qApp_deviceIsDaylight="true"] {
font-size: 37px;
}
#language[qApp_deviceIsTrilogy="true"] {
max-height: 50px;
}
#language[qApp_deviceIsPhoenix="true"] {
max-height: 62px;
}
#language[qApp_deviceIsDragon="true"] {
max-height: 80px;
}
Increase The Books Cover Size In The Library
Spoiler
:
/* found: 72 (zlib) pos: 4bd049 */
* {
background: white;
}
DragonListWidget[qApp_deviceIsTrilogy="true"] {
min-height: 115px;
max-height: 115px;
min-width: 536px;
max-width: 536px;
qproperty-spacing: 12;
qproperty-leftMargin: 00;
}
DragonListWidget[qApp_deviceIsPhoenix="true"] {
min-height: 147px;
max-height: 147px;
min-width: 693px;
max-width: 693px;
qproperty-spacing: 15;
qproperty-leftMargin: 00;
}
DragonListWidget[qApp_deviceIsDragon="true"] {
min-height: 175px;
max-height: 175px;
min-width: 980px;
max-width: 980px;
qproperty-spacing: 20;
qproperty-leftMargin: 00;
}
DragonListWidget[qApp_deviceIsAlyssum="true"] {
min-height: 205px;
max-height: 205px;
}
DragonListWidget[qApp_deviceIsDaylight="true"] {
min-height: 227px;
max-height: 227px;
min-width: 1274px;
max-width: 1274px;
qproperty-spacing: 26;
qproperty-leftMargin: 00;
}
#author {
qproperty-maxNumLines: 1;
}
#author[qApp_localeName="ja_JP"] {
font-size: 20px;
qproperty-forceLeading: 5;
}
#favourited[qApp_deviceIsTrilogy="true"] {
min-width: 14px;
max-width: 14px;
min-height: 14px;
max-height: 14px;
}
#favourited[qApp_deviceIsPhoenix="true"] {
min-width: 16px;
max-width: 16px;
min-height: 15px;
max-height: 15px;
}
#favourited[qApp_deviceIsDragon="true"] {
min-width: 21px;
max-width: 21px;
min-height: 20px;
max-height: 20px;
}
#favourited[qApp_deviceIsDaylight="true"] {
min-width: 27px;
max-width: 27px;
min-height: 26px;
max-height: 26px;
}
#series {
qproperty-maxNumLines: 1;
}
#coverPixmapView[qApp_deviceIsTrilogy="true"] {
min-width: 85px;
max-width: 85px;
min-height: 112px;
max-height: 112px;
}
#coverPixmapView[qApp_deviceIsPhoenix="true"] {
min-width:104px;
max-width:104px;
min-height: 140px;
max-height: 140px;
}
#coverPixmapView[qApp_deviceIsDragon="true"] {
min-width:130px;
max-width:130px;
min-height: 163px;
max-height: 163px;
}
#coverPixmapView[qApp_deviceIsAlyssum="true"] {
min-width: 145px;
max-width: 145px;
min-height: 205px;
max-height: 205px;
}
#coverPixmapView[qApp_deviceIsDaylight="true"] {
min-width: 160px;
max-width: 160px;
min-height: 230px;
max-height: 230px;
}
#coverPixmapView[isPocket="true"][qApp_deviceIsPhoenix="true"],
#coverPixmapView[isStack="true"][qApp_deviceIsPhoenix="true"] {
min-width: 80px;
max-width: 80px;
min-height: 110px;
max-height: 110px;
}
#coverPixmapView[isPocket="true"][qApp_deviceIsDragon="true"],
#coverPixmapView[isStack="true"][qApp_deviceIsDragon="true"] {
min-width: 100px;
max-width: 100px;
min-height: 140px;
max-height: 140px;
}
#coverPixmapView[isPocket="true"][qApp_deviceIsAlyssum="true"],
#coverPixmapView[isStack="true"][qApp_deviceIsAlyssum="true"] {
min-width: 115px;
max-width: 115px;
min-height: 160px;
max-height: 160px;
}
#coverPixmapView[isPocket="true"][qApp_deviceIsDaylight="true"],
#coverPixmapView[isStack="true"][qApp_deviceIsDaylight="true"] {
min-width: 130px;
max-width: 130px;
min-height: 182px;
max-height: 182px;
}
#downloadContainer[qApp_deviceIsPhoenix="true"] {
qproperty-leftMargin: 15;
qproperty-rightMargin: 15;
}
#downloadContainer[qApp_deviceIsDragon="true"] {
qproperty-leftMargin: 20;
qproperty-rightMargin: 20;
}
#downloadContainer[qApp_deviceIsDaylight="true"] {
qproperty-leftMargin: 26;
qproperty-rightMargin: 26;
}
#readStatus {
padding: 0px;
}
#previewBadge[qApp_deviceIsTrilogy="true"] {
padding-left: 12px;
padding-right: 12px;
}
#previewBadge[qApp_deviceIsPhoenix="true"] {
padding-left: 15px;
padding-right: 15px;
}
#previewBadge[qApp_deviceIsDragon="true"] {
padding-left: 20px;
padding-right: 20px;
}
#previewBadge[qApp_deviceIsDaylight="true"] {
padding-left: 26px;
padding-right: 26px;
}
#borrowStatus[qApp_deviceIsTrilogy="true"] {
padding-left: 12px;
padding-right: 12px;
}
#borrowStatus[qApp_deviceIsPhoenix="true"] {
padding-left: 15px;
padding-right: 15px;
}
#borrowStatus[qApp_deviceIsDragon="true"] {
padding-left: 20px;
padding-right: 20px;
}
#borrowStatus[qApp_deviceIsDaylight="true"] {
padding-left: 26px;
padding-right: 26px;
}
QProgressBar {
border: 0px;
background-color: #BABABA;
margin-top: 3px;
margin-bottom: 3px;
}
QProgressBar[qApp_deviceIsTrilogy="true"] {
margin-left: 12px;
margin-right: 12px;
}
QProgressBar[qApp_deviceIsPhoenix="true"] {
margin-left: 15px;
margin-right: 15px;
}
QProgressBar[qApp_deviceIsDragon="true"] {
margin-left: 20px;
margin-right: 20px;
}
QProgressBar[qApp_deviceIsDaylight="true"] {
margin-left: 26px;
margin-right: 26px;
}
QProgressBar::chunk {
background-color: #000000;
}
#syncWarning {
text-transform: uppercase;
}
Increasing The View Details Container
Spoiler
:
/* found: 84 (zlib) pos: 4be7de */
#topContainer[qApp_deviceIsTrilogy="true"] {
qproperty-topMargin: 0;
qproperty-leftMargin: 20;
qproperty-rightMargin: 20;
qproperty-bottomMargin: 10;
}
#topContainer[qApp_deviceIsPhoenix="true"] {
qproperty-topMargin: 0;
qproperty-leftMargin: 30;
qproperty-rightMargin: 30;
qproperty-bottomMargin: 15;
}
#topContainer[qApp_deviceIsDragon="true"] {
qproperty-topMargin: 0;
qproperty-leftMargin: 40;
qproperty-rightMargin: 40;
qproperty-bottomMargin: 20;
}
#topContainer[qApp_deviceIsDaylight="true"] {
qproperty-topMargin: 0;
qproperty-leftMargin: 52;
qproperty-rightMargin: 52;
qproperty-bottomMargin: 26;
}
#bookInfoWidget[qApp_deviceIsTrilogy="true"] {
min-height: 200px;
max-height: 200px;
}
#bookInfoWidget[qApp_deviceIsPhoenix="true"] {
min-height: 230px;
max-height: 230px;
}
#bookInfoWidget[qApp_deviceIsDragon="true"] {
min-height: 400px;
max-height: 400px;
}
#bookInfoWidget[qApp_deviceIsDaylight="true"] {
min-height: 600px;
max-height: 600px;
}
#detailsContainer[qApp_deviceIsTrilogy="true"] {
qproperty-topMargin: 10;
qproperty-leftMargin: 15;
qproperty-rightMargin: 15;
}
#detailsContainer[qApp_deviceIsPhoenix="true"] {
qproperty-topMargin: 12;
qproperty-leftMargin: 20;
qproperty-rightMargin: 20;
}
#detailsContainer[qApp_deviceIsDragon="true"] {
qproperty-topMargin: 15;
qproperty-leftMargin: 30;
qproperty-rightMargin: 30;
}
#detailsContainer[qApp_deviceIsDaylight="true"] {
qproperty-topMargin: 20;
qproperty-leftMargin: 39;
qproperty-rightMargin: 39;
}
#details[qApp_deviceIsTrilogy="true"] {
min-height: 390px;
max-height: 390px;
}
#details[qApp_deviceIsPhoenix="true"] {
min-height: 515px;
max-height: 515px;
}
#details[qApp_deviceIsDragon="true"] {
min-height: 710px;
max-height: 710px;
}
#details[qApp_deviceIsDaylight="true"] {
min-height: 880px;
max-height: 880px;
}
#similarContainer[qApp_deviceIsTrilogy="true"] {
qproperty-topMargin: 10;
qproperty-spacing: 5;
}
#similarContainer[qApp_deviceIsPhoenix="true"] {
qproperty-topMargin: 10;
qproperty-spacing: 5;
}
#similarContainer[qApp_deviceIsDragon="true"] {
qproperty-topMargin: 15;
qproperty-spacing: 10;
}
#similarContainer[qApp_deviceIsDaylight="true"] {
qproperty-topMargin: 20;
qproperty-spacing: 13;
}
#alsoRead[qApp_deviceIsTrilogy="true"] {
padding-top: 12px;
padding-left: 12px;
padding-right: 12px;
}
#alsoRead[qApp_deviceIsPhoenix="true"] {
padding-top: 15px;
padding-left: 15px;
padding-right: 15px;
}
#alsoRead[qApp_deviceIsDragon="true"] {
padding-top: 20px;
padding-left: 20px;
padding-right: 20px;
}
#alsoRead[qApp_deviceIsDaylight="true"] {
padding-top: 26px;
padding-left: 26px;
padding-right: 26px;
}
#loading {
padding-top: 4px;
}
#similarBooksWidget[qApp_deviceIsTrilogy="true"] {
qproperty-bookWidth: 120;
qproperty-bookHeight: 190;
qproperty-itemSpacing: 5;
min-height: 230px;
max-height: 230px;
}
#similarBooksWidget[qApp_deviceIsDragon="true"] {
qproperty-bookWidth: 215;
qproperty-bookHeight: 340;
qproperty-itemSpacing: 15;
min-height: 460px;
max-height: 460px;
}
#similarBooksWidget[qApp_deviceIsDaylight="true"] {
qproperty-bookWidth: 280;
qproperty-bookHeight: 442;
qproperty-itemSpacing: 20;
min-height: 598px;
max-height: 598px;
}
#similarBooksWidget[qApp_deviceIsPhoenix="true"] {
qproperty-bookWidth: 150;
qproperty-bookHeight: 235;
qproperty-itemSpacing: 10;
min-height: 320px;
max-height: 320px;
}
#similarEmptyState,
#reviewsEmptyState {
qproperty-spacing: 20;
}
#similarEmptyState[qApp_deviceIsPhoenix="true"],
#reviewsEmptyState[qApp_deviceIsPhoenix="true"] {
qproperty-spacing: 30;
}
#similarEmptyState[qApp_deviceIsDragon="true"],
#reviewsEmptyState[qApp_deviceIsDragon="true"] {
qproperty-spacing: 40;
}
#similarEmptyState[qApp_deviceIsDaylight="true"],
#reviewsEmptyState[qApp_deviceIsDaylight="true"] {
qproperty-spacing: 52;
}
#writeReview {
background-color: #d9d9d9;
}
#sliderContainer[qApp_deviceIsPhoenix="true"] {
min-height: 56px;
max-height: 56px;
}
#sliderContainer[qApp_deviceIsDragon="true"] {
min-height: 70px;
max-height: 70px;
}
#sliderContainer[qApp_deviceIsDaylight="true"] {
min-height: 91px;
max-height: 91px;
}
* I only have kobo glo so i don't know how the it works on other devices specialy on Aura One.
* I didn't try those pathces because i didn't upgrade to FW 4.0.7523.
Thank you, I've used the patches for covers in library and book details and they work perfectly in Kobo Aura One.
Terisa de morgan
View Public Profile
Find More Posts by Terisa de morgan
Track Posts by Terisa de morgan via RSS