I will be generous and trust your skills I think you can test it yourselfsmart_lover wrote: 3600 is millisecond or second?!
[App] libRunWidget D/E/F/H
Re: [App] libRunWidget D/E/F/H
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
-
- SamyGO Project Donor
- Posts: 161
- Joined: Sun May 03, 2015 6:11 am
Re: [App] libRunWidget D/E/F/H
Okeey! I already knew the answer, but I thought with myself 1 hour!?! why!?sectroyer wrote:I will be generous and trust your skills I think you can test it yourselfsmart_lover wrote: 3600 is millisecond or second?!
Then I find that 3600 was only a sample, By the way I use 'sleep 90' and all things seems to be ok now and my Widget no longer exit unexpectedly.
Re: [App] libRunWidget D/E/F/H
Humor?smart_lover wrote:Okeey! I already knew the answer, but I thought with myself 1 hour!?! why!?
Try lower values until you find the "magic" one, should be much less than 90sec imhosmart_lover wrote:By the way I use 'sleep 90' and all things seems to be ok now and my Widget no longer exit unexpectedly.
I do NOT receive any PM. Please use forum.
-
- SamyGO Project Donor
- Posts: 161
- Joined: Sun May 03, 2015 6:11 am
Re: [App] libRunWidget D/E/F/H
Yeah!zoelechat wrote: Humor?
I need reliability(because there is no operator in front of TV and all operations will take place remotely), So I think a sleep between 70 to 90 seconds is enough. Actually I don't want to power off TV for long time and want to use libSofpoweroff instead!zoelechat wrote:Try lower values until you find the "magic" one, should be much less than 90sec imho
Re: [App] libRunWidget D/E/F/H
I already noticed you use SoftPowerOff
smart_lover wrote:Code: Select all
samyGOrc -p $(pidof exeTV || pidof exeDSP) 1 152
I do NOT receive any PM. Please use forum.
-
- SamyGO Project Donor
- Posts: 161
- Joined: Sun May 03, 2015 6:11 am
Re: [App] libRunWidget D/E/F/H
Yes! It was for the time that I planned to not to use 'micom reboot'. But with your help I used 'sync' and everything backed to normal!zoelechat wrote:I already noticed you use SoftPowerOffsmart_lover wrote:Code: Select all
samyGOrc -p $(pidof exeTV || pidof exeDSP) 1 152
-
- SamyGO Project Donor
- Posts: 161
- Joined: Sun May 03, 2015 6:11 am
Re: [App] libRunWidget D/E/F/H
Everything works perfect till today.
Today when I run for the first time(exactly after TV boot) it successfully run my Widget. After that I exit from app with this and TV will successfully exit from app. but suddenly I get following error message from TV and all my commands(except micom reboot) will return following error(until I use micom reboot and let TV start again). Is it all about SamyGOso?
(I did not see anything like this before today during using libRunWidget and exit from widget with above command)
Whats wrong with my TV? I test in my other TVs and same result happened.
Root is still available after TV power on.
I am really in a terrible situation. Please help me find my way.
Note 1:I repeat the same procedure but after running and exiting app for the 3rd time, same above error happened(I think there is some kind of instability in samyGOso).
Note 2: When I hit power button (I use libSoftPowerOff) TV will not power off and after some try,TV power it off actually(As there is no libSofPowerOff) and after that I lost my root(when I power on TV).Why?!!
Today when I run
Code: Select all
samyGOso -d -A -B -l /mnt/opt/privateer/usr/libso/libRunWidget.so ID:MyWidgetId
Code: Select all
samyGOrc -p $(pidof exeTV || pidof exeDSP) 45
(I did not see anything like this before today during using libRunWidget and exit from widget with above command)
Code: Select all
samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015
usage: samyGOso [-p PID | -n procname | -A | -T | -D ] [-B ] {-c CONFIG | -l /full/path/to/inject.so [-r (=resident)]} [-d (=debug on)] [-a (=add libc addressoffset )] [arg0,...,argN]
Root is still available after TV power on.
I am really in a terrible situation. Please help me find my way.
Note 1:I repeat the same procedure but after running and exiting app for the 3rd time, same above error happened(I think there is some kind of instability in samyGOso).
Note 2: When I hit power button (I use libSoftPowerOff) TV will not power off and after some try,TV power it off actually(As there is no libSofPowerOff) and after that I lost my root(when I power on TV).Why?!!
Re: [App] libRunWidget D/E/F/H
Well that simply means TV is already crashed, you have to find if either it's samyGOso, samyGOrc, some lib, or your widget that crashes itsmart_lover wrote:Code: Select all
samyGOso v1.2.5 (c) bugficks 2013-2014, sectroyer 2014-2015 usage: samyGOso [-p PID | -n procname | -A | -T | -D ] [-B ] {-c CONFIG | -l /full/path/to/inject.so [-r (=resident)]} [-d (=debug on)] [-a (=add libc addressoffset )] [arg0,...,argN]
At this point you might check:
Code: Select all
pidof exeTV
pidof exeAPP
Btw, are you using recommended version of samyGOrc (v1.0), not sure that's the one included by default, being known to crash some TVs (for example mine) when you send an odd number of keys.
Looks like normal behavior of crashed TVsmart_lover wrote:Note 2: When I hit power button (I use libSoftPowerOff) TV will not power off and after some try,TV power it off actually(As there is no libSofPowerOff) and after that I lost my root(when I power on TV).Why?!!
ps: beware of offtopic...
I do NOT receive any PM. Please use forum.
-
- SamyGO Project Donor
- Posts: 161
- Joined: Sun May 03, 2015 6:11 am
Re: [App] libRunWidget D/E/F/H
Yes, both of them return no PID!zoelechat wrote: At this point you might check:One or both should show no PID, which means TV "suicided" process(es) to "protect the innocent".Code: Select all
pidof exeTV pidof exeAPP
Yes I use.zoelechat wrote: Btw, are you using recommended version of samyGOrc (v1.0), not sure that's the one included by default, being known to crash some TVs (for example mine) when you send an odd number of keys.
Why I lost my root and have to run SamyGo widget to root my TV again after this kind of crash!? Is there a way to prevent root access after some kind of TV crashes?zoelechat wrote: Looks like normal behavior of crashed TV
Where I can continue this conversation?zoelechat wrote: ps: beware of offtopic...
Re: [App] libRunWidget D/E/F/H
Try then to repeat them at different times to get closer and find WHAT crashes TV.smart_lover wrote:Yes, both of them return no PID!
You're allowed to create a topic in support section for examplesmart_lover wrote:Where I can continue this conversation?
No idea why you loose root...
I do NOT receive any PM. Please use forum.