yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] marc1706:
I added a few fixes to the sense branch of the kernel:

Reduced bluetooth battery drain

Added extended battery support

Tweaked smartassV2 governor for Snapdragon

Merged headset driver from .35 cm-kernel -- HS controls are working now

Note: The cLK package contains the initrd.gz for bryan's RCmix ROM. This could cause issues on other cLK ROMs.

Also, this compile is only for sense ROMs. Do not use this on cyanogenmod or MIUI ROMs.
[HD2 Android NAND Development] Dunc001:
Marc, any chance of a flashable zip for cLK with the initrd from dansta's 2.5? I have uploaded it HERE for you if you would be so kind... :cool:
[HD2 Android NAND Development] dude0316:
here you go cheers

OK I just zipped up everything you need to make your own boot images. Extract the files to a folder I use c:/android

To get the zimage from a boot.image use command prompt change to the folder you extracted the files exp cd/c:android

then make sure you copied the boot.image to the same directory type split.bat in the command window

it will extract the the files from the boot.img then you type rename.bat to rename them to zimage and initrd.gz

to make a boot image copy the initrd.gz file to the folder along with the zimage file and type make.bat

Play around with it and before you know it you will be a master of the boot.img please hit my thanks button and teach Dansta how to make the boot.img Cheers
[HD2 Android NAND Development] Dunc001:
Hehe, I just figured out how to do it in the Kitchen LOL Just took the magldr zip, opened and dropped in our initrd, then used kitchen to extract and make new boot.img. Dropped that into marc's cLK zip and good to go. If mine doesn't work I'll use yours LOL

It was dansta who taught me how to use the kitchen ;)

Thanks for the tools though, much easier than running the kitchen every time!
[HD2 Android NAND Development] NRGZ28:
You're the man Marc!
[HD2 Android NAND Development] dude0316:
lol that's funny but glad you figured it out its much faster to do it on your machine though instead of uploading every time you want to make a new boot.img

I had remembered reading that Dan said he had never messed with boot.img's before but that was a while back.

@Marc man I love your kernel and I'm a very poor but soon i'll be getting a huge ass tax return and I want you to know you are on my list to donate too cheers and thank you very much for your hard work
[HD2 Android NAND Development] Dunc001:
hehehe - Not the UOT Kitchen, dsixda's Android ROM Kitchen LOL
[HD2 Android NAND Development] g30rg10u:
Can we have a non sense one?
[HD2 Android NAND Development] Dunc001:
Mark, the latest version seems to have broken bluetooth. Whereas I was getting pretty much instant automatic connection to my car kit with 1k now with the latest compile it is turning on and finding the car kit but not connecting. I haven't changed anything else other than wiping cache and dalvik and flashing the new kernel. I am on cLK and I compiled a new boot.img with your zimage and the initrd from dansta's ROM
[HD2 Android NAND Development] juergenn:
Any chance for unique bt and wifi mac? or is this not kernel related?
[HD2 Android NAND Development] pereira6david:
This is kernel related but I think it's under investigations.
[HD2 Android NAND Development] marc1706:
Unique MAC will be added soon.

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

Since there are issues with bluetooth in my latest compile, I compiled the kernel without the bluetooth drain fix. I will try to fix the battery drain in the next release.

Note: The cLK package contains the initrd.gz for bryan's RCmix ROM. This could cause issues on other cLK ROMs.

Also, this compile is only for sense ROMs. Do not use this on cyanogenmod or MIUI ROMs.
[HD2 Android NAND Development] dude0316:
This one killed WiFi for me.
[HD2 Android NAND Development] jan-willem3:
Bluetooth fix is only for non sense roms with AOSP/CM bt stack.
[HD2 Android NAND Development] pereira6david:
It seems wifi is killed for me too but only on unsecured one. I can connect to my secured wifi...
[HD2 Android NAND Development] dude0316:
Well I must of had a bad download. I tried it again and it works perfectly. Cheers
[HD2 Android NAND Development] bojanbl:
It works perfectly here :D
[HD2 Android NAND Development] vivebatu:
Hi..wifi still dies sometimes ie signal is there but no data transfer happens

Hope this is fixed in the next update

I,m on magldr nonsense version
[HD2 Android NAND Development] yugoport:
Why this thread, Wich started the development of the new base kernel is the only one that is not sticky? I really can not understand the mods here, it's ridiculous ..

Thanks Warren, I'm a huge fan of your work since the aca SD days ..a big thanks for u and merry Christmas mate.
[HD2 Android NAND Development] warrenb213:
Thanks sir. And agreed. The mods showing no love....
[HD2 Android NAND Development] uzi2:
It would appear to run a little deeper than that when a list of the available Roms and Kernels is stickied and it doesn't contain your Roms or Kernels.

This list appears to do no more than selectively duplicate the index, but it is championed by the mod responsible for recently stickying the other kernel threads.

Something not in the spirit of XDA appears to be afoot.
[HD2 Android NAND Development] warrenb213:
Agreed
[HD2 Android NAND Development] arif-ali:
Even further to that, it seems anything that is the basis of cm7/cm9 Leo sources is not listed
[HD2 Android NAND Development] uzi2:
That's true. I see that all the kernel threads are no longer stickied. Maybe it would be best if the list was unstickied as it might encourage the OP to keep it up to date.
[HD2 Android NAND Development] yugoport:
Back on kernel, any updates on sd love? Would love to try this new base in sd builds,but none of the new kernels are booting from sd..

Sent from my HTC HD2
[HD2 Android NAND Development] vivebatu:
Sry this is a Dev thread but just wanted to check if the non-sense version will be updated with features from Marc1706 latest 1.3 sense kernel pls ?(latest .35 kernel has avs, unique bt etc)
[HD2 Android NAND Development] warrenb213:
He handles the sense end of the desire port now. This weekend ill update that all and some
[HD2 Android NAND Development] ceylin45:
Imposible camcorder lags.

Thanks a lot...
[HD2 Android NAND Development] johndoe99:
This file is missing when you try to use the CyanogenMod Performance settings to change the max CPU and min CPU. /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies. Here is an article I found where a kernel for another HTC phone had a similar issue and how they added it into the kernel.

http://rootzwiki.com/topic/9056-gbthunderbolthow-to-enable-scaling-available-frequencies/
[HD2 Android NAND Development] warrenb213:
I've just done a ton of updates. Will probably be available tomorrow.

This one has been included.
[HD2 Android NAND Development] johndoe99:
Awesome. Thanks Warren for all that you do for us HD2 lovers.
[HD2 Android NAND Development] NRGZ28:
+1000
[HD2 Android NAND Development] Tigermoto:
What he said lol..
[HD2 Android NAND Development] tmihai20:
In the 3.0 kernel thread discussion someone said that ACA kernel is by far the most complete .35 kernel. I am using fhasovic kernel now. Please pack the latest ACA kernel for other users too :)
[HD2 Android NAND Development] warrenb213:
Here soon will be releasing a new version of the non-sense kernel.

Will leave it to Marc1706 to handle the sense portion.

Should see some good improvements as I've done a few things that may translate to large results.
[HD2 Android NAND Development] warrenb213:
First post updated.

After about 7 reboots seemingly at random while device off, it seems to have stabilized(may have had fragments from before or something...)

I may take out the bma change and even that eMMC.
[HD2 Android NAND Development] tmihai20:
Thank you thank you thank you. I will try the new kernel probably this evening.
[HD2 Android NAND Development] warrenb213:
Please redownload if you haven't folks! Check, there is a new 1.09.12 i posted which solves the random reboot!!!
[HD2 Android NAND Development] tmihai20:
Keep us posted.
[HD2 Android NAND Development] vivebatu:
Feedback- kernel is very snappy, I guess a bit better than fikrets in terms of speed....however a) seems wake up takes more time ( I have a auo panel), so was wondering if the wake up fix is applied, b) kernel is missing a lot of features from fikret's kernel like avs, governors, zram and swap support

Overall very good but could be the best!
[HD2 Android NAND Development] warrenb213:
His is built from mine, so there are no missing features here. Instead he's included additions which I don't as of yet.

I'm focused on core functionality. As such I haven't considered such implementation.

Thanks for the feedback bud.
[HD2 Android NAND Development] Mafioso:
The latest kernel is .tar.gz instead of zip, so CWM can't install it :confused:
[HD2 Android NAND Development] vivebatu:
Tks warren....you are the pioneer and master.... I'm using your kernel as my daily driver...another issue - seems BT drain is still present (when BT is on)...regards
[HD2 Android NAND Development] warrenb213:
Agreed. I will try the tytung full fix again and see if it loses compatibility with many devices as happened last I tried. The way its set now maximizes compatibility but as you've found drains batt anytime bt is on.

I will make the adjustment or provide options in the future.

Thanks for your support!!!
[HD2 Android NAND Development] tmihai20:
I just received some microUSB OTG adapters. If you can enable this functionality, I volunteer to test it.

Edit: I took the liberty to create CWM zip to easily flash your latest kernel. It shouldn't create any problems, since I modified it specifically for your kernel. I used the CWM zip from Fhasovic kernel thread.
[HD2 Android NAND Development] warrenb213:
First post updated

ENJOY!!!!!!!!!!!
[HD2 Android NAND Development] vlad2277:
Kernel update

Guys can anyone help to make a zip for latest kernel

Having trouble flashing new kernel into AmeriCanAndroid AOSP HD2 GB2.3.7 CM7.2

Doesn't boot, stops right away with :: SUSPEND message
[HD2 Android NAND Development] vlad2277:
This update breaks AmeriCanAndroid , doesn't boot

Can any one make a realflash zip from latest kernel?
[HD2 Android NAND Development] warrenb213:
Don't make such statements. What build do you believe I test on?

Besides the fact I missed another small thing regarding bt drain.
[HD2 Android NAND Development] vlad2277:
I was refering to CWM zip that tmihai20 made, doesn't work

Can you make flashable zip of new kernel update?

What thing you missed regarding BT DRAIN?

It won't get fixed with this update?

Thanks in advance...
[HD2 Android NAND Development] mwakious:
Deleted...wrong post:o
[HD2 Android NAND Development] tmihai20:
I still have my HD2, I made a CWM zip and I just flashed the latest kernel. It looks like I don't have SU problems like I had with fikret kernel. It also seems to be running a little faster, it could be a placebo effect too. I will most likely sell my HD2, I moved on to an Evo 3D now :D Thank you for all the hard work you have done! As soon as I make Evo 3D my main phone, I will thank each and every one of you developers that worked and are still working on the good old HD2. I hope to see an ICS version (either AOSP or CM9) for HD2, if I'll sell the phone to a friend, I will then flash it.

Edit: I am attaching the recovery flashable zip. I used one of Fhasovic zips as reference.
[HD2 Android NAND Development] vlad2277:
Anyone tried to flash this zip?

Does it work? How is bt drain?
[HD2 Android NAND Development] codiak:
Just flashed the new kernel. Sadly, bt drain is still present :/

This issue keeps me away from using this kernel.

Beside this, it works very nice!!
[HD2 Android NAND Development] vivebatu:
Hi...still testing but here is the initial impression....very very fast kernel, better than earlier iteraions...seems Warren's focus on core functionality is paying off...everything works well but BT drain is still present...yet to check tethering (wired/wireless)....cheers

Edit; no su issues
[HD2 Android NAND Development] nieves53:
Fast kernel...no SU issue here either.
[HD2 Android NAND Development] vlad2277:
Strange, I was under impression that this latest update will include tytung fix, and will fix BT DRAIN forever, but guess not.

It was also in update log.

Why BT DRAIN still there?

Is there any other kernel that will work with AMA ROM without BT DRAIN?
[HD2 Android NAND Development] warrenb213:
I told you that this one didn't quite have it all lowered.

Feel free to use tytungs kernel however you will not get support with that mod on the ACA thread.
[HD2 Android NAND Development] vlad2277:
Thanks for reply, I just thought that you included tytungs fix for BT.

And I'm not sure which of his kernel I could flash...Don;t know how to make it work for ACA ROM.
[HD2 Android NAND Development] warrenb213:
wow, so i hope tonight goes well now that i'm passing out.

mad updates. gonna run the hd2 through the tests and see how she performs, but so far so good.

96mhz anyone? ;) 6mah with bluetooth on anyone? ;)
[HD2 Android NAND Development] vlad2277:
Me, me, me...

First in line.
[HD2 Android NAND Development] vivebatu:
Waiting impatiently :-)
[HD2 Android NAND Development] bobjbain:
Lovely, if it works with ICS? Does it?

Does the current kernel?
[HD2 Android NAND Development] codiak:
Ready to test it!

I miss the Thursday Burger ;)
[HD2 Android NAND Development] warrenb213:
Ok lots of updates. Overall, the next one I release should be the most solid yet.
[HD2 Android NAND Development] warrenb213:
First post updated!
[HD2 Android NAND Development] codiak:
None of the links work :(
[HD2 Android NAND Development] warrenb213:
It works, click the link for the most up to date, then on the next page it'll mention the file and if you scroll down you will see slow download option.

i'm up for suggestions for hosting files now that megaupload is gone. :-\
[HD2 Android NAND Development] codiak:
Ah, the last one worked. It seems I was too quick :)
[HD2 Android NAND Development] vivebatu:
It seems the filefactory link shows error '403 : link forbidden'.....tried many times but does not work...can you upload the file to 4shared.com pls?

Edit; forbidden error seems to be a country restriction

Edit 2: BT drain is gone...great work!
[HD2 Android NAND Development] NRGZ28:
You can upload the kernels right to XDA. They're small enough... just attached them to a post ! lol
[HD2 Android NAND Development] warrenb213:
Mmm I just don't feel right doing that tho. Lol

I wonder...which file service that's free is the best now in the absense of megaupload?
[HD2 Android NAND Development] tmihai20:
Filefactory has imposed some stupid limitation to anonymous users and I can't even download the kernel. I would try setting up a dropbox account, you get 2 GB of storage, I know arif-ali is using it for the CWM images he builds. You also get full control of uploaded files.

I have made a CWM zip just like the others, using one of Fhasovic CWM zips as base. I noticed that the bzImage is larger, but the overall size (kernel and modules) is smaller than the previous release. My phone booted after flashing this through recovery, it is a good idea to clear Dalvik Cache just to be sure.
[HD2 Android NAND Development] nieves53:
thank you warrenb213 for this great kernel. here is a CWR .zip for MAGDLR. thank you again warrenb213

Edit: Tmihai20 bit me to the .zip LOL...oh well
[HD2 Android NAND Development] tytung:
I used the google code website to host my kernel files since they are small. And I can control them completely.

I can set the categories too.

The below is the link to my kernels as an example.

http://code.google.com/p/nexus-hd2/downloads/list?q=label:ICS+label:Kernel

Just for your reference.

If you don't like I put the unrelated link in your thread, just let me know.
[HD2 Android NAND Development] codiak:
Just flashed the new kernel and can confirm that bt drain is finaly gone (and BT still works like charm)!

Feels very snappy and fast. Just doing further tests now.

Thanks warren! You are the man! :)
[HD2 Android NAND Development] milaq:
or upload them directly to your github download page. unlimited storage, no waiting time and max speed.
[HD2 Android NAND Development] Nelthalin:
That new 25 jan kernel sounds great!

Is black screen wakup out of standby issue gone? i still had the problem with 15 and 19 jan ACA builds.

I will try to install this kernel into my current ACA build tonight. I wonder if my carkit still works with the new BT fix. Last time it did not work anymore :)

---------- Post added at 02:45 PM ---------- Previous post was at 02:24 PM ----------

I tried to install your zip with cLK but after that i goes to fastboot mode and wont boot.

I wiped the cache partition and the Dalvik Cache. (Tested on a ACA 15 Jan NAND Rom)
[HD2 Android NAND Development] dusko_m:
Zips are for MAGLDR and you have cLK installed on your phone. We have to wait for someone to compile cLK version
[HD2 Android NAND Development] Nelthalin:
Ah i thought the first one was made for cLK my bad :) Or i need to wait for a new ACA build with the new kernel.
[HD2 Android NAND Development] marc1706:
There are lot of different files in the kernel, for example video drivers. I don't think it would be really easy to port this to one of the current kernels.

LED notifications have been added:

https://gitorious.org/~marc1706/aca...mmit/c84ccc1cef396ece0072c82778ef12d4c178d017

Currently known bugs:

- no Bluetooth

- Camera doesn't work and just shows a white screen instead of the real picture, although I was able to make a picture

- Camcorder doesn't work at all

- USB seems to be buggy: Android notices the connected cable, but neither the battery driver nor apps like Multi Mount notice it

- still 12 - 15 mA battery drain in standby, no matter what is enabled or not

My latest test compile:

http://www.multiupload.com/GXDI15N848

This package will not change your initrd.gz, so no worries there. It will however replace other files like the wpa_supplicant. Do not install this if you don't know what you are doing.

P.S: I wasn't able to upload it here. ;)
[HD2 Android NAND Development] daedric:
I didn't put my hopes high... i just tested it :)

As i said.. the bug/defect comes from elsewhere.

Testing :D

Have a request: Could the OC be increased to 1.5ghz?

Also, i'm getting around 70mAh of drain, standby or not...

Why is the green led always ON ?
[HD2 Android NAND Development] anikolop:
Bug Report:

- Bluetooth turns on and can find and can be founded. Problem is in pairing.

- Camera and flash works except the white preview image.

- Camcorder has white preview image but records with lag @ 800x480 (on playback also white image)

- Mounted successfully sdcard after i pulled out the cable 2 or 3 times

- After reboot Flash enables itself for a second after magldr go go go screen.

- wifi and mobile network is working propably

Changed governor to ondemand the rom was flying.

Tested with dung's runnymede 1.3 rom
[HD2 Android NAND Development] inf3rno1:
The camera flash on reboot is actually normal, its apparently to let you know everything loaded successfully iirc.

Have been following this since the beginning and I cant wait till this is "finished", I say that because I know it will never be finished or perfect but I need atleast the camera and battery drivers to get better, it'd be nice if it was using 3-5 mah on standby too

Regardless thanks for all the hard work gentlemen
[HD2 Android NAND Development] marc1706:
The camera flash while booting is actually used to let you know that the kernel is actually booting. ;)

Thanks for the bug report. ;)
[HD2 Android NAND Development] ricky886:
I have tried your last test kernel

The bluetooth is work, it pair with my headset mw600 and play the music is ok

But it very laggy, when I type word and press setting key
[HD2 Android NAND Development] inf3rno1:
Im running the newest test kernel and it's running fast as **** for me, I don't know why it's going slow for you. I'm on redux cm7 and everything is running perfect, great work so far
[HD2 Android NAND Development] ricky886:
I am using DHD sense 3 Rom

It's laggy and I have flashed back 1.8.3 nobt

This Rom http://xdaforums.com/showthread.php?t=1264828
[HD2 Android NAND Development] marc1706:
OC currently has some issues. While clocks over 998 MHz work, they are actually "slower" than 998 MHz. Not sure yet why.

I'm also not sure why you get a 70 mA battery drain. Did you play around with Bluetooth? :D

If your phone was plugged in while booting, the LED won't shut off once you unplug. The USB bug also works the different way around. If your cable is connected while booting, the phone will never notice the unplugging action.
[HD2 Android NAND Development] marc1706:
USB and battery regulator bugs have been solved:

https://gitorious.org/~marc1706/aca...mmit/158c15c3b5a95376f7f7484df29a7cd04a156684

Currently known bugs:

- no Bluetooth

- Camera doesn't work and just shows a white screen instead of the real picture, although I was able to make a picture

- Camcorder doesn't work at all

- still 12 - 15 mA battery drain in standby, no matter what is enabled or not

Up-to-date compile:
[HD2 Android NAND Development] randasecret:
Bluetooth is working perfect on dungphp DHD Rom ,pairing ,sending , receiving and handset bt.

No glitches ,camera fun pro is working no white screen , WiFi ,data , voice , GPS ,radio ,USB and charging working.Rom is super fast , The only thing is HTC flashlight isn't working lollllll.

Thx Devs .
[HD2 Android NAND Development] anikolop:
The same here with runnymede from dungphp. Will stick to this kernel to see in daily use.

PS: Only problem is the preview of camera and camcorder. Both working normal only camcorder is a little bit laggy.
[HD2 Android NAND Development] miksi:
What kernel are you referring to exactly? Is it http://xdaforums.com/showpost.php?p=18430562&postcount=41 or http://xdaforums.com/showpost.php?p=18449734&postcount=50?
[HD2 Android NAND Development] Ultimaex:
Problem when booting from cLK: Flashlight don't turns of when booting :(
[HD2 Android NAND Development] randasecret:
http://xdaforums.com/showpost.php?p=18449734&postcount=50?
[HD2 Android NAND Development] marc1706:
I'm pretty sure clk support hasn't been added per se.

Did it boot afterwards?
[HD2 Android NAND Development] Ultimaex:
Yes it did. Problem is that the flashlight is getting VERY hot.

Just tried it with MAGLDR and same on my HD2. The Flashlight dont turns off!

Is there a ADB command to turn off the flashlight?

Edit: cLK was tested with Redux, MAGLDR with dungs pyramid 2.5
[HD2 Android NAND Development] daedric:
marc1706:

Congratulations. If you're debuging and fixing it yourself, it's a pretty impressive job.

Keep up the good work!

Now what's really a problem (to me) is the battery drain. :(
[HD2 Android NAND Development] marc1706:
@Ultimaex: Try using the camera with flash (not the camcorder). Maybe that will disable the flash afterwards.

@daedric: There is not much debugging to do. I'm basically just converting code from the .32 kernels and from the .35 bravo code. I'm trying to find the issue that causes the battery drain but I didn't have any luck yet.
[HD2 Android NAND Development] Ultimaex:
I'm not sure if the flash will survive the full boot process. I just had an idea. My hd2 has a broken proximitty sensor and in some kind damaged gps. Maybe this is causing the problems.

Can someone try to boot with covered proximity?

Edit: i will build a fast boot as possible rom to try to make a photo with flash and see if it turns off after.

Btw: only the lower LED is on. The upper one is off while booting. Can you compile me a test kernel without flash at boot and kernel output? I don't have a working arm xcompiler installed.

Edit2: Booted and made picture with flash. Flashlight didn't turn off.

Edit3: randasecret said that HTC Flashlight is not working. Maybe this has something to do with my flashlight problem. Its the first time i look at the leo sources. can you point me to the flashlight driver(msm-flashlight.c??) and init?