|
2011-05-22
, 11:00
|
Banned |
Posts: 358 |
Thanked: 160 times |
Joined on Dec 2010
|
#42
|
HELLO Everybody
A lot of you must have heard about the 200 lines to speed up linux while blackhat announced 4 lines to do that
anyway neither of the available tutorials on internel are working on N900
BUT For Fortunately i was able to apply it to Maemo 5 on N900!!!!!
You will notice a lot of improvements in hildon-desktop
ex: faster multitask , faster contacts scrolling , faster images scroling
and basically every thing will be improved
Now the script is not made by me
all what i did is modified it a bit to work on maemo 5
BTW : it is recommended to use good transitions.ini although it is optional to use
Download the patch.tar.gz from attachment it contains the patch and the transitions
place it in MyDocs
Then enter CODE :
sudo gainroot
apt-get install bash
tar xzvf /home/user/MyDocs/patch.tar.gz
cp cgroup_patch /home/user/
cp speedpatch /etc/event.d/
chmod +rwx /home/user/cgroup_patch
/home/user/cgroup_patch
chmod +rwx /etc/rc.local
chmod +rwx /usr/local/sbin/cgroup_clean
chmod +rwx /etc/event.d/speedpatch
/etc/rc.local
DONE
And For transitions file (OPTIONAL)
if you are using the stock themes
cp /home/user/MyDocs/transitions.ini /usr/share/hildon-desktop/
if not then replace /usr/share/hildon-desktop with the path of your theme so in my case (using the blue sky theme)
cp /home/user/MyDocs/transitions.ini /usr/share/themes/Blue-sky/
DONE
NOTE: the transistions file has [thp tweaks] section in the end of it
Also parallax and zoom_on_press under [home] section
So you can use it with CSSU
You may not feel changes until reboot
But probably you will feel before as it happened with me
Enjoy
Please give feedbacks
LAST NOTE:
If you didn't think the patch worked or did anything don't worry it will not affect anything else
JUST to make sure no problems occure when all done
open a terminal window and type:
(As user)
bash
Then exit
(As root)
bash
Then exit
No Problem if you get some errors about files and directories
TO Reverse: ( To Delete The Patch ):
rm /etcr/c.local.backup.txt
rm /etc/rc.local
rm /etc/event.d/speedpatch
And then reboot
And For the people who wants to know what does this script do:
HERE
|
2011-05-22
, 11:08
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#43
|
@karam,
after executing the cgroup_clean script, rc.local remains empty. I have bash installed anyway I tried both version ash and bash.
Also if rc.local does not exists the script do not create it.
I looked in you script and understand that infact this should be present in rc.local, so I add it manually.
mkdir -p /dev/cgroup/cpu
mount -t cgroup cgroup /dev/cgroup/cpu -o cpu
mkdir -m 0777 /dev/cgroup/cpu/user
echo "/usr/local/sbin/cgroup_clean" > /dev/cgroup/cpu/release_agent
|
2011-05-22
, 11:11
|
Posts: 7 |
Thanked: 48 times |
Joined on Mar 2010
|
#44
|
|
2011-05-22
, 11:13
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#45
|
Whats the exact difference between your script and the already published 4line-hack on TMO some weeks ago although you getting a lot of attention and he is ignored by most ppl? Can you elaborate?
|
2011-05-22
, 11:18
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#46
|
This patch is ********, it does nothing but broke mounting /syspart/ after reboot.
Then ohm daemon cannot do stuff (renicing apps, etc.)
It can feel like speed up, but this has some bad consequences.
|
2011-05-22
, 11:22
|
Banned |
Posts: 358 |
Thanked: 160 times |
Joined on Dec 2010
|
#47
|
well the reason is that 4line-hack has got multiple ways to get applied while The published 4line-hack uses only 1 way wich may not work on every n900
but my script gathers about 3 ways so there is no chance that at least 1 of them to work on n900
|
2011-05-22
, 11:22
|
|
Posts: 565 |
Thanked: 618 times |
Joined on Jun 2010
@ Finland
|
#48
|
You gotta be mistaken
first i have been using it for about 4 months and nothing wrong with syspart (as it doesn't use effect in it)
second this patch is not published for maemo5 only
it is actualy interigated in the newest linux-kernels
ex: latest ubunu has the patch applied in it
probably pr1.4 will does too
so make sure of what are you saying
regards
How do you know which shell is active if you have both shell installed? Is there an environment variable or a special shell cmd like whoami for shells?
[laasonen@laasonen-laptop ~]$ echo $SHELL /bin/bash [laasonen@laasonen-laptop ~]$
The Following User Says Thank You to laasonen For This Useful Post: | ||
|
2011-05-22
, 11:29
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#49
|
tried the above but on second step got error: "failed: device or resource busy"
did as root
|
2011-05-22
, 11:39
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#50
|
Tags |
autobrick, awesome-script, do no install, f***epitaph, install it now, perfect_ n900, script-a-brick, very safe |
|
tried the above but on second step got error: "failed: device or resource busy"
did as root
N9 / N900 Youtube Videos
N9 "Faster, Darker, Better" Theme Pack
---
www.F2thaK.com
Last edited by F2thaK; 2011-05-22 at 10:49.