yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] tinuz97:
Already uploaded?

Maybey rename it to 0.1?

Thx
[HD2 Android Q&A, Help & Troubleshooting and Genera] michyprima:
nah no need for a single line change :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] gdc1:
Compass Right direction

So many builds,but your build is the ONLY ONE that the compass point to the RIGHT direction.

How does you do that ?
[HD2 Android Q&A, Help & Troubleshooting and Genera] tinuz97:
Ok,i just want to be sure i have the new one ghehe.

Works great for now,test it a little further (why does XDA do not have a party smiley? :rolleyes: )
[HD2 Android Q&A, Help & Troubleshooting and Genera] michyprima:
I published source code so no secrets anymore ;)

because xda is serious :p
[HD2 Android Q&A, Help & Troubleshooting and Genera] Bryski:
Just to check I am doing this right

To install the new .ko files I created

\Android\root\system\lib\modules

and dropped both files in there then booted into Android.

This should then copy across to the protected Android file system. (/system/lib/modules) yes?

Cheers

Bry.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mstrk242:
Nice so far. Testing it with darkstone's hd desire build. So far, works very well. I'll keep testing and keep you posted.
[HD2 Android Q&A, Help & Troubleshooting and Genera] tinuz97:
Good one.....

I do it manually with root explorer......

I have no idea with the method you do ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] matiasmanzo:
this kernel works only with sence ?

sorry for my bad English
[HD2 Android Q&A, Help & Troubleshooting and Genera] Bryski:
I am getting a lot of 'force close' issues now - swype, titanium backup, superuser and more after updating the zImage and 2 .ko files.

It also defaults to the Sense homescreen on every boot aswell, despite the fact I use Zeam launcher.

Bry.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Tubgirl:
I've tried r0 with mattc 1.8 for about an hour or so and 3G data works, Wifi works and bluetooth works without any problems so far. At one time I couldn't wake up from sleep but maybe that's because of the Android build and not the kernel.

Best of all... it works excellent with the HTC extended battery!! :) :)

Grazie mille... /Tubgirl
[HD2 Android Q&A, Help & Troubleshooting and Genera] eessel:
just tested this out (Build r0) on core droid v0.3, and for some reason, 3G won't work for me. I can connect to wifi just fine but it's a no go with mobile networks..it shows it's connecting, then just says..connection failed. I just switched out the zimage and put the .ko files in my modules folder and turned it back on and then rebooted, but still same problem. I have the tmobile apn, and it was workin' fine with the kernel i had before hand.

My Specs:

SPL: Hard SPL

Radio: 2.12.50.02

Windows ROM: ChuckyDroidROM Tabtastic

any help/advice?
[HD2 Android Q&A, Help & Troubleshooting and Genera] lesjaw:
well..well.. i'm so surpriseee!!..

with your kernel ppp is so stable... :-) on Hastarin kernel i often got disconnected then connect again..

damn..this is a very great kernel..

thank you..
[HD2 Android Q&A, Help & Troubleshooting and Genera] nobnut:
You'll need to use a root level file explorer in Android to copy and paste the files into the directory (on your phone). There is a directory there, you just can't see it until you are inside with root permissions.

Use something like Root File Explorer or any other from the Market. You'll see what I mean when you give it a try.
[HD2 Android Q&A, Help & Troubleshooting and Genera] tinuz97:
I noticed that to! Connection ppp more stable. I did not see any disconnects for now,before i got like 4 or 5 i think in a minute....placebo,or did you changed something in ppp to michelle? I love this kernel so much,that i vote for party smiley's ghehe

...
[HD2 Android Q&A, Help & Troubleshooting and Genera] iosub:
Hi, did you include the audio boost patch?

Thank you
[HD2 Android Q&A, Help & Troubleshooting and Genera] sc00ter98:
I get after haret.exe and before le tama picture a blue screen. :confused:
[HD2 Android Q&A, Help & Troubleshooting and Genera] Blades:
Damn. I guess a nexus one base doesn't count as htc then, huh? I was super pumped about this until I booted to a crazy video error. Well, thats a lie.. I'm still super pumped. But I just can't stand sense builds.

edit: So I guess I prematurely called it an error - i forgot that it had to create data.img - this time I'll wait.. But this is awesome.. Finally an evo kernel with the balls to crank up to 1190mhz. :) I got 1908 quadrant on your r11 kernel.
[HD2 Android Q&A, Help & Troubleshooting and Genera] chungkai:
thank ,but need nexus build kernel....haha
[HD2 Android Q&A, Help & Troubleshooting and Genera] on1ydabest:
To everyone that's having bluetooth problems, if you are running a build that is N1 based the bluetooth won't work with some of them. Remember you are running an EVO kernel This is a known problem. I remember reading it in the chat logs a while back. Also, for connection problems, make sure you are running a PPP build. The EVO kernel is PPP only.

SN: michyprima: Did you implement the audio boost with this one?
[HD2 Android Q&A, Help & Troubleshooting and Genera] ckumar1017:
Works great with mattc v1.8....

mattc v.1.8
[HD2 Android Q&A, Help & Troubleshooting and Genera] pongster:
+1 for Bluetooth support for CM6 based Builds... :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] pongster:
+1 for this... CM6 lovers need their michyprima kernel fix! ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] Wrathlon:
Replaced the zimage and pushed the files into the modules folder replacing the old ones and I just get a freeze on a white screen with HTC on it and nothing else.

Using Mattc EvoLeo 1.01
[HD2 Android Q&A, Help & Troubleshooting and Genera] hastarin:
Thank you! I'm very glad to see that. ;)

Since your code is presumably based on your previous kernel releases that have a LOT of testing, and mine is based on whatever I could find, I'll definitely review the clock/voltage values you've used and look at incorporating the compass offset as well.

That said I've taken an initial look at what you did to support extended batteries and am curious how you derived LEO_EXTENDED_BATTERY_ACR_MIN?

I am presuming through test and observation?

My concern here is that you may have a value that is a little too low based on my own findings.

Since you've documented your approach in your code, and so others can understand the difference in our approaches, here was the approach/logic I used.

I spent time looking at the datasheet for the battery chip used (DS2746) and trying to actually understand what the existing code was doing before I changed anything.

My conclusion was the following:

The extended battery always gives a bigger ACR value (the Accumulated Current Register tracks the current the battery has stored) so I used that to determine what battery we have and which calculations to use.

The only values I changed for the percentage calculation were the capacity (pretty straight forward as it's just the mAh rating of the battery) and the BATTERY_EMPTY value which I derived from the max ACR (taken from the post of your previous testing) minus FL to get ACR_EMPTY which allowed me to derive the LEO_EXTENDED_BATTERY_EMPTY value.

My temperature calculation I am less confident about. Sadly I've got little feedback from over 1700 downloads!

For temperature I made the assumption that one of the values must correspond to the "Package Id" or, in terms of tBattery the Main battery ID. This, is basically a resistor in parallel with the thermistor used to monitor the temperature.

Both of our approaches for temperature are essentially "hacks", and I'm not sure which one is better.

Have you had much feedback on the accuracy of your temperature calculation?

I've seen some initial reports in this thread that your kernel is not causing issues with data, whilst mine is. If we get a few more I may have to revert some of the various changes I incorporated from gauner1986 that I didn't follow as they seem to be the major difference. :p
[HD2 Android Q&A, Help & Troubleshooting and Genera] mwak14:
First of all, Thank you for your great work...

I am using a regular battery which came with my devise but I have suffered from the reboot problem which caused by misreading battery temp. So I used the kernel which Checking battery temp. is disable and it worked fine for me. Recently you released the kernel which supporting Extbatt, Unfortunately it does not work with my devise

so could you please add a version which checking battery temp is disable??

Thank you in advance
[HD2 Android Q&A, Help & Troubleshooting and Genera] lanwin:
I really like your kernel since it runs very smooth. But i also have the data/internet/3g abort problem.

With my current image "mattc froyo sense 1.7 rmnet", radio 2.10.50.26 data works very well.

For testing your kernel ive replaced all files with "mattc froyo sense 1.7 ppp" copied zimage and installed .so files with DroidExplorer. The OS and WLAN works, but if i try to use the browser (with WLAN disabled) it dose 5sec nothing and then the 3g icon disappears.

I had the same effect as i tryed "mattc froyo sense 1.8" two days ago.

Is there any solution to that problem? I know a few other people having that, but since the search function is currently disable, i can not find anything about that now.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mfish123:
+1 on audio boost question. Is it included in this kernel?

Sent from my HTC HD2 running Android
[HD2 Android Q&A, Help & Troubleshooting and Genera] clio94:
the volume is loud enough and if you open speakerphone now the volume is loud.no more open-close-open to get the higher volume.
[HD2 Android Q&A, Help & Troubleshooting and Genera] jamesjf:
This post covers a fix for Bluetooth with an Evo kernel and N1 ROM.

I've just tried it, and now have Bluetooth working again with Bangsters.
[HD2 Android Q&A, Help & Troubleshooting and Genera] hashnon:
You tried to pair AND actually use any stereo BT headset using that BT-fix?
[HD2 Android Q&A, Help & Troubleshooting and Genera] corzradio:
that bluetooth

fix does not work..
[HD2 Android Q&A, Help & Troubleshooting and Genera] jamesjf:
Haven't tested it with a headset yet, but before the fix, Bluetooth wouldn't even turn on using an N1-based ROM and an Evo kernel.

Did you make the changes to build.prop and init.htcleo.rc?
[HD2 Android Q&A, Help & Troubleshooting and Genera] hashnon:
Whell thats the problem, I'm using CM6 based build and yes, BT turns on with this fix, but I can't pair with Nokia BH-505 or i can pair with Jabra 8030 but no controlls are working nor music can be sent to headset.

So fix only fix it visually not practically. :(

And as I undestand that happens with every EVO based kernels being set on CM6 based builds.
[HD2 Android Q&A, Help & Troubleshooting and Genera] csy7550:
Possible to make a non undervolt version for us that get random reboots in standby? :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] Tubgirl:
I agree... I don't know what's up with all these undervolted kernels. There's a reason why a certain voltage is specified by the CPU manufacturer... STABILITY!! Sure you can lower the voltage a bit if you're willing to sacrify a certain percentage of the HD2 Android users... but how professional is that?

If people want to save some battery they can just lower the display brightness... that will have a bigger impact on battery life than undervolting the CPU.

Brgds... /Tubgirl

PS. What happened with the thread where someone was asking the devs for non-undervolted kernels? It just disappeared.
[HD2 Android Q&A, Help & Troubleshooting and Genera] tinuz97:
I already asked Michelle for a non undervolting kernel.

When he has some spare time etc he is going to make one ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] xkravenx:
If you really want to follow what a manufacturer says or "specifies", then girl you should wipe your SD card and go back to Windows Mobile. According to the manufacturer it was intended to run WinMo. Not Android.

With that say go back to WinMo.

These U/V O/C Kernel are awesome. There are reasons why you want to drop the voltage or increase the voltage. Everything makes sense as long as enough testing is done for stability at each voltage. I have not had any issues what so ever with Kernel voltage.

In fact, I wish there was more testing to decrease the voltage a tiny bit more. ARM are know for low voltage/amp CPU. That's their bread and butter.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Tubgirl:
You don't know what you're talking about. HTC Desire which is an Android phone also use the 1GHz Qualcomm Snapdragon. You should contact HTC and tell them they're running the wrong OS with the Snapdragon :D

That doesn't mean that all processors work fine undervolted. You have small variations between processors... some will work fine undervolted and can be overclocked a lot. Others don't have the same margin and needs to run within specifications to be stable

Brgds... /Tubgirl
[HD2 Android Q&A, Help & Troubleshooting and Genera] csy7550:
Alright! :D Great news for some of us :D
[HD2 Android Q&A, Help & Troubleshooting and Genera] xkravenx:
Why dont you listen?? :confused: It means you should format your SD card and run WinMo. OR it can also mean you should get rid of your HTC HD2 and Buy a HTC Desire. So simple!!

The more efficient the kernel is the better power consumption. Reducing voltage = saving battery = increase usage
[HD2 Android Q&A, Help & Troubleshooting and Genera] hazard99:
Whats what all the bickering?

And I do believe he ment if you are wanting people to stick to manufactures spec then you should return the "htc hd2" to stock as the manufacture had intended.

btw this was just a clarification not intent on driving the thought home.

Now on the the meat of things. Since there are cpu's that can run at lower voltages I think it would be best two have 2 kernals which michy already had.

At this point he is starting off with a different based so it would be reasonable to think that given time he will provide a non-oc/uv kernal.That is if he so choose's. As always you have the freedom to pick and choose which kernal you want to use.

Also they provide a stock kernal with no oc/uv. Delimma is those dont provide support for extended batteries do they.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Tubgirl:
Well maybe now when Michele has published his findings we might get extended battery support in the stock kernel.

Brgds... /Tubgirl
[HD2 Android Q&A, Help & Troubleshooting and Genera] bangsters:
Michy,

I was wondering, is it possible to include the BT stack for CM6 builds (N1 stack)?

This should solve the compatibility with CM based builds I assume.

Thanks again!!
[HD2 Android Q&A, Help & Troubleshooting and Genera] hastarin:
I hope to find the time late today to release a kernel without any OC/UV/AXI to see if that helps those like yourself. If not today it is definitely "on my list" so to speak.
[HD2 Android Q&A, Help & Troubleshooting and Genera] dbh369:
I have been using Hastarin's without significant issue, but was intrigued by the compass offset and the reports of even more stable data. However, when I changed over, I lost the ability to even turn BT on. Others have reported this, but I'm on mattc which should be compatible. Any idea why? Is the 'lights.htcleo.so' file incompatible?

Edit: A reboot seem to fix this, somewhat, I still don't get the audio on the call, but BT turns on and the button on my earpiece hangs up calls.

A complete reinstall doesn't seem to fix it either. Any ideas?
[HD2 Android Q&A, Help & Troubleshooting and Genera] kwill:
Would that really work? Has someone tried or done initial testing? That's the ONLY thing keeping from using the EVO kernels all the time and would be great if that worked.
[HD2 Android Q&A, Help & Troubleshooting and Genera] pongster:
I can confirm this to be the case for cm6 based builds and Evo kernels.

Sent from my HD2 HyperDroid
[HD2 Android Q&A, Help & Troubleshooting and Genera] panosg1977:
Thanks Michele! You're the best! Pls keep it up!

Mille Grazie Michele! Sei il migliore! Sto aspetando il prossimo kernel :-D
[HD2 Android Q&A, Help & Troubleshooting and Genera] marsbar 1:
I have a question inregards to attaining access to the root folder. My android folder doesnt have a root folder? How do I attain access? I have tried Droid Explore with no luck.

I have tried searching but havent seen this question being asked.
[HD2 Android Q&A, Help & Troubleshooting and Genera] krat0s123:
Try root explorer, ES file explorer and bunch of others more from the market.. Also, you won't see the root folder in your android folder.. On ES explorer, just hit the "/" without the quotation and you'll get in the root folder..

Also, on droid explorer, you can click the it would be the SYSTEM folder.. It wouldn't be inside your SD card folder or android folder..
[HD2 Android Q&A, Help & Troubleshooting and Genera] marsbar 1:
thank you very much for the help
[HD2 Android Q&A, Help & Troubleshooting and Genera] bangsters:
confirmed as well.
[HD2 Android Q&A, Help & Troubleshooting and Genera] polo735:
Last night I began using this kernel with my cm6 bangsters 1.4 build. So far everything seems great. There is nearly no lag or freeze on the unlock screen which was a big problem for me on the same build with the r11 kernel.

Looking forward to future versions.
[HD2 Android Q&A, Help & Troubleshooting and Genera] michyprima:
New update available!
[HD2 Android Q&A, Help & Troubleshooting and Genera] RolandCruise:
Hi, I'd like to try your latest kernel. I noticed you included a "yaffs.ko" module in the package, can I ask you where should I put this file in order to get it working when I boot android? Does it need to be put in "/root/system/lib/modules" like bcm and tun?

Thanks. ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] seavers11:
is it now possible to use the new r1 kernel with cm6 builds and bluetooth ???
[HD2 Android Q&A, Help & Troubleshooting and Genera] michyprima:
No, it doesn't, unless you need yaffs2 access.
[HD2 Android Q&A, Help & Troubleshooting and Genera] michyprima:
ElBartoME tried to port N1 bluetooth stack without luck.

Sorry, you can use it but BT will not work (as of any Evo based kernel)
[HD2 Android Q&A, Help & Troubleshooting and Genera] RolandCruise:
Ok, one last thing: do I need the "nand_boot=0" in "set cmdline" in the startup.txt file?

Thanks a lot again ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] pongster:
nice! testing this now... which bases will BT work on with the EVO kernel?
[HD2 Android Q&A, Help & Troubleshooting and Genera] FuL_75:
sorry for the question, but can somebody explain me this:

"on non-blank data partitions you must do:

killall akmd

rm /data/misc/AK8973Prms.txt

reboot"

I understand that I have to write that lines if my build is not fresh
[HD2 Android Q&A, Help & Troubleshooting and Genera] chungkai:
eee...why not do nexus kerneel????
[HD2 Android Q&A, Help & Troubleshooting and Genera] michyprima:
No need for this: i inverted things, you should write nand_boot=1 if you need to boot from nand.

BT stack is the usual one: you need bravo/supersonic/ace based drivers for android

you need to do that on terminal or with adb

Already explained why.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Life Engineer:
Nexus one

Hey michel!

Just a NooB question :o and sorry for it because i really don't have time neither want to risk anything because i use android for 1 month now as my main OS;

Can i put this kernel on a Nexus FRG33 build like the one i'm using??? (see my signature).

Thank you!
[HD2 Android Q&A, Help & Troubleshooting and Genera] hoquangthaiholy:
Where can i get a "n" version of your kernel ?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Screemi:
yesterday i read a very good aswer about exactly the same question. it was about that the evo kernel does fit the hardware of the hd2 way better then the nexus kernel. even if the nexus kernel got further along by now, the chance to get the evo kernel even further is way better. maybe somebody remembers the post and give a link to it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] pongster:
@michy

ran this from adb shell "rm /data/misc/AK8973Prms.txt"

file does not exist and its a non blank data.img

also noticed a pop-up saying "Error: Accelerometer support disabled" or something similar

Any ideas what I could be doing wrong here?

EDIT:

For some reason I'm getting the same scrolling lags when moving up and down the menus as with Hastarin's 7.1

SetCPU says 1190 but running a quadrant benchmark gets me to 1100 max... on your R11 at 1190 I would hit 1800-1900... what would I need to do to enable the real 1190 again (as that may be connected with the scrolling lag) :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] brolee93:
Thanks for your big work its work fine with Mdeejay 3.3a desire HD .

but your build R1 contains Audio boost ?

Where i put Yaffs ? in module with turn.ko and bcm(wifi module) ??
[HD2 Android Q&A, Help & Troubleshooting and Genera] copenhagen:
+1 please... good work otherwise. thankyou :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] tinuz97:
Michelle,can you help me with this question?

Does a kernel has something to do with audio quality sound?

I have M-deejay latest Desire build,3.3a and it has standard hastarin kernel.....but you know i am always a big fan of the kernels from you so i switched over,it is working good,wifi etc etc.

But i noticed that this kernel has more bass,but less treble and midsound,is this placebo effect,or can it realy sound diffent?

Thx
[HD2 Android Q&A, Help & Troubleshooting and Genera] clio94:
@michyprima

Τhank you for your work.If we put the commands in notepad

save the file as compass.sh import it to g-script lite and then run and reboot is ok;
[HD2 Android Q&A, Help & Troubleshooting and Genera] B.Maximenko:
Same here :(

DarkStone's DesireHD 20.09.
[HD2 Android Q&A, Help & Troubleshooting and Genera] sorodrigo:
file yaffs.ko in system/lib/modules ???:confused:
[HD2 Android Q&A, Help & Troubleshooting and Genera] drewestate:
Loaded up the new r1 kernel and working great so far. Was curious as to what type of battery driver changes you made? Extended battery stuff or something else ?
[HD2 Android Q&A, Help & Troubleshooting and Genera] tinuz97:
Use the search Luke,may the force be with you
[HD2 Android Q&A, Help & Troubleshooting and Genera] mattfmartin:
Are any of you guys losing data connection with this new kernel. I was using hastarins but his is horrible for data connection.	Wanted to know if this new one was any good???
[HD2 Android Q&A, Help & Troubleshooting and Genera] tinuz97:
Does the camera work in the build you use? srry could not resist it haha.

Now serious,what build do you use? i have no problems with desire builds from m-deejay and darkstone,also vision build no problems with both kernels ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] cloak2000:
great kernel. solved frozen screen problem.

But I found more than 5 secs delay for accpecting a call sometimes (happen when call is coming during standby)... Anyone also have the problem...

at least, I didn't found the same problem on old R11 kernel.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Blades:
Is supposed to include 802.11n support? It's so, what is the command to enable it?

Edit: its definitely disabled -

dmesg | grep -i 802.11n

<4>[ 81.313788] wlan: wifi: Disable 802.11n
[HD2 Android Q&A, Help & Troubleshooting and Genera] santu001:
Yeap, that's where it should go.;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] maximr:
Great kernel so far - no data freeze issues as they were quite frequent with the latest kernels from others. Excellent job.
[HD2 Android Q&A, Help & Troubleshooting and Genera] d3l1:
data freezes seem to be gone and system feels smoother overall, only downside is my battery drains 56mA now in standby (hastarin7.1 drained 5-8mA)

using mdeejay's desire hd 3.3a