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)

ed_boner 2012-01-31 21:26

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
i am going to try..but i am almost sure i am going to get the error described above, as i think i already did these exact same steps yesterday..ths woodyman!

woody14619 2012-01-31 21:33

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
Quote:

Originally Posted by hypnotised (Post 1158483)
hey, woody, can you make ur own scripts Instead of hard to point to flaws in someone else's work?

I have made several scripts (and apps) for the N900. How would me making a script change the existence of this one? It would not. I could make a hundred scripts, and this one will still exist.

Let me use terms you may be more familiar with:

Say I was asking a farmer to mark where a landmine exists. The farmer then says "Oh, that is so old it will never go off, I've walked near it several times." What to do? The safety of all is better served by marking where it is, or better by helping to disarm/remove it to make the area safer. Would you say in that case that I should not bother the farmer, and go farm my own land? How does that protect others walking in that area, who may not know of the danger it presents?

Now substitute landmine with script and re-read the passage. Do you see why what you've said is illogical and insulting?

ed_boner 2012-01-31 22:12

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
ok..did everything you said woody..stil:
$ cd /dev/cgroup/cpu/user/
-sh: cd: can't cd to /dev/cgroup/cpu/user/
~ $ ls
BACKqtwallet.db.sqlite applet2.png cache-Nokia-N900 replay_arp-0813-125159.cap
Games applet3.png custom-karam sbr
MyDocs apps cuteTube-QML share
NProfile batterypatch-install.sh.txt filebox-terminal tmp-Nokia-N900
Xorg.0.log book1.png int_kb_layout
apmonitord.log book2.png qld.log
applet1.png bookmask1.png qtwallet.db.sqlite
~ $
~ $

is this normal? i see many files with this supposedly speedpatch test..is something still wrong?

OperationNT 2012-01-31 23:09

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
It means that the "cd" command failed because you don't have any "/dev/cgroup/cpu/user/" directory (so the "ls" command only display your current directory content which remains "/home/user/").

I think your speedpatch install failed if it's what you try to know.

PS : "replay_arp-0813-125159.cap" : it is naughty to try to crack wireless connections :P.

Sourav.dubey 2012-02-01 02:48

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
Thank you woody
you and karam are really kind-hearted person
thank you very much

ed_boner 2012-02-01 03:08

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
Quote:

Originally Posted by OperationNT (Post 1158662)
It means that the "cd" command failed because you don't have any "/dev/cgroup/cpu/user/" directory (so the "ls" command only display your current directory content which remains "/home/user/").

I think your speedpatch install failed if it's what you try to know.

PS : "replay_arp-0813-125159.cap" : it is naughty to try to crack wireless connections :P.

oh really??!..tks a lot man for the enlightment..finnaly got rid of these patches for good..:)..hope you can bring a more friendly and effective version soon karam..for non-geeks..hehe..this was really way to complicated for me..tks for all.

OperationNT 2012-02-01 06:36

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
Hello everybody,

I installed yesturday night the battery and speed patch (kernel power 46 with wl drivers) and this morning, I had a good surprise : my battery was fully drained (yesturday night, it was full and usually, it stand 1 full day before I must recharge it :().

Is there any thing I missed ? (I did both tests for speedpatch and battery patch installation : there were positive)

Thanks in advance ;).

aizudean 2012-02-01 13:16

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
i just install the speedpatch but not the battery patch. it seems that the batterypatch overclocking my device. i don't want that.

i install the latest power kernel, cssu update, tracker-cfg, wifi-switcher, reduce brightness, reduce widget, and only one home screen :p.

my battery life was improve significantly... thanks karam! :D

OperationNT 2012-02-01 14:54

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
Ok, if the batterypatch overclocks the CPU, maybe that's why my phone battery was drain in one night (inactive). :p

Seker_94 2012-02-01 14:58

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
batterypatch switches to underclock profile when inactive
you have another problem

Sourav.dubey 2012-02-01 16:57

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
Quote:

Originally Posted by Seker_94 (Post 1158975)
batterypatch switches to underclock profile when in active
you have another problem

when idle right
and not in active
its inactive
please correct it

OperationNT 2012-02-01 18:15

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
I uninstalled batterypatch to see if the issue comes from it (or from speedpatch which I installed at the same time as batterypatch).

If I don't have battery problem this night, I will eventually try batterypatch again.

When I said my phone was "inactive", I mean I used the phone right side sliding button to stop the screen.

aizudean 2012-02-01 18:22

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
Quote:

Originally Posted by OperationNT (Post 1158969)
Ok, if the batterypatch overclocks the CPU, maybe that's why my phone battery was drain in one night (inactive). :p

from my opinion, the batterypatch has something to do with the PK49. you should install PK49 along with batterypatch to get it working. but if you just a normal user and not use overclocking, i suggest you just install the PK49 + speedpatch. you will notice the difference. :)

OperationNT 2012-02-01 21:49

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
Yes, I don't use overclocking so, as you say to me, batterypatch is useless in this case ?

Sadly, I don't know how I can have wl drivers (which could be useful when you travel and you stay in big city with a lot of WEP encrypted networks :p) on kernel power 49.

Do you know if there is any port of those drivers on kernel power 49 ? (in fact, it's more a question which belongs to the forum kernel power's topic)

So, is my current speedpatch install on a kernel power 46 useless ?

woody14619 2012-02-02 20:16

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
Quote:

Originally Posted by OperationNT (Post 1159194)
Yes, I don't use overclocking so, as you say to me, batterypatch is useless in this case ?

If you installed battery patch, you are overclocking. You really should read the postings in this thread about that.

One thing to consider: While battery patch does in fact underclock the device sometimes, it only does so in certain conditions. In particular, it will only underclock when the device is closed (no keyboard showing) and the screen backlight is off. If you have the keyboard open, or have the config set to leave backlight on when plugged in, it will never underclock in those conditions.

Secondly, it may be underclocking that's causing you issues. Many people run overclock profiles without a problem (I run mine constantly at 500-900 without issue). But if you install batterypatch any time you add lots of new media that needs updating with tracker and the like, that can cause it to use lots more battery than it would normally . Let me explain:

Suppose you just flashed your device, and are setting up fresh. You install all your apps, and all the media you want, then later you plug it in to charge and go to sleep. At some point, tracker kicks in and goes off to find and index all the new media. What normally would happen is the system would ramp quickly up to 600Mhz and make all the thumbnails and what not it needs. Lets say that takes an hour, the device then has several more hours of sleep time to catch up and fully charge the battery.

With Batterypatch though, tracker is reniced (being a background process), and "IGNORE_NICE_LOADS" is set, so it will run for it's duration at 125Mhz only. In this case, even though tracker is running top notch, it will never kick up to a higher speed. What would normally take an hour running at 600Mhz before will take closer to 5 hours at 125Mhz. And since 125Mhz is an active mode (not sleeping), it will eat most of the power that would have gone to charging the battery (especially if using a low-power < 1A charger). If there's enough media, it may just run all night, and never have a chance to charge at all, using all the power it gets to index instead.

This is one of the dangers of tweaking parameters in the kernel for "optimal performance" for a certain use case. What may be fine for common use can cause problems when doing things that are less common, or not considered as part of the standard use case.

panjgoori 2012-02-10 06:11

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
hey Karam. thanks for ur hard work but i have a question. why phone just stays at 720-805 mhz during call. isn't its dangerous for the cpu to be overclocked for a hour or more ?

karam 2012-02-10 11:52

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
that's true
i have made some mistakes

The new version of batterypatch is in extras
changelog:

* Fixed the problem causing to load cpu_sleep many times while idle
* Added new pausing scripts while in idle
* Added overclock-while-in-call profile
* Warning in description about overclocking
* Changed installation method: all KP49> has vdd1=0
* Installation results with clean dbus-scripts patch: only includes needed files


also batterypatch-testing has new tweaks which will hopefully increase the continues time of usage
but need some people to confirm it so i can move the changes to batterypatch

SOME INFO ABOUT NEW BATTERYPATCH
minfreq for overclock-call is 600
it's only activated until the call is answered

a new profile is created (overclock-while-in-call) which will be loaded directly after answering a call
it is the same as overclock (so 250 is min freq when talking on N900)
i made a this new profile so anyone can edit it separated from overclock profile (the one used by default)

@woody i have added warning about OC to description

i recommend any one who was disappointed from previous versions to try this one

panjgoori 2012-02-10 13:40

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
testing battery patch testing 4.0. btw why you disabled vdd1 ?

karam 2012-02-10 13:49

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
are you using kernel-power 49 ? or pre50 ?

if [ "$kernel " == "2.6.28.10-power49" ]; then
kernel-config load default
mv /opt/dbus-scripts/overclock49-50 /usr/share/kernel-power-settings/overclock
mv /opt/dbus-scripts/overclock-call49-50 /usr/share/kernel-power-settings/overclock-call
mv /opt/dbus-scripts/overclock-while-in-call49-50 /usr/share/kernel-power-settings/overclock-while-in-call
mv /opt/dbus-scripts/underclock49-50 /usr/share/kernel-power-settings/underclock
else
rm /opt/dbus-scripts/overclock49-50
rm /opt/dbus-scripts/overclock-call49-50
rm /opt/dbus-scripts/overclock-while-in-call49-50
fi

this is part off postinst script
if you are using 49 or pre50 or 50
it will load the overclock profile with vdd1 enabled

/EDIT :
oops i have a problem (typo) in postinst with batterypatch-testing

i will fix it now
thank you for notifying me

/EDIT2 :
please update to 5.1 stable
or 4.1 testing

ricardo8 2012-02-10 17:15

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
a problem encounter in stable v5.1
video is not playing continuously

weechia 2012-02-10 17:29

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
great! after installing the speedpatch, wow, n900 is smoother than b4! thanks!

mrwormp 2012-02-10 21:32

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
Quote:

Originally Posted by ricardo8 (Post 1163211)
a problem encounter in stable v5.1
video is not playing continuously

I have the same problem also

ricardo8 2012-02-11 02:23

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
any solution?

panjgoori 2012-02-11 10:15

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
testing 4.0 is consuming battery. and one more bug it doesnt load overclock-while-in-call profile when attend call. it stays at overclock-call. batterypatch stable 4.5 was giving more battery than testing 4.0. will check both 4.1 and 5.1. thanks for the update.

is this is fixed in newer version ?

karam 2012-02-11 11:58

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
of course
but just determinate the problems

@ricardo8
so far : the latest stable update has video problem ?
can you do the following :

1-) reboot N900 normally
start playing a video (twice)

2-) load dsp profile
and replay the same video

if the there is no problem with the video playback with dsp
then the problem is from overclock profile
if there is problem playing the video with dsp then the problem is from cpu_normal

i personally cannot determinate the problem because i'm not having it

@panjgoori
how did you check overclcok-while-in-call was not loaded ?
the only way is with SSH
if u are using 4.0 . update to 4.1
because 4.0 has a major typo which will remove profiles

foobar 2012-02-11 12:21

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
I'm seeing something strange with current battery patch:
The phone won't vibrate anymore on incoming SMS and the yellow notification bubble doesn't appear either. Instead the contact's conversation window is opened quietly. I don't know if a notification sound would be played as my phone is always in silent mode.
Happens with both battery patch 5.0 and 5.1.
Uninstalling battery patch solves the problem.

panjgoori 2012-02-11 15:13

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
Quote:

Originally Posted by karam (Post 1163479)
@panjgoori
how did you check overclcok-while-in-call was not loaded ?
the only way is with SSH
if u are using 4.0 . update to 4.1
because 4.0 has a major typo which will remove profiles

i checked it via xterm. by typing:

Code:

kernel-config show
the profile was currently loaded was overclock-call. min 600 max 805 and overclock-while-in-call min is 250 and max is 600 (i edited max freq).

ricardo8 2012-02-11 17:12

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
[QUOTE=karam;1163479]of course
but just determinate the problems

@ricardo8
so far : the latest stable update has video problem ?
can you do the following :

1-) reboot N900 normally
start playing a video (twice)

2-) load dsp profile
and replay the same video

if the there is no problem with the video playback with dsp
then the problem is from overclock profile
if there is problem playing the video with dsp then the problem is from cpu_normal

i personally cannot determinate the problem because i'm not having it


If i load dsp, the video runs smoothly. so it means the problem is in the overclock profile?
can u fix this?
thanks in advance

Seker_94 2012-02-11 18:50

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
wait wait wait
i have no problem with video and no problem with sms notification

using hd /lib/dsp

Bzzz 2012-02-12 02:15

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
Just upgraded to battery patch 5.1, did a clean reboot, and hoped for the best.

Device is now even more unresponsive than before, unlocking (backlight on -> image appears) takes 5 seconds, opening nixieclock took over a minute, after appearing there was still a massive delay (10s no display update, 5s, and ongoing shorter delays). Another minute later, the N900 rebooted.

Congratulations for releasing unstable crap again and again in the regular bp package instead of -testing. Really. I'm purging it now and fapman gets a blacklist entry for it. Even if it saves battery, it's not worth the trouble and delays involved :mad:

mrwormp 2012-02-12 02:25

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
Quote:

Originally Posted by Bzzz (Post 1163737)
Just upgraded to battery patch 5.1, did a clean reboot, and hoped for the best.

Device is now even more unresponsive than before, unlocking (backlight on -> image appears) takes 5 seconds, opening nixieclock took over a minute, after appearing there was still a massive delay (10s no display update, 5s, and ongoing shorter delays). Another minute later, the N900 rebooted.

Congratulations for releasing unstable crap again and again in the regular bp package instead of -testing. Really. I'm purging it now and fapman gets a blacklist entry for it. Even if it saves battery, it's not worth the trouble and delays involved :mad:

nobody never told u to install it

karam 2012-02-12 04:03

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
Quote:

Originally Posted by Bzzz (Post 1163737)
(backlight on -> image appears) takes 5 seconds

just this point here
if you have a fresh rebooted N900
this always happen with image application if you have many images
but after the first launch
launching image-viewer takes 0.2 second to get launched

oh
@ALL

can another person confirm the video playback problem ?
i'm wondering if it's caused by the stock dsp libraries with overclocked dsp rate
personally i'm using HD patch and i get no lags while playing videos

@panjgoori
i expected so
you can't check it via kernel-config show with N900 it self
you need to remote SSH
here's why :

when the screen is off (when you put your head near the speakers)
cpu_sleep is launched
it switches to overclock-while-in-call

when you remove your head
the brightness is on which will load cpu_normal
and if you are still on the same call (didn't end it)
cpu_normal will be launched which will activate overclock-call
min 600mhz
got it ?

actually there is a use of this too :
when you speak with some one on speakers on
and you want to write some thing with notes (for example)
it will be smoother having min freq as 600 mhz

btw did you try testing 4.1 ?
and can you confirm if you are having video playback problem ?

thank you

abhirajsoni 2012-02-12 04:49

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
i have video lag problem now

Kenny.Vo 2012-02-12 05:36

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
I also have video lag problem.

panjgoori 2012-02-12 10:37

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
Quote:

Originally Posted by karam (Post 1163766)
@ALL

can another person confirm the video playback problem ?
i'm wondering if it's caused by the stock dsp libraries with overclocked dsp rate
personally i'm using HD patch and i get no lags while playing videos

@panjgoori
i expected so
you can't check it via kernel-config show with N900 it self
you need to remote SSH
here's why :

when the screen is off (when you put your head near the speakers)
cpu_sleep is launched
it switches to overclock-while-in-call

when you remove your head
the brightness is on which will load cpu_normal
and if you are still on the same call (didn't end it)
cpu_normal will be launched which will activate overclock-call
min 600mhz
got it ?

actually there is a use of this too :
when you speak with some one on speakers on
and you want to write some thing with notes (for example)
it will be smoother having min freq as 600 mhz

btw did you try testing 4.1 ?
and can you confirm if you are having video playback problem ?

thank you

yeah understood. thanks for the explanation. i installed it now (4.1). and im not facing any video playback problems. everything working smooth and fine. and yes running at 600 phone is really smooth. not having any problem while talking on phone and starting any other app at the same time. thanks for ur hardwork Karam.

edit: besides im not using HD libs.

corduroysack 2012-02-12 11:25

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
tried both batterypatch's 5.1 and 4.1 and both messed up my video recording just got a black screen and no playback of said videos. unistalled, restored using backupmenu (which i made prior to testing) back to using pmconfig. and everything is back working now.
thanks but no thanks :D

BrX 2012-02-12 11:39

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
I'm having problem with sms notification and video also, so I downgraded BP to 3.5 .

peter2p 2012-02-12 11:39

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
Quote:

Originally Posted by karam (Post 1163766)
btw did you try testing 4.1 ?
and can you confirm if you are having video playback problem ?

Yesterday i upgraded batterypatch to 5.0 through x-terminal
I had the same problem like foobar
Also video's didn't playback
.mp4 recorded by device had lag problem
.avi longplay movies and boot video won't start anymore

Today uninstalled 5.0 and installed testing 4.1 by FAM.
Everything is back to normal again.

Thx karam

Bzzz 2012-02-12 14:20

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
Quote:

Originally Posted by karam (Post 1163766)
just this point here
if you have a fresh rebooted N900
this always happen with image application if you have many images
but after the first launch
launching image-viewer takes 0.2 second to get launched

Not the image application, but every display content that is there when unlocking the device. Now I see the black + backlit screen a very short time, and then the content appears. Every time, no matter how long the N900 was locked before.


Somehow I think battery consumption WITHOUT battery patch is lower than before...load level certainly IS.
http://www.abload.de/thumb/batterygr...20212h5y4c.png
(the latest spikes are possibly caused by sleepanalyser2)

karam 2012-02-12 14:50

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900 / NEW BATTERYPATCH UPDATE
 
the funny thing is that testing release is more stable than the *stable* one
i will upload a fix
but before so
i need someone to confrim that video playback problem is fixed after editing overclock and changing powersave_bias=20 to 0

also is their an sms problem with batterypatch-testing ?

oh and @Bzzz

this is a quik screenshot i took before releasing the latest batterypatch-testing

http://i44.tinypic.com/es26p1.jpg

/EDIT
this is now
http://i40.tinypic.com/iqxze0.png


All times are GMT. The time now is 13:20.

vBulletin® Version 3.8.8