Reply
Thread Tools
Posts: 210 | Thanked: 69 times | Joined on Apr 2010 @ NYC!!!!!!!!!!!!
#181
to the top
 
Posts: 23 | Thanked: 0 times | Joined on Jul 2010
#182
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.
 
towhatend's Avatar
Posts: 230 | Thanked: 185 times | Joined on Jul 2010 @ Sweden
#183
Originally Posted by sukumar View Post
text.
I dont think its a big deal, you are just not using the processes the script wants to reload.

I donīt use the script, but donīt remove the first line.
 
Posts: 23 | Thanked: 0 times | Joined on Jul 2010
#184
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.
 
Posts: 23 | Thanked: 0 times | Joined on Jul 2010
#185
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?
 
Posts: 2,829 | Thanked: 1,459 times | Joined on Dec 2009 @ Finland
#186
Originally Posted by ddiscodave View Post
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!!!!!!
This might be easy case.

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.
 
Posts: 210 | Thanked: 69 times | Joined on Apr 2010 @ NYC!!!!!!!!!!!!
#187
Originally Posted by slender View Post
This might be easy case.

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.
SLENDER thanks for the response!!

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
 
Posts: 214 | Thanked: 256 times | Joined on May 2010
#188
Originally Posted by sukumar View Post
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?
It is always good to learn something new
Running sudo sh Optimize must be ok without asking for any password. Did you rename the script? did you add the sh extention?
 

The Following User Says Thank You to JorgeFX For This Useful Post:
Posts: 214 | Thanked: 256 times | Joined on May 2010
#189
Originally Posted by ddiscodave View Post
SLENDER thanks for the response!!

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
.........
LAST.FM SCROBBLER
TWEAKR
I don't see any problem, I have most of this app installed too. I recomend unistalling SPEEDOMETER because you are saying that it does not work after PR1.2
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
 
Posts: 23 | Thanked: 0 times | Joined on Jul 2010
#190
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'
 
Reply

Tags
faster, reflash, refresh, script-a-brick, sell it


 
Forum Jump


All times are GMT. The time now is 18:32.