01-03-2013, 04:56 AM | #1 |
Connoisseur
Posts: 56
Karma: 5502
Join Date: Oct 2012
Device: none
|
Kindle 4NT tabbed browsing fix attempt
Hi everyone. Somewhere on the forums I've read reports that people successfully used K3 fixes to make links open in same tab on K4. These were either
/usr/lib/libwebkit-1.0.so.2.5.0 or /usr/share/browser/readability modifications. But I can not repeat these for some reason. I ssh to the device ok, but there just isn't a libwebkit-1.0.so.2.5.0 or any other similar file and no /usr/share/browser/ either. Any ideas what can I be doing wrong? I don't really know much about linux commands |
01-03-2013, 06:08 AM | #2 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
What you are doing is getting the cart about one light-year in front of the horse. The first fact about Linux commands (any *nix in fact) is that complete installations have a man(ual) command. Note: the above includes Mac OSx. Embedded Linux (which the Kindles run) is not a complete installation (no manuals, among other things). So first, get yourself a complete installation - both for the manuals and for a practice place (practicing as 'root' on an embedded system is a short trip to hell). The best way would be to get a Linux LiveCD - which runs in memory without the need for installation. My recommendation for Noobs : http://www.knopper.net/knoppix/index-en.html Very easy setup - can have "persistent storage" in the form of off-cd media (flash stick, whatever) - other people here have it to answer questions about - etc. In addition, web search engines recognize the: man command. So you can practice right now, with: man find Which will include this link: http://linux.die.net/man/1/find Read it. Hope you like to read - There is no way we at this forum can teach you the hundreds, perhaps thousands of *nix commands that you may need. |
|
Advert | |
|
01-03-2013, 06:31 AM | #3 |
Connoisseur
Posts: 56
Karma: 5502
Join Date: Oct 2012
Device: none
|
Well I'm pretty sure I got the commands necessary to find a specific file and folder right, it isn't there. What I'm trying to find out is if the aforementioned reports are true and if there's some obvious mistake I might be making.
|
01-03-2013, 06:35 AM | #4 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
You have to report what you are doing (in this case, key-stroke by key-stroke) before it is possible to answer that question. |
|
01-03-2013, 07:37 AM | #5 | |
Connoisseur
Posts: 56
Karma: 5502
Join Date: Oct 2012
Device: none
|
Quote:
Then I go to root directory ("cd / " if I recall correctly). From there I navigate to /usr/lib/, and it's there and is full of lib files, only no libwebkit* is there. And /usr/share/browser/ doesn't even exist. So I figure they might be elswhere, and do a "ls -alR", and it shows what I think is the complete list of device's files and folders tree, I search the log for filenames I'm looking for and parts of names and what not, nothing found. This is about it. |
|
Advert | |
|
01-03-2013, 09:03 AM | #6 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Which device?
K3 or K4 Your profile says? "none" But at a first guess, I would say they are not there. |
01-03-2013, 09:22 AM | #7 |
Connoisseur
Posts: 56
Karma: 5502
Join Date: Oct 2012
Device: none
|
K4NT.
Well, maybe not, but https://www.mobileread.com/forums/sho....php?p=2238081 I PM'd the guy, but he doesn't reply. |
01-03-2013, 09:36 AM | #8 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Ask what firmware versions that worked with. There has been (at least) both a 4.0 and a 4.1 for the K4 And there have been several for the K3. The differences that you note might be version differences from yours vs the ones in that post. I don't have a K4 to go looking for the files on - But from what you posted above, I would have expected you to have found it. |
|
01-03-2013, 09:43 AM | #9 |
Connoisseur
Posts: 56
Karma: 5502
Join Date: Oct 2012
Device: none
|
All my thoughts exactly. The guy's been online already since I PM'd him, so I don't think I'm getting a reply.
|
01-03-2013, 10:48 AM | #10 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
The messages pop-up does not always work for everyone.
Give him some time to notice that he has messages. |
01-04-2013, 06:23 AM | #11 | ||
( ͡° ͜ʖ ͡°){ʇ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
|
Hmm IIRC I kinda was in on that... Let me start by saying I DON'T HAVE A 4.
okay now we have that out of the way. Cant find file? find / -iname '*'"libwebkit-1.0.so.2.5.0"'*' (if it complains about no -iname flag just drop it) or if you are struggling... [root@kindle root]# find / -iname '*'"libwebkit"'*' for example... (on a touch) Quote:
[root@kindle root]# find / -iname '*'"libwebkit"'*' Quote:
then splatter it back on. Always make backups. Expect things to break the first few times. Re The OP's file: H.Dave seems a nice enough chap, no doubt it missed his radar. perhaps another polite request may not go amiss.... or just hack up your own. And once you are done perhaps being ready to share the work would alleviate posts like this in the future. Good luck. |
||
01-04-2013, 07:22 AM | #12 |
Connoisseur
Posts: 56
Karma: 5502
Join Date: Oct 2012
Device: none
|
I tend to solve problems as they appear, so let's put the hex editing away for now. No luck with 'find' either.
If I'm not mistaken there are several partitions on a kindle. Maybe the file's on another one? I have no Idea how to access them. Something with 'mount' command? |
01-04-2013, 07:26 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
|
find / "blah"
means search from the root of the Main Kindle System drive (that is the / bit...) did you try a sanity test... EG FIND something you know to be there.... because I find it very hard to believe that find / '*'"libwebkit"'*' has no results... Last edited by twobob; 01-04-2013 at 07:29 AM. |
01-04-2013, 07:26 AM | #14 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Thought I had explained all of that, but forgot to mention wildcard characters. Also forgot to mention that Busybox find does not have the "ignore case" name option. Phooey! PHP Code:
|
|
01-04-2013, 08:06 AM | #15 |
Connoisseur
Posts: 56
Karma: 5502
Join Date: Oct 2012
Device: none
|
Tested again, finds nothing.
Tried find /usr -name 'lib*', it finds various lib files. So I think we're now positive the file's not there or isn't immediately accessible. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle 4NT | joe_bryan86 | Amazon Kindle | 0 | 12-04-2012 08:15 AM |
Kindle 4NT Will Not Boot | evergamer | Kindle Developer's Corner | 53 | 08-05-2012 10:53 AM |
Kindle 4NT wish list | EightWeight | Kindle Developer's Corner | 2 | 02-05-2012 08:33 AM |
tabbed browsing | rbrohman | Kindle Developer's Corner | 6 | 02-19-2011 06:10 PM |
Grassroots works! MS IE to do "tabbed browsing" | Alexander Turcic | Lounge | 1 | 06-10-2005 11:12 AM |