yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] bachmark:
Hello

For me #5 kernel works like version #4.

Only the #5 kernel boot often with a bluescreen. Linux is running, I can connect via USB and ADB.:confused:

I believe in the boot process something is "random".

Hope this helps you.

Kind regards.
[HD2 Android SD Development] dbh369:
I'm getting bluescreen on boot too. If I'm charging, will boot normally, but sometimes get BSOD instead of initial screen if battery is running low on booting.

As for Bluetooth, still getting the issue where it connects, but outgoing phone calls don't route the audio through the headset (but I get the tone indicating a call initiating). Incoming calls I can answer with my BT. Still looking for a solution on that.
[HD2 Android SD Development] pack21:
Sorry Hastarin but #5 is not a good Kernel....i stay in mdeejay hastarin#4.1 that is a good Kernel:D
[HD2 Android SD Development] xcooling:
#5 is unstable, Wifi crashes and slow performance

#4.1 almost perfect
[HD2 Android SD Development] Downy:
Hello Hastarin,

your new kernel #5 is really really fast.

But I have to enable phone and disable plane mode in wimo otherwise it will crash after some minutes in android.

I think due to this or maybe due to your optimizations it really eats battery in standby. I never got it below 60ma again. With your #4.1 it was around 5-8ma.

This is really a feelable difference in battery lifetime.

I have to reset phone about 2-3 times before it launches android. The first tries I have a blue screen directly after "jumping to kernel".

Extendend battery works very very well!!

Hope this feedback helps you a bit, if you have more questions or need details just contact me :)
[HD2 Android SD Development] memin1857:
hastarin kernel 5 freezes/crashes with multiple builds just after bootup while looking for service (or in first setup at choose language screen) IF phone is off under winmo. It DOESNT freeze if phone is on under winmo.
[HD2 Android SD Development] carhigh:
5 is working good here. had a few blue screens but all fine now.

Just tried to install to second phone but creates a problem. Both have same mac address again. I used this one mine initialy to cure that problem cause i was told this uses the REAL mac address. I guess it really doesnt? Guess ill stick the other phones old version back on it
[HD2 Android SD Development] Tordek:
#5 = Only rebooting here :( info below
[HD2 Android SD Development] plotzkella:
Thanks for your comment but unfortunately you are completely wrong. :p

If it would be a sdcard-issue the music would stutter on every OS.

But it plays fine in Windows Mobile and it also plays fine on every non-evo-based kernel... :confused:

The stuttering occurs with the very first evo-kernel and believe me, I have tested them all... ;)
[HD2 Android SD Development] plotzkella:
As I said in other threads, the problem initially occured with the very first evo-kernel. :mad:

Music is playing well with Windows Mobile 6.5 and (really) all non-evo-based kernels. :)

To be sure I tested with an 8GB class 6 and a 16GB class 2. For testing both cards were defragmented, then formatted and at least tried some different cluster sizes.

It must be an issue of the evo-tree... :mad:
[HD2 Android SD Development] dlsniper:
I think that's because you didn't read the big black note from the first post:
[HD2 Android SD Development] hastarin:
OK this is a general reply to everyone.

I think most of the issues with my new (#5) kernel are related to the code changes in the core git tree. The only other possibility is the gauner1986 code I've left out this time, but then mitchyprima's r0 kernel would suffer from the same problems.

Most of the recent updates to the core git tree atm are focussed on NAND development, which I can only presume means we're getting closer to a release for that.

The music stuttering is likely a combination of kernel changes exasperating SD card issues. Otherwise simply changing the SD card, or the kernel/build, wouldn't solve them.

I don't have most of the issues reported with #5. It is a little slower animating, and I've had one SoD when the battery was low (12%). The sleep current is around 8mA for me.

By all means stick with #4.1 if #5 isn't working for you. There is little difference of note between them. I wanted to see if the Alternative version would work for some people with extended batteries, which it has, and if there was any change to echo issues, which it sounds like there isn't.
[HD2 Android SD Development] Tordek:
i did add nand_boot=0 line to my startup.txt and replaced all files from #5 package but it just won't boot at all here :S
[HD2 Android SD Development] dlsniper:
Get andlog.exe from here: http://cotulla.pp.ru/leo/Android/

Copy that exe into the folder where zImage is, try and boot Android.

If it crashes again, then boot into WinMo, using its file manager and execute andlog.exe.

You won't see anything running but it's like when you use clrcad.exe

Now connect your phone to the computer, and get the file andlog.txt from the phones memory.

Either attach it here or use Pastebin to allow Hastarin to see where something went wrong.
[HD2 Android SD Development] hastarin:
Actually it's a pretty safe bet whatever is going wrong is not in my code, but in the original EVO source, so this probably won't help.

If #5 isn't working for you just stick with #4.1

#5 is somewhat of an experiment and so far one that's not working out too well for the masses. :(

I had hoped the git master changes might have helped with the echo those on CM6 builds are getting, but from all reports they've only made matters worse.

The only upside is that at least one person with an extended battery was able to run #5 Alternative that couldn't run my previous releases.
[HD2 Android SD Development] jogden:
what is the battery drain test app that you used????
[HD2 Android SD Development] clio94:
The music shuttering is also a build issue.with your 5 version I have no problem with darkstones desire beta hd,but with m mdjaeys builds I can't hear music
[HD2 Android SD Development] hastarin:
If you read the section in the first post entitled Screenshots you'll see what produced that image, but to drain my battery I did the following:

Set the screen to full brightness and no timeout

Played music via WiFi

Used the flashlight app set to Auto Flash at full brightness

Used SetCPU with Performance governor to max the CPU
[HD2 Android SD Development] jogden:
i meant whats the app that you used to log the test, to see all those measurments (CPU Usage, Battery usage etc.)

i found it through a couple google searches and image comparisons.... SystemPanel App for $2.99 right?
[HD2 Android SD Development] carhigh:
Current widget, its free
[HD2 Android SD Development] dbh369:
Just to be sure, you changed the line that said

set cmdline "rel_path=Android"

to

set cmdline "rel_path=Android nand_boot=0"

right?
[HD2 Android SD Development] Gary.M:
Battery Monitor Accuracy

Hastarin,

Thanks for your efforts here, and your patience with all of the questions.

I'm running 4.1, and Bangsters 1.4. Its all good, but I noted one thing...

First your battery indication seems more accurate that what I was getting with Michy's kernel.

But it seems optimistic at low charge. My phone goes down to mid 20s and then shuts down at some point with a completely drained battery. The phone won't restart until charged.

On Michy's this would happen at a higher level, maybe mid 30s.

I'm running the standard HTC battery as supplied with my phone.
[HD2 Android SD Development] hastarin:
Yes, like I said, read the first post. I even linked to it!
[HD2 Android SD Development] hastarin:
My battery calculations for the standard battery are identical to the original kernel.

I've noticed that my phone chose to shutdown at 12% last night but I was still able to boot in to WM. I'm unsure what's going on there. To be honest it's a minor issue for me as I normally wouldn't have the battery that low. Either way the % readings still matched in WM and Android so I'm pretty sure they're correct.

Perhaps something else is causing the phone to shut itself down at low battery levels.
[HD2 Android SD Development] jogden:
k thanks, sorry. didnt click the linnk, just the image
[HD2 Android SD Development] m_segura420:
will android still boot properly if i dont copy the root folder ? im using hyperdroidv1.6 newest vbn rom and radio 2.14?
[HD2 Android SD Development] hastarin:
Android will boot (presuming you follow the other instructions to modify startup.txt, etc), but you won't get the modules (so no WiFi/data) or the new liblights.
[HD2 Android SD Development] kivine:
There are reports all over the forum. Users are experiencing the same problem though. Mine was 9-13% . Varies sometimes.
[HD2 Android SD Development] kahiro:
ok here's another of my 0.02 if it's worth anything.

i think ChrisM001 is not entirely wrong but i don't think he's completely right either. so far i have experienced stuttering with various combinations of setup. my current sd works fine with 4.1 while the other doesn't work. when i tried 5.0 last night with the working sd i did get some stuttering so to a certain extent chris is right. although i have to qualify that the stuttering experienced with v5 is minimal and only under heavy usage. ie, bt, wifi, surfing etc .. simultaneously. so yes it does seem that some how the resource management in v5 is not as efficient as in 4.1 because i do the same in 4.1 and no stutter and i do that every day to and from work for a good hour each direction.

but as i mentioned in my previous post, i tried the same build and kernel with another sd formatted exactly the same as the working one and i get stutter so the sd used is definitely factor. the only thing i don't get is that both sd are exactly the same so i would have expect both to work but that's not the case. both are sandisk class 2 8gb and work fine in winmo and win7.

anyway just my 0.02.
[HD2 Android SD Development] molesaied88:
some help would be appreciated. ive been using hastarin kernel since day one, i just tried to update to v. 5 but the wifi keeps giving me an error message. ive used the same method to change the drivers ive always used and i still get error. i followed to directions in the readme but still nothing. any help would be greatly appreciated. thanks in advance
[HD2 Android SD Development] krat0s123:
just look at it this way, the majority of the testers here aren't having any stuttering issue, while a few are.. we could have the same build, radio version, winmo rom and kernel and you're having stuttering issues, while like i said, the majority of us aren't.. why is that?? what's the most inconsistent between your hd2 and ours?? either the softwares/programs installed on your HD2, your SD card or your HD2 (which i hope isn't).. that's the most logical way to look at it.. seriously.. and like i said, it happened to me once before when cotulla was the only one who's building kernel and i remember when i searched here for an answer, i saw a few others more were having the same issues. so what i did is i tried my other microSD card that's lying around and voila! eliminated the stuttering.. so i singled out the problem to my microSD card.. next thing i did is i reformatted the microSD card, defragment and change the allocation unit size and "LUCKILY" the problem was also eliminated after.. now, what i'm saying is fragmentation could cause the stuttering, but i would look at the microSD card in general.. and like i've said, to fully make sure that it wasn't the microSD card that's causing the problem, if you have one or two microSD card lying around, the size doesn't matter much, as long as you can fit the android build and a couple of mp3 files on it. format the card, transfer the android build, use the same hastarin kernel and disable the setcpu if you have one running/installed.. and see how that would work.. cause believe me, i don't really buy the kernel being the culprit as if it really was, the majority of the people here would be complaining about the same thing.. cause the kernel is the one responsible for managing the system resources and the execution of applications which supports the hardware.. and for that matter, if there was something wrong with the kernel, the vast majority of us would be having the same issue if not all.. but that wasn't the case on this as most of us isn't, and some people here even eliminated the problem by switching to a different microSD card.. and that's also the reason why the dev isn't addressing the problem.. just my opinion..
[HD2 Android SD Development] molesaied88:
i cant seem to get the wifi to work on this no matter what i do. updated firmware, tried to inject new driver three diff ways. im using Desirehd beta 2. help appreciated. thanks
[HD2 Android SD Development] hastarin:
If you're using Desire HD Beta 2 the instructions in the README should work fine because that's what I'm using.
[HD2 Android SD Development] molesaied88:
i tried the gscript, it runs and everything, but when i go to use wifi i still get the same error. i am using droid explorer to push the .ko files. ive also tried making the directory in windows. I aslo tried the terminal method of copying it. i can not understand what it is im doing wrong. Im sorry to sound like a whiny *****, ive been working on this for over 4 hours.
[HD2 Android SD Development] hastarin:
I really can't think sorry. Make sure you've booted with the version of my Kernel (Settings, About Phone, Software) you think you have.
[HD2 Android SD Development] silymore:
what's the app in first screen
[HD2 Android SD Development] d3l1:
will give #5 alternative a go today.

issues:

- freeze then reboot when turning on wifi OR when turning on wifi and then trying to connect manually OR when turning it on -> off -> on

- wifi won't connect, it sees my AP but it doesn't connect (router is .abgn)

- went to sleep (airplane mode) with 38% and this morning (7h later) my phone was completely dead although it showed my 6mA after standby WITH phone active (!!)
[HD2 Android SD Development] hastarin:
First a quick note that I released r6. It's basically #5 with gauner1986s video driver cleanup/tweaks. It should be comparable to #4.1 in speed now.

Try reading the first post. I give both app names, not to mention repeating it on the last page of this thread!

I don't have any of those issues with my WiFi, though I don't have an n capable router to test with.

Perhaps try r6 Alternative instead.

One thought for your wifi not connecting is to check you haven't locked your router to a specific MAC address, or if you have make sure it matches what the phone is using.
[HD2 Android SD Development] d3l1:
do you recommend alternative over the normal one?

checked that yesterday, it's not the problem. and my phone never hard froze because of wifi on/off :)

will give r6 a try
[HD2 Android SD Development] kwill:
Hey hastarin, you're work has been truly awesome and much appreciated. There was a post I read over in Michy's thread http://xdaforums.com/showpost.php?p=8324765&postcount=61, which indicates it may be possible to incorporate the bluetooth stack from the N1 to alleviate the BT problem with CM6 roms. Any way that is possible or holds true? Thanks and keep up the great work man!
[HD2 Android SD Development] jtcin2u:
It is possible to drop the sleep/standby voltage to 925mv @245Mhz?
[HD2 Android SD Development] mmelo86:
hello, i need help!

i am using hyperdroid v1.6 and i wanted to try out the new r6 kernel. copied all of the files as it says in the readme.txt and also changed the cmd line to what it says. everything seemed ok and then it just hung on the screen with the android getting out lined in chalk...can anyone tell me why?

Thanks,
[HD2 Android SD Development] Tordek:
I just tried r6 and that one just reboots here too. I've attached the andlog.txt.

At the bottom i see kernel panic :o

Back to #4.1 again, for now...

r6 Alternative also has the kernel panic...
[HD2 Android SD Development] arifqur:
Using r5 and just now switched to r6 and am very happy to report that using SetCPU for screen off (245,245) I am getting 6 to 8 mA current drain with WiFi connected. Absolutely brilliant. The battery is really lasting long.

Thanks man for excellent work
[HD2 Android SD Development] mwak14:
Thank you..

Could you please release a version does not check the battery temp... because this one does not work with my device.??

THank you in advance
[HD2 Android SD Development] interfreak:
Can any one report whether there is still some lag present in darkstone's Desire HD build with r6?
[HD2 Android SD Development] hastarin:
Alternative is likely to be more stable since it's not undervolted or overclocked. I'd suggest trying the normal one and if it doesn't work for you switch the Alternative.

Someone has suggested that in more than one spot. I'd have no idea how to do it though, and as a Sense user I won't be spending time on figuring it out sorry.

In my normal undervolted kernel that's what it is.

You can see the values used here:

http://gitorious.org/linux-on-wince...mmit/0fdd7cede42f15a7e588fb1ce6616e7e59134ab8

I got a reboot if I forgot to add the nand_boot=0 line to my cmdline in startup.txt

Make sure you did that.
[HD2 Android SD Development] Tordek:
I did. As explained in readme.txt
[HD2 Android SD Development] hastarin:
Sorry but no. I can only presume you're not using an official battery?

The temperature calculations are critical to safely charging the battery.
[HD2 Android SD Development] karluk:
so this line:

set cmdline "rel_path=Android"

should be replaced by:

set cmdline "nand_boot=0"

or need I just to add the new line?
[HD2 Android SD Development] 暗黑王:
can't use wifi in r6?

use r5 is no problem...........
[HD2 Android SD Development] dlsniper:
It should be:

set cmdline "rel_path=Android nand_boot=0"
[HD2 Android SD Development] naeem151287:
set cmdline "rel_path=Android nand_boot=0"

Use this.
[HD2 Android SD Development] karluk:
thanks guys, hopefully this will solve the complete freeze issue which I have had after release 5.
[HD2 Android SD Development] Tordek:
LOL!, that was the problem.

The readme suggests to add a new line, which i did. While nand_boot=0 has to be put on the existing cmdline i guess. That was not clear to me.

[EDIT]

Hmmmm, it does boot now but hangs @ unlocking simcard...

[/EDIT]
[HD2 Android SD Development] LittleH79:
hastarin,

have been using your alternative v5 for one day now.

After a difficult start (unlock in WM first) I must say that it ran most beautifully!

Absolutely no sod's, problems with wifi, freezes whatsoever.

BT connects and fully works with my headset.

Maybe one very little thing I would like to see improved is standby batt usage.

I cannot seem to get below 6mA in standby. Other builds (your 4.1, michi's and other) went below 6 easily.

And this is I guess the reason my batt usage is a little bit higher than other kernels.

Is there something you can do about that?

Atm I'm freshly formatting my sdcard and when that's finished V6 (normal to try this time) is getting a test.

Results will be posted later :)

And I cant say it enough, your work is absolutely briljant!

Great seeing the effort you put into it!
[HD2 Android SD Development] hashnon:
The Readme is for "HTC Desire HD build for HTC HD2 by darkstone (Beta 2)" build specifically!

You arn't using that exact build and should understand that ReadMe should be adjusted by you to the build you use.
[HD2 Android SD Development] 12aon:
I'm in the same boat ;). You can unlock your phone in WM before it switches to android, as a workaround.
[HD2 Android SD Development] LittleH79:
New V6 installed on fresh formatted sd.

First signs look really promising!!

- Straight boot, no blue screen, no freeze!

- No sluggishness anywhere

- No stutter in music play

- Wifi, BT connect right away.

- Turning them on and off a couple of times causes no freezing.

Let's see what batt usage is :)

Again a masterpiece :D
[HD2 Android SD Development] interfreak:
Are you running darkstones Desire HD build?
[HD2 Android SD Development] 12aon:
Are you referring to this?

Because I wouldn't say exclusive by that definition. I'm on M-Deejays 1.2, I guess others are too, anyone able to make this work?

Edit: now that I typed it up I might see the error in my ways, the version I use has a Supersonic base and not the EVO base, although in later versions the chefs uses r5 in his ROM, so what am I to conclude?
[HD2 Android SD Development] Tordek:
Tnx, that works :D
[HD2 Android SD Development] LittleH79:
Nope, here's my config:

- NRGZ very lite Android rom

- Radio 2.12.50

- 8 GB Class 2 Sandisk SD

- Mdejay's Desire HD version 3.1
[HD2 Android SD Development] ChrisM001:
Only problem with v6 remains echo.
[HD2 Android SD Development] interfreak:
Where did you find this build?
[HD2 Android SD Development] LittleH79:
It's more difficult to find now because of the system restore XDA had.

Let me have a look foy ya :)

Edit:

Found it!

http://xdaforums.com/showthread.php?p=8316906#post8316906
[HD2 Android SD Development] LittleH79:
That's because of the git, nothing to do with hastarins work..
[HD2 Android SD Development] catmat:
hastarin #6, something wrong winth G-sensors.

Slow moving, permanet jams, e.t.c...
[HD2 Android SD Development] d3l1:
with r6 the phone crashed after a few minutes

with r6 alternative it runs fine, I have 6-9mA in standby but wifi is totally ruined, when I try to turn it on it just says "error" and stays off.
[HD2 Android SD Development] LittleH79:
Have you rebooted more than once to settle everything?

And may I suggest to start from scratch, expecially format your SD.

That irons out a lot of problems.

I honestly have none of the problems you both have.
[HD2 Android SD Development] catmat:
Yes. Again upgrading to hastarin#6 and rebooting twice :). For example, apps from Market - bubble, can calibrate, but when i moving and tilt phone - bubble moving .... freezing for some time, and moving again. In previous kernel - I'd never seen this.
[HD2 Android SD Development] hastarin:
Calibrate your g-sensor in Windows Mobile. DO NOT calibrate it in Android.

I just fired up Teeter, mine seems to be working fine. I might play some Glyder 2 later tonight if I get time. :cool:
[HD2 Android SD Development] hastarin:
Make sure you have the modules installed correctly. That sounds like they aren't.

They should be timestamped 29/09/10 3:50pm
[HD2 Android SD Development] plotzkella:
Probably solution for stuttering music

It seems that both of us are a bit right... ;)

According to your statement(s) I have arranged a few SD-Cards for testing. See attachement. :D

I was totally surprised because the only sd-card without stuttering was the 6GB class 4 card from Sandisk. It also had the highest transfer-rate of all cards (16GB/s read, 14GB/s write).

With all other cards I had stuttering music. :mad:

Then I tested different cluster sizes and that seems to be the key on evo-kernels.

The higher the cluster-size the lower the stuttering. :)

Even my 16GB class Kingston with 64k cluster size is almost free of stuttering now. :D :D :D

With 32k-clusters the stuttering is there again.

Most of the cards (especially the smaller ones) have 4k-Cluster by default where stuttering is at the most. That would also explain why a lot of people have stuttering issues.

My conclusion is that current evo-kernel generation has a problem in adressing sd-cards properly. Maybe it could be compared with the AHCI-feature of a personal computer, what increases speed dramatically when doing random accesses on the hard-disk. :confused:

The problem primarilly occurs when there is a lot of data-traffic (3G or WLAN), especially when surfing the internet...

As I mentioned before, there is NO stuttering on non.evo-based kernels... :eek:
[HD2 Android SD Development] catmat:
Yea, i hear about this solution, tried, and can say - it doesn't matter, where calibrate g-sensors. This doesn't affect for freezing g-sensors. All this applies only to hastarin#6. 4.1,5 work perfect with g-sensors.

Do Task 29, flashing OzDROID 1.11 instead of ChuckyDroidROM - this has not had any effect он g-sensor behavior...
[HD2 Android SD Development] clio94:
Hastarin with your r6 version my wifi mac address is again fake 00:11:22:33:44:55