yashsingh1/xdaforums huggingface dataset:
[Desire Android Development] Rastaman-FB:
then its not flashed it, if it was flashed it would show 2.6.32.15-froyo_bravo_v3

are you booting into recovery from a cold boot or are you booting from rom manager?

are you actually rooted?
[Desire Android Development] richardtrip:
Yes:

10 char
[Desire Android Development] ephumuris:
Sorry if I wasnt clear but I wanted htc lockscreen with trackpad unlock. The file you provided gives stock lockscreen and menu unlocks. Its nice and it works though lol.

Eph.
[Desire Android Development] snq-:
you were perfectly clear, and the file provided by me is the modded version of the _HTC_LockScreen.apk

do you have your system apps in /data/app_s?
[Desire Android Development] Ghisy:
Alright, it worked! It turns out there was a mix-up with the original modified kernel and the one posted in the LeeDroid thread. Thanks anyway.
[Desire Android Development] ephumuris:
Yes they are however data is moved to sd-ext in RCMixHD. So it flashed wrong. I flashed it through adb and it shows up again but i got boot loops. So gone back to normal one for now.

How did you decompile and recompile? As the file size is smaller in your recompile than in the original file.

Maybe i will try taking classes.dex from yours and adding it to stock lockscreen apk? I have had issues with recompiling in the past that gave same symptoms.

EDIT: Ok that doesn't work either. Boots up ok and trackpad wakes but upon second press trying to unlock it reboots the phone!
[Desire Android Development] Broquen:
I just flashed the kernel yesterday on AuraxTSense 7.8.1 and wanted to say that it works really fine on it.

It was about 1 am when I decided to give a short try to RCMixHD, just to test an HD ROM but only this... A short test.

Then, when I was about to restore back AuraxTSense I thought... Wanna test the v3 kernel on it before, and... Day came bright at 3am.

I was doing some quadrant tests (8-9) and when exited the app, my batt was at 98%!

It was at 99% before the tests, I remember for sure, so... I decided stay with ROM and kernel for one or two days and see what occurs. I restored back apps from TB, sms, some confs and tested some htc sounds, masks, three real (not hot) reboots... Two hours later the batt was at 93%

SetCPU 245-1113MHz ondemand, Screen off profile with 245 max freq and powersave gobernor (not really used cause I was near all the time with the screen on) and screen brightness fixed al 60% (incredible).

Finally I went to sleep, and 8 hours later I waked up with the device showing 91%!!!

How is it possible? Young ROM ported from another device, amazing kernel (but it didn't surprised me on AuraxTSense).

I keep always enabled wifi and 3g, gmail push and sync active on news, contacts, calendar and now htc sense too...

Actually it's 8 pm and the screen shows an amazing 86% (some mails, two short calls, two sms and me building the desktops, of course). I really don't understand. I'm scared about restoring Aurax nand just to recover last sms (the backup was a bit old) and calls and go back again to this conf and discover that something changed (I know that theoretically it's not possible, but...)

Sorry about the large post, only wanted to give data as accurate as I can and, of course, share it with everybody. Thank you, thank you, thank you Richard... Thank you a thousand times to you and robocik as well!!!

Best regards.
[Desire Android Development] kai84m:
I had an issue with v3 using Leedroid 2.2. When I tried to navigate with Navigon or Google Maps I got a sudden reboot after a few minutes.

I made a clean flash of the Rom with all wipes with stock kernel and now its working. Strange maybe I try it again with Richards kernel when I have the opportunity because I m on the 5.11 Radio now.

Anybody with similar problem?
[Desire Android Development] snq-:
oh sorry, i'm rather confused about the directory structure of rcmix

as i didn't want to touch any resources, i just unpacked the dex from the archive, and baksmalied it. same for repacking, simply replaced the dex in the apk

will look into it. the non-hd version runs fine here
[Desire Android Development] mobilkungen78:
do i have to have a2sd+ for this to work i have prerooted 2.10 rom with out a2sd+
[Desire Android Development] nimrodity:
using auraxtsense 7.81 setup,tried it with ondemand and interactive.Turning wifi off seems to solve the strong drain,but i liked it before i could let it on without any noticable bigger drain.
[Desire Android Development] Mekrel:
Bah, it seems I can't compile the kernel for some reason :(

mekerz-laptop kernel # make
make: *** No rule to make target `FORCE', needed by `/config_data.gz'. Stop.
[Desire Android Development] mr.r9:
Snq, I'm sorry to 'jump' on your conversations with ephumuris, but it will be really really great if you can make the trackpad wake & unlock the device.

Good luck!
[Desire Android Development] Rastaman-FB:
theres a known issues with some desires and heat. when using gps and screen remaining on it gets very hot. couple this with a usb charge from the 12v socket and it gets toasty.

its more likely to happen with a cpu that is overclocked as naturally it will get hotter.

either clock it down or leave default. chances are on default kernel if you leave it long enough it will reboot
[Desire Android Development] richardtrip:
Not necessary. If your rom supports a2sd+ it will work, but if you dont use an ext partition all is fine also.
[Desire Android Development] Lennyuk:
Most DesireHD roms will require an Ext partition for the rom to work due to the large size of the /system partition.
[Desire Android Development] ThePanama:
So there seems to be a few posters saying that they Wifi-N flash doen't appear to make any difference in connecting to a wifi-n router.

Has anyone got this working or any suggestions to get it working?

Cheers

Steve

P.S. I have tried it on a couple of the HD roms as well as the supervillain non hd one.
[Desire Android Development] richardtrip:
Try the version posted by bananacakes (also included in first post).
[Desire Android Development] knights191:
great release, stable and just finished a stresstest of +1hr.

what is there need to be done, to change this kernel so it overclocks higher?
[Desire Android Development] ThePanama:
Slaps head - how the hell did I not see that one :rolleyes:

Thanks Richard and it works :)
[Desire Android Development] Mekrel:
Hi Richard,

wondered if you could help me out on an error I'm getting whilst trying to compile:

mekerz-laptop kernel # make ARCH=arm CROSS_COMPILE=$CCOMPILER oldconfig
make: *** No rule to make target `oldconfig'. Stop.

I'm following in the CyanogenMod wiki for compiling, I'm using the keychain from the CyanogenMod source but instead of downloading the Cyanogen kernel from Github, I've downloaded yours.
[Desire Android Development] Mekrel:
Never mind, ignore me, trying to compile something at 2am isn't a good idea and leads to not being in the right directory. :o
[Desire Android Development] davdavo:
where is the CM wiki on compiling?

Not that it's within my capability to compile an apk, let alone a kernel, I am just curious :)
[Desire Android Development] Mekrel:
It's here:

http://wiki.cyanogenmod.com/index.php?title=Building_Kernel_from_source

I've now got a zImage :D but I don't know:

If the modules in the richardtrip flashable zip are compatible if I've edited it (I've only adjusted the voltages in the acputable

How to make it into a flashable zip
[Desire Android Development] waldis2:
May we hope for a new undervolting driver?

Or ... I've got one idea -- control file for this kernel, if it is exists in /etc/.....

then read voltages from that control file

?

Or this is a bad idea?
[Desire Android Development] davdavo:
oh my that looks so complicated, so completely out of my technical knowledge base. But I like learning new things so I'll have a good read anyway;) :D
[Desire Android Development] snq-:
it's called toolchain
[Desire Android Development] richardtrip:
If you didn't change the .config file it should work. You could just replace the zImage in the kernel directory of the zip and switch security check on flashing.
[Desire Android Development] Mekrel:
In your source, there's a config file but no .config.

I'm guessing the config file in my phones /proc/ was when HTC compiled the kernel and therefore won't be the correct config file to pull into directory.

Do you mean to rename the config in your source to .config and not edit it, or to pull the one from the phone and not edit it?

When I last compiled, I pulled from the phone but it asked if I wanted to include interactive governor for example, and some other questions (not many).

Thanks for the help richard :)
[Desire Android Development] richardtrip:
The /proc/config.gz is the config from your currently running kernel. pull it from your phone (if running my v3 version of course), gunzip it and copy it to the kernel dir as .config (yes config with a dot before it). That should get you running :-)
[Desire Android Development] Mekrel:
Thanks richard, however I'm currently running the stock kernel so how would I go about getting a .config in this case?

This was my main issue as the one I pulled from the phone spawned questions about HTC_ALARM_OFF (or something like that) and a few other questions :)
[Desire Android Development] Mekrel:
Ok, I'm up and running!

However...

D/WifiService( 129): setWifiEnabled( mAirplaneModeOverwridden=)false
I/WifiHW ( 129): wifi_load_driver enter
I/WifiHW ( 129): wifi_load_driver end error 2
D/NetSharing( 570): wifi enabled change, state = false
E/WifiService( 129): Failed to load Wi-Fi driver.

Halp! :p
[Desire Android Development] neoneo:
@richard

Is it possible to release a kernel without the audiomod. Somehow my desire sounds strange strange and too loud even on the lowest settings. Is it possible that the audiomod is the reason? Had no problems before.
[Desire Android Development] snq-:
ephumuris: posted the fix into the rcmixhd thread
[Desire Android Development] ciairo:
Just wondering, is there a specific reason why not to overclock even more? Battery drainage, stability etc? I remember the Richard's 2.1 kernel able to run @ 1300 nhz, is that something achievable?

Btw Richard, great great great work. Thanks a lot mate.
[Desire Android Development] Mekrel:
Don't worry, I got it. Needed to take the bcm4329.ko from my compile and then I added it to kouch's AnyKernel updated.

Wow, I learnt a lot today :)

My final question is, how do I check if the undervolt is working? :)
[Desire Android Development] ephumuris:
Thank you do much. Not tested but other users report as working.

Eph.
[Desire Android Development] capychimp:
hmmm something is messed up in the git, cannot compile this kernel some king.... missing needed by drivers/net/build....o sorry closed down the pc with the error message, but in general source cannot be compiled as it is :(
[Desire Android Development] System of a pWne!^:
What's the minimum clock for the cpu in this kernel? Because the acpu table shows clocks around 100 MHz, but those have strange flags.
[Desire Android Development] mike1986.:
Two questions:

1. How can I remove audiomod? Which files are responsible for this? It's to laud for me.

2. How can I incorporate this kernel into the kitchen? Replacing files from system\lib\modules and \kernel will be fine or do I have to do something with META-INF (especially update-binary)?

Thanks
[Desire Android Development] hamdir:
richard i've been receiving some occasional FCs ever since i've installed your amazing kernel, i'm running interactive 998Mhz and very happy about it, is it possible the FCs are due to the slightly less voltage at stock speed? (1250 instead of 1275)

lots of thanks
[Desire Android Development] GKWelding:
Running MCR R9 WIP for the HTC Desire, installed kernel (I get the interactive setting in SetCPU without any additional fiddling) and my Quadrant score went up from 1100 (third run) to 1522 (second run). WIFI and HSDPA/3G network seem to be fine.

Installed via ROM Manager recovery console.
[Desire Android Development] snq-:
it's 1250 vs 1300mV* actually

*(vdd @998MHz in stock kernel)
[Desire Android Development] ahac85:
is there an update to this amazing kernel coming soon??
[Desire Android Development] ephumuris:
@snq-

Finally tested the trackpad unlock you provided for me. Its perfect and does not affect alarms or anything detrimental. Great mod.

Trackpad wake....trackpad unlock...trackpad wake....trackpad unlock...YES.

Eph.
[Desire Android Development] BashyUK:
Thanks for this.

Installed on Alex-V 1.7

Quadrant 1291. Although as far as I'm concerned the Desire runs perfectly fast enough out of the box for me!
[Desire Android Development] mark1316:
Running Lee droid 2.2 is this kernal an update from the rom or a down grade before I add it into my Phone ?

cheers in advance Mark
[Desire Android Development] Mekrel:
Just to say richardtrip, a massive thanks for providing the source :)

I'm not running my own Kernel and even managed to work out how to include the smartass governor and:

sh-3.2# cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
245000

Which means it is working :)

I've even taken out the overclock and undervolted another -50mv on each frequency.

Trying to squeeze out all the battery life from my Desire as it's plenty fact in the first place.

Just a quick question, I downloaded this tool chain:

http://www.codesourcery.com/sgpp/lite/arm/portal/release1293

as I assume that's the most up to date, and I pointed the make to it but the compiler through up an error part way through? No problem, I went back to the toolchain from the CM git source but just found it interesting.
[Desire Android Development] sub0min0us:
Finally got my new desire!

Question: I'm using AuraxTSense 7.8.1. Not sure if there's anyone noticed this but every time I set the SetCPU for example to "Performance" and Maxed out the OC to 1113Mhz and checked "Set on Boot", it returns back to 998Mhz when the screen of my desire turns off as Maximum. However, when I boot the phone after I set it up to 1113Mhz on SetCPU, it still runs on 1113MHz after booting up (Set 1113 in SetCPU -> Reboot phone ->Run SetCPU to check again the max OC = still 1113MHz). Am I missing something? Is it because of the built in feature of AuraxTSense's (INTERACTIVE& powersave Cpu Frequency)? If so, how can I change that or modify it?
[Desire Android Development] K900:
Aura uses a screen state governor, it gives better battery life, maybe that's the reason. Neo and I are working on one special app to fix that :)

Sent from my HDfied HTC Desire
[Desire Android Development] Mekrel:
My guess is that the ROM developer has a screen state script that changes the CPU speed when the phone screen is off, then when the screen comes back on the script is setting max frequency to 998000hz.

Run:

adb shell ls etc/init.d

and see what scripts they have put there.
[Desire Android Development] sub0min0us:
Thank you. Will be waiting for that special app. :)
[Desire Android Development] K900:
Remember, U didn't read that. Psssttt..

Sent from my HDfied HTC Desire
[Desire Android Development] Beaverman20:
neo did just that... how do i remove such a script?
[Desire Android Development] Mekrel:
You can use ADB to remove the file and reboot. You'll have to know the name of the script though.

adb shell rm etc/init.d/nameofscript

Or you can pull the script from above, edit it to allow the phone to utilise the full 1113600 and then push it back.
[Desire Android Development] ephumuris:
Just got 1781 in Quadrant. OC to 1213. :D
[Desire Android Development] @ngel:
Running V3 on Alex-V 1.7 since a week or so, and I'm really really impressed.

Great work! :)
[Desire Android Development] Lo_RaT_PeNaT:
:eek:, max. OC not is 1113 mhz?, which has kernel you?:p
[Desire Android Development] ephumuris:
I'm using a test version that maxes at 1213mhz. I can't share it as its not my work.

Eph.
[Desire Android Development] Lo_RaT_PeNaT:
do not worry, but will be made public once tasted?
[Desire Android Development] ephumuris:
Yes. I think it will also be integrated to RCMixHD rom too. But a faster overclock too.

Eph.
[Desire Android Development] capychimp:
yes i will put it up once it's tested proper ;)
[Desire Android Development] ephumuris:
Hopefully faster OC too ;) 1213 runs very stable no reboots or anything.

Eph.
[Desire Android Development] capychimp:
we are testing and compiling as we speak ;)

but i am using a slow laptop right now, and have no desire phone myself so a bit slow process lol
[Desire Android Development] vnvman:
Can't wait *__*
[Desire Android Development] capychimp:
not to mix up threads, i will post in robocik's thread
[Desire Android Development] snq-:
have you tried a higher frequency?

my device becomes unstable @1228800
[Desire Android Development] ephumuris:
Not yet. Have you ever overclocked higher using non sense? Using non sense roms my device still runs stable at 1305mhz.

Eph.
[Desire Android Development] Fightspit:
@Richard,

Why you wouldn't add other higher frequencies like you did for the old Desire kernel (for Sense 2.1)

I suggest this:

struct clkctl_acpu_speed acpu_freq_tbl[] = {
{ 19200, CCTL(CLK_TCXO, 1), SRC_RAW, 0, 0, 950, 14000 },
{ 128000, CCTL(CLK_TCXO, 1), SRC_AXI, 0, 0, 950, 14000 },
{ 245000, CCTL(CLK_MODEM_PLL, 1), SRC_RAW, 0, 0, 950, 29000 },
/* Work arround for acpu resume hung, GPLL is turn off by arm9 */
/*{ 256000, CCTL(CLK_GLOBAL_PLL, 3), SRC_RAW, 0, 0, 1050, 29000 },*/
{ 384000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0A, 0, 975, 58000 },
{ 422400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0B, 0, 975, 117000 },
{ 460800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0C, 0, 1000, 117000 },
{ 499200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0D, 0, 1025, 117000 },
{ 537600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0E, 0, 1025, 117000 },
{ 576000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x0F, 0, 1050, 117000 },
{ 614400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x10, 0, 1075, 117000 },
{ 652800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x11, 0, 1100, 117000 },
{ 691200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x12, 0, 1125, 117000 },
{ 729600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x13, 0, 1150, 117000 },
{ 768000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x14, 0, 1175, 128000 },
{ 806400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x15, 0, 1200, 128000 },
{ 844800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x16, 0, 1200, 128000 },
{ 883200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x17, 0, 1225, 128000 },
{ 921600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x18, 0, 1225, 128000 },
{ 960000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x19, 0, 1250, 128000 },
{ 998400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1A, 0, 1250, 128000 },
{ 1036800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1B, 0, 1275, 128000 },
{ 1075200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1C, 0, 1275, 128000 },
{ 1113600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1D, 0, 1300, 128000 },
{ 1152000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1E, 0, 1300, 128000 },
{ 1190400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1F, 0, 1300, 128000 },
{ 1228800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x20, 0, 1300, 128000 },
{ 1267200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x21, 0, 1300, 128000 },
{ 0 },
};

You set also the same voltage for the highest frequency in the old kernel and I remember my Desire accept it perfectly with the Pays's ROM 2.1.

Here is the old thread about the old kernel (v14):

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

Edit: I want to compile also the kernel from your github and I want to know if there is a particular way or add special command before to compile it (like ARCH=arm something ?)

Thanks for your hard work :)
[Desire Android Development] Mekrel:
I used this guide:

http://wiki.cyanogenmod.com/index.php?title=Building_Kernel_from_source

But instead of downloading Cyanogen kernel, I get richards. You point the make file to a compiler toolchain. (There's a tool chain in the Cyanogen system source).
[Desire Android Development] Lo_RaT_PeNaT:
I tested the kernel that have posted in the rom rcmixhd, to 1213 mhz, and I'm using the aura of neo, the matter is that the values giving me this quadrant are well below those that gave me the kernel of richard v3 plan to upgrade the kernel to 1213 or higher, thanks in advance and greetings.:D
[Desire Android Development] philje123:
Hi there.

I tried you trackpad unlock posted around page 30 and it didn't work for me.

I am using pre-rooted stock froyo with the trackpad wake mod but would really love to be able to unlock with it too.

Many Thanks

EDIT:

Never mind I used the one from Leedroid as that was just the stock HTC lock screen and it works perfect!
[Desire Android Development] hamdir:
@Richard HTC just released the Z kernel source can you help us fix the camera for the Z or HD roms? :D
[Desire Android Development] K900:
Might be a stupid question, but which one do I need for RCMixHD? Kinda got lost in all those updates

Sent from my HDfied HTC Desire
[Desire Android Development] Mekrel:
I wouldn't be so sure about that, the Desire Z source links to the Bravo source code...
[Desire Android Development] hamdir:
HTC vision kernel source link was found

http://member.america.htc.com/download/RomCode/Source_and_Binaries/vision-2.6.32-g814e0a1.tar.gz.
[Desire Android Development] losdrivare:
Did some Quadrant benchmarking on LeeDroid 2.1a ROM, all in performance mode. I did four tests with each setting and picked the highest result.

Original LeeDroid 2.1a kernel @ 998 MHz: 1353

richardtrip V3 kernel @ 998 MHz: 1497

richardtrip V3 kernel @ 1113 MHz: 1562

Conclusion: this kernel is faster than LeeDroids kernel even at same speed. Overclocking to 1113 MHz only gives negligible improvement in quadrant. Will keep this kernel but will run it @998 MHz interactive daily, this should give a good compromise between performance and battery life, eg. my phone is now faster AND consumes less battery! :D Thanks! :)
[Desire Android Development] snapilica2003:
+1 This mod is really awful, i hear clipping even at the lowest volume. I can't even understand the person i'm talking with over the phone. Very horrible mod! Too bad as this kernel is absolutely amazing! If i can't get it to turn off audiomod i have to revert to something else
[Desire Android Development] gtp:
Need help here! Recently when trying newest custom ROMs I faced an unexpected reboots and freezes. Long story short (and that was a really loooong story) I figured out that the root of my problem is this kernel. Since it is very popular among ROM developers I'm now not able to use almost any new ROM. As I understand the problem might be related to undervoltage or something else, but on the stock kernel my phone works for weeks without any problem. With this kernel it freezes almost immediately, in most cases I can't even finish the setup wizard. I understand this is not a common problem so this is only I was so unlucky to get such phone. However, may be someone has any thoughts on how can I diagnose what exactly in this kernel causes the problem.

If this matters, I have a debranded T-Mobile from Poland.

Any thoughts on the problem are very welcome! Thanks in advance!
[Desire Android Development] richardtrip:
The voltages should work for most (if not all) people. Could be that your phone can't handle the 1113Mhz. Most roms lock the speed at boot in the init (ask the rom-developer if that's the case):

init.bravo.rc (from boot.img ramdisk):

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 998400

Are you using setcpu? try to set it at 998Mhz max and load at boot (needed if the Mhz isn't lock down to 998Mhz in the boot init).
[Desire Android Development] neoneo:
@richard

can u please make a kernel without the audiomod? The kernel is fine and fast but the sound of my handy is horrible.
[Desire Android Development] gtp:
Well, thanks a lot for such a quick reply, it is really appreciated! I'm now playing with N.S.A. rom which is not using overclocking, it is set to 998MHz by default. It was my first guess as well, sorry I forgot to mention it in my first post. Well, if it's not UV then what else could it be? I tried several radio versions including the latest, I tried all possible wipes before flashing (of course!) but still no luck. It actually drives me crazy, I don't know what else to check.
[Desire Android Development] richardtrip:
When i have some time i post a version with higher voltages for you to try.