View Single Post
JonWW's Avatar
Posts: 623 | Thanked: 289 times | Joined on Jan 2010 @ UK
#162
Originally Posted by moepda View Post
@jonWW... tried your version but unfortunately it freezes my phone , screen goes black and only working option is turn off with long press of power button. original version seems ok but yours gives me problems im afraid , cheers anyway though
Now you have rebooted try my version again and see if it works for you this time, could indicate other problems with your phone... let me explain:

There is nothing different about my version instruction wise.
Windows uses Character 13 then Character 10 (Hex 0D 0A) as a new line
Linux Character 10 (Hex 0A) as a new line.
That's the only difference.

For me Linux was adding the Windows Character 13 to each command and as process's names don't have Character 13 at the end of them, no process was found to kill. Hence my version.

Sorry it didn't work for you but as my version is the correct way for Linux to read and clearly it worked for you as processes are been killed on your phone. Judging by your description I would think something else is happening to your phone (so be careful).

I'm thinking that even though this script is a great idea it doesn't cover all problems and I find I still need to reboot, so it should be used with caution.
Perhaps restarting killed processes would be a better way to proceed.
Perhaps even with a sleep time in-between each command to give restarted processes time to recover.
Also changing the order of commands might be helpful; as this script, despite killing hildon-home, which normally sorts out my Media-Player Widget problem, doesn't fix the Media-Player Widget problem, for me at least as I still have to run "killall hildon-home" manually after.

I also have seen my phone, only after using this script, max out the possessor, yet Conky/htop showed NO processes demanding excessive CPU cycles (very strange). cpumem-applet/Conky/htop all showed the CPU running flat out and the phone became warm to the touch and incredibly unresponsive (a minute or two to switch between the only two open apps, email and the browser from the dashboard). Almost pulled the battery as I'm overclocking at 1150Mhz and it took a long time to just activate a reboot.

Anyway I feel I'm heading for a reflash soon...
 

The Following User Says Thank You to JonWW For This Useful Post: