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 12-13-2017, 11:40 AM   #1
jamalau
Connoisseur
jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.
 
Posts: 78
Karma: 25542
Join Date: Nov 2013
Location: NRW Germany
Device: Kobo Forma
New FW, released 4.7.10413

Hello, a new FW was released, i cannot wait for the new Patcher😀
jamalau is offline   Reply With Quote
Old 12-14-2017, 08:27 AM   #2
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by jamalau View Post
Hello, a new FW was released, i cannot wait for the new Patcher😀
Be patient.

Or try updating the patches from the previous version yourself. All you need is a text editor, grep, a hex editor, strings, and objdump, and a bit of patience. If you want to do this, a hint is to replace all:
- strings -el with strings -es
- \0 with nothing
Then, the rest is pretty straightforward if you have done this kind of thing before.

But I wouldn't recommend trying to update the libadobe patches, those are harder to do correctly.
geek1011 is offline   Reply With Quote
Advert
Old 12-14-2017, 08:39 AM   #3
jamalau
Connoisseur
jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.
 
Posts: 78
Karma: 25542
Join Date: Nov 2013
Location: NRW Germany
Device: Kobo Forma
Oh sorry, i think it´s better, for my kobo and me, if i´m waiting !

Last edited by jamalau; 12-14-2017 at 11:30 AM.
jamalau is offline   Reply With Quote
Old 12-14-2017, 08:47 AM   #4
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,627
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 geek1011 View Post
- strings -el with strings -es
Where do you use it? The rest, I've already done it, and updated translations.
Terisa de morgan is offline   Reply With Quote
Old 12-14-2017, 08:59 AM   #5
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by Terisa de morgan View Post
Where do you use it? The rest, I've already done it, and updated translations.
It's in the comments for the full screen reading fix. It is used to find the string offset for the CSS. The string is not padded with \0 anymore too.
geek1011 is offline   Reply With Quote
Advert
Old 12-14-2017, 09:00 AM   #6
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,627
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 geek1011 View Post
It's in the comments for the full screen reading fix. It is used to find the string offset for the CSS. The string is not padded with \0 anymore too.
Ok, I haven't seen it because I don't use it. Thank you very much.
Terisa de morgan is offline   Reply With Quote
Old 12-14-2017, 09:03 AM   #7
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: 79,745
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Nothing to see here. Move along. This thread is in the wrong forum and there is already a thread there.

https://www.mobileread.com/forums/sh...d.php?t=292981
JSWolf is offline   Reply With Quote
Old 12-14-2017, 11:11 AM   #8
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,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by geek1011 View Post
Then, the rest is pretty straightforward if you have done this kind of thing before.
If you only use Windows and you haven't done it before, is it still do-able, do you think?
jackie_w is offline   Reply With Quote
Old 12-14-2017, 12:35 PM   #9
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by jackie_w View Post
If you only use Windows and you haven't done it before, is it still do-able, do you think?
Well, you would need the GNU binutils built for windows, which you can get through MinGW. You would also need tar and unzip, but you can use 7-zip for that. And for the hex editor, xxd is pretty comparable to wxHexEditor.

As for the do-able part, it depends on how much experience you have with software development, and how fast you can learn things. Just play around a bit, but be warned that an incorrect patch can brick your Kobo and need a SD card reimage. The strings are pretty safe to change, it is mainly function arguments which are easy to corrupt. You may want to use a Linux VM so you do not need to use Windows tools, and also practice modding other executables first to get an idea.

For learning, there was a thread about 2 months ago about how to make mods. That thread is pretty useful starting point. This is the kind of thing which you learn by doing.
geek1011 is offline   Reply With Quote
Old 12-14-2017, 02:38 PM   #10
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,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by geek1011 View Post
Well, you would need the GNU binutils built for windows, which you can get through MinGW. You would also need tar and unzip, but you can use 7-zip for that. And for the hex editor, xxd is pretty comparable to wxHexEditor.

As for the do-able part, it depends on how much experience you have with software development, and how fast you can learn things. Just play around a bit, but be warned that an incorrect patch can brick your Kobo and need a SD card reimage. The strings are pretty safe to change, it is mainly function arguments which are easy to corrupt. You may want to use a Linux VM so you do not need to use Windows tools, and also practice modding other executables first to get an idea.

For learning, there was a thread about 2 months ago about how to make mods. That thread is pretty useful starting point. This is the kind of thing which you learn by doing.
Yes, I remember looking at that thread and trying to make sense of objdump, but had to accept defeat and my own limitations.

I've been able to create and share a few css-type Kobo patches in nickel and libnickel.so.1.0.0 but I think that's going to have to remain my limit. Thanks for the reply, anyway.
jackie_w is offline   Reply With Quote
Old 12-14-2017, 04:50 PM   #11
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by jackie_w View Post
Yes, I remember looking at that thread and trying to make sense of objdump, but had to accept defeat and my own limitations.

I've been able to create and share a few css-type Kobo patches in nickel and libnickel.so.1.0.0 but I think that's going to have to remain my limit. Thanks for the reply, anyway.
Don't give up yet! Even I don't completely understand objdump. No sane person would be able to read it like a book. It's just about finding useful strings and functions and searching for the position in the output of objdump.
geek1011 is offline   Reply With Quote
Old 12-14-2017, 08:05 PM   #12
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,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by geek1011 View Post
It's just about finding useful strings and functions and searching for the position in the output of objdump.
But that's the point - I couldn't get it to output anything. I'm sure this must have been a very basic misunderstanding on my part, but that old post didn't claim to be 'objdump for Dummies' - which is probably what I needed to get started
jackie_w is offline   Reply With Quote
Old 12-14-2017, 08:07 PM   #13
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by jackie_w View Post
But that's the point - I couldn't get it to output anything. I'm sure this must have been a very basic misunderstanding on my part, but that old post didn't claim to be 'objdump for Dummies' - which is probably what I needed to get started
Did you extract libnickel?
geek1011 is offline   Reply With Quote
Old 12-14-2017, 08:25 PM   #14
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,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by geek1011 View Post
Did you extract libnickel?
Because I didn't have any success I didn't make notes of what I tried but I'm fairly sure the file I was trying to look at was libnickel.so.1.0.0.

I wanted to see whether I could understand how GeoffR had created patches such as `Freedom to advanced fonts control`, i.e. the patches which aren't some variation on a CSS tweak.
jackie_w is offline   Reply With Quote
Old 12-14-2017, 08:33 PM   #15
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by jackie_w View Post
Because I didn't have any success I didn't make notes of what I tried but I'm fairly sure the file I was trying to look at was libnickel.so.1.0.0.

I wanted to see whether I could understand how GeoffR had created patches such as `Freedom to advanced fonts control`, i.e. the patches which aren't some variation on a CSS tweak.
For the first time those patches are made, a proper disassembler like RetDec or HopperApp are a lot more useful, as they show the program's flow.
geek1011 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firmware 4.7.10413 oren64 Kobo Reader 157 04-25-2018 09:01 AM
0.5.2 Released user_none Sigil 42 02-23-2012 03:24 PM
0.5.1 Released user_none Sigil 39 02-10-2012 10:26 AM
0.5.0 Released user_none Sigil 112 02-05-2012 12:28 PM
KINDLE DEAL: Released: A Story of God’s Power Released in Pro Baseball ($ gospelebooks Deals and Resources (No Self-Promotion or Affiliate Links) 0 07-14-2011 09:12 PM


All times are GMT -4. The time now is 08:01 PM.


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