yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] TheGeorgiaSwagger:
setCPU

When I use setCPU will this show the modifications already made, or will this just further f*ck things up>?
[HD2 Android SD Development] hastarin:
I currently use it (to underclock my kernel back to 998MHz, which I'll default the next one too).

My suggestions would be:

Use Device Selection - Auto Detect

Don't setup any extra profiles, just tweak the main one if you so desire
[HD2 Android SD Development] NeYo011:
So there is not hope for rmnet support in evo based kernels? please say there is a hope :( :(
[HD2 Android SD Development] gus_chi:
Is anyone else experiencing extremely slow performance when running wifi? It appears that everything slows down to a crawl. Thanks in advance.
[HD2 Android SD Development] anhtin:
Yes Hastarin, rememeber I told you once that I used the new kernel with SetCPU set according to yours in the first post... my phone turns lagging really bad. I installed System panel and found out that the CPU was set to 245mhz at those times. Now I uninstalled the SetCPU... its better, but battery drains really fast.

Any workaround to save battery? Thanks
[HD2 Android SD Development] puremind:
More guidance on Kernel compatibility with certain HD2 models

Hello Hastarin

I am popping up in this thread because after a lot of trial and error using different ROM's, I have determined that the reason that most ROM's really didn't boot on my system were the Kernel they came with. Right now I have to replace the Kernel in every ROM with the "Linux on Wince" Kernel from FroyoStone 3.2. I have tried many different WM ROM's (e.g. NRJ Barebone for Android, ChuckyLite,...) and Radio from 2.08 upwards with no success. I have tried using different SD cards formatted in different ways, and ultimately I lost my time doing so.

Now I am turning to the true experts to understand what is going on.

I have a European (French) HD2 on the latest 3.14 European ROM and 2.15.50 radio.

I saw nowhere about such a problem with Kernels, many people seem to have success booting those other ROM's that use your kernel or other kernels. No cook uses any cautionary word and it is a shame because people like me spend 3 days in front of their phone just to get something to work when in fact all the tips that exist in the forum don't apply.

Based on your experience, what would be the main differences between Linux on Wince and your Kernel? Can it be that my particular model doesn't support some of the features in your Kernel? Could it be a firmware issue? And more importantly, is there any solution you can think of? I would be very grateful any some direction. Others like me have settled for FroyoStone 3.2. It is a shame we are not able to reap the benefits of your excellent work.

When I use Linux on Wince, everything boots very quickly, even without data image. Using other Kernels, I get stuck on logos and splash screens (I have let the boot run overnight several times).

In thrilled anticipation,

Thank you
[HD2 Android SD Development] hastarin:
There is always hope but it's not as simple as changing the build script. Someone else might get this working but as someone who has a fairly stable data connection I can't afford to spend much time on it.

hehe There are over 1300 posts here. Sorry if I don't remember every one. :p

Check what's using CPU (and hence battery) with System Panel perhaps.

Check your drain with Current Widget (1 min interval and log to file). My drain in sleep (with WiFi (g) on and all sync turned on) ranges from 5mA to about 60mA

If you don't see it dropping to 7mA or so then something is wrong. The common thing I see suggested is to make sure your hardware key lights are on when running haret.exe Personally I use EBL (boot loader) and have a 6 sec auto boot and that seems to do just fine 99% of the time.
[HD2 Android SD Development] hastarin:
The main difference that would prevent you booting is that my kernel is Overclocked and Undervolted. Either one of those could cause issues with some phones, but both combined is guaranteed to cause issues with at least some peoples phones. I would guess (based on download numbers of my Alternative kernel versus my overclocked one) that perhaps 10% of people are unable to user the overclocked/undervolted kernel.

Two factors contribute.

Luck - Some phones just happen to work and others don't.

Battery - The extended battery runs hotter so is less likely to work with overclocking, and some of the clone batteries seem to aggravate the issue too.

My suggestion to you is to try the "Alternative" kernel I release.
[HD2 Android SD Development] puremind:
ok, can you guide me? Which one should I use for this ROM:

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

Is it the evo one with ending "on"?

Can your Kernels also be used on CM6 builds easily (replacing image plus WiFi module)?

What confuses me is the fact that the zImage files contained in your Kernels are not the same size as ones included in the Hastarin-cobranded ROM's.

I will try this out and report back. Thank you for your help.
[HD2 Android SD Development] puremind:
Bingo...that worked!

Do you think it would be possible to use the version of your build without overclock just to get the data image created and then add the overclocking support afterwards?

If so, what would be the recommended procedure.

Since you work with cooks, you should ask them to put some cautionary words on their first post, explaining the the fact that the used Kernel may not work on all models / SD cards and if it doesn't (frozen bootscreen), they should deleted the image file created upon first boot, then replace the zImage+modules with the no axi version. This would save a lot of time in the lifes of 10% of the people ;-)

I think best practice would be to provide an aternate version of their ROM in order to avoid confusion and frustration of many people who then spend hours remformatting SD cards, flashing WM roms, changing startup cmdline and other useless tricks to the point where they can brick their phone.
[HD2 Android SD Development] hastarin:
No I don't think that would work, though you're welcome to try it. Just install the overclocked kernel again after you've got the build up and running.

I don't actually work with the cooks, they just use my kernel the same as anyone can. Feel free to provide them with feedback directly.
[HD2 Android SD Development] catmat:
Hello, Hastarin!

Can you remember, we talked some time ago, about that after some time the process system begins to consume 100% CPU? It happened again on the Revolution 2.0, and again, after I stuck the charger! (or maybe after long stanby time)

Maybe this will help to understand the problem?
[HD2 Android SD Development] Maroon:
Which radio ROM do you use?

When I upgraded to Hastarin kernel 7.6 I did the big mistake of upgrading both Windows ROM and radio ROM (2.10.50 -> 2.15.50) at the same time. I immediately noticed big battery drain (250+) instead of the normal 5-8+ I previously had. Off course it was impossible to tell what caused this since I changed many factors.

I noticed that Hastarin used radio ROM 2.14.50 so after a couple of days I downgraded the radio ROM with version 2.14.50. Now the battery drain is back to the normal! :-)

Hastarin - thank you for great kernel!
[HD2 Android SD Development] hastarin:
This does not work with CM6 based builds. Unless you don't care about Bluetooth, then by all means feel free to try it.

I'm not sure how his build is setup, so I can't really say how to install it with that particular build.

If you want to wait before installing I am uploading a new version shortly. It adds CIFS/NFS/ext4 support, and a few minor tweaks.
[HD2 Android SD Development] the_scotsman:
What does that mean to us Linux noobs? :p
[HD2 Android SD Development] plotzkella:
LMGTFY

SCNR :D :D :D
[HD2 Android SD Development] hastarin:
hehe See post 1 for the new kernel and a bit more info on why you might want CIFS/NFS support. :)

Or go straight to that here:

http://xdaforums.com/showthread.php?t=756158
[HD2 Android SD Development] depakjan:
Can you please let me know how to the audio level back to highest... i did not have any echos and the volume was good enough for me..
[HD2 Android SD Development] hastarin:
Unless you specifically want to try the lower audio levels, or need CIFS/NFS/ext4 support why not just stay with release #2 of my kernel?

If the folks that had echo problems don't report an improvement I may put the levels back. I only reduced them part way so it may still be ok for you.
[HD2 Android SD Development] sydneybelinda:
Why should this kernel not work with every build? As long as it stable and can control all the HD2 hardware devices, any build should be able to use it... That being said I actually thought that the nexus kernel was supposed to be more superior than the evo one - at least at the moment... I actually prefer to use the latest nexus kernel on the desirehd build over the evo one because the evo one just does not wake the phone up properly - you hit the button and a few seconds later it MIGHT wake up.. it ****s me..
[HD2 Android SD Development] plotzkella:
Thanks, hastarin. Just installed #3 and will try it. :)

You know anything about fixing the audio issues (stuttering audio with actual evo-kernel and support of original headset)? :confused:
[HD2 Android SD Development] hastarin:
This will work with any build that can use the EVO based kernels. AFAIK that means it will work with any build, but CM6 based builds will not get Bluetooth.

I have no wakeup issues with my current setup.
[HD2 Android SD Development] hastarin:
No. I don't have stuttering issues on mine anymore with this particular Build and Kernel.

I do know EVO kernel fixed an issue with the headset on the 20th. My kernel incorporates it. No idea what the actual issue was though.
[HD2 Android SD Development] pixine786:
Sorry posted that long back when #1 was supposed to be working with DS Desire HD ROM.

But now I am using #2 with mattc Leo w/sense 1.8 PPP version and it works wonderfully. Full support to LED as well. Sorry I take back my earlier comments here. Guess its an EVO Kernel but then again it might change again as well ;) ... ask @hastarin. He will be the best person to update you.
[HD2 Android SD Development] d3l1:
if it fixes the things that bother me with the kernels from bangsters 1.4, I can happily ignore BT not working, I hardly use it anyway.
[HD2 Android SD Development] dortok:
Does it fix the music skipping?
[HD2 Android SD Development] mdeejay:
Good work hastarin, Thanks!
[HD2 Android SD Development] plotzkella:
Unfortunately not. Seems to be a general problem of current evo-kernels. :mad:
[HD2 Android SD Development] jaedolla:
mic volume

From further testing on your kernel everything seems to be working wonderfully... i havent had any ts freeze neither which is awesome with gsenser and auto rotate enable... But i did notice the mic volume is turned up extreamly high and i think that is causing the eco. Everybody i speak to on the fone tells me my background noise is to loud and i work in a pretty quiet office. Everybody i call can hear every lil noise in the background... pls fix and this kernel will be perfect and a keeper until nand is released. Thanx again for your work.

Edit.. i forgot to mention that i used versions 2 & 3 and had the same results with both..
[HD2 Android SD Development] antaed:
thanks hastarin, your kernel works brilliantly with my setup:

- darkstone's desire hd beta2

- radio 2.14.50.04

- transcend 4gb class 6 sd card

- launching android with mskip's loader v4 from artemis v32 wm rom

cheers mate :)

antaed
[HD2 Android SD Development] nobnut:
I use Mixzing media player and get no skipping.
[HD2 Android SD Development] hastarin:
I'm not sure what's causing the skipping. I had it with the EVO kernel in the past but I do not have it with my current setup. Perhaps the interactive governor prevents it, or perhaps it's related to something else.
[HD2 Android SD Development] ridikolous:
I tried that player, it. Plays normal for a lil bit. Then back to stuttering again
[HD2 Android SD Development] naps1saps:
Nope. I've tried reconnecting the battery many times. It is a bad temp sensor because the values go up when it gets hotter. And just FYI, HTC does not handle warranty claims on batteries. You must go through the store where you bought it. Which unfortunately for me is in Europe and I live on the US west coast. Also they accept 30 day replacements and it has been about 55 days. I have to wait and see what they say. If all else fails, I'll try and rip one off of Tmobile saying I bought one with cash. Very sad.
[HD2 Android SD Development] mamv:
I suffer the exact same PAIN. For two weeks now, I've been trying with several different ROMs, several different SD Card's and several different format tools. And the only kernel I can use in order for Android to boot is the one that came with Froyostone (Linux on Wince).

I was really hopping I could use hastarin kernel, because it's a pain to get so many screen locks while I'm walking. Thanks to your post I was able to see there's an alternative kernel (just don't know how I missed it), and I'm going to try it now.

Hastatin,

What does the AXI part of your kernel do? What will I loose by using the alternative kernel regarding the AXI component?

Thanks in advance.
[HD2 Android SD Development] on1ydabest:
Hastarin

Are you planning on releasing a new kernel with the battery percentage fix in the latest commit?

EDIT: Nevermind,I just read in the logs that they just found out that the Desire HD uses the same battery. Markinus is porting it now so there will probably be another commit pretty soon.
[HD2 Android SD Development] plotzkella:
Final fix for stuttering music

Hastarin, there is a final fix by darkstone which is included in GIT now. :)

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

http://xdaforums.com/showpost.php?p=8814695&postcount=103

Because of the importance it would be time for a new kernel-release... :D

Thanks in advance!
[HD2 Android SD Development] pack21:
Yeah, Hastarin, make a new Hastarin Kernel with this fix.:o
[HD2 Android SD Development] anush.isaac:
Finally Awesome battery life (for those who are not Data hungry))

Hi Hastarin,

After quite a few futile attempts I have excellent battery life and I don't think I will be doing anymore tweaking with my current build/kernel but for the PPP disconnect fix, I am even fine with staying on SD card for quite a while as my battery life is great...

I am not a power data user (I surely need data but I don't use it all the time, I don't need push mail n stuff).. I went ahead and turned off my mobile data connection and like magic my battery drain was 5mA on Standby, now I no longer have to look at 6-8 hrs of battery without me doing anything...

But yesterday I forgot to turn off data connection, but for some reason, the connection was terminated by itself and once I wake up the connection comes back again after a few seconds, I do not mind this at all, I am enjoying more than 24 hours of battery life with my moderate use (phone calls, checking my mails every few hours...).. I do not have the Stuttering music problem, my camera works great(but for the preview, but who needs that :))...

Thank you for a great Kernel and a big thanks to mattc for his 1.8 version...

This will now be my everyday use Android ROM, once PPP is fixed thats it, I don't even know if I would like to try NAND anytime soon.. No lags, no freezes, its buttery smooth... I can proudly say HD2 is my Android device for at least a year forward...

Using mattc froyo+sense 1.8 (hastarin r7.6) no Set CPU/Task-killers

Energy ROM Win Mo

Radio 2.15.50.14
[HD2 Android SD Development] mastajest:
Hastarin,

Git has been updated to include a fix by darkstone for the music stuttering issue.

Edit: woah, guess I was too late in letting you know :D
[HD2 Android SD Development] vagelisv:
Hastarin i am quite sure that the battwey of the kernel was waaaay better with r4 and according to the changelog i believe this is due to the light sensor change.

Could we have an alternative kernel with that light sensor or tell me how to change it?

Thanks for all
[HD2 Android SD Development] rafpigna:
Yeahhh

we need 7.7

also the number is nice, isn't it? :D
[HD2 Android SD Development] starbase64:
+1

with friendly greet

starbase64
[HD2 Android SD Development] kwill:
Ok, so I've started doing some battery monitoring using current widget and I see a few readings in my log that say -61 mA and other negative values. Should you be getting negative readings or should they be indicated in positive? I don't know much about current and reading it and such. Nonetheless, over the last hour I haven't gotten below the -61 mA. Bad or good? Bad from what I've read and hoping that I'm reading it correctly?
[HD2 Android SD Development] rafpigna:
61mA says nothing if you dont say what you are using.

If you have 3G data, auto synch, max screen light, bluetooh and gps, all ON... 61ma is a MIRACLE and is REALLY GOOD!!! :D

If you have all OFF.. 61mA is really bad.

In standby with 3G data and autosynch activated I'm around 7mA

anyway let currentwidget to do 1 reading per minute for about 10 minutes in standby with screen off, record the log on your SD and then let's see.

Try to upgrade your radio, could be that the "battery hangry"
[HD2 Android SD Development] santu001:
Any change this kernel will get darkstone's music stutter fix.;)
[HD2 Android SD Development] santu001:
He's getting negative values. ;) as in -61ma

I would first take out your battery for a minute, then boot.

I've heard this resets it!
[HD2 Android SD Development] hastarin:
Next kernel update...

Hi all,

My work has got busy again, so I'll get an updated kernel out as soon as I can. Absolute worst case will be this weekend. Best case will be late tonight (about 12hrs from now).

The only real issue at the moment is the changes to the battery driver as I'll have to merge my extended battery support in to that by hand.

Anyway, must get back to work but just wanted to let folks know I'm aware of the audio stuttering fix, etc
[HD2 Android SD Development] santu001:
First things first, of course.

We won't go anywhere. :D

Thanks in advance. ;)
[HD2 Android SD Development] kwill:
My bad. Guess I should've indicated that I'm running 3G always on (I cant be bothered with messing with turning it on and off as needed). I have gmail set up and hotmail through activesync. GPS is on, BT and wifi are off all the time. Lastly, backlight is set to auto and the lowest setting (in cyanogen mod) is at 80. Which seems it dims all the way to about 40-50% brightness when I'm indoors. Here's my log so you all can see.

And you're right, the negative values are even more confusing. I did try using power off instead of reboot and pulled the battery, but not sure how long I let it sit out. I'll try that again. Thanks guys.
[HD2 Android SD Development] mwebb76:
Negative values mean battery is draining. Positive means it is charging. DERRRRRRR.
[HD2 Android SD Development] rafpigna:
with GPS ON 61 mA is GOOOOD! Tooo much good..

to evaluate the draining you have to turn off GPS (all the other settings are ok), start current widget log with 1 minute sample, turn off the screen and wait 5-10min. Then look at the log... if you are over 20mA there is something wrong... (task killer...that kill system tasks and so the OS needs to reload them, setcpu setted wrong or a backgroun app taking too much cpu power and so on...)
[HD2 Android SD Development] hastarin:
GPS on is fine. It should only be used when needed (at least on Sense) and shows in the status bar. I leave mine on.

Of course I have WiFi on too, so it doesn't use the GPS for a fix except in certain apps that want an exact fix.
[HD2 Android SD Development] blazehockey1234:
Im having one problem... I can't get wifi or wifi tethering working with bangsters v.1.5 build with v.7.6 of the kernel. I replaced the stock wifi files with the wifi files in bangsters build. I then tried running the g-script command but it comes up as false. After rebooting the phone, whenever I try running wifi or wifi tethering by checking the box, the green check mark doesn't pop up and it will say error under wifi and wifi tethering.

Any ideas of what could be going wrong?

I'm using ppp. And running the script for ppp everytime too.
[HD2 Android SD Development] k8826324:
Did U copy the new modules too?
[HD2 Android SD Development] hendr1k:
can I ask question

is dev stil updating nexus kernel? or they all focus into EVO kernel?
[HD2 Android SD Development] blazehockey1234:
Not sure what you mean. What I did was took the root fill and zimage download from the kernel, and replaced both bangsters zimage and root folder with those files. After I went back to the bangsters file that I downloaded and replaced the two harstin wifi files with bangsters
[HD2 Android SD Development] SamStone:
I really like this kernel, my only problem is that the LED notification doesn't work.
[HD2 Android SD Development] hastarin:
So you replaced the matching modules that came with my kernel with those from bangsters?

If so that's why it isn't working. Just use the modules I supplied.

Sent from my HTC HD2
[HD2 Android SD Development] plotzkella:
AFAIK this has nothing to do with the kernel.

Look at the first post, there is a detailed explanation how to enable LED-Notification. :rolleyes:

This has worked for me perfectly. :D
[HD2 Android SD Development] hastarin:
Yes the liblights file is responsible for this along with the build. The issue is the newer liblights doesn't seem to work correctly, at least not with the build I'm using. gauner1986 is aware of it, but couldn't see any easy fix.
[HD2 Android SD Development] boonbing:
Got the same problem... my workaround is to download and install an app (wireless_tether_2_0_5-pre11.apk) found in code dot google dot com (sorry can't post link cos I'm a new forum user)
[HD2 Android SD Development] atticus182:
hastarin, will you include Darkstone's music stuttering fix in your new kernel? I really like using 7.6, thanks dude!
[HD2 Android SD Development] plotzkella:
You should read hastarin's statement here.

Hastarin will release a new kernel when he has time to spare.

We all are waiting for that... :D
[HD2 Android SD Development] hastarin:
OK it's done. ;)
[HD2 Android SD Development] blazehockey1234:
I tried that first before I replaced them with bangsters but still had the same errors.. is it because the g-script comes out as false instead of true?
[HD2 Android SD Development] lukesan:
wow just used the 7.7 on Mdeejay eVo Sense v. 2.2 rEVOlution

8GB class 6 card

write speed = 7MB/s

reading speed = 14MB/s

Mega improvement!
[HD2 Android SD Development] rafpigna:
I' not happy that you downclocked a bit :(

anyway, this evening is time to flash! :D

Just to be sure: i have just to change int zImage file in my build with 7.6 right?

;)

THAAAAAAAANKS FOR YOU EFFORTS!
[HD2 Android SD Development] stumbleine:
You're my idol hastarin!

Great!

Using your kernels for weeks now and not missing wm at all.

Thanks again for your work.
[HD2 Android SD Development] Ronbl:
Just put it on my Froyostone 3.2, at least music stuttering is fixed, rest keeps on running fine!

Thanks!
[HD2 Android SD Development] lukesan:
mmm 1713 in Quadrant, not to bad I would say!
[HD2 Android SD Development] rafpigna:
Moving from 1,113mhz to 998mhz is just 115mhz less... I know it's not noticeable in dayliy use... my point was just to make a joke to hastarin :D sorry for misunderstanding :D
[HD2 Android SD Development] tyween:
Awesome job with the 7.7 Kernel, now me and my dad can both be on wifi at the same time :). The audio stuttering fix is great as well. Thanks for the new kernel!
[HD2 Android SD Development] apallohadas:
Hey I just noticed that!

Excellent Job Sir Hastarin of The Kernel.
[HD2 Android SD Development] LordDeath:
Thx for the new build, hastarin. :)

The new patch for custom MAC-addresses is working fine. Android and my router are showing me the same address as I have in WM.

But unlike the changelog my SetCPU detects only 1152Mhz as the new max. CPU clock speed. But your changelog is stating 1190Mhz.
[HD2 Android SD Development] ckjy:
Are 3g connection drops still as persistent as before?