maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCED] Extremely easy Overclock Script -updated (https://talk.maemo.org/showthread.php?t=63208)

Pavol 2010-10-02 10:19

Re: [ANNOUNCED] Extremely easy Overclock Script
 
sudo gainroot
kernel-config load ideal

same, outpout :
http://img827.imageshack.us/img827/6991/obrazok.png

bakuur 2010-10-02 10:27

Re: [ANNOUNCED] Extremely easy Overclock Script
 
which proves what ive been saying all along
dear pavol did you install the power kernel after or before nitdroid?
if after then i suggest you uninstall nitdroid as you wont be able to boot the power kernel
and also remove the multiboot
then after that reinstall them if you want them

Pavol 2010-10-02 10:38

Re: [ANNOUNCED] Extremely easy Overclock Script
 
after , thanks , I'll try it

bakuur 2010-10-02 10:42

Re: [ANNOUNCED] Extremely easy Overclock Script
 
Quote:

Originally Posted by Pavol (Post 831512)
after , thanks , I'll try it

ohh and please when you do tell me how things go with you
im pretty interested with your case

AlMehdi 2010-10-02 10:55

Re: [ANNOUNCED] Extremely easy Overclock Script
 
Quote:

Originally Posted by bakuur (Post 831481)
thing is am not that advanced in commanding still
i just used my basic knowledge to do what i did
and i think thats as far as i can go
and if you would share what you know then heck ,why not? :D
and thanks in advance :D

I am not that advanced too ;)

If you add this to the top of your script then it will find if the programs are installed.

Code:

if [ ! "`dpkg -l | grep 'rootsh'`" ]; then
  echo "not installed, exiting"
  exit
else
  echo "installed, will continue"
fi

Of course you need to change the "echo" to fit your script better. If you want to test it.. write something you don't have installed instead of "rootsh" and see what happens.

edit: or in this case you might wanna check for kernel-power also

Code:

if [ ! "`dpkg -l | grep 'rootsh'`" ]; then
  echo "not installed, exiting"
  exit
elif [ ! "`dpkg -l | grep 'kernel-power'`" ]; then
  echo "not installed, exiting"
  exit
elif [ ! "`dpkg -l | grep 'kernel-power-settings'`" ]; then
  echo "not installed, exiting"
  exit
else
  echo "installed, will continue"
fi

or you could do this if you don't want an output on successful..

Code:

if [ ! "`dpkg -l | grep 'rootsh'`" ]; then
  echo "not installed, exiting"
  exit
elif [ ! "`dpkg -l | grep 'kernel-power'`" ]; then
  echo "not installed, exiting"
  exit
elif [ ! "`dpkg -l | grep 'kernel-power-settings'`" ]; then
  echo "not installed, exiting"
  exit
fi


bakuur 2010-10-02 11:18

Re: [ANNOUNCED] Extremely easy Overclock Script
 
Quote:

Originally Posted by AlMehdi (Post 831518)
I am not that advanced too ;)

If you add this to the top of your script then it will find if the programs are installed.

Code:

if [ ! "`dpkg -l | grep 'rootsh'`" ]; then
  echo "not installed, exiting"
  exit
else
  echo "installed, will continue"
fi

Of course you need to change the "echo" to fit your script better. If you want to test it.. write something you don't have installed instead of "rootsh" and see what happens.

edit: or in this case you might wanna check for kernel-power also

Code:

if [ ! "`dpkg -l | grep 'rootsh'`" ]; then
  echo "not installed, exiting"
  exit
elif [ ! "`dpkg -l | grep 'kernel-power'`" ]; then
  echo "not installed, exiting"
  exit
elif [ ! "`dpkg -l | grep 'kernel-power-settings'`" ]; then
  echo "not installed, exiting"
  exit
else
  echo "installed, will continue"
fi

or you could do this if you don't want an output on successful..

Code:

if [ ! "`dpkg -l | grep 'rootsh'`" ]; then
  echo "not installed, exiting"
  exit
elif [ ! "`dpkg -l | grep 'kernel-power'`" ]; then
  echo "not installed, exiting"
  exit
elif [ ! "`dpkg -l | grep 'kernel-power-settings'`" ]; then
  echo "not installed, exiting"
  exit
fi


its perfectly amazing
ill test it a few times then upload it ASAP
other than that your help was mostly appreciated
hehe this will be oc-script 1.0.1 :P :P

Pavol 2010-10-02 11:22

Re: [ANNOUNCED] Extremely easy Overclock Script
 
n 900 is death :)

Can t flash kernel, reguired files not found
Guru Meditation #00000025.62017712
:D

Hit and key to panic

bakuur 2010-10-02 11:47

Re: [ANNOUNCED] Extremely easy Overclock Script
 
what exactly did you do ? :o

Pavol 2010-10-02 12:15

Re: [ANNOUNCED] Extremely easy Overclock Script
 
Quote:

Originally Posted by bakuur (Post 831535)
what exactly did you do ? :o

uninstall multiboot kenel, multiboot + nitdroid all package

n900 reflashed, now install : power kernel and output is ok :)
http://img251.imageshack.us/img251/1...0100214082.png

thanks :)

bakuur 2010-10-02 12:25

Re: [ANNOUNCED] Extremely easy Overclock Script
 
okay so thats great now you can easily overclock your phone

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

this will be of some help i hope


All times are GMT. The time now is 23:44.

vBulletin® Version 3.8.8