maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 (https://talk.maemo.org/showthread.php?t=73315)

matthew maude 2011-07-03 21:44

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
hmmm... still no answer as to why it removes home/user/.profile

that is where my non root aliases live so i need it

nafajafam 2011-07-03 21:44

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Quote:

Originally Posted by xRobby (Post 1044120)
i copied and pasted it and this happened


is that supposed to happen?

did u copy and paste all the commands at once?

xRobby 2011-07-03 22:14

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Quote:

Originally Posted by nafajafam (Post 1044125)
did u copy and paste all the commands at once?

yeah, but when i do them one by one the same things come up

karam 2011-07-03 22:28

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
@matthew maude
why you need it so badly
members says N900 performs better without it
For my case
i have apt-get installed some apps with in the .profile existence
so all the apps installed started to lag until a reboot
retested without .profile and they didn't lag
anyway if you want i will send it to you with pm

BTW :be a bit patient
i will make a new thread just for testing these kinds of script
to see what is the best one
so far IMO i didn't see the best one yet

@|xRobby

download the speedpatch.tar.gz to MyDocs
then write in xterminal

sudo gainroot

then copy and paste the rest of the codes

turbovomit 2011-07-03 22:31

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
it work well for me.
overclock 825, swapolube, cssu and your script.

Thanks a lot for your work.

Mohammad 2011-07-03 22:33

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
works well with me too

Thanks karam
ps : it would be nice to start a new thread for testing several scripts
but i think the current one is the best one

lsolano 2011-07-04 02:54

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Quote:

Originally Posted by xRobby (Post 1044120)
/ # cp /home/user/MyDocs/speedpatch.tar.gz ./
cp: cannot stat '/home/user/MyDocs/speedpatch.tar.gz': No such file or directory

Since you could not copy that file, everything else failed.

Just be sure you are in the right place. When saving the file, put it on the very root of your device memory. Even if, from the point of view of the browser you are in the root, you really are inside the directory /home/user/MyDocs. At this point don't be confused by the Documents directory. That directory is inside /home/user/MyDocs.

Also, after you type the sudo gainroot, do not move from /home/user, all commands must be run from that place.

shawwawa 2011-07-04 03:26

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
@Karam,

The latest script is stable and it works well without any error do far. Thank you very much for your great job. :)

1337INT13H 2011-07-04 13:34

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
I need some help please

So far I have already the Enhanced Linux Kernel for Power users 2.6.28.10-maemo4 (maemo48), Power46 and Enhanced Linux kernel for Power users (Settings) 0.11 for maemo 5 kernel 2.6.28.10 via X-term.

I have Sudser installed, installed rootsh 1.5 via app man then upgraded through extras-devel to - 1.8 with app man. I have Bash installed via X-term using apt-get install bash! command.

I also have the tar-gnu v 1.22-maemo5 installed. Do not know how to use this. It says it is the GNU version of the tar archiving utility. I'm guessing I am going to need to learn how to use tar using X-term.

I have theme customizer installed, set opacities, I have a few themes including Humanity, Hydrocarbon, maemo.org Theme, Miku, Nokia N series, reflect. Nokia N series is my current default theme using maemo.org icon package in theme Customizer. Phone is not currently OC. Widget opacity set to 130, Menu Bar opacity 130.

I no longer have swappolube installed didn't reckon much to it. I now just Overclock occasionally 500 - 750 using ULV profile because of Power V46 kernel. That's as far as i go. I use two battery status monitors to check.

The reason I am here is I notice that the hildon desktop GUI is slow in some parts of the GUI including as you mentioned the contacts & other areas. i hate this, so I am hear to try to speed up my hildon desktop.

So will someone here be obliged to help me run through all these steps on my phone so I can get it faster & smoother please? I have already downloaded the Speedpatch to Nokia N900/Documents/

Thanks to anyone who can help me learn more about using scripts, the CLI - X-term.

thingonaspring 2011-07-04 13:50

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Hi Guys,

There seems to have been some confusion lately about how the various bits of this script work, and how they're executed by maemo.

First point - rc.local doesn't do anything on an n900. The "speedpatch.sh" file in the current patch creates rc.local and .bashrc, neither of which will be executed in normal operation of the phone. Instead, /etc/event.d/speedpatch does all the work. Drop speedpatch.sh, it's dead weight.

Second point - there doesn't seem to be a lot of info on this thread about how the patch actually works, so here goes with a quick explanation.

The CFS (completely fair scheduler) in our phone's kernel manages the allocation of resources (cpu/mem) between tasks. It was designed to cope with server-class machines such as web servers and databases, giving all tasks equal access to resources. This means if a server is really busy, then all tasks on the machine slow down equally.

Desktop/mobile class machines shouldn't work the same way as servers though. They have a human user who expects the machine to respond and give feedback within a certain time. If a machine is slow to respond, the user loses some sense of control over the machine.

This patch addresses the problem by taking note of what the user is doing right now, and using that information to accelerate the current task, and decelerate other tasks on the system. The user won't notice the background stuff going slower, they will just see their app working fast.

The patch does this by creating multiple classes of task
/dev/cgroup/cpu/tasks
/dev/cgroup/cpu/desktop/tasks
/dev/cgroup/cpu/applications/tasks
/dev/cgroup/cpu/applications/standby/tasks
/dev/cgroup/cpu/applications/launcher/tasks

If you look at the contents of these files, you'll see the process IDs of all the tasks in each class. CPU and memory are shared out to these classes using the files "cpu.shares", and "memory_limit_in_bytes". When lots of tasks are demanding CPU/memory at once, the resources are handed out to tasks depending on their share.

This is why your phone feels nicer when you have this patch - the kernel automatically classifies tasks and devotes more of cpu/mem to the "application" and "desktop" class tasks, and much less to other classes like "standby".

karam 2011-07-04 13:56

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
@thingonaspring

thanks for the great explaining
i will actually put it in the first post
and thingonaspring
rc.local started the patch without a reboot in my n900
i expect it does the same with every other n900
and for the rest of the files that speedpatch.sh creates
are used by desktop pc
i wanted to put 2 in 1 patch (for n900 and pc)
so far TMO members seems to like it

@1337INT13H
first of all you need to put speedpatch
in Nokia N900
not Nokia N900/Documents
MyDocs means the root of the emmc /home/user/MyDocs

second copy and paste the codes in xterminal (as root)
and your done after a reboot

Seker_94 2011-07-04 14:13

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Quote:

Originally Posted by karam (Post 1012180)

BTW if you want even more speed try to overcloak to 805 MHz and enable smart redlex to have a 2x battery time usage (This is unstable though so i'm not responsible of what happens to your N900 if you overcloaked)
and the patch is not written by me i just modified it to work on n900

IF YOU DID ALL THE INSTRUCTIONS CORRECTLY

You should have a realy fast and smooth N900

BTW The Tweaks Are All optoinal But For the best result Apply Them All


Enjoy

---------------------------------------------------------------------------------


A Thank would be appreciated

Some Feed backs



and without karam nobody would notice this patch

Mohammad 2011-07-04 14:16

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
that is true
karam mentioned that he didn't made the patch in the first place
but he brought attention to it
tried to make it better
and spent a lot of time on it
so thanks to karam
and every one else helped with the patch

karam 2011-07-04 14:25

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
i just wanna say to epitaph
when i first created this thread
i have noticed by post
http://talk.maemo.org/showpost.php?p...18&postcount=9
that it is not me the first one tried this patch
but it is me the first one who tried to work on it and proof to people that it increase the performance of N900
also tried your values
but members reported that they don't work
also tried thingonaspring idea by creating /home/user/.profile
but once again members said it is better performance without it

and now the patch is spread in some sites and gets good feedbacks

and all what i want to do is to give people a better experience while using n900
and improve it
after all it is my mobile too

and i don't think chasing my A*s will help improving N900
instead if you got some good ideas to improve the patch (or anyone else)
why not posting them
there is no benefits for me

Mohammad 2011-07-04 14:27

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
I agree with karam

Seker_94 2011-07-04 14:30

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
i agree with karam too

corduroysack 2011-07-04 14:42

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Think most of us agree with karam tbh.
Our batteries defintely do after script 5 was it ;)

Mohammad 2011-07-04 14:48

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
then epitaph perhaps you should modify your developer fake message :p

EDIT: the proof that the patch is working
is that it got 750 downloads and a lot of feedbacks from TMO members

and for your values
karam released a version specially for your god dam* values
then members reported that they are useless or they decrease the performance
that is why karam removed them later

Seker_94 2011-07-04 15:43

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
but it worked with me directly
without the need to enable anything else

shanttu 2011-07-04 15:49

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Huge thanks. This script made it possible to have smooth multitasking SmartReflex enabled.
And as usual, epitaph is offering some popcorn.

shawwawa 2011-07-04 15:52

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Quote:

Originally Posted by epitaph (Post 1044483)
I can't see any proof here that the patch is working. I see only many errors and some useless files created by your patch.....

WTF ??

Do you have N900 ?! Did you test Karam's script at all ?!

Do you think that comments from all testers here are BS ?! 凸

karam 2011-07-04 15:58

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Thanks every one for your support
and just like shanttu said epitaph will never change :)

shawwawa 2011-07-04 16:09

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
He is still begging for donations for his script .....

corduroysack 2011-07-04 16:23

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
he's on my naughty step (ignore list) so i don't see his remarks, always a drama lol :)

thingonaspring 2011-07-04 16:32

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Oh dear. Why can't we all just get along?
Or failing that, get a moderator :-)

thingonaspring 2011-07-04 16:46

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
*facepalm*

jedi 2011-07-04 16:55

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
*facepalm*

1337INT13H 2011-07-04 21:56

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Hi. I moved the speedpatch to
/Nokia N900/

Then I ran the code in X-term.

Everything seemed to work up until

bash ./speedpatch.sh (After typing this line of code it told me to restart the computer

rm speedpatch.sh ( something to do with cannot make directory or it already exist)
/etc/rc.local (the directory is already exists
or something) I cannot remember the error codes?

I have rebooted the N900

How do i tell that these last two commands have been executed for the patch properly???

Thanks

thingonaspring 2011-07-04 22:10

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
@l33int13h

ls -l /dev/cgroup/cpu

You should see a directory named applications, another named desktop and a bunch of files.
If it says "file or directory does not exist" then the patch hasn't applied.

Harick 2011-07-04 22:28

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Quote:

Originally Posted by thingonaspring (Post 1044757)
@l33int13h

ls -l /dev/cgroup/cpu

You should see a directory named applications, another named desktop and a bunch of files.
If it says "file or directory does not exist" then the patch hasn't applied.

my /dev/cgroup/cpu doesn't have anything like that or this

Quote:

The patch does this by creating multiple classes of task
/dev/cgroup/cpu/tasks
/dev/cgroup/cpu/desktop/tasks
/dev/cgroup/cpu/applications/tasks
/dev/cgroup/cpu/applications/standby/tasks
/dev/cgroup/cpu/applications/launcher/tasks
but has something like this
Code:

/dev/cgroup/cpu/user/11601/task
/dev/cgroup/cpu/user/11601/notify_on_release
/dev/cgroup/cpu/user/11723/task
/dev/cgroup/cpu/user/11723/notify_on_release
/dev/cgroup/cpu/user/11798/task
/dev/cgroup/cpu/user/11798/notify_on_release
/dev/cgroup/cpu/user/19897/task
/dev/cgroup/cpu/user/19897/notify_on_release
/dev/cgroup/cpu/user/2116/task
/dev/cgroup/cpu/user/2116/notify_on_release

...
and so

does this means that the patch didn't applied succesfully?

1337INT13H 2011-07-04 22:40

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Hi thingsonaspring,

Quote:

Originally Posted by 1337INT13H (Post 1044771)
bash ./speedpatch.sh (After typing this line of code it told me to restart the computer

rm speedpatch.sh ( something to do with cannot make directory or it already exist)
/etc/rc.local (the directory is already exists
or something) I cannot remember the error codes?

I think the last /etc/rc.local was resources busy!!

Am I still to install .deb??


applications > cpu.rt_period_u > cpu.rt_runtime_ > cpu.shares > desktop > memory.failcnt > memory.force_em > memory.limit_in > memory.max_usag > memory.stat > memory.usage_in > notify_on_relea > release_agent > tasks > user

Thanks, does the list above tell you it has worked?? ...most definately Web Browser is faster loaded *8 pages switching between each of them there didn't seem to be hardly any page tearing or slower page rendering, it seemed to appear almost instantly when scrolling the pages. The pages also seemed smoother even with quick switches between windows

Phone application & contacts isn't as smooth as I though tho, maybe a tiny bit better slightly when scrolling. Other than that scrolling in e-mail application I have lots of cached emails & that definately feels a little bit smoother when scrolling through the emails, so does HAM.

What is the result of running the transitions tweaks?? Will this also help make hildon faster?? What exactly so they do??

I was wondering how I can get the Power47 kernel installed when running X-term command apt-get power-kernel-flasher it says 54 unchanged files latest version already installed. But I already have Power46 installed = 2.6.28.10. Why can't I get Power47??

WIll installing that tracker tweak help??

matthew maude 2011-07-04 23:18

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
[QUOTE=karam;1044141]@matthew maude
why you need it so badly
members says N900 performs better without it
For my case
i have apt-get installed some apps with in the .profile existence
so all the apps installed started to lag until a reboot
retested without .profile and they didn't lag
anyway if you want i will send it to you with pm

BTW :be a bit patient
i will make a new thread just for testing these kinds of script
to see what is the best one
so far IMO i didn't see the best one yet

not sure if you use aliases but thats where they're stored. i've had a suggestion for moving them so when i get the time i will try moving them so then i can try your patch :)

if you don't use aliases then you're missing out on a valuable terminal tool ;)
i wrote a guide a while ago but it clashes with your script, if i can move them without causing an issue with them i will write another guide and post it here

karam 2011-07-04 23:22

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
@Harick
the patch should be successfully applied in your N900

@1337INT13H
the result of running the transitions tweak
if you don't use theme-customizer (because theme-customizer) already uses the same tweaks

this will make the movements between desktops and running apps seems to be smoother and faster

to get kernel-power v47

apt-get install kernel-power-flasher

after updating devel repo
and if it didn't work
restore the original kernel then reinstall the newest kernel-power
NOTE : AFTER RESTORING THE DEFAULT KERNEL REBOOT
THEN REINSTALL THE NEWEST KERNEL-POWER


installing the tracker tweak :
tracker usually takes up a lot a of memory if you got an image from bluetooth or any other way of transfers
it's job is to index it in N900 and to make thumbnail of it

so if you used the tweak (makes low memory mode) and throtle up to 10
you will notice less lags when receiving or downloading an image or song or video

karam 2011-07-04 23:31

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
that would be great matthew maude
@1337INT13H
you are completely safe
and i said ignore any resource device busy errors

siduapuluh 2011-07-05 07:25

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
hi, mr karam,
any chances i can download your patch directly from app manager soon...

x terminal is not for me to 'handle'... tq

iscio 2011-07-05 07:32

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
why

Quote:

4-) And ApMeFo app wich organizes folders your menu(try to reduce the shortcuts by putting them in folders) this will improve transitions
and not Catorize?

karam 2011-07-05 10:01

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
@iscio

catorize is good too
but apmefo has more features
and more organizable

karam 2011-07-05 12:10

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Hello every one
i'm going to take a chance and make bash the default shell for N900
according to

http://talk.maemo.org/showthread.php?t=68420

so it uses .bashrc (the default shell doesn't)
and hope i get better performance
will see what will happen
i will test it for 3 days and reply back

mehulrajput 2011-07-05 17:29

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
Quote:

Originally Posted by karam (Post 1045048)
Hello every one
i'm going to take a chance and make bash the default shell for N900
according to

http://talk.maemo.org/showthread.php?t=68420

so it uses .bashrc (the default shell doesn't)
and hope i get better performance
will see what will happen
i will test it for 3 days and reply back


am not sure if it makes any difference. If the code from .bashrc is moved to .profile then it should work for all shell, bash, sh, ksh etc.

eefo 2011-07-05 18:13

Re: [ANNOUNCE] Super Script + Tweaks To Speed UP N900 Dramatically (FINAL VERSION)
 
hope i wont be annoying for others with my post :p
i have read the first post that the latest patch has the battery issue solved in it but i am now having the issue with the latest patch .
like the old patches worked fine and the day i added the latest patch my battery started draining quickly :$


All times are GMT. The time now is 22:22.

vBulletin® Version 3.8.8