08-29-2012, 12:45 PM | #1 |
Member Retired
Posts: 38
Karma: 134108
Join Date: Aug 2012
Device: kindle touch
|
libkb.so a library worth hacking
libkb.so on the kindle is very probably an on screen keyboard
it calls a number of gtk functions which indicates it could well indeed be a keyboard I've linked to it and attempted to call some of the functions kb_globals_init might work but I don't know if it returns anything or even expects a function.... kb_main causes a seg fault which is no surprise ! any clues I've gained are via arm-linux-gnueabi-nm -D -n libkb.so anyone got any ideas on this library? |
08-29-2012, 01:02 PM | #2 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
objdump -d
Your host system objdump may be able to do that, otherwise use the one in the cross-compile install. I often have a binutils built with the config option target=all so am not sure what may be installed on your system. |
Advert | |
|
08-29-2012, 05:11 PM | #3 |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
I'm kindly asking you to dump your future findings (if any) not only in this thread, but also in wiki: Kindle_Touch_Hacking#On-screen_keyboard
|
08-29-2012, 05:27 PM | #4 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
I'm sure this is a stupid suggestion but...
Do you have any experience with Qt. Might not be a terrible option if it's in your skills price range. A lot of underlying support for it's bits and bats in the kindle already. I have a k5 in the pipeline and shunting a microkernel into memory running parallel with extra enabled kernel level features may also be an option in the medium term. Whilst this isn't about your OSK lib - it is about alternate sources of low hanging fruit. Throw rocks now, I'm done. |
08-29-2012, 05:32 PM | #5 |
Member Retired
Posts: 38
Karma: 134108
Join Date: Aug 2012
Device: kindle touch
|
ya not gonna love me for this, but I much prefer gtk ! ....
|
Advert | |
|
08-29-2012, 06:50 PM | #6 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
no - that's fine. if gtk is your bent, sobeit.
|
08-29-2012, 10:58 PM | #7 |
Member Retired
Posts: 38
Karma: 134108
Join Date: Aug 2012
Device: kindle touch
|
turns out libkbd isn't really needed there's any easier way
https://www.mobileread.com/forums/sho...8&postcount=28 here's it running in a homebrew gtk app.... http://www.youtube.com/watch?v=LMr1VAmgThY gt-key lol! I'll write a mini tutorial once I get some time to code something a little less sucky |
08-29-2012, 11:07 PM | #8 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
Last edited by geekmaster; 08-29-2012 at 11:37 PM. |
|
08-29-2012, 11:10 PM | #9 |
Member Retired
Posts: 38
Karma: 134108
Join Date: Aug 2012
Device: kindle touch
|
just goes to show, its *is* worth digging through the wiki!! :-o
|
08-30-2012, 04:00 AM | #10 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
08-30-2012, 08:04 AM | #11 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
|
|
08-30-2012, 08:52 AM | #12 | ||
Member Retired
Posts: 38
Karma: 134108
Join Date: Aug 2012
Device: kindle touch
|
Quote:
I frequently make rough code doodles that suck for a variety of reasons, I consider describing something that is rough as something that sucks language that is fine even for pre-teens from whom I frequently hear using far worse. Please refrain from sending me private messages in future. @eureka - possibly! How did you figure out the lipc command for the keyboard, I'd love to find out if there's one for turning the pages in the reader... Sorry if you thought I might be suggesting your discovery was in anyway poor, I thought it obvious I was referring to my abuse of it... |
||
08-30-2012, 09:34 AM | #13 | ||
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Actually PM's are exactly the type of place for that stuff.
But there you go. Extrapolating from Quote:
Quote:
one could reasonably assume you are looking for an appended ie command;pageturn , quite possibly obfuscated away somewhere in there. PS. for the record it it far more polite to say "Dont PM me again" in a PM rather than for all and sundry to see... and the quote is -roughly- from the forum rules if I'm not mistaken (again) Hope that helps, possibly won't : ) |
||
08-30-2012, 03:06 PM | #14 | |
but forgot what it's like
Posts: 741
Karma: 2345678
Join Date: Dec 2011
Location: north (by northwest)
Device: Kindle Touch
|
Quote:
Precise lipc-set-prop command was found with: examining output of strings for relevant executables and libaries, examining of lipc-probe output, looking into logs after interaction with keyboard (showlog with LIPC property logLevel of relevant LIPC publisher set to debug9). Full list of sub-layouts and flag names were found in decompiled code of Java UI (i.e. framework code). |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-T2 Hacking the T2 | Nate the great | Sony Reader Dev Corner | 228 | 04-13-2015 08:55 AM |
Calibre library android app. Is it worth it? | clittle | Calibre | 12 | 01-02-2012 07:38 PM |
When you are locked out of your $1000 worth Amazon library. | Nexutix | General Discussions | 124 | 12-05-2011 06:04 AM |
Chicago Public Library Figured Out How to Prevent Hacking! (Misleading) | Sydney's Mom | Amazon Kindle | 8 | 06-13-2010 03:54 PM |