View Single Post
Old 07-22-2017, 06:08 PM   #87
lucasmpr
Enthusiast
lucasmpr began at the beginning.
 
Posts: 45
Karma: 10
Join Date: Jul 2017
Device: Kindle
Quote:
Originally Posted by knc1 View Post
DO NOT run the factory-use-only firmware build after you finish jail breaking.
It was never intended to be used 'in the field' by customers.

Install one of the versions of customer firmware builds.

See: Current jail break, step #7, open spoiler.
All of those could be jailbroken again if something went wrong during your testing.
There are new firmware versions than those I list.
But there has never yet been a 5.9.<anything> for the e-ink Kindles.
5.8.9.0.2 was the previous 'current' firmware and I think your '.8' pair of keys is not working.


Those version numbers use periods as field separators, not as decimal points, it isn't a floating point number. (Amazon is the only people I can think of that uses five fields. The rest of the world gets along with only three.)
Okay, I'll do it, It's really annoying, I'm messing up the digits.

I'm going for 5.8.7.0.1. Just finished installing everything again

Now some logs. Did an ;dm and I'm trying to make sense of the parts with WebLaunch.

Spoiler:


170722:202815 mesquite[7741]: I Daemon:isSiBDisabled:dync config get failed for mesquite.sib.disabled:
170722:202815 mesquite[7741]: I (null)aemonarseParameters, appID=com.PaulFreund.WebLaunch, location=/mnt/us/extensions/WebLaunch/bin/:
170722:202815 appmgrd[1117]: I appmgr_lipc:set_appmgr_run_resultropName=runresu lt,buf=com.PaulFreund.WebLaunch:entry
170722:202815 appmgrd[1117]: W appmgr_history:run_result_missing_status_assuming_ good:result_str=com.PaulFreund.WebLaunch:
170722:202815 appmgrd[1117]: I appmgr_history:app_state_change:lipc_id=com.PaulFr eund.WebLaunch,state=REGISTERED:
170722:202815 appmgrd[1117]: I appmgr_history:app_state_change:lipc_id=com.PaulFr eund.WebLaunch,state=LOAD_SENT:
170722:202815 appmgrd[1117]: I lipc:evts:name=appStateChange, origin=com.lab126.appmgrd, fparam=com.PaulFreund.WebLaunch:Event sent
170722:202815 mesquite[7741]: I def:mesquite:mainarams = -l com.PaulFreund.WebLaunch -c /mnt/us/extensions/WebLaunch/bin/
170722:202815 mesquite[7741]: W lipc:sel:ret=4:Select failed
170722:202815 mesquite[7741]: I certman:CertmanInit::Initializing cert library with path - /var/local/mesquite/com.PaulFreund.WebLaunch
170722:202815 mesquite[7741]: I certman:CertmanIsCacheValid::valid cache
170722:202815 mesquite[7741]: I certman:CertmanLoadKeyFile::unable to load key file - File is empty
170722:202815 mesquite[7741]: I certman:CertmanInitDb:Initializing the DB :
170722:202815 appmgrd[1117]: I appmgr_lipc:set_appmgr_load_resultropName=loadre sult,buf=8:0:entry
170722:202815 appmgrd[1117]: I appmgr_history:app_state_change:lipc_id=com.PaulFr eund.WebLaunch,state=LOADED:
170722:202815 appmgrd[1117]: I lipc:evts:name=appStateChange, origin=com.lab126.appmgrd, fparam=com.PaulFreund.WebLaunch:Event sent
170722:202815 appmgrd[1117]: I appmgr_history:app_state_change:lipc_id=com.PaulFr eund.WebLaunch,state=GO_SENT:
170722:202815 appmgrd[1117]: I lipc:evts:name=appStateChange, origin=com.lab126.appmgrd, fparam=com.PaulFreund.WebLaunch:Event sent
170722:202815 appmgrd[1117]: I lipc:evts:name=appActivating, origin=com.lab126.appmgrd, fparam=0:Event sent
170722:202815 mesquite[7741]: I com.PaulFreund.WebLaunch:JunoApplicationManager: pen:loading app:
170722:202815 mesquite[7741]: E com.PaulFreund.WebLaunch:JunoApplicationManager::h andleLifeCycleTransitions:Failed to complete a lifecycle transition, serialID=8,propertyName=go,responseProperty=goresu lt,error=Content uri did not resolve to a valid local path.:
170722:202815 mesquite[7741]: I com.PaulFreund.WebLaunch:JunoApplicationManager:ca ught exception, signalShutdown=1:
170722:202815 appmgrd[1117]: I appmgr_lipc:set_appmgr_go_resultropName=goresult ,buf=8:1:entry
170722:202815 appmgrd[1117]: I lipc:evts:name=appFailedInGo, origin=com.lab126.appmgrd, fparam=com.PaulFreund.WebLaunch:Event sent
170722:202815 appmgrd[1117]: I lipc:evts:name=appActivating, origin=com.lab126.appmgrd, fparam=-1:Event sent
170722:202815 appmgrd[1117]: I lipc:evts:name=appStateChange, origin=com.lab126.appmgrd, fparam=com.PaulFreund.WebLaunch:Event sent
170722:202815 appmgrd[1117]: I appmgr_history:app_state_change:lipc_id=com.PaulFr eund.WebLaunch,state=PAUSED:
170722:202815 mesquite[7741]: E com.PaulFreund.WebLaunch:JunoApplicationManager::h andleLifeCycleTransitions:Failed to complete a lifecycle transition. Lifecycle hook returned false. propertyName=go,responseProperty=goresult:
170722:202815 cvm[6086]: I StatusBarController:Information::reverting to cached app state in statusbar
170722:202815 winmgr[5254]: I WindowManager:handleAppLaunchFail:unpause display and clear timeouts:
170722:202815 mesquite[7741]: I def:mesquite:main:exiting mesquite main
170722:202815 mesquite[7741]: I certman:CertmanDeinit:Clearing the globals:
170722:202815 appmgrd[1117]: I lipc:evts:name=appStateChange, origin=com.lab126.appmgrd, fparam=com.PaulFreund.WebLaunch:Event sent
170722:202815 appmgrd[1117]: I appmgr:SIGCHLD_signal_handler::
170722:202815 appmgrd[1117]: I appmgr_proc:remove_dead_appid=7741,lipc_id=com.P aulFreund.WebLaunch:
170722:202815 appmgrd[1117]: I appmgr_lipc:default_alert_displayed:app_lipc_id=co m.PaulFreund.WebLaunch:show_simple_alert
170722:202815 appmgrd[1117]: I appmgr_history:QueueUnload:reason=handleFailure:
170722:202815 appmgrd[1117]: E lipc:dbuserr:name=org.freedesktop.DBus.Error.Servi ceUnknown:Receive Dbus error message (DBUS_MESSAGE_TYPE_ERROR): The name com.PaulFreund.WebLaunch was not provided by any .service files
170722:202815 appmgrd[1117]: E appmgr_lipc:lipc_set_prop_fail:lipc_status=3,app=c om.PaulFreund.WebLaunch,property=unload:send app command
170722:202815 appmgrd[1117]: I appmgr_history:app_state_change:lipc_id=com.PaulFr eund.WebLaunch,state=UNLOAD_SENT:
170722:202815 appmgrd[1117]: I lipc:evts:name=appStateChange, origin=com.lab126.appmgrd, fparam=com.PaulFreund.WebLaunch:Event sent
170722:202815 appmgrd[1117]: I appmgr_history:unload_app_fail:app_lipc_id=com.Pau lFreund.WebLaunch,pid=7741:
170722:202815 appmgrd[1117]: I appmgr:SIGCHILD:exited_app=com.PaulFreund.WebLaunc h,pid=7741,exitcode=0,abnormal_exit=0:
170722:202815 appmgrd[1117]: I lipc:evts:name=processExited, origin=com.lab126.appmgrd, fparam=com.PaulFreund.WebLaunch:Event sent
170722:202815 pillow[7412]: W defillow-bb-no-buttons::
170722:202815 pillow[7412]: W def:send-json-exception:value={ "alertId" : ""failedToStartActiveContent"", "show" : "true","replySrc" : ""}:
170722:202815 pillow[7412]: W def:js-exception-object-startrefix=JS Exception:
170722:202815 pillow[7412]: W def:js-exception-valuerefix=message, value=exception = Unable to parse JSON string:
170722:202815 pillow[7412]: W def:js-exception-valuerefix=name, value=exception = SyntaxError:
170722:202815 pillow[7412]: W def:js-exception-object-endrefix=JS Exception:
170722:202815 pillow[7412]: I def:show-system-alert:id=appmgrAppFailedFatal, altId=appmgrAppFailedFatal, alertLogInfo=undefined:
170722:202815 pillow[7412]: I defillow:illow window is not a window
170722:202815 pillow[7412]: I defillow:illow window is not a window



If I'm right, it seems the app is killed here:

170722:202815 mesquite[7741]: E com.PaulFreund.WebLaunch:JunoApplicationManager::h andleLifeCycleTransitions:Failed to complete a lifecycle transition. Lifecycle hook returned false. propertyName=go,responseProperty=goresult:
170722:202815 cvm[6086]: I StatusBarController:Information::reverting to cached app state in statusbar
170722:202815 winmgr[5254]: I WindowManager:handleAppLaunchFail:unpause display and clear timeouts:
170722:202815 mesquite[7741]: I def:mesquite:main:exiting mesquite main

Ok, managed to find some interesting things.

There's two WAF's js systems. wafjs and the newer kindle.js.

Looks like the registration of the commands where outdated, now they need a file:// to start an mesquite application.

I'm creating a barebone app and I'll add the functionalities that I need

Last edited by lucasmpr; 07-22-2017 at 10:38 PM.
lucasmpr is offline   Reply With Quote