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)

peter2p 2012-01-27 22:40

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
It is really sad to read all these messages on this thread...
TMO gives a lot of people the opportunity to maintain and update a wonderful device build for experimenting.
Everybody here has the maturity to decide what they want or not want to do with it and when there's a bad ending, there's always a thread or someone for advice to solve your problems.
Please, shake hands guys and work together, a lot of people believe in both of you, I am one of them...

woody14619 2012-01-28 00:07

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

Originally Posted by peter2p (Post 1156742)
Please, shake hands guys and work together, a lot of people believe in both of you, I am one of them...

I've said my bit. If Karam does the things I've listed (which he should want to do) then I've got nothing against these patches. But when he's denying his scripts do things that they clearly do, what option is there?

This isn't some theoretical debate. Scripts can be executed and checked. His descriptions lie about what the scripts actually do, and do things without adequate warning to potential users. If he corrects that, great. Until he does, I'm not about to tell people they're ok to use. And I'm certainly not helping people that install it until it's properly removed (which right now may need a package re-install of any package relying on changing .profile or .bashrc files).

The list of things that need fixing, in summary are:
SpeedPatch:
  • Needs to fix the postinst/prerm script to do injection and proper extraction on .profile and .bashrc files.
  • Needs to clean up the description to accurately portray what this script actually does, creating 1 cgroup (not 4), which just about everything falls into.

BatteryPatch:
  • Needs to warn the user that he's loading overclock profiles (and potentially enabling SR1) in the description of the package.
  • Needs to fix the busted cpu_normal script to check for the value of the returned dbus call and not super-overclock for the duration of the call. (e.g. check for a value between 1 and 7, not !="0" )
  • Needs to fix the postinst script to properly identify the kernel version and not install SR1scripts unless the kernel version is >= 50.
  • Should alter postinst and prerm to remember/reload the kernel config set by the user (if any) on install/uninstall.

If those are done, both will be 100% safer, won't interfere with other packages, will adequately warn potential users of overclocking, and can be fully uninstalled leaving no deltas on package cleanup (what all apps should strive for). I've even shown documentation for how to fix most of those issues. What more should I do?

karam 2012-01-28 04:44

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

Speedpatch:

ok then :
* injection cannot work with echo because these $$ cannot be shown
so injecting should be something like this :

Code:

cat <<_EOF >>/home/user/.bashrc
  if [ "\$PS1" ] ; then
    mkdir -p -m 0700 /dev/cgroup/cpu/user/\$\$ 
    echo \$\$ > /dev/cgroup/cpu/user/\$\$/tasks
    echo "1" > /dev/cgroup/cpu/user/\$\$/notify_on_release
  fi
_EOF

Code:

  cat <<_EOF >>/home/user/.profile
if [ -f ~/.bashrc ]; then
  . ~/.bashrc
fi

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
export PATH

mesg n
_EOF

* this can be done

BatteryPatch :
* can be done

* will recheck this one

* how about making default profile contains 700 and 750
with only KP49 and < has 720 in ?

* currently it returns to the default one, any suggestion how to make it remember the user's one ?

if i have enough time this week then i will do that
if i don't then it will be next or after it
will see how it goes

PS2 : thank you peter2p offensivity is not good and will get us no where

nowaq 2012-01-28 10:51

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
So,
how can i remove these patches and be sure that they are 100 percent removed from my device?
Is reflashing the only way, or i can use purge option?

karam 2012-01-28 13:31

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

with speedpatch
if you have a custom .profile and .bashrc then you will have to restore them

if you don't then removing it from HAM FAM or apt-get will clean everything

ed_boner 2012-01-28 17:30

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
finally this is going forward a constructive approach!:)

Spotfist 2012-01-28 18:52

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
Hectic thread, kinda find myself sitting on the fence here, I found the overclocking settings useful, the phone was smoother and it was obvious to me that the patches overclocked the device. I knew the extent of the changes as I read up fully before installing.

My beef with the patches however are that they don't actually seem to do much regarding battery life, I uninstalled and noticed no difference, it seems the real saving comes from the KP49 I installed. The next issue is the uninstall and these backed up files, i have installed a fair amount of stuff on my N900, I am a bit worried that if I had to restore the backups could I possibly loose any settings that have been included post speed/battery patch?

Seker_94 2012-01-29 12:16

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
you created your .profile .bashrc ?
if not then no need to restore anything

ed_boner 2012-01-30 07:51

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
so..if i install speedpatch but not batterypatch..my phone could become faster..but it will drain more battery?..i want to try speedpatch wuth dsp profile from kp49..is it a good idea?

karam 2012-01-30 12:04

Re: [ANNOUNCE] Speed Patch + Battery Patch + Tweaks --> Everything Needed To Have A Perfect N900
 
*yes it could
*no it won't drain more battery
*and it doesn't depend on batterypatch anyway


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

vBulletin® Version 3.8.8