yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] mehmehmen:
iv installed the 1.5 oc but i must say it seems to lock my phone when i go to setcpu and set the max frequency threshold slider... once i reboot and leave the settings as they are it runs well but i am definitely getting repeat issue when clocking to 1.4 and above... if you care to pm me later apache i can try and send a few log files of the error to you
[Desire HD Android Development] mero01:
if im not wrong im pretty sure Some devices just cant take the Overclock ....

try using the 1.2Ghz kernel if you want a more stable one :)
[Desire HD Android Development] mehmehmen:
im on the same phone apache is on, he advised i used the leedroid plus his kernel set up on my dhd, the 0.0.9 release was blinding with it, its just the 1.5 has some instability at the moment. if i clock it down to 1.2 it runs as stable as the 1.2 uv kernel itself. but it works using the updated code and has ext4 support

:D
[Desire HD Android Development] mero01:
Ah well if Apache recommend it then guess im wrong haha. Yeah im running LeeDroid 1.2 with this kernel and it is amazing! :)
[Desire HD Android Development] mero01:
Is there possibly a app/widget that shows current CPU usuage or Ghz in real time available ?
[Desire HD Android Development] MariusOX:
SetCPU comes with a widget..
[Desire HD Android Development] mero01:
+1 Thank you very much exactly what i wanted nice and small widget aswell :D:D
[Desire HD Android Development] mero01:
Delete pls
[Desire HD Android Development] mero01:
My battery just doesnt seem to wanna die :D :D
[Desire HD Android Development] AndyCr15:
Bear in mind, if it updates in close to real time, it will not help your battery much :(

I want a widget that lets me switch SetCPU profiles, but I don't think that exists.
[Desire HD Android Development] Bumble-Bee:
tun.ko to come very soon. Sorry for the delay I got bogged down with uni work

FYI its not the overclock the phones can't Handel it's the voltage at that frequancy I set out from the beginning to make a kernel that used the lowest voltage possible. I am very reluctant to go passed the +150mV for safety reasons.

The rom in (unless it has any specific requirements) should not affect this. So really any AOSP or original HD based rom would be fine :D
[Desire HD Android Development] mero01:
+1 Thanks for the effort Apache :)

And thanks for that bit of information, im learning :)
[Desire HD Android Development] Rittzy:
from 0.0.8 to 0.0.9 have all give me boot loops, just using 0.0.7 at the minute :(
[Desire HD Android Development] mero01:
Try do a full wipe , as in go to storage wipe boot.system cash even do a system wipe and delete cache to be sure

and then just do a fresh flash to 1.0.0 :) no bootloops :)

and are you flashing using CWM or fastboot
[Desire HD Android Development] Rixsta:
This is what happened to me if you know how to use fastboot and have android sdk then I can get it working for you..

Mine does a bootloop with all the CWM.zip formats..even wiping everything...it just doesn't work for me...I can flash any rom using CWM.zip but not this kernel..I had to use the fastboot method..:confused:
[Desire HD Android Development] mero01:
How we going with the tun.ko ? :) sorry i know im impatient
[Desire HD Android Development] cinnak:
mine gets stuck in a bootloop, could you help out with instructions for the manual fastboot method? Or is it just about flashing the boot and copy the wifi module? there's an crazy amount of new files in the cwm.zip

for the record, i'm running the 0.0.8 kernel which i flashed with no issues using CWM.
[Desire HD Android Development] mero01:
as it says on the 1st page :)

THIS KERNEL IS FLASHED IN CWM

BUT YOU CAN FLASH IN FASTBOOT BY EXTRACTING zImage + bcm4329.ko FROM THE .ZIP
[Desire HD Android Development] Rixsta:
Yes you need the zImage and the bcm4329.ko file to use flashboot..

If you haven't already got it you will need android sdk to flash from here...

http://developer.android.com/sdk/index.html

Extract the android-sdk files to C:\

put the zimage and bcm4329.ko into the android sdk tools I.E..

android-sdk-windows - open

tools - open and put the two files in here

Shutdown phone

hold volume down and power the phone on.

Select Fastboot.. (it should turn red)

Plug in usb cable and the drivers should install

I use windows 7 so these instructions are for windows..

click the windows sign (bottom left corner)

Type cmd in the "search program files

In the command window type (this path maybe different if you put android sdk somewhere else)

cd c:\android-sdk-windows

cd tools

Type "fastboot devices" and you should see your DHD listed. If not, the USB drivers are not properly installed

Type fastboot flash zimage zImage

You should see

********* OKAY

********* OKAY

Type fastboot reboot This will reboot your phone..

When the phone has rebooted type in the cmd command

adb push bcm4329.ko /sdcard/bcm4329.ko

adb shell

su (authorise root access on your device)

mount -o remount,rw /dev/block/mmcblk0p25 /system (that’s zero p twentyfive)

cat /sdcard/bcm4329.ko > /system/lib/modules/bcm4329.ko

If you have a custom rom you may need to change the commands becuase of busybox....I cant remember them...they are either in this thread or kamma's.

I can't remember them because after I have flashed the zimage and the phone has rebooted I use root explorer from the market to move the bcm4329.ko into system/lib/modules...much easier..

Now you should have the new 1.0.0 kernel..
[Desire HD Android Development] Rixsta:
@mero01

This maybe of interest to you ;)

http://xdaforums.com/showthread.php?t=836259&page=20
[Desire HD Android Development] mero01:
Apache,

is there any changes or mods youv done in this kernel that would affect

ln -s /bin /system/xbin/bb

from not working

seemed to have worked on my stock kernel but yeh not now

im going to ask Lee incase its a ROM thing
[Desire HD Android Development] Bumble-Bee:
1.0.1 out :D

-- tun.ko added :D

-- Switched from BFS to CFS (can hit 3000+ in quadrant, youtube should be fixed)

if anyone sees any noticeable slow downs please report (bare in mind synthetic benches i.e quadrant vary a lot +/-300 is normal for quadrant)
[Desire HD Android Development] Bumble-Bee:
There is nothing that would affect that :)
[Desire HD Android Development] mike1986.:
1.22 will be updated as well? :)
[Desire HD Android Development] mero01:
+1 Thank you very much .

noob question . location of tun.ko
[Desire HD Android Development] Bumble-Bee:
in the zip

/system/lib/modules

but if u install the the zip via CWM it will intall and should work anyway

although iv never set-up openVPN . . . so dunno whats needed

have u got a guide ?
[Desire HD Android Development] mero01:
+1 no worries cheers
[Desire HD Android Development] Bumble-Bee:
Also for anyone having probs im on IRC : freenode chan : #DesireHD
[Desire HD Android Development] mero01:
Just flashed via CWM but realised that i already had Walker Streets tun.ko in there ? is that gonna matter so im gnna copy over from ur zip to be sure.

yer were following this but its not fore the DHD

http://xdaforums.com/showthread.php?p=7683773

Maybe you could give it a quick look at the were having problems with step 2 :(

thanks for all the help :) appreciate it
[Desire HD Android Development] mero01:
+1 whats your name on IRC
[Desire HD Android Development] Bumble-Bee:
yer to be shure, copy the tun.ko from my update.zip onto your sdcard, remount system and then run these in sequence

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

IRC Nick = Bumble-Bee
[Desire HD Android Development] Radeon1337:
Thank you so much for your work !

But i cant get the CWM .zip to work... Just get stuck in endless rebooting, gonna try with fastboot :)
[Desire HD Android Development] otymm:
low scores

For some reason I have been getting really low scores with the last few releases. 1800 with smart ass, 2100 with performance, around 2300 with on demand in quadrant... any ideas?
[Desire HD Android Development] Bumble-Bee:
quadrant is very dependent on bloat ... and other tasks running.

its realy not a mesure of real life performance so dont worry :P
[Desire HD Android Development] Radeon1337:
Need some help here now.. Trying to load the new kernel (1.0.1) with fastboot, geting this error at step 8 "failed to copy 'bcm4329.ko' to '/sdcard//bcm4329.ko': Permission denied" ?

Help me! :confused:
[Desire HD Android Development] danitxu:
Did you execute the "su" command? :)
[Desire HD Android Development] Radeon1337:
That`s not until next step ? Or ?
[Desire HD Android Development] danitxu:
Indeed, maybe the issue is coming with the double slash that is written in your return message. What are you exactly typing as command mate?

Cheers
[Desire HD Android Development] Radeon1337:
Doh, nevermind it was just my "stupid" phone that has mounted the sdcard in windows so i didnt get access to it, it is set to charge only but stil it mounts in windows :S

Think i`m done now, how do i check if i have the new kernel ? :)

Thanks for the help.
[Desire HD Android Development] danitxu:
I had the same issue mate, turns out Winamp has an automount option, if you have it installed just go to the menu and unselect this.

If not for your second question, in settings/about/software information, there you should see the kernel version.

Hope this helps.

Cheers
[Desire HD Android Development] Radeon1337:
Thank you so much for your help! Turns out it was winamp :)

And the kernel is updated.

Thanks :D
[Desire HD Android Development] danitxu:
You're welcome. I'm glad you solver your issue.

Cheers
[Desire HD Android Development] Bumble-Bee:
Hah yep pretty much ... im testing lower voltages :-) 0.0.1 is very raw. More to come next week :-).
[Desire HD Android Development] vimto25:
Do I need to root my phone for this?
[Desire HD Android Development] jkoljo:
Yes, and also you need an engineering hboot (S-OFF).

I am going to flash this kernel tonight, and use it at about 1.2 GHz, maybe 1.3. I was able to get 1.42 GHz with the old overclocking kernel module, do you Apache know how much OV that was (if any)? I did not try any higher, but it was stable as rock. So maybe 150 mV overvolt is more than needed.
[Desire HD Android Development] xmoo:
I believe the other guy uses 130 for 1.5Ghz, and it's running stable
[Desire HD Android Development] Doktaphex:
Before we had full root I was running at 1.5 at 1000mV stable, so I would dearly like to continue that, but I have no clue how to re-write and re-compile the modules so, I'll take what I can get. I would like to start learning to write for android though so who knows, maybe I'll give this a go over the weekend.
[Desire HD Android Development] xmoo:
What's the diffrerence

Between Conservative, On Demand and Performance??

And also, how to revert back to the 1Ghz? Just remove SetCPU or flash stock zImage??
[Desire HD Android Development] jkoljo:
Conservative = raises clocks gradually when power is needed, does not bang full mhz right away when there is load.

On demand does the opposite, high clocks immidiately. I like it. Performance, maybe that does not lower clocks that much, or that fast? I do not know about that.

Flashed the new kernel, QUADRANT 2846!!!!

I also attached a pic to show uncertain users how easy it is to flash stuff. I did not do anything on the phone, I did not even touch it! Of course the first time it is mandatory to push the wifi module, but it is not that hard either.
[Desire HD Android Development] xmoo:
So what do you prefer?? conservative, on demand or performance for better battery
[Desire HD Android Development] jkoljo:
Conservative is propably best for battery, but I like my device snappy. I use on demand.
[Desire HD Android Development] xmoo:
And what profiles you use??
[Desire HD Android Development] jkoljo:
I do not. Only set on boot, and I think I am going to use 245 MHz - 1516 MHz settings from now on, this seems stable.

BTW propably the BEST score ever on Quadrant!
[Desire HD Android Development] xmoo:
you don't seem to use ur phone that much??

would love to know after a whole day of use how ur battery is doing :P
[Desire HD Android Development] jkoljo:
I do really use my phone, this is the first day I am using so high clocks. So far it seems to do just fine, remember that the phone is not overvolted and overclocked very often as the governor keeps clocks down. I think I will start using something like 1,3 GHz clocks on demand, not lower 24/7. At the moment my battery life is more than good for me, so a little overclocking cannot hurt too much..

Apache: It is mandatory to apply the wifi module again, the wifi does not work with 0.0.2 with the old 0.0.1 module. And yeah, thanks for your kernel :)
[Desire HD Android Development] Bumble-Bee:
Oh soz lol i tested on mine without the newer module and it worked .... thanks for the heads up :-D

and

.21 to .25 kernel coming tomoz
[Desire HD Android Development] capychimp:
you have a git?
[Desire HD Android Development] Bumble-Bee:
Nope but I will have one up and running soon :-)
[Desire HD Android Development] jkoljo:
HTC Desire HD - First device to break Q3000

Ok, here we go. I think this is a world record in quadrant so far, 3000 points!

Apache, I am starting to like your kernel :) A little point I would like to tell, is that never set a maximum on demand frequency below 368 mhz. I ended up with a nice bootloop, before I finally could untick "set on boot" before the device restarted again. The kernel propably has no faults in it, maybe it is the device that just gets angry if we poke it too much..
[Desire HD Android Development] Doktaphex:
I got 2935 last night but couldn't quite make it to 3000
[Desire HD Android Development] xmoo:
When will you up the correct wifi file??
[Desire HD Android Development] Doktaphex:
I don't understand, my WiFi works fine with the new module. Is everyone else having problems with WiFi except me and Apache14
[Desire HD Android Development] cattleprod:
just flash 1.0.1.zip no boot loop problems, an i had 0.0.9 flashed an install before. great work Apache love smartass gov, i dont need to use screen off profile in setcpu lol

some problems,

wifi loops trying to connect to network

setcpu wont startup(did try reinstalling setcpu)
[Desire HD Android Development] Walker Street:
1.0.1 installed. I still need help with openvpn - Pls help at my thread too :)

Thanks Buzz! I've updated to your kernel version 1.0.1 and am using your official tun.ko. However I still can't get it to work properly. I was able to get connected using your tun.ko. However there is no traffic on the interface and the tun adapter is not listed when I do an ifconfig. This is a problem others have gotten with Android OpenVPN on various devices in the past. It might be something to do with my openvpn.conf file.

MY openvpn.conf file is:

client

dev tun

proto tcp

remote [IP ADDRESS OF MY SERVER] 1194

resolv-retry infinite

nobind

persist-key

persist-tun

ca ca.crt

cert foo.crt

key foo.key

comp-lzo

verb 3

Nb: The IP address of my server is hidden and the cert and key are renamed "foo" here for security reasons

I'm still looking for help from all you openvpn and android kernel experts out there. :confused:

Here's screenshots of my setup with BUZZ's kernel version 1.0.1 and LeeDroid 1.2:

I haven't got the expertise to get it to work properly beyond what I've already done with the "OpenVPN Installer" and "OPenVPN Settings" apps by Friedrich Shauffelhut.

Any OpenVPN and/or kernel module Gods out there that can help? :confused:
[Desire HD Android Development] mero01:
LOL Apache can you please post the command to make /system RW after boot :P i forgot to save it :(
[Desire HD Android Development] afrcom15:
problem for me since installing v1.01

On any call incoming and outgoing the person on the other end cannot hear me.

Went back to v1.0 and all is well. I've installed v1.01 via CWR and fastboot with the same result.
[Desire HD Android Development] Bumble-Bee:
Ahh yet that looks like a bug on my half .... I'm taking 1.0.1 down for now .... sorry about all this
[Desire HD Android Development] mike1986.:
I incorporated this kernel to my ROM and I have no such problems... (1.22GHz)
[Desire HD Android Development] Bumble-Bee:
Its only affecting the 1.5ghz kernel as something went wonky with my build environment while building it

Again sorry all please revert to 1.0.0 or my 1.0.1 1.2ghz kernel. Ill will fix ASAP
[Desire HD Android Development] Rixsta:
This is the 1.5ghz 1.01 kernel though

EDIT - Ahhh Apache, your just to quick for me.
[Desire HD Android Development] Rixsta:
Same here :(
[Desire HD Android Development] pinn___________:
The 1.01 (1.5gHz) build still seems to be up as I just downloaded it from the 1st post - flashed it (fine) with latest LeeDroid but am now getting random reboots.

Unsure if this is the Kernel or Rom - can anyone else confirm?

Ta
[Desire HD Android Development] Bumble-Bee:
Update ...

Fixed 1.0.1 is now up please reflash if you have mic problems

Again huge sorry for inconvenience

:-(
[Desire HD Android Development] Rixsta:
Updating now...thanks Dev !
[Desire HD Android Development] Rixsta:
Tested 1.0.1 reflash and confirmed working..

Call/outgoing call bug fixed !

Thank you :)
[Desire HD Android Development] Pepppito:
Hi, i got stucked in boot loop and i have no back up :(. I had tried all kernels from these via CWM but nothing will solve the boot loop. How can i solve this?:confused: Please, I really need your help.
[Desire HD Android Development] brolee93:
my phone no boot android with your kernel 0.8 or 0.9 or 1.0 or 1.01 fix what ?

Can you help me because with other kernel with 1.53GHz or 1.51GHz my phone boot correctly and didn't freez.
[Desire HD Android Development] jkoljo:
Try the 1.2 GHz version.
[Desire HD Android Development] cattleprod:
yup thanks flashed 1.0.1 no boot loop ,wifi working and set cpu working :)
[Desire HD Android Development] Pepppito:
Didnt helped:(

Where can I get official ROM to reflash it?
[Desire HD Android Development] Rixsta:
You are going to have to flash a custom rom or an official one (stock roms are crap though lol )

Format everything except sd card using clockwork recovery- eg system, data, cache....ect

Then do a factory wipe/reset using clockwork recovery..

Then flash a custom rom (leedroids is fantastic) this will solve the bootloop..

When its fixed you should flash this kernel 1.0.1 using fastboot NOT clockwork...it causes a bootloop on some phones...it happened to me with all the CWM.zip kernels..

Dont worry...its just a small problem..and easy to fix :)

EDIT STOCK ROMS - http://xdaforums.com/showthread.php?t=824357

I would really advise a custom rom though...If I had to go back to stock Id sell my phone first..
[Desire HD Android Development] Sylpher:
http://robmcghee.com/DesireHD/

Use that link. Alternatively you could try flashing a custom ROM such as LeeDroid. I'm having the same issue as you though, neither the 1.51GHz or 1.22GHz worked for me :( I was just stuck in a boot loop.
[Desire HD Android Development] Sylpher:
Hey rixsta, just a question about flashing it via. Fast boot. That would mean only flashing the zImage and the bcm4329.ko file right (like we used to do before the CW.zip files?). If that's the case, what's the purpose of all the other files :S?
[Desire HD Android Development] Rixsta:
Yes thats correct.

The latter part Ive never thought about hahaha....they just must be needed to make it work using clockwork :confused:
[Desire HD Android Development] Rixsta:
Id also recommend downloading launcher pro...with leedroid and this kernel plus launcher pro this thing flys...its awesome..and I cant do without the scrolling dock on the bottom...:D
[Desire HD Android Development] cattleprod:
if you fash via fastboot an not flash the whole zip file you lose the extra things like the open vpn, Tunneling (module),etc . cause the zip has a load of files which get pushed to modules folder
[Desire HD Android Development] Sylpher:
Thanks for the responses guys. I'm just not sure of what to do now since the .zip files are all failing for me (this one as well as the 1.22GHz one). Is there any way of making them work :S?
[Desire HD Android Development] cattleprod:
try using the fastboot method flashing just zimage and push bcm4329.ko

unzip the 1.0.1.zip into new folder

get the zimage you find in the kernel folder

get bcm4329.ko find in modules(find in systems folder)

then flash zimage via fastboot and push the bcm4329.ko to modules

if this dont help then you will have to do full wipe of phone apart from sdcard

and flash a rom
[Desire HD Android Development] Rixsta:
When this happened to me I tried to flash it with fastboot but it didnt solve the bootloop, only flashing the rom back fixed the problem.
[Desire HD Android Development] cattleprod:
yeah i just reflash another rom after the bootloop didnt try fastboot way but it has worked for me before when had other problems with other kernels zips doh
[Desire HD Android Development] mero01:
Hey Apache,

Just wondering if the tun.ko file you created for us would maybe have some errors? as the tun device isnt created ? might be wrong but its worth checkn, this opevpn is driving me insane :(
[Desire HD Android Development] Bumble-Bee:
Ill have a look into it for you :-)

IV never used openVPN before so I'm not familiar with setting it up .... the module looks ok tho :-)
[Desire HD Android Development] gaabrysz:
Great work Apache:) Love the kernel.

Just one thing, with the 1.2 ghz kernel i'm getting a lot more in quadrant than with this one. Any idea why ??
[Desire HD Android Development] mero01:
Yeh the module is fine im pretty sure now :) its somethig to do with ifconfig n routes
[Desire HD Android Development] starbase64:
Hi,

this kernel has strong wake up freezes.

Rom: Android Revolution HD 1.3 by mike1986

with friendly greet

starbase64
[Desire HD Android Development] Walker Street:
I got OpenVPN working like a charm with the CyanogenMod rom and your wonderful kernel and official tun.ko. Thanks Buzz!
[Desire HD Android Development] mero01:
+1 Yup thank you very much!!! I have now got OpenVPN installed and working on LeeDroid with you amazing amazing kernel and and i cant forget the very helpful tun.ko!!! thanks again for all that :)
[Desire HD Android Development] nickwarn:
It still freezez the phone in youtube. Well not exactly freezez, but it gets very laggy. When presssing something on the screen its responding maybe 30 seconds later. Everything else works fine. I used the clockwork 1.0.1 fixed version and i didnt have any bootloop or other freezez. I had setcpu set to 1,3Ghz and smartass

set on boot checked. I was using Pays Sens version Rom
[Desire HD Android Development] the.abyzz:
Freezes / lags here too. 1.0.1 with stock ROM
[Desire HD Android Development] Rixsta:
No freezes here...try turning the overclock down on setcpu, this seems to vary on different DHD'S..
[Desire HD Android Development] AndyCr15:
I don't find 1.0.1 as good. I wouldn't say freezes, but stutters sometimes as I slide homescreen to homescreen for example (LPro+)

Gone back to 0.8 for now.
[Desire HD Android Development] Pepppito:
I had reflashed the ROM with Leedroid, everything seems now fine, but with this 1.0.1 oc kernel is something wrong. It freezes at 1.51GHz. Quadrant score is only about 2600. Now I am running it on 1.44?, this seems stable but q score is 2500 max. It will need new kernel or some fix.

Edit: with 0.7 kernel 1.51GHz was absolutely without problems, so it depends not on device I think. Sory for my English.
[Desire HD Android Development] Rixsta:
Quadrant is irrelevant to performance..

To base performance on Quadrant scores is not a good idea.
[Desire HD Android Development] jkoljo:
Yeah but it also measures raw computing performance, which is needed in "real life" situations like rendering a web page, playing heavy games and decoding video on fly. FYI Quadrant measures video decoding also. Better performance = higher bitrate video you can play without lags.
[Desire HD Android Development] Pepppito:
Just after some playing of NFS Shift I must consider that there are much less FPS and some little lags, so I think that Q score isnt irrelevant. When I was using older kernels everything was stable, perfect and q score was 3000+...