Quote:
Originally Posted by PaulFreund
# WebLaunch #
WebLaunch is an extension for the Kindle Touch ( and probably the Kindle PaperWhite too ) with JailBreak and the application launcher KUAL. It is designed to open a URL without the browser frame (the black status bar can be removed too) to make it look like a native application.
## Installation ##
* Make sure your Kindle Touch is already Jailbreaked
* Make sure you have KUAL installed and the "extensions" folder exists
* Copy the WebLaunch folder to the "extensions" folder ( don't rename it without changing bin/start.sh first )
* Copy the settings.example.js in the WebLaunch folder to settings.js and change its contents to fit your needs
## Background ##
WebLaunch is based on "mesquite" former WAF and utilizes the "Kindle" template library and a few system librarys based on it to bring as much native browser behaviour as possible.
## Notes ##
Special thanks go to the folks at mobileread.com for their great work opening up the Kindle.
## Link ##
https://github.com/PaulFreund/WebLaunch
|
Hi, I'm following all the steps, but when I launch the app from KUAL it says "The selected application could not be started. Please try again."
Could you help me out? I'm using a K5 B010 running fw 5.2.1.
this is the output of showlog -f when I launch WebLaunch
Code:
171114:231204 phd[1007]: E udp_tph:gethostbyname_error:host = pins.amazon.com, h_errno = 2:
171114:231204 phd[1007]: I udp_tph:restart_udp_tph_rcvr:ret = 5:
171114:231206 phd[1007]: E udp_tph:gethostbyname_error:host = pins.amazon.com, h_errno = 2:
171114:231206 phd[1007]: I udp_tph:restart_udp_tph_rcvr:ret = 5:
[!]171114:231212 root: CVM received X11 ButtonPress button=1 time=1510697532.393570
171114:231212 powerd[956]: I lipc:evts:name=t1TimerReset, origin=com.lab126.powerd:Event sent
[!]171114:231212 root: CVM received X11 ButtonRelease button=1 time=1510697532.549130
171114:231212 cvm[1328]: I defrint::CVM POINTER_CLICKED-gen btn=1 -> radius=4.0
171114:231212 cvm[1328]: I defrint::
171114:231213 phd[1007]: E udp_tph:gethostbyname_error:host = pins.amazon.com, h_errno = 2:
171114:231213 phd[1007]: I udp_tph:restart_udp_tph_rcvr:ret = 5:
171114:231215 phd[1007]: E udp_tph:gethostbyname_error:host = pins.amazon.com, h_errno = 2:
171114:231215 phd[1007]: I udp_tph:restart_udp_tph_rcvr:ret = 5:
171114:231217 phd[1007]: E udp_tph:gethostbyname_error:host = pins.amazon.com, h_errno = 2:
171114:231217 phd[1007]: I udp_tph:restart_udp_tph_rcvr:ret = 5:
171114:231219 phd[1007]: E udp_tph:gethostbyname_error:host = pins.amazon.com, h_errno = 2:
171114:231219 phd[1007]: I udp_tph:restart_udp_tph_rcvr:ret = 5:
[!]171114:231220 root: CVM received X11 ButtonPress button=1 time=1510697540.511665
[!]171114:231220 root: CVM received X11 ButtonRelease button=1 time=1510697540.717375
171114:231220 cvm[1328]: I defrint::CVM POINTER_CLICKED-gen btn=1 -> radius=2.23606797749979
171114:231220 cvm[1328]: I defrint::
171114:231221 phd[1007]: E udp_tph:gethostbyname_error:host = pins.amazon.com, h_errno = 2:
171114:231221 phd[1007]: I udp_tph:restart_udp_tph_rcvr:ret = 5:
171114:231224 phd[1007]: E udp_tph:gethostbyname_error:host = pins.amazon.com, h_errno = 2:
171114:231224 phd[1007]: I udp_tph:restart_udp_tph_rcvr:ret = 5:
[!]171114:231224 root: CVM received X11 ButtonPress button=1 time=1510697544.296673
171114:231224 cvm[1328]: I defrint::CVM POINTER_CLICKED-gen btn=1 -> radius=2.23606797749979
[!]171114:231224 root: CVM received X11 ButtonRelease button=1 time=1510697544.513569
171114:231224 cvm[1328]: I defrint::
171114:231224 appmgrd[958]: I appmgr_history:stoppingApp:app=com.lab126.booklet. kindlet:
171114:231224 appmgrd[958]: I appmgr_history:unloadWhenPaused:state=STARTED,desi redState=UNLOAD_WAITING:
171114:231224 appmgrd[958]: I appmgr_history:FOUND_APP:lipcId=com.lab126.booklet .home:
171114:231224 cvm[1328]: I BookletImplementation:Starting:name=com.lab126.boo klet.home:
171114:231224 appmgrd[958]: I appmgr_history:app_state_change:lipc_id=com.lab126 .booklet.home,state=GO_SENT:
171114:231224 appmgrd[958]: I lipc:evts:name=appStateChange, origin=com.lab126.appmgrd, fparam=com.lab126.booklet.home:Event sent
171114:231224 appmgrd[958]: I lipc:evts:name=appActivating, origin=com.lab126.appmgrd, fparam=0:Event sent
171114:231224 cvm[1328]: I HomeBooklet:HomeViewSwitch:view=BROWSE:
171114:231224 cvm[1328]: I KindleFrameFactory:RemovingAllDialogs:appId=com.la b126.booklet.home:
171114:231224 cvm[1328]: I KindleFrameFactory:JFrameNotCleanedUp:title=L_A_N_ application_ID_com.lab126.booklet.home_M_false_PC_ TS_RC_true_O_U:
171114:231225 appmgrd[958]: I appmgr_lipc:set_appmgr_go_resultropName=goresult ,buf=0:0:entry
171114:231225 appmgrd[958]: I appmgr_history:app_state_change:lipc_id=com.lab126 .booklet.home,state=STARTED:
171114:231225 appmgrd[958]: I lipc:evts:name=appStateChange, origin=com.lab126.appmgrd, fparam=com.lab126.booklet.home:Event sent
171114:231225 appmgrd[958]: I lipc:evts:name=appActivating, origin=com.lab126.appmgrd, fparam=1:Event sent
171114:231225 cvm[1328]: I BookletImplementation:Pausing:name=com.lab126.book let.kindlet:
171114:231225 appmgrd[958]: I appmgr_history:app_state_change:lipc_id=com.lab126 .booklet.kindlet,state=PAUSE_SENT:
171114:231225 appmgrd[958]: I lipc:evts:name=appStateChange, origin=com.lab126.appmgrd, fparam=com.lab126.booklet.kindlet:Event sent
171114:231225 appmgrd[958]: I appmgr_registry:app_found_for_uri:lipc_app_id=com. lab126.booklet.kindlet,executable=NONE:
171114:231225 appmgrd[958]: I appmgr_registry:app_found_for_uri:lipc_app_id=com. PaulFreund.WebLaunch,executable=/usr/bin/mesquite -l com.PaulFreund.WebLaunch -c /mnt/us/extensions/WebLaunch/bin/:
171114:231225 appmgrd[958]: I appmgr_history:NEW_APP:lipcId=com.PaulFreund.WebLa unch:
171114:231225 appmgrd[4745]: C appmgr_proc:execve_fail:cmd=/usr/bin/mesquite,errno=2:
171114:231225 appmgrd[958]: I appmgr:SIGCHLD_signal_handler::
171114:231225 appmgrd[958]: I appmgr:SIGCHILD:exited_app=NO_NAME,pid=4745,exitco de=2,abnormal_exit=1:
171114:231225 appmgrd[958]: I lipc:evts:name=processExited, origin=com.lab126.appmgrd, fparam=NO_NAME:Event sent
171114:231225 cvm[1328]: I test:runningToReadyStateChange:timeTaken=535,units =ms:runningToReadyStateChange
171114:231225 appmgrd[958]: I appmgr_proc:appmgr_proc_start:errno=10,pid1=4745,e xecutable=/usr/bin/mesquite,pid2=-1,waitpidstatus=1074425896:
171114:231225 appmgrd[958]: E appmgr_history:executable_not_running:executable=/usr/bin/mesquite -l com.PaulFreund.WebLaunch -c /mnt/us/extensions/WebLaunch/bin/,lipc_app_id=com.PaulFreund.WebLaunch:
171114:231225 pillow[1287]: I defillow-container-div-width:width=496, id=buttonBar:
171114:231225 appmgrd[958]: I appmgr_lipc:default_alert_displayed:app_lipc_id=co m.PaulFreund.WebLaunch:show_simple_alert
171114:231225 cvm[1328]: I BookletManager:TerminatingBooklet:booklet=com.Paul Freund.WebLaunch:
171114:231226 phd[1007]: E udp_tph:gethostbyname_error:host = pins.amazon.com, h_errno = 2:
171114:231226 phd[1007]: I udp_tph:restart_udp_tph_rcvr:ret = 5:
171114:231226 cvm[1328]: I test:readyToShutdownStateChange:timeTaken=589,unit s=ms:readyToShutdownStateChange
171114:231226 cvm[1328]: I KindleFrameFactory:RemovingAllDialogs:appId=com.la b126.booklet.kindlet:
171114:231226 cvm[1328]: I KindleFrameFactory:JFrameNotCleanedUp:title=L_A_N_ application_ID_com.lab126.booklet.kindlet_M_false_ PC_TS_RC_true_O_U:
171114:231226 cvm[1328]: I KindleFrameFactory:JFrameNotCleanedUp:title=L_C_N_ footerBar_ID_com.lab126.booklet.kindlet_M_false_RC _true:
171114:231226 cvm[1328]: I KindleFrameFactory:RemovingAllWindows:appId=com.la b126.booklet.kindlet:
171114:231226 cvm[1328]: I KindleFrameFactory:JFrameCleanedUp:title=L_C_N_foo terBar_ID_com.lab126.booklet.kindlet_M_false_RC_tr ue:
171114:231226 cvm[1328]: I KindleFrameFactory:WindowRemoved:title=L_A_N_appli cation_ID_com.lab126.booklet.kindlet_M_false_PC_TS _RC_true_O_U:
171114:231226 winmgr[1182]: I WindowManager:flashTimeoutExpired:window=L_Nil lowAlert_M:true_PILLOW:simple-alert_ID:system:
171114:231228 phd[1007]: E udp_tph:gethostbyname_error:host = pins.amazon.com, h_errno = 2:
171114:231228 phd[1007]: I udp_tph:restart_udp_tph_rcvr:ret = 5:
171114:231228 cvm[1328]: I GarbageMonitor:GarbageMonitorInfo:status=eligible, description=KindletClassLoader for appId= test,object=596020294:Can now be collected
171114:231228 cvm[1328]: I GarbageMonitor:GarbageMonitorInfo:status=eligible, description=KindletThreadGroup for appId= test,object=-1808888594:Can now be collected
171114:231228 cvm[1328]: I GarbageMonitor:GarbageMonitorInfo:status=collected ,description=KindletThreadGroup for appId= test,object=-315144297:Collected
171114:231228 cvm[1328]: I GarbageMonitor:GarbageMonitorInfo:status=collected ,description=KindletClassLoader for appId= test,object=596020294:Collected
171114:231228 cvm[1328]: I GarbageMonitor:GarbageMonitorInfo:status=watch,des cription=Cleanup Thread for static variables in Kindlet,object=-105210433:Watching
171114:231228 cvm[1328]: W StandardKindletContainer:GenericWarning::Error occured while cleaning up Kindlet application classes
171114:231228 cvm[1328]: I KindletBooklettimeTaken=3219,freeMemory=1193 5028,lifecycleEventType=switch-out,units=ms:stop
171114:231228 cvm[1328]: I KindleFrameFactory:RemovingAllDialogs:appId=com.la b126.booklet.kindlet:
171114:231228 appmgrd[958]: I appmgr_lipc:set_appmgr_pause_resultropName=pause result,buf=6:0:entry
171114:231228 appmgrd[958]: I appmgr_history:app_state_change:lipc_id=com.lab126 .booklet.kindlet,state=PAUSED:
171114:231228 appmgrd[958]: I lipc:evts:name=appStateChange, origin=com.lab126.appmgrd, fparam=com.lab126.booklet.kindlet:Event sent
171114:231228 appmgrd[958]: I lipc:evts:name=appPaused, origin=com.lab126.appmgrd, fparam=com.lab126.booklet.kindlet:Event sent
171114:231228 appmgrd[958]: I appmgr_history:QueueUnload:reason=unloadWhenPaused :
171114:231228 appmgrd[958]: I appmgr_history:app_state_change:lipc_id=com.lab126 .booklet.kindlet,state=UNLOAD_SENT:
171114:231228 appmgrd[958]: I lipc:evts:name=appStateChange, origin=com.lab126.appmgrd, fparam=com.lab126.booklet.kindlet:Event sent
171114:231228 appmgrd[958]: I appmgr_history:unload_app_success:app_lipc_id=com. lab126.booklet.kindlet,pid=-1:
171114:231228 cvm[1328]: I BookletImplementation:Unloading:name=com.lab126.bo oklet.kindlet:
171114:231228 cvm[1328]: I KindletBooklet:destroy:timeTaken=1,units=ms:destro y
171114:231228 cvm[1328]: I LipcSourceImpl:RemoveSource:src=com.lab126.booklet .kindlet:Removing Lipc source
171114:231228 appmgrd[958]: I appmgr_lipc:set_appmgr_unload_resultropName=unlo adresult,buf=6:0:entry
171114:231228 appmgrd[958]: I appmgr_history:app_state_change:lipc_id=com.lab126 .booklet.kindlet,state=UNLOADED:
171114:231228 appmgrd[958]: I lipc:evts:name=appStateChange, origin=com.lab126.appmgrd, fparam=com.lab126.booklet.kindlet:Event sent
171114:231228 cvm[1328]: I BookletImplementation:ExceptionCaught::Lifecycle thread interrupted - Booklet exited
171114:231230 phd[1007]: E udp_tph:gethostbyname_error:host = pins.amazon.com, h_errno = 2:
171114:231230 phd[1007]: I udp_tph:restart_udp_tph_rcvr:ret = 5:
171114:231232 phd[1007]: E udp_tph:gethostbyname_error:host = pins.amazon.com, h_errno = 2:
171114:231232 phd[1007]: I udp_tph:restart_udp_tph_rcvr:ret = 5:
^C[root@kindle root]#
KUAL log files says: Failed to open LIPC