yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] fhasovic:
I did the same... Can you share your cLK kernel?
[HD2 Android NAND Development] arif-ali:
Hey marc,

Below is the dmesg from after booting the phone while USB connected, and then unplugging it; I will get the other one later, i.e. the one without connecting the USB

http://pastebin.com/1tequ66x

Edit:

The other one is not possible, as it seems it connect eve get to the bootanimation, so not sure where even it gets to
[HD2 Android NAND Development] warrenb213:
I think I tracked the issue arifali. That's part of what I referred to in my earlier post
[HD2 Android NAND Development] Mor-Da:
This kernel supports extended battery?
[HD2 Android NAND Development] djsolidsnake86:
no audio here
[HD2 Android NAND Development] marc1706:
Not yet. I will add it asap.

Please provide a dmesg log for this. Also, if audio used to work in a previous version, please tell me which version that was and it what version audio changed for you.
[HD2 Android NAND Development] djsolidsnake86:
In previous version was working

Inviato dal mio HTC HD2 usando Tapatalk
[HD2 Android NAND Development] marc1706:
Do you mean 0.0.4e.
[HD2 Android NAND Development] djsolidsnake86:
exactly .
[HD2 Android NAND Development] white-energy:
What the hell's this brain **** thing should do ?
[HD2 Android NAND Development] marc1706:
Wikipedia: Brain **** Scheduler

edit:

@djsolidsnake86: So I looked at the diffs between 0.0.4e and 0.0.4h and there are no changes in audio. Please provide a dmesg log for this.
[HD2 Android NAND Development] warrenb213:
still unable to figure out why cLK needs to have USB connected at all times.

le sigh.

i'm starting to believe it's an issue with cLK. We've applied the cLK patches and yet we still MUST have USB connected for any sense of life beyond a boot anim on builds.
[HD2 Android NAND Development] mdskrzypczyk:
I booted the 0.0.4g clk kernel just fine without USB.

Sent from my HTC HD2
[HD2 Android NAND Development] marc1706:
What ROM are you using?
[HD2 Android NAND Development] clio94:
I have same issue with magldr in cm nightlies by arif-ali.it does boot only with usb connected

Sent from my HD2
[HD2 Android NAND Development] mdskrzypczyk:
Stock TyphooN CM7

Sent from my HTC HD2
[HD2 Android NAND Development] marc1706:
Updated first post with newest compile.
[HD2 Android NAND Development] arif-ali:
Attached is the cLK patch, as before.

I have tested again, and still no luck

Edit: again from dmesg, the same message. I believe we may need to amend the kernel inside cLK with the new stuff from 35, and prob, that would work, just an idea

PasteBIN from when the USB is connected and pulled out

http://pastebin.com/3Qp7m0KN

Edit:

Another dmesg, from phone without connecting the USB, and phone in hung state at the bootanimation

http://pastebin.com/erEpmWts

I hope that will help even better
[HD2 Android NAND Development] djsolidsnake86:
now audio work with latest :)

marc can you add dorimanx 2.4 kernel patch for have 1 to 3 mAh in standby?
[HD2 Android NAND Development] Germypan:
Thanks marc and arif-ali for your great job, but i tried this kernel, all two versions clk, and my CM rom crashed on bootanimation. have you any idea? I Use my personal rom!

Germy
[HD2 Android NAND Development] SlyRder83:
New update boot fine with no usb and works great! MAG unofficial cm7 nightly's. I'll post screenshot in a little while

*Edit- About 10 min on standby the phone turned off and wont go past boot animation
[HD2 Android NAND Development] g30rg10u:
4j broke setcpu for me. On magldr & nexus one 2.3.7. Rolled back to 4h hfs.
[HD2 Android NAND Development] warrenb213:
After a night to think this over....

We need to do a major differential of the CM kernel and the HTC Sense 35 kernel.

HTC Sense 35 kernel works with or without usb plugged in, on magldr and cLK.

So there must be SOMETHING we can find. Last night I went as far as porting the SENSE GPIO stuff, still no luck.
[HD2 Android NAND Development] Mafioso:
Also, guys any luck fixing the 60mAh bluetooth battery drain issue?

Its what stopping me from using this kernel as daily driver :(
[HD2 Android NAND Development] warrenb213:
Not implemented yet
[HD2 Android NAND Development] SlyRder83:
heres the screenshots
[HD2 Android NAND Development] warrenb213:
Bud magldr has not been what us devs have been discussing. Its the cLK builds.
[HD2 Android NAND Development] SlyRder83:
Gotcha, just thought id post some insight for mag is all
[HD2 Android NAND Development] djsolidsnake86:
problems of last version: many reboots at the start of the phone

goweather videos doesn't works
[HD2 Android NAND Development] marc1706:
Updated first post with newest compile. This fixes some issues we had with charging on AC outlets. This will also be fixed in the desire port kernel once I get to that. ;)
[HD2 Android NAND Development] arif-ali:
As ever the cLK is available on my fileserver

http://cyanogenmod.arif-ali.co.uk/kernels/marc1706_cm_0_0_4k_charan_clk_20111121.zip

One think that has worked for me

* Keep charger connected (not USB)

* Turn Phone on

* do logcat (wait until everything is booted up and initialised)

* take out your charger

The phone is working, quite surprisingly. Will do more testing/debugging tomorrow when I have my USB cable

If people can test and report back. If someone can get the dmesg/logcat of when this happens, that would be great for marc and warran, as I can;t do that until tomorrow

If people can also test a USB wall charger, and see if we get the same results
[HD2 Android NAND Development] warrenb213:
Ok Arif,

Good observation. Once booted from a wall charger I can unplug USB.

Being that I'm about to leave work for the evening, I won't be plugging any other USB's besides my car charger in. We shall see how that goes.

Will give things a spin and see how it's running.
[HD2 Android NAND Development] djsolidsnake86:
http://xdaforums.com/showthread.php?t=1275119

marc this kernel has 2.6.35.10

can you update .10 to this? :)
[HD2 Android NAND Development] warrenb213:
That is a long term goal for that project. Remaining issues must be resolved before we do such a thing.
[HD2 Android NAND Development] FanoXDA:
Would you please offer "Options" of "Enable/disable two-way call recording". Greatly appreciated!
[HD2 Android NAND Development] warrenb213:
Once clk boots proper
[HD2 Android NAND Development] maverick.bg:
1. Booting with usb connected - boots normal but sd-ext is not mounted

2. After fix permissions and usb connected - boots perfectly

3. Reboot, usb NOT connected - stick somewhere on boot animation

After successful boot I did some tests on camera and camcorder

yes both works fine but it reboots twice.

1. when exit from camera app - logcat

2. when trying to delete video clip - kmsg and logcat

after disconnect from USB phone works normally.

Thank you!
[HD2 Android NAND Development] sn0vvman:
I flashed kernel marc1706_cm_0_0_4k_charan_clk_20111121 over Kernel-Dorimanx-V2.1-2-ULTIMATE-HD2-MAG-CLK on TyphooN_CM7_v3.7.5-cLK and my leo boots without usb wall charger connected, though full booting takes almost 4 minutes.
[HD2 Android NAND Development] D3LTA:
marc1706_cm_0_0_4j.zip

Gives me reboots,

smartassv2 245- 1190mhz

no issues with other kernels. (dorimanX and Tytung )
[HD2 Android NAND Development] seadersn:
even w/o oc? just to eliminate... :)
[HD2 Android NAND Development] arif-ali:
Another update

So another test this morning

* Use USB cable to get it booted

* Waited until everything was initialised

* took the cable out

* Phone didn't crash

marc, you did something right there to solve half of the issue. Now we need it to boot without cable connected.

btw, I had the kernel on all night, and the phone didn't crash at all. So seems like once it is up, it is stable.
[HD2 Android NAND Development] Richy99:
my observation from installing it for 10 minutes earlier, setup is as follows :

miui rom with ota update to 1.11.18 and tytung r12.4 kernel for miui on clk (this is an eu device)

instaleld kernel and booted whislt it was connected to the pc, one of the splash screens was abit mangled but that is fine, booted up into the rom without any hitches, unplugged usb and rebooted after going back into recovery and wiping the cache and dalvik cache, again booted up without any issues

i went to re-install flash player from the market and it gave an error of insufficient space, this is why i wiped the cache and dalvik to see if it would make any difference and it didnt, soon as i put the tytung kernel back on it downloads and installs flash straight away

im going to flash it back on now to see if any other apps have the same issue downloading from the market

edit : just put the kernel back on and now skype is giving the same insufficent space but opera updated as ive installed some other apps, have just had the phone lock up do a hot boot on itself

it does boot without usb being connected
[HD2 Android NAND Development] marc1706:
Now we'll just have to figure out the other half of that. Great to hear that we are getting closer to fixing this.

Did you run "Fix permissions" after flashing the kernel?

Could you post a dmesg log after you successfully booted?

Open the terminal and enter these commands:

cd sdcard
dmesg > dmesg.txt

Afterwards you will have a dmesg.txt on your sdcard with the dmesg log.
[HD2 Android NAND Development] Richy99:
the fix permissions i havent run, forgot all about that one,ill do that now and let you know

fix permissions didnt work, still unable to download skype with trhe insufficient space message
[HD2 Android NAND Development] Dunc001:
Were you running anything on sd-ext before trying the kernel? I may be on the wrong track but did I not read yesterday that either this kernel or latest cLK was having issues with Ext? If so could be the problem as the ROM would be rebuilding Dalvik to internal and swallowing your space? Like I say, might be way off the mark - just a thought.
[HD2 Android NAND Development] Richy99:
wouldnt have thought so because as soon as i put the tytung kernel back on it downloads fine without any change of permissions or dalvik cache wipes
[HD2 Android NAND Development] Dunc001:
Oh well, just a suggestion as I said :rolleyes:
[HD2 Android NAND Development] Richy99:
yeah i know mate, its just an odd issue
[HD2 Android NAND Development] arif-ali:
hmm, I just a crash, while taking the USB out can't diagnose anything at the moment, maybe in 5hrs or so after work so back to my old kernel

I have this pastebin from yesterday at with a similar situation

http://pastebin.com/Dz3EHa9S
[HD2 Android NAND Development] marc1706:
And another compile. I enabled the ext2 and ext3 drivers instead of using the capability of the ext4 driver to handle ext2 and ext3.

Also I changed the usb code a little bit more. Let's see how that helps with cLK.

edit: Sorry, will have to re-upload. Package will be back in a few minutes.

edit2: It's back. ;)
[HD2 Android NAND Development] clio94:
still no luck for me in magldr cm nightlies :( it doesnt boot without usb cable and with cable it boots ok.so this problem i dont think it is only clk problem.

:(

Edit

First time for me that i pulled out cable and device doesnt freeze
[HD2 Android NAND Development] SnoopHTC:
Hello Marc,

It's the first time who your kernel work for me (with USB cable)!!!! let go for tests :) Thanks a lot for your works !!!!!

@++

EDIT : Oh noooo, on first receved call, no sound + black screen + phone froze. @++
[HD2 Android NAND Development] D3LTA:
I have same issue, call is 7 out of 10 reboot
[HD2 Android NAND Development] kazantip1288:
marc1706,

i have an issue with skype - the sound from earpeace is a little bit fast than from loudspeaker (where the sound is normal like it should be).

please fix it. this problem is on all your kernels.
[HD2 Android NAND Development] g30rg10u:
@marc1706

From the .32 kernel, we had a commit for g-sensor calibration.

As i can see from your files, you are missing the drivers/misc/bma150_spi.c

Please refer to:

https://gitorious.org/~tytung/linux...mmit/d3034284d5e3c9584dfa4719bb55f6bbbd5b3beb

I have noticed that when i am reading something, the screen rotates on its own. Like when you are actually rotating it, but I didnt. This should be related to the above driver that it seems to be missing.

Please investigate ;)
[HD2 Android NAND Development] warrenb213:
Marc, Arifali,

We are getting close. With the latest kernel 4L, I can boot via usb data, and once booted unplug and do what i want. from then on i've not been able to get a crash.

We are very close. now we just need to figure out what triggers the problem on BOOT. other than that USB is GOOD TO GO!

WoohoO!
[HD2 Android NAND Development] sbryan12144:
haha. good job guys. wish i could help in some way. keep up the great work
[HD2 Android NAND Development] warrenb213:
Just keep being supportive!! :)

And maybe kick a few bucks in donations out of your own donations to us. :-P
[HD2 Android NAND Development] arif-ali:
as usual, the CM cLK patches kernel is available below

http://cyanogenmod.arif-ali.co.uk/kernels/marc1706_cm_0_0_4l_charan_clk_20111122.zip
[HD2 Android NAND Development] Rebel25:
charging phone

Hi guys,

Don't know if someone reported this or if it falls under the usb boot issue. When I have my HD2 on charge and it goes to sleep while on charge it seems to freeze. I remove the usb cable and it remains to show that it is charging (LED stays on). I am also unable to wake it up again.

Thanks :)
[HD2 Android NAND Development] arif-ali:
My dmesg that I posted last was the same issue; so hopefully something can come out of that as well.

Which version was you using when this happened

Edit:

Another dmesg from another hang after taking power/usb cable out (0.0.4l)

http://pastebin.com/mQpXLacP
[HD2 Android NAND Development] Rebel25:
I was using 0.0.4l.
[HD2 Android NAND Development] maverick.bg:
On 4l version:

If I unplug USB immediately after boot everything is OK, but if I leave the phone to charge and after 20 minutes charging it freezes on unplugging.

Another thing - if I do some work with device (playing game), the charging current is -20mA (should be +100+mA).

WiFi works stable but slow. 3g is good.

Thank you.

EDIT:

Clean install - wipe dalvik cache, wipe cache partition, wipe data. It boots up without USB connected. Second boot is unsuccessful.
[HD2 Android NAND Development] Richy99:
just installed the latest and doesnt need usb to boot up, booted up fine so ill see how it goes during the day

edit : ok i think ive narrowed down why some apps fail to download from the market, i think the app is trying to download to the cache partition of the rom (5mb) and it is failing because of this, i tested with apps over and under this size, the smaller ones installed the larger ones failed with insufficient space
[HD2 Android NAND Development] marc1706:
I uploaded a new compile in the first post. :)
[HD2 Android NAND Development] arif-ali:
As ever, the cLK packed in the link below

http://cyanogenmod.arif-ali.co.uk/kernels/marc1706_cm_0_0_4m_charan_clk_20111123.zip

will test and get results soon

Edit:

!!!CONGRATS!!!!

marc and warren well done, the phone has booted with USB and power cable

Edit 2: NVM

insert USB cable and out again, the phone hangs, will continue to debug

The dmesg below for when this happened

http://pastebin.com/Y72ubhJg

Edit 2: Again tried to boot into bootanimation, and stuck

http://pastebin.com/ryrjw2f5

not sure how I got it booting the first time, I got a bit excited too early :) :) :)
[HD2 Android NAND Development] ph03n!x:
Still gets stuck in boot animation without USB connected :(

Testing some more...

@Arif - even with the cLK package you posted I am not getting it to boot without the cable, and with the cable it boots fine but freezes if I remove it. Interestingly with the cLK pack you posted I get 4 thick white lines in the top of the phone instead of the Ramdisk's boot logo. Am on the 15th Nov nightly...
[HD2 Android NAND Development] clio94:
It booted ok for me too with last clk package from arif-ali after clean install in nigthly 23-11-2011.Then i connect usb cable to pc and disconnect.It didnt freeze.Now i made second reboot and it boot ok without usb cable.About the logo you said in the last cm builds mag or clk i see that strange things.Not every time the 3 lines (these appear after flashing this kernel) but the last picture-menu i was before.For example if i was in recovery i see instead of initial phone logo or magldr gogogo,a stucked picture with the last action i did in recovery.Or if i was in os and made reboot a stucked picture with some "burned" colors and schemes

EDIT

Forth reboot it stucked in boot animation :(
[HD2 Android NAND Development] warrenb213:
We've now decided to simply switch to the .35 unified source as our template.

Hopefully this will resolve the remaining usb issue and set us up better for merge with cm official.
[HD2 Android NAND Development] warrenb213:
Ok....

https://github.com/AmeriCanAndroid/cm-kernel

That is the location of what I've ported thus far. I've done all of Markinus' commits, the cLK commits, the color banding fix, and the i2c g-sensor fix.

Will now try to compile, but I'm done for the night. The kernel is ready for other dev's to look at it, see about fixing any compile errors which will probably occur. I'm tired.

Happy almost Thanksgiving!
[HD2 Android NAND Development] g30rg10u:
warrenb213, can you please take a look at the missing driver that i refered in my previous post (a page back) it is for g-sensor again.

EDIT: found that you have committed the driver on the new branch. drivers/misc/bma150_spi.c ;) thanks for that
[HD2 Android NAND Development] warrenb213:
Was one reason to switch to the unified source.
[HD2 Android NAND Development] vivebatu:
Hi, just posting some feedback as a user....im running typhoon 3.7.4 on 4m kernel...overall kernel is super fast, much faster than all .32 versions...gaming performance especially is superb ( was able to play blood and glory properly for the first time with this kernel)...everything seems to be working fine- 3g data, wifi, Bluetooth, camera....also standby battery drain is 4-5 ma...so all good

Just one query - is it possible to add extended battery support to this kernel pls (official htc 2300 mah)? (will be glad if devs can indicate if this is planned in the future)...sry if this has been answered earlier but I did not see that after searching.,cheers
[HD2 Android NAND Development] ph03n!x:
Any new complies? cLK user eagerly waiting to use this as a daily runner :)
[HD2 Android NAND Development] white-energy:
I'm already using it and i must say its impressive =)
[HD2 Android NAND Development] clio94:
did you find what is wrong with usb;
[HD2 Android NAND Development] ph03n!x:
Does it boot without USB connected? On cLK, that is?

Also, @marc1706 - can you please include the .14 patches to this kernel too? (Though am absolutely not sure what new/ improvement it brings :) )
[HD2 Android NAND Development] Richy99:
i have had the miui rom i am using booting up without usb connected, i think it might be rom dependant
[HD2 Android NAND Development] white-energy:
Yap me too.. i'm using MAGLDR and MIUI, i've never had an issue even with the first version =)
[HD2 Android NAND Development] Richy99:
because it only seems to affect clk, which is what i use
[HD2 Android NAND Development] marc1706:
I was able to get android-msm-2.6.35-unified booting. I'm currently working on adding the features we already had working before.
[HD2 Android NAND Development] vegaman:
Finally got mine booting as well :D

Unfortunately not all the way though :p It reboots after displaying the first boot logo, but I'm hoping I'm not far off now. Once I get it booting a bit more I'll make another commit to my git (this one is likely to be a large commit lol)
[HD2 Android NAND Development] mikegee:
Not sure if it has been mentioned before but there are problems with usb mount as disk. tried it on stock miui as well as gbx12 (yes it works fine if you use the initrd.gz from tytung!)
[HD2 Android NAND Development] Mafioso:
Any updates ?
[HD2 Android NAND Development] Charmacas:
I ran this kernel yesterday with Typhoon 3.7.5 MAGLDR and I can verify that it was smooth and fast. But I switched back because my volume was just too low. I had to put my ear really near the speaker to hear my ringtone.

Do anyone have installed this kernel on Typhoon too? Do you change anything within the installation zip of marc's kernel?
[HD2 Android NAND Development] goldlocke:
@ Charmacas: This kernel branch is kind of on-hold. Try the "non sense" version of this one -> http://xdaforums.com/showthread.php?t=1272523
[HD2 Android NAND Development] Charmacas:
@goldlocke: What's the difference between these two kernels out of your opinion? And what do you mean by "on-hold"? Something like Beta? I know that this kernel is in the first stages of its development but as I said, it runs smooth and fast but has this very ugly volume bug.

@marc: Could you please try to solve the volume bug? :)
[HD2 Android NAND Development] marc1706:
I'm still having major problems with the cyanogenmod kernel on cLK. I even started from scratch on the android-msm-2.6.35-unified version of the cm-kernel and I'm still having those issues.

I decided to put this on hold for now. If you want a working .35 kernel for nonsense builds just take a look at warren's thread:

http://xdaforums.com/showthread.php?t=1272523
[HD2 Android NAND Development] dorimanx:
Great job guys!

Its so exiting that we still have hope for even better and faster / stable phone!

I think that all developers are here and following the progress!

Thanks allot! keep it up :D

Sent from my HD2
[HD2 Android NAND Development] djsolidsnake86:
main problems are:

-at start of phone flashlight for 1 second

-market fc problem (can't download nothing)

-can't go back to other kernels

to add:

-128 mhz for cpu
[HD2 Android NAND Development] g30rg10u:
go to settings - > Language and re-select the language you want from the list.

This is a Market issue on all devices.
[HD2 Android NAND Development] djsolidsnake86:
nope i think it's a kernel problem
[HD2 Android NAND Development] Moon2:
Used the rom's initrd.gz and the zImage from this zip.

Had a couple of probs with it though.
[HD2 Android NAND Development] marc1706:
The flashlight is used as an indicator if your kernel boots. Since this is a development version, I did not disable it yet.

Market worked for me as far as I know.

What yo dou mean with "can't go back to other kernels"? This kernel uses a modified initrd.gz, mainly because dspcrashd was spamming the dmesg log. Maybe try if installing a different kernel

with

an initrd.gz helps, i.e. tytung's kernel.
[HD2 Android NAND Development] $t0Rm:
so i am guessing it a no go for sense roms since you have your own initrd.gz?

btw marc1706 are you the same guy from phpbb that made the board3 portal ?
[HD2 Android NAND Development] marc1706:
You will have to remove the initrd.gz from the kernel package. I didn't get time to test it out on a Sense 3.x ROM yet.

P.S: Yes, I am one of the creators of Board3 Portal. ;)
[HD2 Android NAND Development] $t0Rm:
Alright i will pull the initrd.gz and report back if it boots or not

P.S

great job on the new portal ;)
[HD2 Android NAND Development] djsolidsnake86:
IT WAS A TYTUNG 12.3 ERROR THX

regarding market issue, i have it, don't know why

i will try again...

tried right now, always fc when try to download something
[HD2 Android NAND Development] g30rg10u:
Marc can you build it for clk pls
[HD2 Android NAND Development] Moon2:
Mentioned here, it works:

Post 14
[HD2 Android NAND Development] AgoeZ:
I have weird experience testing this kernels with 3.5 sense runny rom.

it boots (greats!) only when it connected to laptop using usb but after I've pulled off usb it freezes.

when I don't connect it with usb it stuck on 3rd boot screen (bootanimation). :(
[HD2 Android NAND Development] Kefir.net:
marc1706, do you have any ideas what is the reason of 17-20mA drain in standby without any communications?

Something missed in power management?