![]() |
Re: Optimize your Nokia N900
Jay, try Alarmed with okhabin's version. Seems to work fine and the power button still works. Haven't had a major N900 jam yet to see how effective it is at clearing up, but I found I lost widgets after hildon-home was restarted in the earlier versions of the script.
|
Re: Optimize your Nokia N900
Hi JorgeFX.
Tnx for all your work here ;) I have a strange problem... using the script .. i obtain this : Nokia-N900:/# sh refresh : not foundne 2: Your Nokia N900 is being Optimized : not foundne 4: : no process killed : not foundne 7: : no process killed : no process killeddexer : not foundne 11: killall: cannot kill pid 5196: No such process : no process killed : not foundne 14: : no process killed : no process killedlator : no process killed : no process killed-ui : no process killed : no process killedaging-ui : no process killeder : no process killed : no process killedssbook : not foundne 25: : no process killedktop : no process killedtus-menu : no process killed : not foundne 32: : no process killed : no process killedenderer : not foundne 36: Your Nokia N900 is now Optimized! Nokia-N900:/# (I've renamed rhe script ..)... Where il the problem? :( It seems that nothing changes o.o neither the hildon desktop restarts itself .. :( |
Re: Optimize your Nokia N900
Dany-69 please see my previous post about this problem.
Quote:
Quote:
|
Re: Optimize your Nokia N900
I am fairly new to the N900 and Linux
I have used the following script 'optimize.desltop' in /usr/share/applications/hildon [Desktop Entry] Encoding=UTF-8 Version=0.1 Type=Application Terminal=true Name=Optimize Exec=osso-xterm "sh /opt/scripts/QuitOptimize" Icon= X-Window-Icon= X-HildonDesk-ShowInToolbar=false X-Osso-Type=application/x-executable an in /opt/scripts the file named 'QuitOptimize' echo Your Nokia N900 is being Optimized killall -q pulseaudio killall -q trackerd killall -q tracker-indexer killall -q browser browserd killall -q Calendar killall -q osso_calculator killall -q camera-ui killall -q rtcom-call-ui killall -q modest killall -q rtcom-messaging-ui killall -q image-viewer killall -q osso_notes killall -q osso-addressbook killall -q hildon-desktop killall -q hildon-status-menu killall -q systemui killall -q tonegend killall -q mafw-gst-renderer echo Your Nokia N900 is now Optimized! ;) I do not get any error messages but I do not see the 'echo Your Nokia N900 is now Optimized message' at the end and I see no changes in the Conky page Is all well or have i missed something ? thanks |
Re: Optimize your Nokia N900
1 Attachment(s)
Quote:
My english isn't good enought to understand what was the problem you described in your post... and looking at the code it seems the same ... but now it work :o Tnx :) EDIT: OMG ....the status bar has gone :eek: |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
So, further advice: If you really really need to run this script, please reboot instead. Then find out which application(s) eat up resources, and complain to the maintainer about it, most preferably file a bug. That way the problem will be fixed instead of workarounded (inventing new words here) and the device can be used without tricks, to the fullest. Still, the script has its use, if the system hangs or some sort. It's sort of "soft reboot". It's not all bad. I'm just afraid of killing 'em all. |
Re: Optimize your Nokia N900
@Dany-69 and @pycage
That happened because it was still rebooting. Maybe your CPU was still doing something else. |
Re: Optimize your Nokia N900
Quote:
Like I said on this post: http://talk.maemo.org/showpost.php?p...0&postcount=30 It will NOT fix the bugs that NOKIA should fix, but it helps |
Re: Optimize your Nokia N900
Hi JorgeFX,
You mentioned that you would soon be releasing a one-time script to optimize the N900 performance. Is that still on its way? What kind of things would this script do and what would it fix? Don't mean to rush you but if you can drop a note I'm curious. I'm running your other script though I haven't noticed a significant difference. Actually the one time I ran it it slowed down my machine a bit but that's probably cause some processes were still doing some initialization stuff in the background. Will try to give some more useful feedback if I notice some consistent behavior (good or bad). thanks! |
Re: Optimize your Nokia N900
Is anyone getting any real benefit from the optimize script?
I have set the script to run everyday at 5am and I have a QB button setup on my desktop to run the script, but my phone still runs like poo after 4 days. I just did a restart now after 4 days and 15 hours because it got REALLY slow and unresponsive. After the reboot all was fine again. So I'm wondering if there is anyone out there using the optimize script who's N900 is still snappy and responsive or just runs plain fine after 4-5 days without a reboot? |
Re: Optimize your Nokia N900
Quote:
if you get the message like 'not found', look at JohnWW post. |
Re: Optimize your Nokia N900
Quote:
It was getting a little funky last night, skipping and stuttering while playing a podcast, but restarting Panucci seemed to help with that. |
Re: Optimize your Nokia N900
I am following this thread now for several days and was trying out what happens to the system when running optimize.sh or whatever you call it.
First of all (again) This script does not restart anything and may cause an automatic reboot! As stated several times, killing system critical processes may make your device reboot because of the watchdog which is actually the process restarting all the processes you kill if they are non-user ones. Running the script in an easy way is Code:
sudo ./bin/OptimizeN900 Code:
#!/bin/sh Code:
sudo sh OptimizeN900.sh Code:
chmod 744 OptimizeN900 You have a missing statusbar? This is cause there is still stuff queued to be started and the hildon-statusbar is not one of the top notches! It is nice you know your way around with killing processes but please be aware that total n00bs are reading this and have them let a process in D state and they don't know what to do, if it is xorg in D state the only thing you can do is ssh to your device and reboot or pull the battery... |
Re: Optimize your Nokia N900
And now for something completely different, this is a script/command that will make your n900 run like a week of uptime. Useful for when you cant wait a few days to have to reboot the sucker.
<Fork bomb removed. Please do not post malicious code.> |
Re: Optimize your Nokia N900
The infamous fork bomb. :D
|
Re: Optimize your Nokia N900
Thread moved to Maemo 5 / Fremantle.
The Nokia N900 sub-forum is meant for hardware-specific topics. |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
Quote:
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
Quote:
Quote:
Quote:
I asked to keep the n00bs in mind who are reading this! Make this script restart anything and we may talk again. |
Re: Optimize your Nokia N900
Hi JorgeFX,
Sorry to not be clear. I was asking about this new script you're working on. What exactly is it supposed to do and how are you progressing on it? Is the point to modify the N900 setting in such a way as to avoid persistent slow-down problems or does it have another goal? Thanks for the optimize script btw. I don't find I have to run it much but I appreciate the effort you made in providing it nonetheless. thanks |
Re: Optimize your Nokia N900
Quote:
By the way, my uptime is 20.5 days now. I have never been able to go this long before without rebooting. Thanks for a very useful script! For me it's not so much about saving battery but just saving the inconvenience and "embarrassment" of having to reboot my phone. Phones shouldn't need to be rebooted. (blah blah blah it's not a phone it's a computer blah blah) |
Re: Optimize your Nokia N900
Quote:
One of the things I hate about optimization / configuring is that what works well for one person or workload may make things worse for another. So I am very interested to see what JorgeFX comes up with. I'm hoping it means I don't need to bother trying to do it myself :D |
Re: Optimize your Nokia N900
1 Attachment(s)
This script is nice but it might reboot your n900 and even worse overheat and drain the battery due to kills!
I added sleep between every kill, now it takes more time but this will make everything to run smoothly. Download the file attached, i renamed the file to refresh |
Re: Optimize your Nokia N900
Quick question...
Is this script better than just rebooting the phone? (other than the inconvenience of course!) thanks |
Re: Optimize your Nokia N900
Folks: This does not "optimize" anything and the thread title is misleading. No kernel or user-space settings are changed.
The script kills all Maemo daemons. Some will restart properly, while others may not. It is far safer to simply reboot your phone. While the intentions of the author may be good, this script is of little value. |
Re: Optimize your Nokia N900
Quote:
There seems to be a lot of fear-mongering about this script. Is there any actual evidence to back up the claims that it causes all sorts of damage? Or is it all just FUD? |
Re: Optimize your Nokia N900
Quote:
Quote:
Code:
$ cat OptimizeN900 |
Re: Optimize your Nokia N900
Quote:
Tbh, initially I felt fairly enthusiastic about this script, yet finally decided to not run it on my device, as I believe there are better ways of regaining N900's performance. |
Re: Optimize your Nokia N900
This is like a story out of the Winblows world.
Oh, the server is not working anymore? Just reboot it, that will fix the problem (NOT).. unthinkable scenario for mission critical unix boxes. And yes, my phone is mission critical ;) |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
@masq and @memoryguy.
The other script is about tweaks for the N900 to run better and speedy. But remember, it does not make miracles! Most of the things it includes are tweaks that many have already on their devices, but the script is intended to be use for people that only want to do one click and nothing more;) |
Re: Optimize your Nokia N900
Quote:
Quote:
Is very easy to criticize and not to help. |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
All times are GMT. The time now is 20:52. |
vBulletin® Version 3.8.8