maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Optimize your Nokia N900 (https://talk.maemo.org/showthread.php?t=58935)

tmarinos 2010-07-23 09:33

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by AlMehdi (Post 761848)
You have the older rootsh v1.5 installed. You need rootsh v1.8 laying in extras-devel to be able to use sudo.

Negative. I have 1.8 installed.

tmarinos 2010-07-23 09:40

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by kevloral (Post 761829)

Um looked at that, didn't quite understand it. Can someone please explain it to me?

James_Littler 2010-07-23 09:57

Re: Optimize your Nokia N900
 
it's so you don't have to run as root, meaning you can use the command in alarmed without using sudo

(I had the same problem with sudo asking for a password)

First extract OptimizeN900 and copy to you N900 (I copied to Downloads)

Then go into xterm and run the following code
Code:

root
Code:

mkdir /opt/scripts
makes the directory 'scripts' within 'opt'

Code:

cp /home/user/MyDocs/Downloads/OptimizeN900 /opt/scripts
Copies the OptimizeN900 file from 'Downloads' to 'scripts'

Code:

chown root /opt/scripts/OptimizeN900
Code:

chmod 4755 /opt/scripts/OptimizeN900
After you've done that you can execute the script by typing
Code:

/opt/scripts/OptimizeN900
You can also put this command into alarmed

AlMehdi 2010-07-23 10:04

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by tmarinos (Post 761930)
Negative. I have 1.8 installed.

Then sudo should work.

James_Littler 2010-07-23 10:10

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by AlMehdi (Post 761968)
Then sudo should work.

It doesn't work for me either so it's not an isolated incident.

Just brings up a prompt asking for password, that's with 1.8 definitely installed (fresh flash yesterday)

AlMehdi 2010-07-23 10:15

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by James_Littler (Post 761971)
It doesn't work for me either so it's not an isolated incident.

Just brings up a prompt asking for password, that's with 1.8 definitely installed (fresh flash yesterday)

Strange.. maybe something did not install correctly to the sudoers file or something. The only other thing that comes to my mind is that i have bash3 installed.

Well.. the kevlorialian way should also work.

evad 2010-07-23 10:19

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by mssusa (Post 761192)
Thanks JorgeFX.

My Linux skills are a bit rusty (they weren't much to begin with :D), but aren't there some tools/programming tools to monitor the processes and find the leaks. I would install and report the logs for anything that can help pinpoint the culprits.

Yes, there is: http://wiki.maemo.org/Documentation/...5/sp-endurance

Quote:

I do not use my N900 excessively, and almost never use the browser. I do not suffer much slow downs or unresponsiveness (except from the phone app which is always slow and stupid anyway). My current uptime is 21 days and battery life is very reasonable.
Indeed. I've recently got another mobile phone to play with, so N900 went a bit on side over past few weeks, yet it still holds my default SIM card for calls/sms/etc. Nonetheless, not using N900 that much, especially browser over 3G, shows that battery is able to keep device up for full 24 hours at least.

gabby131 2010-07-23 10:23

Re: Optimize your Nokia N900
 
@all

so here's what i did usin qbwidget,

on the add cmd option, type on the command,

Code:

echo "sh /location/of/the/file" | sudo gainroot
OK hope this helpz

EDIT: if your doubtful of working, try doing a test, on the qbwidget option, at the results portion, dont make the text "hidden" (to see the open & exit code) then save.

On the qbw, the texts "root shell enabled" "your n900 is being optimized. ." and "your n900 is now optimized" should appear as you tap the widget.

chemist 2010-07-23 10:33

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by JorgeFX (Post 761380)
I agree! 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

It does if you do not use any third party apps, as I said previously; the real performance drain is within hildon-home for me caused by leaking python or other stuff eating RAM...


Reboot is no option as you loose 50-150mAh, depends on the state.

This script DOES NOT restart anything yet. What it does is it kills processes and hopes the watchdog starts them again. (you know the "bad idea" commercials?)

kureyon 2010-07-23 14:16

Re: Optimize your Nokia N900
 
Quote:

Originally Posted by geneven (Post 761427)
Please shut up, off-topic posters.

+1

Quote:

Some apps (example: Omweather and that Fcamera app) ask you to reboot before using them after installing. Would this program make rebooting unnecessary?
No. fcamera requires reboot because it replaces some kernel modules. Not sure why Omweather needs reboot though, that always bugs me - maybe written by ex-Windows programmers :)


All times are GMT. The time now is 10:01.

vBulletin® Version 3.8.8