|
2011-06-26
, 16:44
|
Posts: 270 |
Thanked: 45 times |
Joined on May 2010
@ UK
|
#352
|
|
2011-06-27
, 05:59
|
Posts: 214 |
Thanked: 256 times |
Joined on May 2010
|
#353
|
|
2011-06-27
, 12:46
|
Posts: 22 |
Thanked: 5 times |
Joined on May 2010
|
#354
|
<powerkeymenu path="/"> <menuitem priority="200" name="Optimize"> <callback service="com.nokia.xterm" path="/com/nokia/xterm" interface="com.nokia.xterm" method="run_command" bus="session" autostart="true"> <argument type="string">/bin/sh /home/user/optimize</argument> </callback> </menuitem> </powerkeymenu>
#!/bin/sh echo Device is being optimized... #Refresh the Audio Process to avoid audio glitch killall -q pulseaudio sleep 1; #Refresh the Tracker process killall -q trackerd sleep 1; killall -q tracker-indexer sleep 1; #Refresh the browser MicroB killall -q browser browserd sleep 1; #Refresh of the most common applications and UIs killall -q calendar sleep 1; killall -q osso_calculator sleep 1; killall -q camera-ui sleep 1; killall -q rtcom-call-ui sleep 1; killall -q modest sleep 1; killall -q rtcom-messaging-ui sleep 1; killall -q image-viewer sleep 1; killall -q osso_notes sleep 1; killall -q osso-addressbook sleep 1; #Refresh the all UI Hildon, menus and bars. killall -q hildon-desktop sleep 1; killall -q hildon-status-menu sleep 1; killall -q systemui sleep 1; #NOTE: Killing the hildon-home process can erase all widgets and that is why it is disabled #killall -q hildon-home #sleep 1; #Refresh other processes killall -q tonegend sleep 1; killall -q mafw-gst-renderer sleep 1;
The Following User Says Thank You to tan For This Useful Post: | ||
|
2011-06-27
, 20:12
|
Posts: 270 |
Thanked: 45 times |
Joined on May 2010
@ UK
|
#355
|
Open terminal
sudo gainroot
apt-get remove optimizen900-pm
That's why I recomend to stick to the script on the first page. It will not mess with anything on your device because it does not install itseft.
|
2011-06-27
, 21:45
|
Posts: 22 |
Thanked: 5 times |
Joined on May 2010
|
#356
|
You have to be root to be able to delete it. In CuteExplorer enable the option for root access, reboot and delete the file (carefully!), then disable this option to avoid any future problems.
You can also do it manually with xterm (you need to have tootsh installed):
Code:sudo gainroot rm /etc/systemui/OptimizeN900.xml
The Following User Says Thank You to tan For This Useful Post: | ||
|
2011-06-28
, 09:04
|
Posts: 270 |
Thanked: 45 times |
Joined on May 2010
@ UK
|
#357
|
|
2011-07-02
, 10:44
|
|
Posts: 476 |
Thanked: 438 times |
Joined on Nov 2010
@ Sweden
|
#358
|
|
2011-07-02
, 10:53
|
Posts: 270 |
Thanked: 37 times |
Joined on Sep 2010
|
#359
|
I had a chance to work on the original script, furthermore now you can run the script from systemui using the power button.
In order to do so:
Unzip optimize.zip and place optimize.xml under /etc/systemui/
Remove the .txt extension and place optimize under /home/user/
followed by a
killall systemui
Systemui component (optimize.xml)
Code:<powerkeymenu path="/"> <menuitem priority="200" name="Optimize"> <callback service="com.nokia.xterm" path="/com/nokia/xterm" interface="com.nokia.xterm" method="run_command" bus="session" autostart="true"> <argument type="string">/bin/sh /home/user/optimize</argument> </callback> </menuitem> </powerkeymenu>
Revised optimize (killall) script:
Code:#!/bin/sh echo Device is being optimized... #Refresh the Audio Process to avoid audio glitch killall -q pulseaudio sleep 1; #Refresh the Tracker process killall -q trackerd sleep 1; killall -q tracker-indexer sleep 1; #Refresh the browser MicroB killall -q browser browserd sleep 1; #Refresh of the most common applications and UIs killall -q calendar sleep 1; killall -q osso_calculator sleep 1; killall -q camera-ui sleep 1; killall -q rtcom-call-ui sleep 1; killall -q modest sleep 1; killall -q rtcom-messaging-ui sleep 1; killall -q image-viewer sleep 1; killall -q osso_notes sleep 1; killall -q osso-addressbook sleep 1; #Refresh the all UI Hildon, menus and bars. killall -q hildon-desktop sleep 1; killall -q hildon-status-menu sleep 1; killall -q systemui sleep 1; #NOTE: Killing the hildon-home process can erase all widgets and that is why it is disabled #killall -q hildon-home #sleep 1; #Refresh other processes killall -q tonegend sleep 1; killall -q mafw-gst-renderer sleep 1;
Hope you guys find it useful.
[N900]
1000min 1000max @ ulv
PR1.3 with CSSU latest update
Malaysian N900 user!!!