View Single Post
Old 08-21-2017, 08:08 PM   #28
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by coplate View Post
Hi all, I'm not sure what the dispatch script is, but I just tested adding noew commands on my PW3.

I added this to /usr/share/webkit-1.0/pillow/debug_cmds.json
Code:
[root@kindle local]# cat /usr/share/webkit-1.0/pillow/debug_cmds.json
{
    ";coplate" : "/var/local/flash.sh",
    ";dm" : "/usr/bin/dm.sh",
    ";dmcc" : "/usr/bin/dmcc.sh",
Code:
[root@kindle local]# cat /var/local/flash.sh
#!/bin/sh
sleep 5
eips 0 0 -f
A 5 second timeout is outside it's wait period, but it did draw a '0' on the screen after 5 seconds.

Code:
170821:233951 Xorg: I GestureEngine:perfScenario::Sending button 1 up 1503358791.023752
170821:233951 cvm[4693]: I GoButtonTask:Information::Debug command entered
170821:233951 SCRIPTEXECUTOR[7669]: I script-Executor:main:Ready for execution:Command=/var/local/flash.sh
170821:233956 cvm[4693]: W lipc:perf:prop=executeDebugCommand, source=com.lab126.system, ms=5027:lipc property access took too long
It originally logged that it was running, but didn't actually, I gave the script full permisions., (777) and it ran. I didn't even need a reboot to change to flash, though the ';coplate' was in there on the last reboot, with a copy of the dump entry.

Nasser, if you are still trying, check the execute permissions on the script?
It is the script called by the
;log
searchbar command after the 'hotfix' is installed.

There is a backup copy of it in:
(Kindle/mkk/dispatch.sh.
(I know, not a very imaginative name.)
knc1 is offline   Reply With Quote