![]() |
Re: Optimize your Nokia N900
Could someone make a widget or something for this, and using the method that 9000 suggested? I would, if I could lol.
|
Re: Optimize your Nokia N900
Quote:
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... |
Re: Optimize your Nokia N900
cheers for your reply jonWW must say im somewhat nervous now !!! but if it goes badly wrong fingers crossed reflash should fix ;) will be careful though...
thinking further should post more detail of this, process made screen go black as if locked , using power button would show unlock screen which i could use but once unlocked screen all messed up like dark, if press power button task window shows (turn off,offline mode etc) but was black so unreadable and stuck on screen,if use lock on side of phone only shows messed screen with stuck task window so could only turn off , am wondering if i should wait longer to see if screen restarts as maybe process not turned on yet ? |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
will try another 1 time to see but if fails wont risk again !! although flashing may fix got so many mods to stuff would take forever to get back :(
|
Re: Optimize your Nokia N900
Quote:
sorry to bug you guys about this but i havent seen it answered yet..... any input would be helpful thanks! |
Re: Optimize your Nokia N900
@ddiscodave
This scripts does Kill programs that are running in the background and refreshing them, Basically, If it doesn't one of these programs, it will say not found. Don't worry, It's saying not found is good because you are running it alright, The most important thing that it says at the end, Your .. Optimized. Now you are using it on your system where you still don't need it, But if you open the internet and a lot of sites, and play musics, and all those stuff, then maybe your system will slow down, that you need to do a reboot or restart, this script makes things easier so there is no need to reboot just run this and it will give some type of refresh to your system to be faster and free up some ram and stuff like that. Now if you want the same script, but a one that even if it didn't find the process it doesn't tell you, check out my post number 143. I hope you got it! |
Re: Optimize your Nokia N900
Quote:
I have seen many differents behaviours of this script from differents user that have shared their experiences and most of them who have bad experiences have tried an edited script. Don't know what is going wrong on them but my original script have pass very hard tests for 2 months. The only script that I agree is fine is yours for the addition of the "- q" parameter;). Just that the line "killall -q hildon-home" is enabled and that may erase all widgets and that is why it was disabled at first place. |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
i have been using it now for 2 days and i notice that my n900 is nice and smooth now. i look forward to tweaking it a little bit with the variations of the file as the days go on. jorge many thanks for throwing this together!!! just so you guys know too i notice that many of you are using xterm to make your changes. I simply ftp'd into the phone and mae my changes that way using notepad as well to modify the script when necessary. hope this helps. |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
http://talk.maemo.org/showpost.php?p...4&postcount=46 |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
I'm working on other scripts to tweak and safe battery life. I will post it when they are ready, be pacient. I will only post it when I'm sure that it is mature and safe, like this OptimizeN900 script;) |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
okay now im a little frustrated so if u can offer up some assistance i thank u. im running over 200 processes even after the script is executed and the phone is slow and choppy.
arg!!!!!! |
Re: Optimize your Nokia N900
to the top
|
Re: Optimize your Nokia N900
I copied the script as optimzie.sh. I ran following
1. sudo gainroot 2. sh optimize.sh It ran, but saw following error message optimize.sh: line 1: : not found killall: osso_calculator: no process killed killall: cannot kill pid 2630: no such process killall:mafw-gst-renderere: no process killed Your Nokia N900 is now optimized: I am editing the file with "notes" on n900. I removed all comments and first line !/bin/sh etc It has these entries begin of script killall pulseaudio killall trackered killall browser browserd killall Calendar killall oss9_calculator .. ... echo your Nokia N900 is now optimized END of script Do you know any problem in my script? Any clue on what could be the problem. |
Re: Optimize your Nokia N900
Quote:
I donīt use the script, but donīt remove the first line. |
Re: Optimize your Nokia N900
yeah. It is working to verify memory savings. I am curious to understand why I got the following error message
optimize.sh: line 1: : not found There is no empty line. As you explained, I guess other messages are complaining that the processes are not already running to kill them. I think it is using busybox. Need to find documentation on writing scripts for it. |
Re: Optimize your Nokia N900
I just enjoyed reading this long thread. It is good to know other things.
I was editing the file with "notes". I think it is adding empty line. I found that I can as well use vi editor. I did use it and fixed empty line. I also read in the thread that I get these not found messages since I may not be running all these applications. I am clear now. Thanks to those who shared. Only question I have is I have to run 'sudo gainroot' to run the command. If I directly use 'sudo sh otpmize.sh', it is asking password. What is the default password? |
Re: Optimize your Nokia N900
Quote:
a. Have you installed anything from testing or devel repositories? If a is true then check the disclaimer of those repositories. You are on your own =) Uninstall all apps from those repositories and see what happens. And please list apps what you have installed. if a is false then please tell what you have installed from extras and official Nokia repositories. |
Re: Optimize your Nokia N900
Quote:
i, like many people, have indeed installled apps from the testing or devel repos.... im not sure what i have taken from those repos though so here is the list of what i have installed on the phone thus far: EASY PARK MAHJONG APPDOWNLOADER BATLEVEL CONKY DIALCENTRAL ECOACH EIGHTYONE ESPEAKCALLER EXTENDED CALL LOG FAPN FLIPCLOCK FMBOOST FMMS FMRADIO FUELPAD (AWESOME APP BTW) GLOGARCHIVE GONVERT GPXVIEW HEALTHCHECK HTOP INES JOIKUSPOT KMPLAYER LEAFPAD LIQTORCH MAEP MBARCODE MEDIABOX MIRROR MOBILEMAPS9 MSPEDE MYPAINT OMWEATHER ORREY PETROVICH PYPIANOBAR QTPIANOBAR QUICKPANORAMA RDESKTOP RECORDER QTIRRECO SPEEDO SPEEDOMETER (BETTER UI THAN SPEEDO BUT THE SH1T DOESNT WORK NOW AFTER PR1.2) STOCKTHIS SYMFONIE WIFIEYE ZOUTUBE ABIWORD KOFFICE PYCALLBLOCKER WPCREATOR AGTL ALARMED ANSEL-A CLASSIC PRINT METROMAP *OPTIMIZE (THIS IS THE SCRIPT WE'RE ALL TALKING ABOUT HERE I JUST ADDED AN ICON) PYKAKE WIFISWITCHER WIFI SIGNAL APPLET BRIGHTNESS CONTROL BLACK PLASTIC THEME LAST.FM SCROBBLER TWEAKR |
Re: Optimize your Nokia N900
Quote:
Running sudo sh Optimize must be ok without asking for any password. Did you rename the script? did you add the sh extention? |
Re: Optimize your Nokia N900
Quote:
Another thing, did you update MYPAINT? because I read that it causes problems after the last update. Don't know if it is true because I don't use it |
Re: Optimize your Nokia N900
I tried both optimize.sh and optimize to run command 'sudo sh optimize'. It is always asking password.
However typing 'sudo gainroot' and 'sh optimize' is working well. Not sure what is password to use 'sudo sh optimize' |
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
Quote:
|
Re: Optimize your Nokia N900
I noticed when my N900 became laggy it almost always was due to hildon-thumbnailerd running like mad. The optimize script may consider adding a line to renice hildon-thumbnailerd to 19 to make it better.
Something like Code:
renice 19 `pgrep hildon-thumbnailerd` |
Re: Optimize your Nokia N900
Yes. I think I installed rootsh for custom ring tones. I don't know what is exactly rootsh. Is there anyway I can verify if I installed?
I don't know when, but I entered password on n900 while doing something. I guess it is installing custom ring tones. |
Re: Optimize your Nokia N900
My unix skills are rusty and did work on it long time back(AIX, Solaris). I never heard sudo command since I only used 'su'.
After researching this is what I understood. I installed rootsh for custom ring tones. So this installed 'gainroot' command in /usr/sbin. I am assuming that gainroot is same as rootsh. sudo is su+ command on same line I don't think I ever set root password on my n900. |
Re: Optimize your Nokia N900
"sudo gainroot"
is the N900 equivalent of "su". Need the "rootsh" package from Extras |
Re: Optimize your Nokia N900
Quote:
http://talk.maemo.org/showpost.php?p...8&postcount=25;) |
Re: Optimize your Nokia N900
#!/bin/sh
echo Your Nokia N900 is being Optimized #Refresh the Audio Process to avoid audio glitch killall pulseaudio #Refresh the Tracker process killall trackerd killall tracker-indexer #Refresh the browser MicroB killall browser browserd #Refresh of the most common applications and UIs killall Calendar killall osso_calculator killall camera-ui killall rtcom-call-ui killall modest killall rtcom-messaging-ui killall image-viewer killall osso_notes killall osso-addressbook #Refresh the all UI Hildon, menus and bars. killall hildon-desktop killall hildon-status-menu killall systemui #NOTE: Killing the hildon-home process can erase all widgets and that is why it is disabled #killall hildon-home #Refresh other processes killall tonegend killall mafw-gst-renderer echo Your Nokia N900 is now Optimized! ;) I think this is inside zip =D |
Re: Optimize your Nokia N900
For some reason when I have this script setup in Alarmed for a nightly run, the power button menu does not work. But if I run the script manually, the power button menu is not affected. Weird :) Not running the script from Alarmed anymore but sometimes using it when swapping gets out of hand.
|
All times are GMT. The time now is 15:33. |
vBulletin® Version 3.8.8