View Single Post
Old 05-30-2013, 05:51 PM   #15
a3nm
Member
a3nm doesn't littera3nm doesn't littera3nm doesn't litter
 
Posts: 11
Karma: 204
Join Date: May 2013
Device: Kobo Glo
Lucas Malor: Tweaks is calling
Code:
WirelessWorkflowManager::openBrowser(QUrl())
defined in the shared library libnickel.so (where QUrl() is a function from QT). Using gdb taught me that the this invokes the function with mangled name _ZN18ExtrasPluginLoader11loadBrowserEv. From this, tracing through the assembly reveals that this invokes the function _ZN23WirelessWorkflowManager15connectWirelessEb, whether a connection exists or not. From a bit of stepping, it doesn't seem like there is a clear straightforward condition that is being checked and that could be disabled by editing the binary -- though I'm not an expert in this and probably am not using the right tools to locate the relevant test. (Relevant SO question I just asked: http://stackoverflow.com/q/16845187/414272)

There has to be some way to get this to work, though... it's so annoying to have this offline Wikipedia working except for this stupid check in nickel that prevents you from running the browser offline...

Last edited by a3nm; 05-30-2013 at 05:54 PM.
a3nm is offline   Reply With Quote