yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] hastarin:
Your choice. It's easy enough to switch kernels though so why not give it a go yourself rather than relying on others?

As I noted a couple of posts up this may require the newer haret.exe which I still mention as being optional in the README.txt

I know if I didn't have the nand_boot option I'd get a restart after the HTC boot animation.

FYI I've restarted my phone a half dozen or so times, twice just now to test, and have not had a blue screen at all.

I did notice the one time I let Windows Mobile fully boot and then tried to boot Android I did get a blue screen though, so perhaps that's related to a difference in ROMs too. I haven't tried to reproduce that though.
[HD2 Android SD Development] interfreak:
Ok...you've convinced me to give it a try lol. Standby....
[HD2 Android SD Development] LittleH79:
Hi hastarin,

I'm still trying to get it to boot.

I get no blue screens whatsoever.

My startup.txt looks like this:

set mtype 2524

set ramaddr 0x11800000

set ramsize 0x1e400000

set initrd_offset 0x00a00000

set KERNEL zImage

set initrd initrd.gz

set cmdline "rel_path=Android nand_boot=0"

boot

Android boots fine, get to the point where I enter my pin.

Then it stays there for about 10 seconds saying unlocking sim, then the screen goes black and never returns.

What Android version are you using?

I'm on Mdeejay's Ace HD version 3.1
[HD2 Android SD Development] ChrisM001:
Had the same already with the pure git version, so the evo git kernel developers have obviously changed something.

Found out that it is necessary to enable phone and unlock sim already in WinMo.

That should fix the problem!
[HD2 Android SD Development] hastarin:
My sig contains the ROM, Radio, and Android build I use.

See quote below for a possible fix.

Thanks. That should save some posts. :)

NOTE: I use the Android security screen but I do not lock my SIM and my phone, but not my WiFi, is enabled in WinMo.
[HD2 Android SD Development] TacoLoco:
Hm I prefere to replace a few files (copy and paste) rather than have to compile the kernel on my own.. What do you expect from the people here, that you can send your mobile postpaid to the developer and get it back with newest Android working..??

If you are not able to find or read the (simple) instruction than you should maybe buy an Android phone and let HTC do the support or pay the developers if you want more than you get already..
[HD2 Android SD Development] juanzho11:
Just check WiFi and it comes on and searching too. It's great!!!
[HD2 Android SD Development] wawa144st:
wow this is much better then the white lines in the screen and it works better and smooth would let you know more after testing...

well so far camera still dont work...

will test more
[HD2 Android SD Development] mhd88:
Thank you very much, has succeeded installation Thank you :D
[HD2 Android SD Development] Ahmun_Ra:
Wifi

Wifi not working for me. Doesn't open error message. Any tweek u thought would be apreciated
[HD2 Android SD Development] LordDeath:
After using this for 5 minutes I can say that this works with mattc 1.7 and PPP.

But there could be still some problems I did not see yet.
[HD2 Android SD Development] pongster:
For those who have it up and running, does it have all cpu governors enabled?
[HD2 Android SD Development] LordDeath:
No, just the same as the autobuilds from the git. I talked to hastarin and he will think about adding interactive scaling.
[HD2 Android SD Development] frits141:
Tested. Works fine and no problems. Wifi does work. Benchmark 1415 in beta ACE. Not much but i think thats because the beta.

You can try it by yourself. If not useful, you can always go back to your earlier build.
[HD2 Android SD Development] molesaied88:
sorry to bother. ive updated kernels before and know how to do the module stuff and what not, but this is the first time seeing .diff files for me. Would you mind explaining what needs to be done for it please, i did search but found nothing relevant. thanks in advance!
[HD2 Android SD Development] frits141:
(Re)place the moudules as usual. Delete the excisting diffs and replace it with the diff in this version.
[HD2 Android SD Development] pongster:
nice! thanks for the quick reply. :)
[HD2 Android SD Development] arifqur:
Works well. Many thanks for sharing this with us and dont mind the idiots who have too much time on their hands and too little brain on their heads.
[HD2 Android SD Development] 2udCrRAZdK:
No Mobile Data

Darn,

I was really liking this kernel. It performs very well, but then I noticed that the Mobile Data does not work for me, it is just stuck on "Turning On..." on the wireless and networks settings page. Wifi and Bluetooth work great.

I'm using the Core Droid V0.2 build (I believe this is an rmnet build). Everything else so far has worked well.

Thanks for sharing this with us!
[HD2 Android SD Development] PrjmeTjme:
LED Buttons

Hopefully someone can offer some insight. The lights on my buttons do work but only after coming out of sleep and once they turn off if I press on the any of the buttons they don't light back up. It just gets kinda hard to see the buttons when I'm using it at night.

This only happens to me with the Evo kernels, if I go back to the other kernels they work like they're supposed to. Is everybody else experiencing this too or is it just me?

I've done some searching and can't seem to solve my problem. Help?
[HD2 Android SD Development] LordDeath:
http://irclog.netripper.com/?chan=htc-linux&day=20

Look at gauner's post at 03:46. This .so file has to be copied into /system/lib/hw and afaik it should fix your problem.
[HD2 Android SD Development] PrjmeTjme:
Hey that did the trick!! Thanks!!!11!
[HD2 Android SD Development] :
this is the best kernel ive used. No screen freeses, sods(so far), it wakes up immediately i press the on button and is very fast (although could be overclocked further;)) thanks for sharing your work:)
[HD2 Android SD Development] ridikolous:
Where are the diffs located
[HD2 Android SD Development] Ultimaex:
For all the people who never coded anything nor are able to use the power to find nearly everything by using the internet.

*Click* (If i didnt know anything i would read the wiki article not the one about "Dubai International Film Festival")

the diffs just show the DIFFerence between files. thats it.

@hastarin: Thanks for releasing. i can understand why you dont want to support. Some people think you should support them 24/7 everywhere and everytime.
[HD2 Android SD Development] plotzkella:
Tested the #5 kernel for several hours now.

Works fine but unfortunately there is still stuttering music in mattc 1.8 and mattc evo 1.0.1. :confused:
[HD2 Android SD Development] interfreak:
Just installed 5.0, rebooted without fault, up and running straight away. :)

I should pint out my SIM has a lock on it, but I encountered no issues.
[HD2 Android SD Development] hastarin:
PS My screen seems to do the same on bootup sometimes, but for me that seems to be the phone going to sleep before I notice it's booted and hitting Home wakes it up.
[HD2 Android SD Development] LittleH79:
Thank you ChrisM001 and hastarin.

That option worked!! (at least for me :))

Now let's see how this kernel turns out, but what I've experienced from previous versions it should be rock solid!

Great job my man!!
[HD2 Android SD Development] pescixx79:
for me new kernel not booting using an BOOTLOADER.....

manual click on haret it's OK

any suggest?
[HD2 Android SD Development] hastarin:
Since I've tried quite a few things to reproduce the stuttering music issue, with no success, I'm convinced it is related to something else. IMHO the most likely culprit is the SD card.

My HD2 came with a Sandisk Class 2 16GB card. I know of one user that switched to a Kingston "Class 4" only to find out it's actually a slower card. The "Class" of a SD card is it's minimum spec. Sometimes a quality brand (like Sandisk) with a lower Class rating is actually faster than a cheaper brand with a higher class rating.

The other possibility, based on what I've read, is data. I use WiFi for data so perhaps using 3G/other phone data somehow causes it. I don't have enough data per month to really test that theory myself though.
[HD2 Android SD Development] interfreak:
One thing Iv'e noticed is that swiping the screen seems a bit more 'sluggish' than when using kernel 5.0 with darkstone's Desire HD build.
[HD2 Android SD Development] hastarin:
Glad to hear that.

Did you unlock and enable your phone in WinMo before booting in to Android?
[HD2 Android SD Development] trudeh:
+1

Darkstone Desire HD Beta2
[HD2 Android SD Development] Tubgirl:
Wow, thank you hastarin!! Finally I can use my extended battery with your kernel!! (running mattc1.8) Thanks a million!!

Interestingly enough I can boot with both versions of #5 you posted :eek: (with michyprima's kernel I can only boot the non-undervolted version).

Update: I'm running the "alternative" version now. With the normal version my phone would crash within minutes. The "alternative" version doesn't have that problem on my HD2 which doesn't seem to like undervolting very much.

Brgds... /Tubgirl (with a big permagrin on my face)
[HD2 Android SD Development] interfreak:
Yeah I did. Just switched back to 4.1, like I mentioned swiping between screens (and in menus in general) just seemed too sluggish.
[HD2 Android SD Development] hastarin:
It's sluggish when it first boots (you'll see your CPU maxed out if you use System Panel or similar). I haven't noticed too much of a difference after it's fully up and running though.

I'd like to review some of gauner1986's changes to see if I should include them, but not sure when I'll get time. This fiddling is already taking up more of my time than it should. ;)
[HD2 Android SD Development] LittleH79:
Yes I noticed that too, but when it returned the first time it was still unlocking my sim and went to sleep again and no way of getting it awake.

Anyhow, the trick to unlock first in WM did it for me so now lets test your hard and briljant work :)
[HD2 Android SD Development] interfreak:
I let it run for a bit, but even after everything had 'settled down' it still seemed sluggish. The animations were smooth, but a little slow if that makes sense.

But I'm happy with 4.1, it juts FLIES with darkstones HD build, with my standby mA dropping to 3(!)mA on occasion. Love it!

Battery life is also astounding, charged to 98% 8:00am this morning and it's at 62% now after 14 hours. :)
[HD2 Android SD Development] maxh2005:
Bingo, this has solved my problem. WinMo was set to Airplane Mode so that it would boot faster, but this was causing mattc1.8 with hastarin #5 to lock up a minute or two after getting to the unlock screen. Now that I have taken WinMo out of Airplane Mode, this isn't happening any more. Thanks!
[HD2 Android SD Development] tfouto:
I dont think its a SD issue... I dont have any problems with N1 old Kernel + Darkstone V1 or V2, but with Evo based Kernel + DesireHD music and video, and you tube just shutters... my card is class 6. I havent tried yet Evo Kernel in old builds (N1).

try to when listening music, open the gallery photo and a album with lots of photos... it should shutter music... what music player do you use? Normal one, or a 3rd party?
[HD2 Android SD Development] motoman234:
Very sluggish scrolling for me also, going back to 4.1 which is no big deal to me considering how fast it is.
[HD2 Android SD Development] hastarin:
How long since you've done a fresh format of that SD card? From my understanding SD does not have TRIM support like SSDs, so they slow down over time. A format (full, not quick) will help bring back their speed.

What do you call "lots of photos"? I just tried opening an album with 136 items (mix of photos/video) whilst playing music both via wireless and from the SD card and with SetCPU set to 245 min, 576 max, conservative and I still didn't get a stutter.
[HD2 Android SD Development] tfouto:
The thing is if i boot the old Kernel+build N1 based, everything is really smooth, but on Desire HD + any EVO Kernel, dont...

Album with 180+ photos with 5MP or more... Do you open photos and switch between them fast?
[HD2 Android SD Development] kahiro:
hi thanks for the great kernel. still on your 4.1 and decided against upgrade due to the comment.

just want to add to your suspicion regarding the sdcard and stuttering music. while i have no technical data to prove but i can say that it's definitely the sdcard. when i first tried desire hd i keep getting stuttering regardless of the no. of times and the different ways of formatting the sdcard so i decided to test on another sdcard i have lying around and it worked perfect. both cards are sandisk class2 8gb and formated the same way but one work while the other doesn't.

i know it's not much help but just want to clarify so that those who thinks that's it's the kernel/build etc... should go and try with another sdcard. currently i have no stuttering issues even while using a2dp, wifi and playing games simultaneously.

thanks again for your great contribution.
[HD2 Android SD Development] jaedolla:
I went to michys new kernel for a bit and I didn't experience the echo or loud background noise in calls.. came back to your kernel and I get the echo and loud background noise... besides that the kernel runs great..
[HD2 Android SD Development] ChrisM001:
Opposite to you I would say a faster sd card could better this issue, but the main factor is the kernel.

I can say this, because I found a work around, namely using mixzing an here use the setting AudioBufferSize=Huge.

This eliminates stuttering with hastarin kernels 4 and 5 and with darkstone, but doesn't do that with mattc evo 1.0 original kernel.
[HD2 Android SD Development] ChrisM001:
Reason lies in the git kernel. The devs unfortunately have still not managed to get rid of the echo for the last 2 weeks. Even the latest git kernel of 2709 doesn't solve this echoing issue.
[HD2 Android SD Development] hastarin:
Curious which versions you tried?

There shouldn't be a lot of difference between michys new r0 and my #5.

Sent via XDA App
[HD2 Android SD Development] EclipseX:
sucessiful installed in

[BUILD]27.09.10|Mdeejay eVo Sense v. 1.4 Revolution|3.29.651.5|[kernel:jwu@ubuntu #6]
[HD2 Android SD Development] dbh369:
Can you please clarify what changes are needed in startup.txt? Am I to replace the existing set cmdline or add another?

Thanks!
[HD2 Android SD Development] EclipseX:
OMFG, Noob please read the fuking manual (readme)
[HD2 Android SD Development] hastarin:
Add to the existing line.

Sent via XDA App
[HD2 Android SD Development] ChrisM001:
Your version 5 is based on the 2709 git kernel, that worsenes the echo issue even more compared to 2009 git kernel, which is the base of michys release.
[HD2 Android SD Development] ebliss:
I get standby usage of 60+ using current widget with #5.

btw, 28/9 git kernel is out.
[HD2 Android SD Development] htcfreak:
Just curiousity you have "NAND_boot=0", so are we close to NAND version..???
[HD2 Android SD Development] krat0s123:
I don't think the kernel has anything to do with it.. I'm betting more on the microSD card.. This happened to me once before, back in july when cotulla was the only person releasing the kernels.. No overclocking undervolting and even the full ram under manusfreedoms credit hasn't even been implemented yet.. I found out that it's not the kernel/build or radio version problem when I tried a different microSD card and completely eliminated the stuttering.. Good for me as simply reformatting the culprit (my stock 16GB microSD card) fixed the problem for me.. Blaming the kernel just doesn't add up well for me.. Now if the case was something like a good 90% of people are having the same issue on the same kernel, now that's a different story.. But for a small percentage of testers?? I would blame the microSD cards formatting, health/life, quality, speed and brand, more than anything than the kernel for sure.. Try using/buying from a reputable brand card (i'm sure it doesn't matter much but for testing's sake) and using the same build on my signature with this kernel and see.. If the problem still persist.. I'd start questioning the HD2.. :D But seriously.. I really don't think that the kernel is the culprit for stuttering.. microSD card makes more sense than the kernel.. Really..
[HD2 Android SD Development] tfouto:
so why does mine card work fine on one kernel and bad on the other? SD problem? besides, lots, i mean lots of people complain about the shutter problem... I would say more than 50%, but only a pool could clarify that...
[HD2 Android SD Development] jaedolla:
I used michys r0 kernel, and I'm currently using the miui beta build 4.
[HD2 Android SD Development] kchris:
I've the same problem. I use mattc 1.8. If I use the original kernel or hastarin 4.1 then there is no stuttering. If I JUST replace the 3 files (zImage, tun.ko and bcm4329.ko) to michyprima's r0 kernel then there is stuttering. If I replace the kernel to the extra undervolted kernel (850mV,...) there is stuttering. Then what about the card? Maybe there are kernels with more sensitive to the I/O or I don't know...

I haven't tried hastarin #5 yet, I'm good with 4.1, it's rock-stable and #5 requires more power so I won't replace it.
[HD2 Android SD Development] d3l1:
updated to #5, it booted fine but froze after sim unlock. removed battery, booted again and unlocked sim in wm this time (!!) and now it works fine. will test now :)

my homescreen still seems to be sluggish, no idea why, it never changes :(
[HD2 Android SD Development] krat0s123:
before i reply to what you said, let me clarify this first.. we're still talking about the music stuttering, right?? as i'm not sure whether there was a typo on your comment when you say shutter.. anyway, i'll assume that it was the stuttering as i don't think anyone has ever complained about the camera shutter, unless of course you're talking about the premature flash on evo build.. so let me ask you..

when was the last time you formatted your microSD card? have you tried defragmenting it on windows?? how much space do you currently have?? have you tried using a different microSD card?? try using the winmo rom and radio version i have on my sig.. also, different kernel has different voltages nowadays, hence the UV, OC on the kernel info.. and also, to make sure, try using this kernel on a newly installed android.. honestly, i doubt that 50% of people are having the same issue, as if that was the case the dev would have been really alarmed with his kernel.. and even if you're right that there are a good amount of people having the same issue, you gotta realize that since there are a lot of android builds/kernel are coming out nowadays (almost everyday).. how often do you think do these people format or defragment their microSD cards?? i'm almost sure that most of the people here just delete, copy and paste the new android builds kernel to their microSD cards and just see how it works.. i'm not saying that defragmenting and formatting would 100% fix the problem, but fragmentation would really cause the stuttering.. especially when you have a slow microSD card.. really, i'm just not sold with the kernel being the culprit for stuttering.. cause if it was indeed the kernel, you would have more problems than just stuttering when playing music.. i would really suggest to format the microSD card first, making sure the allocation unit size is set to 4096 bytes or 8192 bytes when you format.. or try buying a 2-4gb good brand microSD card (class 4 at least) just to make sure that it wasn't the card... and again, if everything i said fails, then it must be your HD2.. lol.. i'm not trying to sound arrogant or anything, i just really don't think it's the kernel.. as seriously, kernel problem would give you more problems than just stuttering when playing music on a small to medium scale of testers..
[HD2 Android SD Development] tfouto:
yes is stuttering and not shuttering... my main language is not english, so its easy for me to confuse a word or two...

now i have a class 6, and again, i cant understand why my sd card is unable to play music fines on some kernel and on the other it works fine... really... so my sd card is unable to work properly on some kernels... but that's because of SD??? of course a sd card fully defrag should help, but that's not the all story...
[HD2 Android SD Development] kchris:
I agree. What if my mp3's are fragmented? On an SSD like drive the access time is zero. I agree with that data.img and other large files (system.ext3) has to be kept in one block, but I don't think that I should reformat my SD card every month to avoid stuttering. Some kind of I/O buffer size has to be enlarged then RealTime processes like mp3 playing won't suffer (I/O, CPU, etc).
[HD2 Android SD Development] krat0s123:
actually fragmentation is one of the biggest issue on memory cards.. and the size of the file doesn't really matter.. since the data is written onto a minimum memory units where there is no data stored.. and as the available memory becomes divided to into smaller units, it leads to what they call fragmented storage.. which could cause the stuttering when playing musics, most especially when the operating system and everything else is being run/accessed on the same memory card.. another thing is, a lot of testers here doesn't stay on one build.. when a new build comes out or one is being updated, most of us either deletes the old one's and replace it with new/another.. besides, i'm not just questioning the fragmentation of the memory card.. i'm mostly questioning the card in general like it's health, quality, class speed etc.. that's why i advised to buy a new card or try another with just the android files with mp3's and nothing else.. because like i said, it happened to me once before and the problem was eliminated when i tried a different card.. and it luckily eliminated the problem on my stock microSD card by just formatting/defragmenting it.. i really doubt it's the kernel that's causing the stuttering as believe it or not, it would've been widespread, which would have been addressed already..
[HD2 Android SD Development] dlsniper:
Hello,

I've installed the kernel and while connected to the computer via USB cable with 'Charging only' mode, USB debugging enabled, I've got the following crash:

http://pastebin.com/U7Pai5dw

Details about the system:

Standard battery

SetCPU enabled

ATK Froyo working, autokill enabled, agressive, every 30 mins

WiFi on

Since I don't know what could be the cause I won't try and guess anything. I could only add that the crash didn't happened neither in r3 nor in r4.1.

I couldn't reproduce the error just yet but doing my best at it.

Hope this helps you.

Kind regards.

HSPL3

Radio: 2.14.50.04

Win: Artemis 34.5

(lights on while clicking clrcad && haret)

Android: Mdeejay Froyo Sense 2.2
[HD2 Android SD Development] d3l1:
So far works fine except turning wifi on freezes my phone and 5 secs later it restarts.

Bangsters 1.4

Kernel 5
[HD2 Android SD Development] carhigh:
Whats the secret to getting led notifacations working right?

All i get is one fast flash and thats it for gmail and text.
[HD2 Android SD Development] shree.cse:
I am having this stuttering music issue only after using the evo based kernels with Evo builds of mdeejay and mattc's, before that I never had this issue. Even now I went back to hyperdroid 1.6 and I have no issue of stuttering.

I even tried formatting and defragmenting my SD card.

I don't know my SD card's class details. But it is transcend 8gb card got from the box of my hd2.

I have used all ur kernels and some what better with the latest 5th one. More lagging with desire hd's build even more than evo builds.

Now what I am saying is, it is the problem with kernel and builds not with the SD card.

Correct me if I am thinking wrong.
[HD2 Android SD Development] shree.cse:
With your latest kernel, music is stuttering while some application which is foreground and is processing.

Which seems some thing running better than with the previous kernels