Notices


Reply
Thread Tools
Posts: 429 | Thanked: 217 times | Joined on Apr 2010 @ Dubai
#41
@almehdi

Code:
if [ ! "`dpkg -l | grep 'rootsh'`" ]; then   
   echo "not installed, installing..."
   sudo apt-get install rootsh
   exit
elif [ ! "`dpkg -l | grep 'kernel-power'`" ]; then
   echo "not installed, installing..."
   apt-get install kernel-power
   exit
elif [ ! "`dpkg -l | grep 'kernel-power-settings'`" ]; then
   echo "not installed, installing..."
   apt-get install kernel-power-settings
   exit
else
   echo "found and installed, will continue"
fi
i thought instead of giving off an error why not auto install it if not found??
so yeah this is what i ended up with i tested it on two of my mobiles
and i was hoping if you could point out any mistakes within it

cheers
__________________
N900 @850Mhz
My N900 changed my life and made it ALOT easier!
 
RenaldoTT's Avatar
Posts: 511 | Thanked: 128 times | Joined on Aug 2010 @ Trinidad and Tobago
#42
With a script such as this, your instructions on how to install and unpack and run should be Noob friendly because professionals would just use it to test and help you out, but Noobs would use it for the fun of it and then you will receive many questions on why it doesn't work. I would of written out instructions in a Noob friendly form but I have not tested out this script as yet and probably won't until it's perfected.
 
Posts: 429 | Thanked: 217 times | Joined on Apr 2010 @ Dubai
#43
Originally Posted by RenaldoTT View Post
With a script such as this, your instructions on how to install and unpack and run should be Noob friendly because professionals would just use it to test and help you out, but Noobs would use it for the fun of it and then you will receive many questions on why it doesn't work. I would of written out instructions in a Noob friendly form but I have not tested out this script as yet and probably won't until it's perfected.
within the next hour or so hopefully this script will be more than perfect as it will have auto check for rootsh and power kernel and if not found then it will auto install it
then all is needed is reboot and boom problem solved and it will be even easier to use *hopefully*
and if you noticed the script is flawless and all the problems were generated not from the script itself but the miss usage of some
and lack of proper info
__________________
N900 @850Mhz
My N900 changed my life and made it ALOT easier!
 
RenaldoTT's Avatar
Posts: 511 | Thanked: 128 times | Joined on Aug 2010 @ Trinidad and Tobago
#44
Originally Posted by bakuur View Post
within the next hour or so hopefully this script will be more than perfect as it will have auto check for rootsh and power kernel and if not found then it will auto install it
then all is needed is reboot and boom problem solved and it will be even easier to use *hopefully*
Cool, I read this > http://talk.maemo.org/showthread.php?t=61887 good work, the only thing that eludes me is this:

Code:
FREQUENCY Nokia LV ULV XLV ideal
0 MHz 30 30 25 30 30
125 MHz 30 30 25 20 30
250 MHz 38 38 25 30 30
500 MHz 48 48 33 33 30
550 MHz *54* 48 38 38 33
600 MHz 60 *54* 38 38 38
700 MHz 54 45 45 45
750 MHz 54 45 45 45
810 MHz 54 48 48 48
850 MHz 54 48 48 48
900 MHz 54 *54* *54* *54*
950 MHz 54 54 54 54e


What's the purpose of this?
 
Posts: 429 | Thanked: 217 times | Joined on Apr 2010 @ Dubai
#45
mmm i tried explaining that as best i can but its still difficult to elaborate it

lets see, like the LV is a profile you load it, and each profile uses specific value of the voltage
some like starving are ment to less consume battery life
but its not guaranteed it will work on your phone so many profiles were made,
note the higher the number the more voltage used
like lets say you want to reach 850mhz you try lv ulv and xlv
and notice that xlv uses less voltage than lv
see which suits you and your phone best
and then save it as your default
and for battery saving use ideal and starving
__________________
N900 @850Mhz
My N900 changed my life and made it ALOT easier!
 
RenaldoTT's Avatar
Posts: 511 | Thanked: 128 times | Joined on Aug 2010 @ Trinidad and Tobago
#46
I understand the basic idea behind the values and what starving is, the problem is the part of the table under ulv and lv that have numbers such as 54, 48 and 45 etc. What are those numbers for? If it's also complicated just give me the basic idea or an example. Thanks
 
Posts: 429 | Thanked: 217 times | Joined on Apr 2010 @ Dubai
#47
from 54 and beyond that means its using extra voltage ie. consuming more battery

if you notice that the nokia default reaches 60 at 600mhz and thats fairly alot
but with the ideal it starts taking over voltage at 900mhz

and obviously thats much better than the stock nokia

i hope elaborated the idea
__________________
N900 @850Mhz
My N900 changed my life and made it ALOT easier!
 
Posts: 429 | Thanked: 217 times | Joined on Apr 2010 @ Dubai
#48
Originally Posted by RenaldoTT View Post
I understand the basic idea behind the values and what starving is, the problem is the part of the table under ulv and lv that have numbers such as 54, 48 and 45 etc. What are those numbers for? If it's also complicated just give me the basic idea or an example. Thanks
this will help you alot here
__________________
N900 @850Mhz
My N900 changed my life and made it ALOT easier!
 
RenaldoTT's Avatar
Posts: 511 | Thanked: 128 times | Joined on Aug 2010 @ Trinidad and Tobago
#49
Yea that link helped. So from what I read there, if I load ulv and I set the parameters to 250 700 then theoretically my battery should last longer at a higher speed of processing right.
 
Posts: 429 | Thanked: 217 times | Joined on Apr 2010 @ Dubai
#50
exactly!
i from my side had some problem with the ulv
so instead i used the xlv and now im default at ideal 500 to 950
__________________
N900 @850Mhz
My N900 changed my life and made it ALOT easier!
 
Reply


 
Forum Jump


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