yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] marc1706:
mem_overhead is "memory wasted due to fragmentation, metadata overhead etc.".

Also, the swap driver will purge parts from zram if needed so there shouldn't be an issue when zram is almost full.
[HD2 Android NAND Development] Minnesinger:
Thanks very much for your response. Though, I have a quick follow-up question: would a high 'mem_overhead' value (greater than... ?) be indicative of a memory leak, or is it just a reflection of the normal processes that govern memory/zram?
[HD2 Android NAND Development] marc1706:
That is unfortunately normal zram behavior. AFAIK the author of zram is working on a better implementation that will reduce the memory overhead significantly.
[HD2 Android NAND Development] francescozanghetta:
new kernel 0.1.5

My personal experice with the new kernel: too laggy. Roll back to 0.1.5.

My conf is :clk1.5 haldric sensational xl 2.5.

Thanks for you efforts:)
[HD2 Android NAND Development] yugoport:
Weird, working smoothly here..
[HD2 Android NAND Development] marc1706:
Version 0.1.8 has been released.

Download link can be found in the first post.
[HD2 Android NAND Development] rasumia:
Anybody tried?

Last version is already quite stable.
[HD2 Android NAND Development] vanity:
Installed about an hour ago.

No problems installing. Wiped cache and dalvik.

Had it settle for a few minutes.

Can't say much yet, buy for now it feels smoother and even more responsive.

Eu version with energy rom 23 jan.

Governor is set awake lagfree, sleep powersave.

Don't have zram active.
[HD2 Android NAND Development] ricky886:
i am using v0.18 now

oc look like stable at 1536

good job thanks;)
[HD2 Android NAND Development] guidogsbn:
That's really true, working wonderful, better then previous release. Thanks Marc, donation will follow tomorrow!

--Donation: 4X271375EV768964H.
[HD2 Android NAND Development] feloccio:
Works very well, no reboots so far.
[HD2 Android NAND Development] rafiqzadah:
Great work mark. Using it with CoreDroid v.3.7 and the Rom is more responsive. Great work.
[HD2 Android NAND Development] Tigermoto:
Absolutely agree, Nice work Marc, running smooth as silk on CoreDroid V3.7, happily as Larry at 1536MHz, love it.

Can anyone confirm stability at 96MHz?

I am stunned that a device that when on WinMo was set to 998-576MHz can happily run 1536-96MHz.

I will definitely be sending another donation your way Marc, you're my new idol.
[HD2 Android NAND Development] Minnesinger:
Been running v1.8 for ~6 hours now and everything is great! Battery consumption is optimal so far and my ROM operates slick and quick without a hitch -- many thanks!
[HD2 Android NAND Development] ForgetfulGuru:
Extended battery support

Don't know if it's of any use to you Marc I have just got an Extended battery. I can say that after only one day of use it certainly seems to be okay.

Over 17 hours of use, I mean good use, and only half the battery used. That's okay with me. :cool:

Thanks Man tomorrow I will be running your newest kernel we'll see how that goes too. :cool::cool:
[HD2 Android NAND Development] mike2nl:
+1 for both postings. Very smooth and stable so far.

On my side i have some freezings with the 1536MHz. Not allways but mostly when i am using WiFi or Satelite things. The rest is running very well.

I am using CoreDroid V3.7 too.
[HD2 Android NAND Development] yugoport:
here u go marc, thanks for your work..

6383806598894601Y
[HD2 Android NAND Development] marc1706:
Not every phone is stable @1536MHz.

Thank you very much. ;)
[HD2 Android NAND Development] mikeysteele:
Hmmm... sounds like your phone is overheating. Using GPS and WiFi can create extra heat inside the phone. Probably best to use a lower frequency
[HD2 Android NAND Development] mwr666:
Thx for giving my hd2 second life :)
[HD2 Android NAND Development] mike2nl:
Thank's for the hint, but the HD2 has no overheating issue.

1st - i know hat i do, i hope it :D

2nd - my CPU control service checks also the battery temperature and it slows down to 50% if the temperature > 40 or 45 degC.

So no issue at all. But i can be a hardware difference. I have three HD2's and one is very different when i look at the mainboard. That means that the HD2 has a min. of two revisions of hardware.
[HD2 Android NAND Development] swisscoy:
hi there!

installed the new version 0.1.8 on a Team Blue Droid V3.3 Sensation rom and everything is working like a charm!

ONLY: the camcorder is lagging and not to youse at this moment... is there any possibility that this issue will be fixed! That would be the only thing on my wishlist...!

many thanks

swisscoy
[HD2 Android NAND Development] jerryhou85:
That's a long time sense kernel issue...
[HD2 Android NAND Development] marc1706:
The problem is that the video encoder/decoder defaults to the software decoder for some reason. Still no idea why though. ;)
[HD2 Android NAND Development] bipinsen:
Never quite understood this issue. Is there a fundamental difference between how encoding is handled in MIUI vs non-MIUI roms? I know MIUI roms are closed source, but surely those Chinese guys can't be *that* much smarter! :rolleyes:

EDIT: EXCELLENT work on the new kernel, by the way! I saw a noticeable improvement in responsiveness.
[HD2 Android NAND Development] essi_baba:
Hi for all and thanks for grate developer marc...

Dear marc im dont accsess to my pc for extract boot.img for add initd.gz on my rom.

Its old kernel 0.1.7

http://attachments.xda-developers.com/attachment.php?attachmentid=868650&stc=1&d=1327311596

with my initd.gz

please add initd.gz in 0.1.7 in link to new 0.1.8 and make flash zip file for me.thank you very mach.
[HD2 Android NAND Development] aeropilot:
I did a little benchmarking and testing today, and made a few discoveries. First of all there doesn't seem to be any gain in going down to 96MHz. Both with screen off and on, the idle current didn't go down at all. But I did notice a slight lag using 96MHz. I think 245MHz is the best low speed, for power saving along with nice responsivness.

I also benchmarked 100MHz steps from 800MHz to 1.5GHz. There was a nice gain up to 1.1 - 1.2GHz. But after that the gain per clock speed dropped, and increasing from 1.3 to 1.5GHz made very little difference. And it actually looked like performance dropped. My conclusion from this is that keeping your clock speed at 1.2 to 1.3 max is optimal.

By the way, these tests were done using smartassV2 governor, and Energy ROM.
[HD2 Android NAND Development] feloccio:
Too bad I actually still have random reboots :-(
[HD2 Android NAND Development] carl1961:
maybe this thread might help you narrow your roboots

http://xdaforums.com/showthread.php?t=1150263
[HD2 Android NAND Development] ahlok_hk:
Thanks for the new kernel.

Does the kernel support cpu unvervolt or is marc plan to support in the future? I think this will further lower the standby power consumption.
[HD2 Android NAND Development] warrenb213:
But 96mhz may be able to handle more of an undervolt which I will be testing soon. And it could then prove to be of some benefit.

It was prelim stuff that marc ported to his sense with avs. Once the governors are better dialed in as well who knows.
[HD2 Android NAND Development] djtheraven:
Yeah that's the only thing i have left on my list...is there anyway to make a camera that will only use the encoder/decoder you give it?

Sent from my HD2 using Energy Sensation XL Sense 3.5 and XDA Premium App!
[HD2 Android NAND Development] dude0316:
donation

Marc thank you for all the work you have done on this kernel. I hope you continue to develop it further.

So here is a real thanks :D:D:D:D:D

Confirmation number: 00G73954JS816654Y
[HD2 Android NAND Development] doraemon6688:
With the new kernel 0.1.8, should the zram script be activated in /system/etc installed by the zip file? Anyone has the zram enabled on 0.1.8 and working good?
[HD2 Android NAND Development] Tigermoto:
ZRAM working fine here bro, just install Marc's 100MB ZRAM zip and away you go...
[HD2 Android NAND Development] essi_baba:
I'm wating
[HD2 Android NAND Development] dude0316:
Lol I cannot resist what are you wating for?
[HD2 Android NAND Development] carl1961:
I'm not marc1706

But I did the kernel for you ;)
[HD2 Android NAND Development] carl1961:
he was waiting on a personal kernel fix ( he not able to be at his computer)
[HD2 Android NAND Development] ricky886:
Don't OC more than 1.42ghz
[HD2 Android NAND Development] Mikhei777:
I have two HD2 devices and they Wi-Fi MAC adresses are identical (firmware and kernel are identical). How i can change Wi-Fi MAC address? My router don't understand this situation because i use MAC Filter:)

Thnks.
[HD2 Android NAND Development] ForgetfulGuru:
I'd like an answer to this as well. Hopefully a bit of info on ubder-volting as well please.

I use System Tuner Pro from the market and have left the voltage section alone, mostly cause I don't know and partly because thus kernel doesn't support it.

Any info would be good and help ny learning. Thanks Billy
[HD2 Android NAND Development] Tigermoto:
You are too helpful for your own good Carl. As always. Should change your avatar to an angel at a PC. And I know just who to talk to......

The kernel you have made is of no use to me personally, but you deserve the button push.
[HD2 Android NAND Development] bojanbl:
I agree absolutely :D
[HD2 Android NAND Development] ljjehl:
Exactly!! Carl, you have been very helpful on so many occasions in the past!! Many kudos!!!!!!!
[HD2 Android NAND Development] essi_baba:
Thank you very mach. A biliyon thanks for you no i'm trying new kernel and report for all.

Grate work man ;-)
[HD2 Android NAND Development] bipinsen:
Carl has become the go-to guy across multiple threads! Way to go, man!

I've decided to jump back to trying cLK. I am on the Jan 23 Energy ROM. Can I just flash the 0.1.8 file? I didn't see an initrd.gz in it, so I'm assuming its just flash and go?

Anyone care to help?
[HD2 Android NAND Development] Daekin:
well, probably no big help by posting this :D but I have to admit, this kernel is super fast and battery saver...default setup in my ROM is:

sleep: conservative 96 - 128 MHz

wake: ondemand: 245 - 768 MHz

and even with this underclock, my phone is faster than any other ROM I have used before (including old versions of my ROM) + battery saving is great.

:)
[HD2 Android NAND Development] marc1706:
Thank you very much. ;)

The kernel supports undervolting via System Tuner. You'll have to change the min or max voltage though. Setcpu on the other hand doesn't support AVS.

I'm sorry but there is currently nothing we can do to change this. The problem is that we can't read the real wifi mac from SPL and I don't think that we can currently get a more "unique" wifi mac than we currently have. I'm pretty sure you should be able to change the mac in your ROM though but I'm not that experienced when it comes to hacking android. ;)
[HD2 Android NAND Development] clio94:
i used tytung clk installer and his instructions to install this kernel in nrg 23-1 and clk 1.5. i took initrd.gz file from nrg 23-1 zip file

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

be sure to delete all the files related to tytung`s kernel from folder script,before copy marc`s file and proceed
[HD2 Android NAND Development] warrenb213:
i can build out the option for a custom mac address. shouldn't be too difficult. we'd just need to document the option so folks would know what to do if they wanted to spoof their mac.
[HD2 Android NAND Development] clio94:
In sense roms like nrg is really easy to have your unique wifi mac address.Simply edit /system/etc/calibration file and you are ready to go.I would love to had the same option and in aosp/cm7 roms
[HD2 Android NAND Development] bipinsen:
Thanks for the file and help! I'm missing one piece of the puzzle: it says to get zImage, system folder and initrd.gz. The last I can get from the rom. I see a system folder in the cLK kernel file here. But I don't see a zImage. :confused:
[HD2 Android NAND Development] dude0316:
Zimage and initrd.gz are merged as a boot.img hope I helped cheers
[HD2 Android NAND Development] bipinsen:
Yes that helped. Sorta. Reading tytung's instructions, I have to somehow pull apart boot.img to extract zImage. But the instructions that he links to are far beyond me. There's such a give and take with magldr and clk. Easy in one thing makes it harder in another. :rolleyes:
[HD2 Android NAND Development] dude0316:
I posted a zip a while back to make it easy to extract and remerge the files search my stats to find it or there is an online kitchen that can do it too

Cheers

Edit here it is post number 503

http://xdaforums.com/showthread.php?p=20107124#post20107124
[HD2 Android NAND Development] bipinsen:
You're a fountain of information! The instructions seem easy enough. I just have to figure out how to get the "perl..." command working. :D

Edit: Got perl installed. Moving forward...

Edit 2: And we have a winner! Nice! Got cLK 0.1.8 installed and humming!
[HD2 Android NAND Development] ak100:
Why ondemand? a lot of devepors use smartassv2 for their ROMs? on last kernels i see no diferences on theese govenors
[HD2 Android NAND Development] djtheraven:
Hey Marc I'm having gps issues...locks very quickly but doesn't stay locked...i lose signal but the icon stays lit until i end nav and start again...then it happens all over again...is this a kernel thing?

Sent from my HD2 using Energy Sensation XL Sense 3.5 and XDA Premium App!
[HD2 Android NAND Development] vanity:
I have had the same thing with several nrgz Roms and so with several kernels. Turning gps off and on once resolves it for me and then its keeps working for as long as i need it.

Happens once and a while,not often.

Same goes for a friend of mine.

Does the kernel really influence gps control?

HD2 EU. 5-160mb. energyrom 23 jan. marc's 0.1.8 kernel lagfree/powersave. no o.c. 245-998mhz
[HD2 Android NAND Development] Daekin:
well..smartass, smartassv2, interactivex.... can be used too :) but in that case you should not use daemon controller with overclocking daemon but bypass it, because smartass does have sleep profile builtin...

and why? well...I am not suer it works 100% yet - I heard it had some issues before, so I thought it would be wise to use proven and stable components like ondemand with the help of (again stable proven) overclocking daemon to have separate wake and sleep profiles.
[HD2 Android NAND Development] GraveDigger176:
Daemon Controller

i use the same settings on the energy rom 01.23.2012 and it works with the new kernel from marc :D

thx for the cpu setting tip :cool:
[HD2 Android NAND Development] mb_guy:
GPS Testing

More information:

I had been using AirPlane Mode ON with just GPS enabled when testing (didn't want data roaming charges). I just tested again with AirPlane mode ON but with both GPS and Wifi enabled. It has now been over 4 hours and NO drop.

Does this point more to a Kernel issue.
[HD2 Android NAND Development] Minnesinger:
Perhaps not entirely germane to your point, but I discovered this post a couple of months ago which I've found invaluable in my understanding of governors. It's a bit dated, though all the information contained is still relevant and applicable. Its one shortcoming is that, at the time the post was being authored, smartassv2 was still under development, so his findings aren't as comprehensive with today's governor selections. Nonetheless, I find it quite useful. Perhaps you -- and others -- will find it useful, too.
[HD2 Android NAND Development] djtheraven:
if I toggle gps on and off i lose it completely until i reboot

Nrg said it probably the kernel that's why I'm asking here

Sent from my HD2 using Energy Sensation XL Sense 3.5 and XDA Premium App!
[HD2 Android NAND Development] clio94:
I think it has something to do with gps permissions.in gps.conf file you must add the line GPS1_CLEANUP_ENABLED=0

Sent from my HD7 T9292 using Board Express
[HD2 Android NAND Development] djtheraven:
Where to add this anywhere in the text?top or bottom?

Sent from my HD2 using Energy Sensation XL Sense 3.5 and XDA Premium App!
[HD2 Android NAND Development] vanity:
Ok. Didn't know. Must have missed that response from nrgz i guess.

That line already exists in my gps config btw.

HD2 EU. 5-160mb. energyrom 23 jan. marc's 0.1.8 kernel lagfree/powersave. no o.c. 245-998mhz
[HD2 Android NAND Development] jerryhou85:
His response is in his own Energy ROM thread as below.

http://xdaforums.com/showpost.php?p=22073615&postcount=7341
[HD2 Android NAND Development] guidogsbn:
WiFi Mac Adress on two devices

Hello, there is a solution, also discussed in Energy HD2 Android forum with the helping link to change the MAC adresses:

http://xdaforums.com/showthread.php?t=788418&page=2

I hope, this helped !:D
[HD2 Android NAND Development] vanity:
Like i said... Must have missed it/overlooked it. Already checked it.

My bad.

HD2 EU. 5-160mb. energyrom 23 jan. marc's 0.1.8 kernel lagfree/powersave. no o.c. 245-998mhz
[HD2 Android NAND Development] mb_guy:
GPS dropping testing

I just loaded another rom (Senation XL V 3.0) that uses the 1.8 kernel and it also dropped the gps as did the Nrg Energy Rom. The test was with airplane mode on and just gps enabled. The Energy rom was stable with both wifi and gps enabled, so I suspect this one would be the same.

Is it possible this is actually a kernel thing??

Thanks
[HD2 Android NAND Development] marc1706:
It is rather possible that his is a hardware related restriction. ;)
[HD2 Android NAND Development] mb_guy:
GPS testing

I ran the same hardware for 5 days on a trip earlier this month with an SD rom and no drops, just noticed when I moved to nand. I was using the same Airplane mode on just gps enabled.

I'm just now retesting with Airplane mode off (mobile data on), will post the result in a few hours.

Thanks again.

I have now restored NRG's rom and tested the GPS with Airplane mode off (mobile data on), GPS on, Copilot 9 has now been running for 3 hours with NO drops. So there is obviously some interaction with GPS communication without having at least one of the other networking connections enabled. I'm a tech not a developer so have no idea whether this is a hardware (HD2) limitation or gps drivers or kernel. However it does work with an SD Rom so one wouldn't think it to be a hardware limitation. Either way the work around is easy, just turn on a data connection.

Thanks to Marc and NRG for all the hard work!
[HD2 Android NAND Development] djtheraven:
I'm not using it like that just normal with data driving around town...sometimes it sticks for a while..sometimes not...turning it on stationary won't do.... you have to drive with it on..I'm using it with google nav...

Sent from my HD2 using Energy Sensation XL Sense 3.5 and XDA Premium App!
[HD2 Android NAND Development] vanity:
@djtheraven

Here is the content of my gps config for comparison.

NTP_SERVER=eu.pool.ntp.org

XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin

XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin

XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

SUPL_HOST=supl.google.com

SUPL_PORT=7276

GPS1_CLEANUP_ENABLED=0

GPS1_SESSION_TIMEOUT=2

HD2 EU. 5-160mb. energyrom 23 jan. marc's 0.1.8 kernel lagfree/powersave. no o.c. 245-998mhz
[HD2 Android NAND Development] djtheraven:
I still have the problem..i don't think it's the kernel...i think it's agps

Sent from my HD2 using Energy Sensation XL Sense 3.5 and XDA Premium App!
[HD2 Android NAND Development] The BLION Corp.:
I have the same issue.

data connection off + GPS = steady signal that I don't loose

data connection on + GPS = signal loss all the time

wifi on + GPS = perfect !

wifi off + GPS = perfect !

Can GPSText help you to troubleshoot that ?

What could we do to track this problem down ?

Could it be a hardware problem ? (bad hardware connections...)
[HD2 Android NAND Development] vanity:
Wasn't fm radio, gps, 3g, WiFi and phone radio all controlled by the radio rom? Just a thought. Maybe a small incompatibility or something which makes it hickup between driver and radio rom or something?

HD2 EU. 5-160mb. energyrom 23 jan. marc's 0.1.8 kernel lagfree/powersave. no o.c. 245-998mhz
[HD2 Android NAND Development] essi_baba:
Very good job man.

really you grate developer.all parts work grate.

Only i'm in my rom have rendom reboot sometime. How to fix it?

I think with all kernel one problem exist, when screen is on ,mla is very high(gps,wifi,BT,and other conection is off),auto brightness active,

In all kernel If its on:& compaired with android device

Gps very highest battery drain

Wifi mostest other android device

Bt high

And lcd brithness high.

But when screen is off all draining is normal (2-4)mla.

Dear marc please check the battry drainig and battery using when lcd is on .

and solve or redock the battery draining when lcd is on

Sorry for poor my english.
[HD2 Android NAND Development] mike2nl:
I have added some small comments to your posting, not more...

Last but not least, the HD2 is never made for Android.
[HD2 Android NAND Development] Taco123:
I run Tytungs ICS vers 1.3.

No problem with GPS.

If I use Energys, or TBD Rom, I have also GPS problem like description above..
[HD2 Android NAND Development] pee-wee:
So the problem from rom itself, or gingerbread or sense 3.5?

Sent from my HTC HD2
[HD2 Android NAND Development] carl1961:
install tytung's gps files

GPS_Libraries_v2.1_RPC_for_HD2_Gingerbread_update.zip
[HD2 Android NAND Development] swisscoy:
hi again

i know that is the 1000th time that someone is asking, but is there a way to get the camcorder working without lag's. even at 800x480 the video is not recorded as smooth as it should be... i like to make some videos from my children again and do not like to buy a new phone only while the recorder is not working...

is it so complicate to get the camcorder working smooth?

thx for your work!

My installation:

TBD Stock v. 3.3 with kernel 0.1.8
[HD2 Android NAND Development] jerryhou85:
As far as I know, this is currently not possible in any Sense-base ROM, you may try MIUI or CM base ROM. They are working properly on camcorder.

Hope this helps.
[HD2 Android NAND Development] mb_guy:
I installed the ver 2.1 lib's as one of my tests. Still dropped the connection after about 2 hours. Toggle the gps on and off from within the appliction it resumes navigation immediately so doesn't appear to have lost the lock.

This is a small annoyance in a great rom, as noted before the sensation based SDRom from boxmax ad mccm doesn't suffer from this.

Thanks
[HD2 Android NAND Development] pee-wee:
Will work smooth if you reduce video quality

Sent from my HTC HD2
[HD2 Android NAND Development] essi_baba:
can fix oc stable??? in 1536 MHz very laggy
[HD2 Android NAND Development] Tigermoto:
Have a free thanks, I messed up.

Anyway select the lagfree governor and this kernel is smooth as silk
[HD2 Android NAND Development] ricky886:
1344mhz is more better
[HD2 Android NAND Development] winner1:
is there any plans to get kernel working with ics with sense roms?
[HD2 Android NAND Development] sab3r:
a lot of problems (black screen, freezes etc) its because people are using wrong governor :) specially if you oc.
[HD2 Android NAND Development] fatballj:
I am using RCMix3d v5.1 with 0.1.5 kernel. The GPS work fine without problem. As it cannot run some games (FIFA 2012, NFS Hot Pursuit) smoothly, I update to Kernal 0.1.8 recently. I can run NFS a little bit better by overclock a little bit (still not as smooth as when I run MCCM HD v6 sd rom), FIFA still lag (may be too demanding for old HD2). May be Sense 3.5 consume too much resource.

However, I just notice a problem on using GPS software Papago v5.1. When I open GPS status, the GPS position could be update continuiously. However, if I use Papago, GPS position will update for few mins. Then, it stop responds. I then close the Papago (the software is not hang) and re-open it. The GPS position will resume for few mins and then stop again. It will not happen in 0.1.5. Is it a software conficit with Kernel?

Anyway, Just want to share and Thanks for marc's great work.:D
[HD2 Android NAND Development] ak100:
I see no differences after 1152..only increasing battery drainage