yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] snq-:
those modules with all the debug syms are rather um... huge

nice script for repacking and rewriting boot.img :)

(after all the drama with htc, plz provide the diff at least ;))
[Desire Android Development] Oijkn:
Great tweak, thanks a lot mate ! I will try it now and tell you the feedback ;)

--------------------------------------------

After installation all seems good :) i have attached some screen shots.

Very good work richardtrip i was waiting for something like that ;) but can you explain me what are this functions please :

# CFQ Scheduler

# Pershoot's audiomod (loudness).

# EXT4

# tun.ko module

# CIFS (+utf8)

# NFS

And with more time can you add the mode "interactive" ins Set CPU if it's possible please ;)

Regards.
[Desire Android Development] shnizlon:
HID support ? :D
[Desire Android Development] ElberethZ:
Just installed on MCR r9 WIP 21/09/2010. Working fine! :)

Thanks!
[Desire Android Development] baddealer:
How can I uv, do I need setCPU?
[Desire Android Development] PTKDev:
with this kernel what's i have? performance? better battery?

this is better then Kernel of leedroid?
[Desire Android Development] mikbe:
Works like charm!
[Desire Android Development] mr.r9:
It's working on RCMixHD. Got 1558 in Quadrant :D

Thank you Mr. Richardtrip
[Desire Android Development] PTKDev:
Sorry, this is stupid question but... what is this app? :o
[Desire Android Development] richardtrip:
Quadrant (search in market)
[Desire Android Development] JohnnyD86:
Do a search on the market for Quadrant :)

That's what you're looking for

EDIT: I'm too slow :(
[Desire Android Development] PTKDev:
i have 1200, no overclocking. default leedroid kernel =/ is bad?

why htc desire on quadrant have 500? and nexus 2.2 have 1300???
[Desire Android Development] noobandroid:
i got 1475 score on demand on 1113 max SetCPU

btw, it stated "maximum voltage@1300mV (only@1113Mhz)" and "minimum voltage@950mV", why does quick sysinfo shows me that my battery voltage is 3791mV? am I reading something wrong here?
[Desire Android Development] nimrodity:
is WiFi PM FAST module good for now or should i wait for something better?
[Desire Android Development] elmalote:
Quick question, how does it work if I don't have SetCPU? Will it use default stock HTC values for scaling cpu but higher cpu freq (OC) and UV? Or does it do nothing until SetCPU is used?
[Desire Android Development] -Happy Feet-:
Wifi working on LeeDroid 2.1a ROM
[Desire Android Development] accel24:
Just flashed this kernel and it keeps my desire restarting? htc logo then black out again and again and again.

Now, flashing again leedroid 2.2 as clean installation. tsk.

anyone got this issue?

Edit: flashed again this kernel after first boot of leedroid 2.2. now it works :)
[Desire Android Development] LoQo_:
1554 interactive mode, in aurax 7.8.1
[Desire Android Development] FelluRan:
How do i make it go undervolted with this, or is it by default undervolted if you don't overclock?
[Desire Android Development] liljom:
cool : )

thank yuo!
[Desire Android Development] richardtrip:
Undervolted by default. All frequencies except 1113Mhz are undervolted (for the exact values see first post).
[Desire Android Development] accel24:
trying to download the V3 but i got this error?

The website you are trying to access has been blocked by the service of http://www.blockacountry.com

is the download link accessible?
[Desire Android Development] richardtrip:
Please try again.
[Desire Android Development] Blinkydamo:
Thats the remaining voltage in the battery.

Blinky
[Desire Android Development] accel24:
Done and working great!... Thank you so much :)
[Desire Android Development] molio:
WiFi PM Fast V3 module

Sorry for the noob question but the new WiFi PM Fast V3 module is N standard capable or not? :confused:

I ask this cos now I get always 54 mb speed on my N wifi router. Before was 65 mb minimum. :(

Thanks.
[Desire Android Development] noobandroid:
so.. er... how do i know if i am running undervolt or normal voltage? there's ought to be some indicators right?
[Desire Android Development] shinodoigt:
Trying to flash it on AmonRa, after a full LeeDroiD 2.2 boot but I have this error :

E:Error finishing BOOT

E:Failure at line 9

I can still boot on LeeDroiD anyway.
[Desire Android Development] richardtrip:
so you want me to make an N-version too?
[Desire Android Development] erto90:
Leedroid 2.2 kernevl v3 + pm fast

all good quadrant around 1450-1500@1ghz ----- 1600@1113mhz
[Desire Android Development] ephumuris:
@richardtrip

Can you at all add trackpad UNLOCK to this great kernel? Thanks.

Oh and where would I find screen state script?

Eph.
[Desire Android Development] molio:
It would be very kind from you! :-))

On the other hand other people own N std. routers, I think. Maybe it's useful for them too!

Anyhow thank you for your answer!
[Desire Android Development] richardtrip:
N-mode version posted :-)
[Desire Android Development] mistbow:
Hi!

Please! Look at this topic...

http://xdaforums.com/showthread.php?t=654132

Is it possible to record a conversation on Desire? Or is this limitation is not in the KERNEL?

Thanks!
[Desire Android Development] Stylez Ray.:
So has anyone found out why WIFI isn't working on some ROMS, e.g. Pinky's 1.8?

I really want to use this kernel but also want to stay with Pinky's ROM.

There MUST be a way to fix this..
[Desire Android Development] molio:
Thank you so much! Very kind and very quick! :D

Testing now ..... :rolleyes:
[Desire Android Development] richardtrip:
Can you try this one:

http://xda.richardtrip.org/kernels/Kernel_Froyo_cfq_V3_trackpad_unlock.zip

Double click unlock, but untested (dont have a sense rom on my device and not enough time).
[Desire Android Development] liljom:
works perfet with RCMixHD v07 - I press it one time and the lock sceen comes up, second, third... doesn't do anything

it's a lot easier to press the trackball, than the power button - good idea

thanks
[Desire Android Development] martino2k6:
Thanks a lot :)
[Desire Android Development] richardtrip:
Fast double click should unlock.
[Desire Android Development] Alex-V:
you mean this..?

http://xdaforums.com/showthread.php?t=696907

with kind regards..Alex
[Desire Android Development] ephumuris:
No doesn't work no matter how fast I click. Thanks for trying though richard I appreciate youre a very busy man.

Look forward to faster overclocks like your defrost roms! I got 1700 using this one!

No that is to WAKE. I want WAKE AND UNLOCK. Thanks for the reply though!

Eph.
[Desire Android Development] richardtrip:
Pinky is using a different place for the wifi module :-(

Just copy the bcm4329.ko from /system/lib/modules/ (or from within the zip) to /data/local/ and reboot. Easy fix :-)
[Desire Android Development] dazzlet:
Hi I am interested in using this with leedroid to help prolong battery, but can someone please tell me what te best settings in set cpu are as I am not too good at understanding the setcpu thing with ondemand and performance and the others I am not sure what each does what difference they make

Thanks
[Desire Android Development] MastaPole:
Sorry but this fix Don't work for me

Thx

MastaPole
[Desire Android Development] ephumuris:
Hopefully richard has chance to look at integrating some more great things into this kernel for us. I still want trackpad UNLOCK when he has time (happy to test richard ;) ) and i'm sure there are other things we could use too!

What else now we have the source?
[Desire Android Development] ThePanama:
HI, has anyone managed to connect to an N type router at higher than 54mps?

My router shows as actual data transfer speed of 130mps with N enabled but the desire is only showing 54mps with the n mode flashed?
[Desire Android Development] tommo123:
just wanted to post to thank you dude.

tried various OC roms (non sense) and always eventually had crashes. i prefer sense and this one gives me no probs.

ta :D
[Desire Android Development] Mekrel:
How much does this under-volt each frequency by? I don't know where to find the original acpu table in the original source to compare.

Thanks :)
[Desire Android Development] sr1ks:
Works perfectly on AuraxtSense 7.8.1

Used to get a quadrant of 1200' ish before flashing this kernel

getting 1360 Now..

Thanks Richard :)
[Desire Android Development] Jagdish84:
get setcpu, use ondemand govoner to rly see the kernel in all its OC glory, i got 1505 on my first try :D
[Desire Android Development] dazzlet:
You use set cpu with on demand governor do you have any profiles such as screen off or battery charging if so what do you use for them, on demand also or performance or other?
[Desire Android Development] Jagdish84:
ya, i set a profile for screen off, using the powersave govoner and set it to max and min freq of 245, dunno wether thats how you set it up or not...
[Desire Android Development] LoQo_:
Thx for this kernel, when 1300mhz? ^_^
[Desire Android Development] ghmail2:
System panel shows me 1113 MHz with 100% CPU load,but i do not have setcpu installed.is This normal?oC by default?
[Desire Android Development] K900:
Quadrant dry run - 1349 - awesome! How do you like that, N1?

Sent from my HDfied HTC Desire
[Desire Android Development] K900:
Oh, forgot that, using RCMixHDv07

Sent from my HDfied HTC Desire
[Desire Android Development] sckc23:
still using the old leedroid 1.9 but the kernal works perfect on it. thanks mr. trip for your fab work=) will see how the battery goes compare to the original kernal.
[Desire Android Development] w1000i:
hahahahaha ..

i got 1795 with RCMixHDv07.;):eek:
[Desire Android Development] umd:
Awesome work. I'm using Sense HD Rom and I got 1790 Quadrant score with 1113 mhz for second try :)
[Desire Android Development] lpachuong:
Richard, will u include modded GPU driver?
[Desire Android Development] basthet:
There are modded graphic drivers? What are the benefits?

Sent from my HTC Desire
[Desire Android Development] Fightspit:
I heard the wifi N can cause battery draining, is it true ?
[Desire Android Development] Jagdish84:
Indeed, well for me that is, no logs or anything solid i can back it up with thou, just my personal experience, trying the same rom with and without Wifi N.
[Desire Android Development] ephumuris:
I got 1719 which isnt bad. RcMixHD v06 with kernel v3.

Eph.
[Desire Android Development] waldis2:
Thanks for the new kernel!

I've got one question: is there any way to use undervolt.ko module?

As my Desire able to work on lower voltages and this keeps battery life.
[Desire Android Development] Nemo0815:
I have a problem since I installed V2 in a rooted stock 2.10 Froyo:

Sometimes after reboot I get somehow "stuck" HTC widgets on Rosie. If I move a widget it doubles itself (stays on the old and new place) and also the HTC clock widget is stuck and does not refresh itself.

I have to reboot to make the phone work again correctly if this happens.

Any ideas?
[Desire Android Development] Mekrel:
This has undervolt written directly into the kernel, however I'm trying to understand the level of undervolt each provides before deciding whether or not to flash this and remove the undervolt module and script.

I'm awaiting Mr Trips answer :)
[Desire Android Development] CaspaTheGhost:
I've had this problem before but it wasn't related to a mod kernel... mine was theme related, summit to do with the framework I think...
[Desire Android Development] ionhide:
I flashed this and noticed that my Wireless speed went from 802.11n to 802.11g

So this kernel dont use the n-standard for wireless network ?
[Desire Android Development] mohamed_moscow:
with v3, i have a problem with battery draining so fast.

what should i do?

help me please.
[Desire Android Development] Jagdish84:
get setcpu and set the powersave govoner to kick in while screenoff?
[Desire Android Development] ahac85:
# Max 1113Mhz (for now)

# minimum voltage@950mV

# maximum voltage@1300mV (only@1113Mhz)

Hi can someone please tell me what is the standard voltage for the battery is on a standard htc Kernel??
[Desire Android Development] waldis2:
With my previous kernel I did use the following voltages:

#!/system/bin/sh

#

# Load undervolt for htc-kernel

#

LOGTITLE="98mods03undervolt"

addr=`awk '$3 == "acpuclk_set_rate" { print "0x"$1; }' /proc/kallsyms`

if [ -n "$addr" ]; then

insmod /system/lib/modules/undervolt.ko "acpuclk_set_rate_addr=$addr"

if [ $? -eq 0 ]; then

echo '-160' > /proc/undervolt

echo '1050 840' > /proc/undervolt

echo '1225 1070' > /proc/undervolt

echo '1250 1100' > /proc/undervolt

echo '1275 1110' > /proc/undervolt

echo '1300 1115' > /proc/undervolt

echo '1' > /proc/undervolt

log -p i -t "$LOGTITLE" "Undervolt module loaded."

else

log -p e -t "$LOGTITLE" "FAILED to load undervolt module."

fi

else

log -p e -t "$LOGTITLE" "FAILED. Function (acpuclk_set_rate) address not found."

fi

============

Everithing works fine. Hope I could use them again :)
[Desire Android Development] Thompson111:
I want bigger OC!:D
[Desire Android Development] Nitin985:
I got 1441 on leedroid 2.1a @998 MHz
[Desire Android Development] MrPontus:
I used v1 without problems, then I understood its only G wireless so I updated to V3 and installed the N patch, but my wireless is still stuck at 54Mbit (yes I have an N AP)

And it didn't take long until I had two sudden reboots :(
[Desire Android Development] richardtrip:
Some phones/cpu's cant handle 1113Mhz so maybe your just unlucky. You can try setcpu with a lower frequency.
[Desire Android Development] ephumuris:
Any more news on new version richard? More overclock? Trackpad unlock? I dont mind testing trackpad unlock as you dont use sense. :-)

Eph.
[Desire Android Development] richardtrip:
Maybe tomorrow :-)
[Desire Android Development] MrPontus:
1113MHz worked like a charm in V1 so I don't think it's the MHz

48h with V1 and many hours of use.

~2h with V3 and two sudden reboots

maybe I will do some stress testing later but I don't think 1113MHz is a problem.
[Desire Android Development] ephumuris:
Thanks. We love you richard. :)
[Desire Android Development] ghmail2:
this kernel use 1113Mhz without setcpu?

it is automatik oced:(
[Desire Android Development] Hummelchen:
QUOTE=ghmail2;8542229]this kernel use 1113Mhz without setcpu?

it is automatik oced:([/QUOTE]

Nope! Use setcpu.
[Desire Android Development] ghmail2:
Nope! Use setcpu.

but system panel and other apk tell me so

strange:confused:
[Desire Android Development] rum0s:
I experienced that too! But for a very short time. When I open Android System Info looking at the CPU Info, there is a table that tells me, that the Cpu is running at 1113 MHz. But ONLY for a very SHORT Time (0,05 % and 84) in comparison to the 245 MHz (with more than 40% and 19345) or 998 MHz Setting. This happens, even when I'm using SetCPU.

Maybe the 1113 MHz switch only occurs at startup?

Is there any possibility to modify the kernel and delete the OC feature for noobs? :-D Sorry, I had to ask that question =)
[Desire Android Development] ahac85:
Hi can u please tell me what is the standard voltage for the battery is on a standard htc Kernel?? and by how much are we undervolted by in your kernel?
[Desire Android Development] MrPontus:
why do you ask about the battery?, the kernel has nothing to do with the battery.

the battery is a Li-ion, it has a nominal current of 3.7V and when fully charged it's 4.2V

btw. more on topic, my power consumption was down to 3mAh a new low for me (Wifi on, screen of with ondemand and max 460MHz)

and I have not had a sudden reebot the last 24h :)

edit: I was feeling so happy so I donated, not much, but still something (3€ one per version) :)
[Desire Android Development] hamdir:
V3 runs great, I've installed the standard WiFi module and noticed weird WiFi issues like web pages never loading completely, so I reinstalled v3 and my phone got stuck in a bootloop

I was forced to restore

Also the trackpad file didn't work for me, I think it's best to keep using the old trackpad mod and the fast WiFi as separate modules
[Desire Android Development] ahac85:
Sorry, what I am trying to say is that the kernel its set so that it runs at 950mv but what does it run at on a normal kernel that has not been modded, hope that makes sense
[Desire Android Development] mike1986.:
Any problems with WiFi_PM_FAST_V3? Is it worth flashing?
[Desire Android Development] ahac85:
I'm actually facing really slow downloads speed at the moment, how can I go back to the standard module?
[Desire Android Development] vnvman:
Just reflash the v3 kernel.
[Desire Android Development] slajm:
flashed the n-mode and still can't see n networks...
[Desire Android Development] ephumuris:
1300 I think on stock kernel.

Eph.
[Desire Android Development] bananacakes:
uvoc 2.6.32 for Sense Roms V3 n-mode

uvoc 2.6.32 for Sense Roms V3 n-mode patch

tested :)
[Desire Android Development] knudsen19:
So basicly this is just the wifi-n and the kernel patched together into one flashable file, instead of 2 ? If correct, sweet !
[Desire Android Development] emf12:
How can I return to stock kernel?

Hy all,how can I return to stock kernel in HD ROM from robocik?

Just flasching from recovery Original HTC kernel named "bravo-2.6.32-gd96f2c0.tar.gz " from first page of this thread? Will go this way? Or should rename the fille "bravo-2.6.32-gd96f2c0.tar.gz" in something else that can be recognized in recovery?

Thanks in advance!
[Desire Android Development] nimrodity:
since i have the kernel+wifi patch my battery drain much bigger.

About 5% per hour in standby with wifi on,before 1% per hour.

And while using it seems the battery percentage is a timer running down.
[Desire Android Development] knudsen19:
Which ROM are u using, and is it with Setcpu ?
[Desire Android Development] ahac85:
Thanks got it working at normal speeds again but I dont think it was the module causing problems I think I was in a zone in my house Where I got poor signal
[Desire Android Development] ahac85:
Thanks for the reply so basically when running @ 1113 I wont be using extra bsttery power but just the normal power I would have been running on the stock kernel, hence no battery save but instead more power from the cpu
[Desire Android Development] strongst:
Awesome standby runtime with this kernel

He guys,

good news with LeeDrOiD 2.2, Radio 32.48.00.32U_5.11.05.14 and the V3 Kernel without WIFI PM Fast.

SetCPU: 245-998 interactive(yes, not 1113MHz), profile: powersave govenor 245-245MHz priority 100%.

The battery drops over night after 14 hours to only 95%:eek::eek::eek:

(screen off, GSM on, wifi+gps+BT all off)

Thats awesome, with the standard kernel, it drops in 6-7 hours to 95%:)

Thank you richardtrip for that wonderful kernet, will test next days more to compare with standard kernel;)

Regards strongst
[Desire Android Development] richardtrip:
Checked the trackpad unlock and it should work. Don't forget you need

key 272 DPAD_CENTER WAKE_DROPPED

in your system/usr/keylayout/bravo-keypad.kl

and you need a patched HtcLockScreen.apk

The kernel patch is in place so you can better ask kingchris and bponury.
[Desire Android Development] snq-:
the DPAD_CENTER mapping is already there in curcial-oj.kl
[Desire Android Development] ephumuris:
Yeah i have that file. I guess i just need a patched htclockscreen.apk from the HD rom. I know how to decompile it just don't know what needs patching.

I'll try some reading up however if anyone has any idea/help then please post here. Thanks.
[Desire Android Development] cartmanotfat:
Please, I want to flash this kernel but I dont't understand : where is the download ?

I'm on AuraxtSense

Thank you
[Desire Android Development] strongst:
Look on first page for:

Download: Froyo Kernel V3

;)

Regards strongst
[Desire Android Development] Ghisy:
How did you manage to flash this to LeeDroid? I did it yesterday and I can't overclock using setcpu, meaning it's not installed.

You downloaded "Download: Froyo Kernel V3" and flashed through recovery, right? Thanks!
[Desire Android Development] strongst:
Exactly! Download Froyo Kernel V3, run ROM Manager and chose "Install ZIP from SD". Then run setCPU and select autodetect. Then i was able to set frequency to 1113MHz(but i don't need it, device is fast enougth, whe you use winmo for 10 years and than an Desire:D)

I have only rootet device with clockworkmod recovery 2.5.0.7, without S-OFF.

Maybe: Full wipe, install rom, then kernel will solve the problem??? dont know?!

Regards strongst
[Desire Android Development] Rastaman-FB:
i have it aswell with no issues at all but mine was a direct upgrade from 2.1a to 2.2 then installed froyo kernel v3.

works a charm.

what does it display for you in kernel version?
[Desire Android Development] snq-:
intercepting the keycode 0x17 in HtcLockScreen/onKeyDown() and calling HtcLockScreen.goToUnlockScreen() did the trick* for me

(haven't checked if this interferes with alarms/calls + i'm using a non-hd rom)

*:first click: wake, second click: unlock
[Desire Android Development] Mekrel:
Just some quick questions, I love tinkering with Android and have edited a lot of the mods posted here for myself to great success.

Richard, could you share your source? I would like to edit the cpu table to apply more undervolt as my phone currently has a -100mV applied to all frequencies via the undervolt driver.

In which file do I find the cpu table? :)

Also, does anyone know of any reliable guides on how to compile the kernel once edited?

Many thanks
[Desire Android Development] zetolo:
Please can someone explain me better how it works ?

I have flashed the LeeDroid 2.2 on my Htc Desire and i want to know some more about undervoltage\underclocking stuff.

I noticed that with the new extracted radio (32.48.00.32U_5.11.05.14) my battery's life is better ! ...something like 30% used in 1 day and 6 hours !

Now i want to try the undervoltage tricks but i cant find nothing that can explain clearly how.

I know that there is a voltage-settings for each kernel version.. but what i have to install for exactly ? and what to set-up ?

Thanks for your supporting :)
[Desire Android Development] richardtrip:
My source is here: http://github.com/richardtrip/bravo-2.6.32
[Desire Android Development] snq-:
you might also want to commit the wifi pm_fast stuff:

diff -urN bravo-2.6.32-gd96f2c0.orightc/drivers/net/wireless/bcm4329_204/dhd_cdc.c bravo-2.6.32-gd96f2c0.snq/drivers/net/wireless/bcm4329_204/dhd_cdc.c
--- bravo-2.6.32-gd96f2c0.orightc/drivers/net/wireless/bcm4329_204/dhd_cdc.c 2010-09-28 14:03:36.000000000 +0200
+++ bravo-2.6.32-gd96f2c0.snq/drivers/net/wireless/bcm4329_204/dhd_cdc.c 2010-10-09 20:54:58.000000000 +0200
@@ -1166,9 +1166,9 @@
pm_type = PM_OFF;
dhdcdc_set_ioctl(dhd, 0, WLC_SET_PM, &pm_type, sizeof(pm_type));
} else {
- if (is_screen_off)
+/* if (is_screen_off)
pm_type = PM_MAX;
- else
+ else*/
pm_type = PM_FAST;
myprintf("update pm: %s\n", pm_type==1?"PM_MAX":"PM_FAST");
dhdcdc_set_ioctl(dhd, 0, WLC_SET_PM, &pm_type, sizeof(pm_type));
diff -urN bravo-2.6.32-gd96f2c0.orightc/drivers/net/wireless/bcm4329_204/wl_iw.c bravo-2.6.32-gd96f2c0.snq/drivers/net/wireless/bcm4329_204/wl_iw.c
--- bravo-2.6.32-gd96f2c0.orightc/drivers/net/wireless/bcm4329_204/wl_iw.c 2010-09-28 14:03:38.000000000 +0200
+++ bravo-2.6.32-gd96f2c0.snq/drivers/net/wireless/bcm4329_204/wl_iw.c 2010-10-09 20:55:27.000000000 +0200
@@ -4817,7 +4817,7 @@

WL_TRACE(("%s: SIOCSIWPOWER\n", dev->name));

- pm = vwrq->disabled ? PM_OFF : PM_MAX;
+ pm = vwrq->disabled ? PM_OFF : PM_FAST;

pm = htod32(pm);
if ((error = dev_wlc_ioctl(dev, WLC_SET_PM, &pm, sizeof(pm))))
[Desire Android Development] harish.awe:
works LIKE A CHARM ,,THANX MATE..!!
[Desire Android Development] Ghisy:
My kernel version is 2.6.32.15-gd96f2c0 - htc-kernel@and18-2 #1.
[Desire Android Development] ephumuris:
Ok i get errors when trying to decompile. If i upload the file would you be able to have a go please snq?
[Desire Android Development] richardtrip:
Committed with a revert. You can always revert the revert if you want it :-)
[Desire Android Development] snq-:
:D:D:D:D:D
[Desire Android Development] snq-:
--removed (there is a fixed version)
[Desire Android Development] Nalty:
would this work with the SupervillainHD rom?