Jump to content

[KERNEL] Sub501 Kernel, mods and control apk


Recommended Posts

Posted
no man this is not for normal users. there is a way to kill but you have to know what to kill. see the checks that script is performing to prevent multiple instances.

sorry, my fault, should have read your whole script. i did only a ps ax and killed the script and the sleep command by pid-number

i now use the wifi loop also to disable the button-light if its on after max 1min

with

echo 0 > /sys/devices/platform/leds-microp/leds/button-backlight/brightness

btw: is there a way to lower the lcd-brightness below 9,2% (9,2 is the min value i found in an market app)?

if i set it in sysfs manualy lower it gets back brighter again automagically

is the min_brightness a kernel default? (max_brightness is in sysfs 255, but unwritable)

Posted
sorry, my fault, should have read your whole script. i did only a ps ax and killed the script and the sleep command by pid-number

i now use the wifi loop also to disable the button-light if its on after max 1min

with

echo 0 > /sys/devices/platform/leds-microp/leds/button-backlight/brightness

btw: is there a way to lower the lcd-brightness below 9,2% (9,2 is the min value i found in an market app)?

if i set it in sysfs manualy lower it gets back brighter again automagically

is the min_brightness a kernel default? (max_brightness is in sysfs 255, but unwritable)

/sys/devices/platform/amoled-backlight.0/leds/lcd-backlight/brightness

I don't see any diff between echo 10 and echo 1

I'll check the kernel sources. But to be honest a brightness of 1 is useless

Posted
/sys/devices/platform/amoled-backlight.0/leds/lcd-backlight/brightness

I don't see any diff between echo 10 and echo 1

I'll check the kernel sources. But to be honest a brightness of 1 is useless

yes but i use the phone often in dark rooms and the display is too bright for that, even with 0% and a dark background picture

Guest sebastiaan15
Posted (edited)

sub501 thanks for the great kernel

but can you add the smartass govenor

and if it is possible the Pershoot's audiomod

can i underclock this kernel

Edited by sebastiaan15
Posted
sub501 thanks for the great kernel

but can you add the smartass govenor

and if it is possible the Pershoot's audiomod

can i underclock this kernel

1. don't know anything about smartass governor. a link or something will be useful.

2. no audiomod in this kernel. some peoples (incl me) found distorted sound using that audio mod.

3. underclock? you mean undervolt? it is already undervolted.

Guest sebastiaan15
Posted (edited)

this text is copyed from XDA

smartass governor - is based on the concept of the interactive governor.

I have always agreed that in theory the way interactive works - by taking over the idle loop - is very attractive. I have never managed to tweak it so it would behave decently in real life. Smartass is a complete rewrite of the code plus more. I think its a success. Performance is on par with the "old" minmax and I think smartass is a bit more responsive. Battery life is hard to quantify precisely but it does spend much more time at the lower frequencies.

Smartass will also cap the max frequency when sleeping to 352Mhz (or if your min frequency is higher than 352 - why?! - it will cap it to your min frequency). Lets take for example the 528/176 kernel, it will sleep at 352/176. No need for sleep profiles any more!

here is the link from richardtrip his kernel the (Froyo Kernel V5a with smartass governor)

http://ip208-100-42-21.static.xda-develope...ad.php?t=801435

the leedroid has it to the link

http://ip208-100-42-21.static.xda-develope...ad.php?t=768703

here are the both kernels

Kernel_Froyo_cfq_V5a_smartass.zip

kernel_leedroid_2.2b_sdfix.zip

sub501 here is some info of the smartass govenor

Edited by sebastiaan15
Guest sebastiaan15
Posted
1. don't know anything about smartass governor. a link or something will be useful.

2. no audiomod in this kernel. some peoples (incl me) found distorted sound using that audio mod.

3. underclock? you mean undervolt? it is already undervolted.

underclock i mean my desire lowest is 254 mhz but some kernels i can go to 128 mhz

Posted (edited)
underclock i mean my desire lowest is 254 mhz but some kernels i can go to 128 mhz

ah, now I understand. in fact it is not underclocking as the htc kernel already have 128 and ... 19.2mhz . the only thing is they set lower limit to 254. yeah, theoretically, we can go to 128.

EDIT

Did you find other kernel that is using 128 as the min freq value? I did a brief search and I found nothing . Asking because I don't want to spend time rebuilding/reflashing just to find that 128 is unstable.

EDIT

Found something, I need to test

Edited by Sub501
Posted

i miss the euro symbol, and other character sets like cyrillic on all keyboards (ie smart keyboard pro) and ie in market in display

could it be that kernel has only iso-latin without euro?

Posted
i miss the euro symbol, and other character sets like cyrillic on all keyboards (ie smart keyboard pro) and ie in market in display

could it be that kernel has only iso-latin without euro?

does it work with your previous kernel?

Posted
does it work with your previous kernel?

it did work with modaco kernel, but i can't say if it worked with richard trips kernel

but if this helps yesterday i used your config file to look around with make menuconfig and was surprised that only the iso-8859-1 was selected (this is without euro, i think with euro is -15?)

btw: i changed the language to uk english in settings on phone and the euro isn't there either

the only thing other thing that i could imagen beside the kernel that its the aura sense rom

do you have the euro symbol?

Posted
it did work with modaco kernel, but i can't say if it worked with richard trips kernel

but if this helps yesterday i used your config file to look around with make menuconfig and was surprised that only the iso-8859-1 was selected (this is without euro, i think with euro is -15?)

btw: i changed the language to uk english in settings on phone and the euro isn't there either

the only thing other thing that i could imagen beside the kernel that its the aura sense rom

do you have the euro symbol?

Yes I have the Euro key (Numbers -> 2/2 first key on upper left)

Posted
Yes I have the Euro key (Numbers -> 2/2 first key on upper left)

found it, it was my screenfont.

kernel charmap is only for cifs or terminal important, i believe, there its missing too

Posted

did a nand speedtest with various readahead values

test is copying 44,7mb from /data to >/dev/null after droping cache

echo 8 > /sys/block/mtdblock5/bdi/read_ahead_kb ; echo 1 > /proc/sys/vm/drop_caches ; time sh -c "cat /data/44MB.zip > /dev/null"

used 4k ... 1024k, but they differ not much, not more than with the same readahead value there are different results

readahead 8k

real 0m8.110s

user 0m0.000s

sys 0m0.140s

readahead 128k

real 0m8.312s

user 0m0.000s

sys 0m0.050s

Guest sebastiaan15
Posted (edited)
1. don't know anything about smartass governor. a link or something will be useful.

2. no audiomod in this kernel. some peoples (incl me) found distorted sound using that audio mod.

3. underclock? you mean undervolt? it is already undervolted.

sub501 have you look at the smartass govenor i post some links for you yesterday

Edited by sebastiaan15
Posted
found it, it was my screenfont.

kernel charmap is only for cifs or terminal important, i believe, there its missing too

you have utf8 as a modele

Posted
sub501 have you look at the smartass govenor i post some links for you yesterday

not convinced about governors not in vanilla tree. they perform well on some setups, bad on others. still investigating.

Posted (edited)
Kernel 2.6.32.24 is available. Please check post #2.

btw i got - after some tweaking the configfiles for my usage behavior - excellent battery life with 2.6.32-15-sub501 and your scripts - light use including sheduled titanium backup, battery only minus 18% over 26 hours

even with aura rom which fills up my 180MB system partition - removed the unionfs and a few htc apps its huge nevertheless

but i shrinked the cache now from 90MB to 10MB, its empty always anyway (max 1,6MB i saw until now) and have 178MB data free

/dev/block/mtdblock3 174.5M 165.5M 9.0M 95% /system

/dev/block/mtdblock5 253.5M 75.8M 177.7M 30% /data

/dev/block/mtdblock4 9.6M 1.5M 8.1M 16% /cache

tmpfs 8.0M 0 8.0M 0% /app-cache

installed now 2.6.32.24-sub501. is there something special you want to be tested?

Edited by woti17
Guest NeoEpsilon
Posted

Great kernel Sub501 :(...

BTW, I use your 2.6.32.15 kernel...

Using the default init mods, the CPU was supposed to be set @806Mhz MAX when the battery is <30%, correct..?

Then again, Android System Info and Quadrant reported the CPU @768Mhz... :)

In Android System Info, the reported "available" speed was the following...

245

384

422.4

460.8

537.6

576

614.4

652.8

691.2

729.6

768

844.8

921.6

998.4

1075.2

1113.6

A few steps are missing... :)

Is this the result of adding a new steps..?

I've been wondering is this reported clock the "real" clock, or merely a false report...

For example, the CPU was running @806Mhz and yet reported @768Mhz...

Secondly, how can we know how many mW/dB the Wi-Fi radio is using @stock and after using your mod..?

Thanks for your time and great work...

Guest snapilica
Posted
Secondly, how can we know how many mW/dB the Wi-Fi radio is using @stock and after using your mod..?

Thanks for your time and great work...

iwconfig eth0

Guest NeoEpsilon
Posted
iwconfig eth0

Thanks, it returned a correct value through ADB... :)

Just to confirm...

Can I enter that command through Terminal Emulator in Android..?

My phone froze and restart when I enter it... :)

Posted
Thanks, it returned a correct value through ADB... :)

Just to confirm...

Can I enter that command through Terminal Emulator in Android..?

yes, no adb needed, just terminal

Guest NeoEpsilon
Posted
yes, no adb needed, just terminal

Now tht's weird since my phone reboot when I enter that in Terminal Emulator... :)

BTW, can you also confirm my previous report about the clock speed...

Thanks...

Posted
Now tht's weird since my phone reboot when I enter that in Terminal Emulator... :)

BTW, can you also confirm my previous report about the clock speed...

Thanks...

try

iwconfig --help

just to make sure its not the binary that crashes the system anyway

try

su

try

iwconfig eth0 tx 20dBm

try

iwconfig eth0 tx 10dBm

can't say anything to the clockspeeds as i have now the newer kernel 2.6.32.24-sub501

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.