Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Optimize your Nokia N900

    Reply
    Page 36 of 40 | Prev | 26   34     35   36   37     38   | Next | Last
    Dark_Angel85 | # 351 | 2011-05-24, 07:24 | Report

    I tried running this script... it reboots my phone.. i thought it was because I oC'ed... but i tried running default clock and it still reboots. It's not consistent, for example, after i reboot, I try running the script and it seems fine, but after a while of usage, tried running the script and it reboots the phone after running the script for a short while

    Edit | Forward | Quote | Quick Reply | Thanks

     
    romiiio | # 352 | 2011-06-26, 16:44 | Report

    hi i recently downloaded the power button shortcut for optimize n900 but i dont like it and i want to remove it. please help me as im ending up switching my phone off everytime as the secure device button used to be there whch got messed up since i downloaded optimize power menu shortcut.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    JorgeFX | # 353 | 2011-06-27, 05:59 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    tan | # 354 | 2011-06-27, 12:46 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: zip optimize.zip (319 Bytes, 116 views)
    File Type: txt optimize.txt (1,000 Bytes, 112 views)

    Last edited by tan; 2011-06-27 at 21:37.
    The Following User Says Thank You to tan For This Useful Post:
    humble

     
    romiiio | # 355 | 2011-06-27, 20:12 | Report

    Originally Posted by JorgeFX View Post
    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.
    when i tried that code in xterminal it says optimizeN900-pm not removed as its not installed.

    but it shows up in power menu!
    how do i remove this?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    tan | # 356 | 2011-06-27, 21:45 | Report

    As explained under [app]con900 thread:

    Originally Posted by ivgalvez View Post
    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to tan For This Useful Post:
    romiiio

     
    romiiio | # 357 | 2011-06-28, 09:04 | Report

    thank you tan its finally gone! i cant believe how many times i switched my phone off because of it.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    robin92 | # 358 | 2011-07-02, 10:44 | Report

    where is the start file of optimize located in n900?
    I wonder because I will run it with alarmed one time in the week

    Edit | Forward | Quote | Quick Reply | Thanks

     
    iscio | # 359 | 2011-07-02, 10:53 | Report

    Originally Posted by tan View Post
    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.

    but your files are inserted in optimize on repository? I have optimize 0.0.1-2.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    robin92 | # 360 | 2011-07-02, 11:49 | Report

    Originally Posted by iscio View Post
    but your files are inserted in optimize on repository? I have optimize 0.0.1-2.
    optimize-pm

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 36 of 40 | Prev | 26   34     35   36   37     38   | Next | Last
vBulletin® Version 3.8.8
Normal Logout