![]() |
Optimize your Nokia N900
2 Attachment(s)
Hi everyone:D this time I'm posting what I think is a possible SOLUTION to the anoying problem the Nokia N900 has after 2, 3 or 4 days of continuos use causing the device to slows down till a point we just have to reboot.
I wrote a script the refresh several processes like if you are rebooting your N900 but it does not reboot it or causes sudden battery drain like what happens when you reboot the N900.;) Just open the X-Terminal and run as ROOT: sh OptimizeN900 I have been testing it and updating it for several weeks and this could be the final script:) Please be aware that the screen will show weird stuff but it is normal because the ALL UIs and Hildon are restarting. Here you can see a screenshot from my own N900 running perfectly well after almost 6 days:) Attachment 12334 Please tell me if that help you, I hope it does. GOD Bless You ALL!:D |
Re: Optimize your Nokia N900
I will be watching...
|
Re: Optimize your Nokia N900
So using alarmed or similar we could trigger this at a time we're normally asleep and have it all done automatically?
|
Re: Optimize your Nokia N900
could you paste the code please
|
Re: Optimize your Nokia N900
I was wondering when someone would do something like this. Good work :)
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Where should i place the script? in opt or MyDocs?
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
sudo sh OptimizeN900 And you can setup this to run every day overnight. Please, try it and tell us your experiences. Thanks!;) |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
can i rename it to "o" and write sh o to trigger it?
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
so does this need to be run after every reboot? if the n900 was up for awhile how often would you run it?
|
Re: Optimize your Nokia N900
I put it in MyDocs and ran "sh OptimizeN900" as root, it says: sh: can't open OptimizeN900
|
Re: Optimize your Nokia N900
okay downloaded the zip (on my computer), now my problem is where should I put it on my n900? is copying the script to the n900 internal memory would do?
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
Quote:
|
Re: Optimize your Nokia N900
Quote:
http://talk.maemo.org/showpost.php?p...7&postcount=11 ;) |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
I was looking for something like this!
Reading this thread http://talk.maemo.org/showthread.php?t=41205 they mention the command # echo 3 > /proc/sys/vm/drop_caches ....which frees the pagecache, dentries and inodes. Would that be a useful addition to the script? Kind Regards, D4rKlar |
Re: Optimize your Nokia N900
1 Attachment(s)
copy this to /usr/share/applications/hildon/
with filename [anything goes].desktop (and copy the optimize script to /opt/) |
Re: Optimize your Nokia N900
Quote:
-Refresh the Audio Process to avoid audio glitch -Refresh the Tracker process -Refresh the browser MicroB -Refresh of the most common applications and UIs -Refresh the all UI Hildon, menus and bars. -Refresh other processes I'm testing some new processes but I think this script is mature already:) |
Re: Optimize your Nokia N900
Quote:
Or, you can put it in /opt and use ossipena's desktop entry to click it from the desktop. :) Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
so concider that a quick and dirty patch to ease the usage a little. |
Re: Optimize your Nokia N900
@ossipena, I have consider that, but that was something I had in my mind to make and app in the future that adds the button to the systemui and everything else. Meanwhile, I'm fine with running it from the X-Terminal because it is not needed so often
|
Re: Optimize your Nokia N900
Quote:
i made a folder in my N900 (internal memory) called MyDocs and i copied the attached OptimizeN900 file inside MyDocs folder. Opened X-Terminal and typed sh MyDocs/OptimizeN900 but it says "Cant open MyDocs/OptimizeN900" what did i do wrong? please help me... |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
This sounds really cool, but unfortunately I reboot naturally whenever I switch batteries so I guess I wouldn't benefit.
|
Re: Optimize your Nokia N900
@geneven, In the future maybe I will post some tips to make the battery last for more than 15hrs of normal use, and then you can try the script;)
|
Re: Optimize your Nokia N900
try
cd MyDocs sh OptimizeN900 instead. there isn't such "MyDocs/OptimizeN900" -file or directory either...... please learn to use xterm before you ask silly questions. and use the tab |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
http://talk.maemo.org/showpost.php?p...7&postcount=11 ;) |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
@jupacabra, don't worry, be happy:p
|
All times are GMT. The time now is 06:42. |
vBulletin® Version 3.8.8