Notices


Reply
Thread Tools
Posts: 54 | Thanked: 7 times | Joined on Mar 2010 @ Slovakia, Žilina
#31
sudo gainroot
kernel-config load ideal

same, outpout :
 
Posts: 429 | Thanked: 217 times | Joined on Apr 2010 @ Dubai
#32
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
__________________
N900 @850Mhz
My N900 changed my life and made it ALOT easier!
 

The Following User Says Thank You to bakuur For This Useful Post:
Posts: 54 | Thanked: 7 times | Joined on Mar 2010 @ Slovakia, Žilina
#33
after , thanks , I'll try it
 
Posts: 429 | Thanked: 217 times | Joined on Apr 2010 @ Dubai
#34
Originally Posted by Pavol View Post
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
__________________
N900 @850Mhz
My N900 changed my life and made it ALOT easier!
 
Posts: 1,751 | Thanked: 844 times | Joined on Feb 2010 @ Sweden
#35
Originally Posted by bakuur View Post
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?
and thanks in advance
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
__________________
You like what i do? Donate!

Make your desktop look awesome - use the AwOken Theme with the AwOken Icon Theme.

Add me on twitter @almehdin
Visit the swedish maemo/meego community forums

Last edited by AlMehdi; 2010-10-02 at 11:04.
 

The Following User Says Thank You to AlMehdi For This Useful Post:
Posts: 429 | Thanked: 217 times | Joined on Apr 2010 @ Dubai
#36
Originally Posted by AlMehdi View Post
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
__________________
N900 @850Mhz
My N900 changed my life and made it ALOT easier!
 
Posts: 54 | Thanked: 7 times | Joined on Mar 2010 @ Slovakia, Žilina
#37
n 900 is death

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


Hit and key to panic
 
Posts: 429 | Thanked: 217 times | Joined on Apr 2010 @ Dubai
#38
what exactly did you do ?
__________________
N900 @850Mhz
My N900 changed my life and made it ALOT easier!
 
Posts: 54 | Thanked: 7 times | Joined on Mar 2010 @ Slovakia, Žilina
#39
Originally Posted by bakuur View Post
what exactly did you do ?
uninstall multiboot kenel, multiboot + nitdroid all package

n900 reflashed, now install : power kernel and output is ok


thanks

Last edited by Pavol; 2010-10-02 at 12:22.
 
Posts: 429 | Thanked: 217 times | Joined on Apr 2010 @ Dubai
#40
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
__________________
N900 @850Mhz
My N900 changed my life and made it ALOT easier!
 

The Following User Says Thank You to bakuur For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:25.