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)

carlon 2011-07-10 02:14

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
hey guys, while appling the patch i got this error after command;bash ./speedpatch.sh
is this normal?

patching [/etc/rc.local]...

cat: can't open '/etc/rc.local': No such file or directory
Adding the patch...
cat: can't open '/etc/rc.local': No such file or directory
Making backup of /etc/rc.local in /etc/rc.local.backup.txt
cp: can't stat '/etc/rc.local': No such file or directory
sed: /etc/rc.local: No such file or directory

ktchiu 2011-07-10 03:56

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
im having a weird problem when i open xterm. i think it may be attributed to the patch. as soon as i open up xterm this pops up:

mkdir: cannot create directory '/dev/cgroup/cpu/user/8961': Permission denied
-sh: cannot create /dev/cgroup/cpu/user/8961/tasks: nonexistent directory
-sh: cannot create /dev/cgroup/cpu/user/8961/notify_on_release: nonexistent directory
~ $

if i manually mkdir the 8961 directory and reopen xterm the message shows up again excpet 8691 is replaced with another 4 digit number. this doesnt affect the functionality of xterm but im just wondering what is causing it

Seker_94 2011-07-10 10:36

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
carlon
that is normal because N900 doesn't use rc.local as mentioned in the first post

ktchiu
you haven't uninstalled the previous versions
that happened with me until i uninstalled all the previous versions

after uninstalling the previous version install the newest one

nkirk 2011-07-10 14:33

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
would this have any conflicts with kernel power v48 ?, it should work, just asking to be sure, i cant be re-flashing the phone anytime soon since i'm on the move..

karam 2011-07-10 15:34

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
@nkirk

there are no conflicts with kernel-power v48
it should work with it

and if something went wrong
just remove the patch
it is very easy and safe

nkirk 2011-07-10 16:03

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
tnx mate...

nkirk

zerocool2k 2011-07-10 16:43

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
OK, I just checked and am pretty sure this patch causes the auto pop up connection dialog in Advanced Interface Switcher to stop working. Maybe it is conflicted with some other apps that other people don't have, but at least that's a problem on my phone. When I deleted the 3 files (to uninstall the patch) and reboot, that function works again.

lsolano 2011-07-10 17:16

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

Originally Posted by karam (Post 1047730)
@lsolano
i really appreciate it
thanks

Access denied: You need the privilege midgard:create. :(

karam 2011-07-10 17:52

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
ok every one i have updated the 1st post to change the installation method

made it easy
2 lines only

enjoy

PS: i will post a new battery save method once done testing it

@lsolano

np we will find a solution later

Mohammad 2011-07-10 18:25

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
Thank you karam for the update
however i have applied the patch in the old way
so i don't need to apply it again

but i tested the new way
and it worked well

Cae$ar 2011-07-11 09:52

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
Thank you! I will test this path.

eefo 2011-07-11 11:02

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
once again thanks alot buddy .
but now a question .
to check if this patch is working .
the procedure is the same or .. ?

trisha02 2011-07-11 14:14

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
i installed the script a few weeks ago..now i am facing some lags..i play driver overclocked to 750mhz after applying the scripts..still it lags very much..750mhz is like 900mhz after applying the script.y is it lagging?i also applied the smartreflex,tracker cfg-low memory mode, throttle 10 and transitionion control..also swapplube with proposed and vfs cache 10.

hgroove 2011-07-11 14:18

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
How do I know if the patch is correctly installed? Tahnks

karam 2011-07-11 14:22

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
@trisha02
that is why i removed transitioncontrole from the 1st post
because it causes lags to the transitions
try my transitions.ini

PS: you need kernel-power v47 as well
if still facing lags then try to restore vfs cahe to 100 (because it is still in testing stage)

and tell me what happens with you

@hgroove

cd /dev/cgroup/cpu

if no errors then you are done

eefo 2011-07-11 14:40

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
dont know if someone else has faced it but as soon as i ended installing this patch my queen beecon of wlan ip stopped showing the ip .
tried readding it still not showing anything .

this is the qb code echo "ifconfig `echo ifconfig|root|grep -o wlan0`|grep -m1 't a'|sed 's/.*r://;s/ .*//'"|root |sed 's/127.0.0.1/wifi off/'

karam 2011-07-11 14:47

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
eefo did you have this problem from the first version of the patch?

if yes then zerocool2k and you are having problems with the wifi related widgets
then i will try to find a solution for them

eefo 2011-07-11 14:59

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

Originally Posted by karam (Post 1048910)
eefo did you have this problem from the first version of the patch?

if yes then zerocool2k and you are having problems with the wifi related widgets
then i will try to find a solution for them

no , it started happening with this patch

trisha02 2011-07-11 15:37

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
i installed the patch again with the txt file..after that i did :
cp /usr/share/hildon-desktop/transitions.ini /usr/share/hildon-desktop/transitions.ini.bak
cp /home/user/MyDocs/transitions.ini /usr/share/hildon-desktop/

and i did the battery improvements part.is that it? will my problem solve now?

carlon 2011-07-11 15:53

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
Strange...i tried to execute the patch and i got an error saying i need to execute as root, but i was running the patch as root.... and suggestions?
do i need to remove the old patch first?

eefo 2011-07-11 16:00

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

Originally Posted by carlon (Post 1048959)
Strange...i tried to execute the patch and i got an error saying i need to execute as root, but i was running the patch as root.... and suggestions?
do i need to remove the old patch first?

yes :)
it is mention in the first post .

carlon 2011-07-11 16:04

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
ok so i removed it but i'm still getting the run as root error, do i have to mod the script in any way apart for the bash command?

trisha02 2011-07-11 16:04

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

Originally Posted by trisha02 (Post 1048945)
i installed the patch again with the txt file..after that i did :
cp /usr/share/hildon-desktop/transitions.ini /usr/share/hildon-desktop/transitions.ini.bak
cp /home/user/MyDocs/transitions.ini /usr/share/hildon-desktop/

and i did the battery improvements part.is that it? will my problem solve now?

i did it...i think after doing this transition control wont open.so it did not.but after applying this setting every thing is fast and smooth.but when i switch from one window to another the window appears slowly.but when i put the menu button to switch then comes fast...just like when in desktop i press the menu button the menu appears very fast but when i prees outside to close.its slowls closes.what to do? i hav cssu installed(jst letting u kno)

carlon 2011-07-11 16:18

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
the script starts like this: if [ $USER !=root]; then .....error :you need to run this script as root.

is this correct?

karam 2011-07-11 16:26

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
@carlon
looks like you are not running sh install.txt as root

type sudo gainroot
then
whoami

it should say root
then

sh install.txt

if [ $USER !=root this to make sure you are running xterminal as root

@trisha02
you are requesting the imposible (cssu+transitioncontroles+good transitions)

my transitions.ini doesn't work with transitioncontrole
because it has an extra part wich tranitioncontrole doesn't read
so it thinks it is corrupted so it quits
if you didn't like my transitions.ini
and you want to controle your transitions.ini
and you have a cssu then install cssu-tuner

@eefo

i will send you tommorow other versions to try them and tell me what is the one working with out troubles to you
is that ok?

PS: eefo i don't think your problem is with the patch
because this patch is a reverse of an older one

PS2: carlon if (sudo gainroot) then sh install.txt didn't work with you
then try (root) then sh install.txt

trisha02 2011-07-11 16:32

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
no no no...u got me wrng karam.i am telling u tht everything is fst but when i switch between windows the other window appears slowly.is this how it shud be..?..cz when i used transition control..it dint happen

karam 2011-07-11 16:34

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
trisha02 yes this is how the transitions.ini in speedpatch.tar.gz are configured
as i said before use cssu-tuner if you want to have a bit similar to my transitions.ini + control the speed by editing the transitions.ini via cssu-tuner from control panel after installing it

eefo 2011-07-11 16:35

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
@karam , i have already uninstalled the latest one and installed the second last one , it is still the same :$

so the patch has nothing to do with it .
can you find out the problem ? :$

p.s have used the same code in dcew too , and same it didn't work :$

trisha02 2011-07-11 16:36

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

Originally Posted by karam (Post 1048990)
trisha02 yes this is how the transitions.ini in speedpatch.tar.gz are configured
as i said before use cssu-tuner if you want to have a bit similar to my transitions.ini + control the speed by editing the transitions.ini via cssu-tuner from control panel after installing it

thnx a lot sweety

karam 2011-07-11 16:42

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
@eefo
NOTE : i don't use qb widgets
BUT:
1-) i think it has something to do with access point
2-) something wrong with your ifconfig
try :
sudo gainroot
ifconfig wlan0 down
ifconfig wlan0 up

and reconnect and see the result

@trisha02

np
glad to help :)

carlon 2011-07-11 17:08

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
@karam

BusyBox v1.18.5 (Debian 1.18.5power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.18.5 (Debian 1.18.5power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

carlonN900:~# cd /home/user/MyDocs/
carlonN900:/home/user/MyDocs# sh install.txt
install.txt: line 1: if: not found
Error: you need to run this script as root.
Exiting...
carlonN900:/home/user/MyDocs# whoami
root
carlonN900:/home/user/MyDocs# sh install.txt
install.txt: line 1: if: not found
Error: you need to run this script as root.
Exiting...
carlonN900:/home/user/MyDocs#

carlonN900:/home/user/MyDocs# exit
~ $ sudo gainroot
Root shell enabled


BusyBox v1.18.5 (Debian 1.18.5power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # cd MyDocs/
/home/user/MyDocs # whoami
root
/home/user/MyDocs # sh install.txt
install.txt: line 1: if: not found
Error: you need to run this script as root.
Exiting...
/home/user/MyDocs #

karam 2011-07-11 18:14

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
@carlon
holly god !!!!!!
every time i solve something
another thing just comes out from no where

aaarh i don't understand why the script doesn't detect that you are not
root
it just doesn't understand what is if !!!!


solutions:

1-) install bash by : sudo gainroot
apt-get install bash
(might have something to do with it)

2-) open the script and remove the part from if to (fi)
and then retry

hardkorek 2011-07-11 18:30

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
Work great for me. I have bash already installed and never tried previous versions.

carlon 2011-07-11 18:42

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
@Karam
I have bash 4 installed already, the script starts with "if" i'll do what you said and let you know

carlon 2011-07-11 19:09

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
@ karam

ok i think i got it working. When editing the patch avoid using the app notes, use vi, vim or leafpad in the x terminal. i had to download the install.txt again and edit using vim.

trisha02 2011-07-11 19:19

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
i uninstalled my previus patch and installed it again with the new method.after putting the commands it asked me to restart the phone.so i restarted.i dint check weder the patch was applied or not...but when i browsed thru filebox to dev/cgroup/cpu...der was nthng inside cpu folder......dis dint happen with my previous installation...help

carlon 2011-07-11 19:30

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
@trisha02
i just got mine working.
go to the xterminal
type: cd dev/cgroup/cpu
type : ls
you should see some folders there.

or you can go to the xterminal
type:cd /etc/event.d
type:ls
you should see the speedpatch folder there

edit* ls=LS

trisha02 2011-07-11 19:45

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

Originally Posted by carlon (Post 1049083)
@trisha02
i just got mine working.
go to the xterminal
type: cd dev/cgroup/cpu
type : ls
you should see some folders there.

or you can go to the xterminal
type:cd /etc/event.d
type:ls
you should see the speedpatch folder there

edit* ls=LS

when i typed::::


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # cd dev/cgroup/cpu
/bin/sh: cd: can't cd to dev/cgroup/cpu
/home/user #

and when i typed :


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # cd /etc/event.d
/etc/event.d # LS
/bin/sh: LS: not found
/etc/event.d # ls
actdead nokiamessaging
alsaped ohmd
app-detect omacp
as-daemon omap3camd0
avahi-daemon omap3camd1
bluetooth-sysinfo osso-systemui-splashscreen
bluetoothd phonet-at
bme pin-query
bootscreen progress
clock-daemon pulseaudio
cmt-act-dead pymaemo-optify
console rc-clean-fail-thumbnail
control-alt-delete rc-default
cpufrequist rcS
csd rcS-late
dbus reboot
dbus-actdead ringtoned
dnsmasq savecpu_start
dsme sgx
dsme-dbus shutdown
dsme-thermal signon
dsp sms-manager
dsp-manager smscon_boot
extended-locked-media-control-perms softupd
extmou-restore-cursors speedpatch
fmtx sscd
funambol-cpp-api sscd-test
gprs-provisioning sshd
hal sulogin
headphoned testserver
hildon-control-panel-personalisation tonegend
hildon-desktop ttyS0
hildon-startup-progress ttyS1
icd2 ttyS2
iphb ttyUSB0
ke-recv tuning
ke-recv-extra volumecontrold
kernel-modules wappushd
kernel-power welcome
kernel-power-shutdown wl1251-cal
location-proxy wlancond
mce xomap
n900-fmrx-enabler xsession
/etc/event.d #

carlon 2011-07-11 19:53

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
then try to re-apply the patch because it didn't work

tcbl50 2011-07-11 20:46

Re: [ANNOUNCE] Super Script [FINAL VERSION] + Tweaks To Speed UP N900 Dramatically + Battery Improvements
 
would like to say i have used this patch for five days and its working nicely. my N900 is not lagging anymore and transition control just made things even nicer!! thanks a lot man. overclocking never did anything for me but dis plus CSSU wow! its things like dis dat make dis phone better n better!


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

vBulletin® Version 3.8.8