yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] dorimanx:
hi,

i have booted kernel with no problem on my ROM, using my tweaked initrd.gz

ROM nightly 211 CM7

Can you please add SIO scheduler and SWAP support, my rom use SWAP all the time.

it's critical part of my ROM.

i see 4 schedulers! nice! let it be 5 :)

bash-3.2# cat /sys/block/mmcblk0/queue/scheduler

noop deadline [cfq] bfq

bash-3.2#

WIFI OK, GPS ok DATA OK,

Camera take picks with flash, recording stuck after 3 sec, as you told.

in logs i see error about audioflinder so looks like problem is with audio when recording.

CPU respond very fast! never see respond on short burst 134ms it's was always above 180ms

and long test shows 430! and was 450ms

test done on 1.15Ghz with SETCPU app.

1.19 speed was not stable and have slower results.

first boot was OK,

second boot didnt loaded my EXT4 partition no apps installed.

Third boot stuck on animation!

booted again but with USB plugged in, and it's booted normally with EXT!

This is a problem :)

Please fix this or i will be stuck with my laptop on my back :) in case i need reboot!

for now back to Kefir kernel!

Waiting for next release :)

Thanks allot!
[HD2 Android NAND Development] djsolidsnake86:
news about this?
[HD2 Android NAND Development] marc1706:
Great news: I have to learn for a test on Tuesday so no kernel developing right now. ;)

@Kefir.net: Possibly.

@dorimanx: Thanks for the feedback. ;)
[HD2 Android NAND Development] pirlano:
good luck :)
[HD2 Android NAND Development] TonyCubed:
Sorry for being a noob, but what are the benefits with going with a newer kernel? Thank you! :)
[HD2 Android NAND Development] Hammerfest:
good luck on your test today!

sad that this fell to page 3... such important stuff here!
[HD2 Android NAND Development] gianmich:
so lets bring it on the first:p
[HD2 Android NAND Development] marc1706:
I booted the kernel 7 or 8 times yesterday and I was not able to reproduce that. Could you maybe send me a dmesg dump of the boot when the ext partition doesn't get loaded and another one when it it stuck on the animation?

Also, did you try if this also happens with the initrd.gz in the kernel package?
[HD2 Android NAND Development] g30rg10u:
Any luck with CLK packing?
[HD2 Android NAND Development] marc1706:
Is there a topic that describes the changes for clk?
[HD2 Android NAND Development] g30rg10u:
Yes. Cedesmiths posts 1 & 2. http://xdaforums.com/showthread.php?t=901305
[HD2 Android NAND Development] dorimanx:
Marc any news?

or kernel is abandoned :(

All kernel devs are silent! we need you! to power the spinning motor again!

we stack! :)

What can i help?

we need active DEV online! :)
[HD2 Android NAND Development] marc1706:
You could help me with this:

I'm currently trying to fix the battery drain in standby and I'm not sure if this might also be usb related.

Also I'm trying to figure out, why voice and a lot of other stuff does not work on the desire kernel port. I got to a point where I also broke the voice and data. Now I just need to figure out what exactly triggered that. :D
[HD2 Android NAND Development] dorimanx:
its night here, so i will test on the morning.

and post some debug i find.

Sent from my HTC HD2
[HD2 Android NAND Development] djsolidsnake86:
we re waiting for test
[HD2 Android NAND Development] munjeni:
Hi, I have porting 2.6.35.10 kernel version but problem is no mobile network, no sim.... Good thing is it is very fast with hd2 sense rom versions, no glitches, but have many many bugs like no-working leds, proximity not working, lightsensor bugged.... etc.

what kernel lib is related to mobile network?
[HD2 Android NAND Development] sbryan12144:
I'm not sure about kernel libs, but I know about regular libs. Anything with "ril" in it. Hope that helps. If we get a newer kernel working, I'll use it in all my new RCMix3D roms for the HD2.
[HD2 Android NAND Development] marc1706:
I noticed that smd_qmi_wince.c will not load properly on kernel builds that don't have voice & data working. Maybe that helps you.

LEDs, lightsensor, proximity, etc. shouldn't be that much of a problem.
[HD2 Android NAND Development] Mikhei777:
Maybe you unite your efforts? 2.6.35 kernels use fo fix of strips and normal work on Android 2.3.3+ with Sense. Android 2.3.3+ without Sense are working normally already.
[HD2 Android NAND Development] munjeni:
I seen all working in other kernels with current rom I using so it mean its problem only with kernel I trying to port
[HD2 Android NAND Development] sbryan12144:
Try asking snq. He develops kernels for the Desire
[HD2 Android NAND Development] Mikhei777:
Look here... Maybe it's help.
[HD2 Android NAND Development] sorceforge:
Instead of asking snq-, how about asking bananacakes? snq- doesn't even allow us to see source codes.
[HD2 Android NAND Development] pirlano:
can you share your fix? :)
[HD2 Android NAND Development] Mafioso:
So marc, are you continuing your work to port the CM 2.6.35 kernel to HD2?

A fix has been made for camera for desire based kernel, it would be great if you can incorporate it in this one also for non-sense users (lol, don't take it literally :p)
[HD2 Android NAND Development] marc1706:
I'm currently fixing some USB related issues and I hope the battery drain will be fixed afterwards.

The camera issue does not exist in the CM kernel, the only issue we had was with the camcorder and I think I have fixed that already. ;)

This kernel will never fix the glitches we have in sense builds, since it wasn't designed for sense. If you need sense, you will have to use the desire based kernel.
[HD2 Android NAND Development] Mafioso:
Thats great news...Eagerly waiting for your next release :-)

The glitches dont concern me as MIUI user and not a sense one..
[HD2 Android NAND Development] vegaman:
The problem is possibly DAL. I believe we need to use the one inside the qdsp6_1550 folder and not the general one in the mach-msm folder.

Could you also share your git? Thanks

Mine is https://github.com/vegaman/cm-kernel if you're interested. I have another commit due that should get it all compiling, but not booting yet. I'm a bit busy with exams now though, so hopefully I'll find time to work on it once they're finished in just over a week.
[HD2 Android NAND Development] bojanbl:
How come that 2.6.35 1f version of your kernel solves graphic glitches and has small battery drain? What is the difference between these two kernels?
[HD2 Android NAND Development] marc1706:
The 1f kernel is the desire based kernel I have been working on with warren and other developers.
[HD2 Android NAND Development] HUdasp:
What about MIUI ROM. Any working on ROM to replace Tytung´s kernel?
[HD2 Android NAND Development] turjo_ssmc:
will this kernel solve the 'gsensor' problem with screen replaced hd2??
[HD2 Android NAND Development] marc1706:
No idea, since I don't know what changed that prevents the g-sensor from working.
[HD2 Android NAND Development] marc1706:
Updated to the newest version. Have fun. ;)
[HD2 Android NAND Development] djsolidsnake86:
thank you marc

any way to disable totally the retroillumination on keys?
[HD2 Android NAND Development] arifqur:
Man you are one obsessive guy arent you? You seem to be in every rom or kernel thread asking for retoillumination.

To everyone his own. Have luck.

Thanks Marc, the Kernel works well with Redux2 AOSP Rom also. Wifi,BT headset, Data etc
[HD2 Android NAND Development] De11:
Yes, this kernel work on MIUI.

But so slowly...
[HD2 Android NAND Development] chivychao:
the latest version installed. works fine till now~

the camcord seems have better fps now

p.s. i'm using lgcamera
[HD2 Android NAND Development] jan-willem3:
Just some small note if you come from a build with tytung kernel make sure you delete all modules since this kernel doesnt has the same modules as tytung kernel.
[HD2 Android NAND Development] Mafioso:
How do you do that?
[HD2 Android NAND Development] jan-willem3:
I would recommend doing the following thing:

1. Go with adb/rootexplorer to system/lib/modules

Delete everything in that folder

2. Turn off phone and flash kernel.
[HD2 Android NAND Development] djsolidsnake86:
in 1f version there wasn't the backlight on hardware keys, now in the today version there is

anyone have a file for disable this backlight?
[HD2 Android NAND Development] clyder:
I dont think there is a need for that because there is a line in updater-script that does that.
[HD2 Android NAND Development] marc1706:
That is because the 1f version is a desire based kernel (it was posted in the desire port thread) and this kernel is based on the CyanogenMod kernel.
[HD2 Android NAND Development] djsolidsnake86:
i see, do you know how do this modification please?
[HD2 Android NAND Development] :
what about performance?
[HD2 Android NAND Development] clyder:
I have just flashed this on hyperdroid (cLK).

So far everything works. I had one phone freeze when turning off USB Storage where I had to remove battery, but except for that no issues so far.

I will report here if I found anything.
[HD2 Android NAND Development] fhasovic:
Hi! I have created boot.img with hyperdroid initrd.gz, but my phone freezes on boot. Tried 6-7 times, never got it to boot. Any idea how to fix this?
[HD2 Android NAND Development] clyder:
I didnt have issues with booting and also used initrd from Hyperdroid.

http://xdaforums.com/showpost.php?p=19075160&postcount=16337
[HD2 Android NAND Development] MrPadie:
Hi marc1706.

Great work on the kernel, flashed on Typhoon 3.6.9, working great. One question however - I assume you've kept the same graphics driver from the 2.6.32 kernel for compatibility, correct? If so, and if you haven't noticed already, I think the color banding issue is caused by the usage of that driver, as using a sense build with the new 2.6.35 kernel (which uses the desire GPU driver), does not have the issue, where as using this kernel, the color banding issue remains. A prominent test for the problem is to simply pull down the notification bar in stock-themed CM7 builds - the banding is evident at the top of the notification pane, where the power widgets are.

It might be other minor adjustments in the kernel itself that has caused it, but it seems to be a logical link. Let me know if you find anything - I don't suppose there's an easy way to use the desire GPU driver without breaking video compatibility?

MrP.
[HD2 Android NAND Development] marc1706:
Actually I'm currently using the gpu drivers that came with the 2.6.35 cyanogenmod kernel as far as I know.

Anyhow, I'm aware of this small issue and I'll try to fix this in the next releases.
[HD2 Android NAND Development] clyder:
I am having phone freezes when I need to remove tha battery very often.

It always occures when the display is off for some time. It just happened during the call.

After a reboot I see that in Cyanogen settings/performance CPU settings resets to default 245/998/onDemand.

I have tried smartassV2 with default scaling and with 128/1152 and it happens again. Also with onDemand gouverner it happened.

I restored old kernel because I have to go and need a working phone but later I will test this some more.

Is this some known issue?
[HD2 Android NAND Development] MrPadie:
Thanks very much - I think it's just one of those small things that sometimes roughens up the edges of AOSP/CM7/MIUI ROMs these days. It's particularly evident and similarly annoying in MIUI builds.

Thanks for the work, keep it up!

MrP.
[HD2 Android NAND Development] clio94:
has anyone tried kernel 4c in unofficial cm7 nightlies; http://xdaforums.com/showthread.php?t=1076586

Ιm on the 04-11-2011 nightly and after installing this kernel it freezes in bootanimation. I also tried clean install but no luck :(
[HD2 Android NAND Development] clyder:
It turned out that I had some more time before I have to go so I flashed the kernel again to observe this.

On any CPU setting, phone froze and every time it occured when the screen is off for little time.

Then I wanted to monitor the logcat while screen is off to maybe see what is going on but phone wouldn't freeze no metter what I do with CPU settings and after 10 min of waiting. My guess is that the logcat keeps the phone busy so it doesn't go into the conditions that makes it freeze. Soon after I unpluged the cable, lock the phone so the screen would go off after about 10 sec I found out that I need to remove the battery.

I hope that this could be helpful in the case that this is a kernel issue and not something in my system.

I don;t have time now to test it on a freshly installed rom.
[HD2 Android NAND Development] ph03n!x:
@marc1706, the msm_rmnet.ko and tun.ko are not included in 4c (though 01_modules in init.d looks for them) - is that normal?

I installed this on the same nightly you mentioned, here are my observations. Note that I used Dorimanx's Ramdisk.

I disabled all undervolting/ cpu profiles configuration from my init.d before flashing the kernel, and flashed only the kernel and bcm4329 module from this kernel package.

After boot, SetCPU showed that the CPU is not going down to 128MHz though the min is set to 128 - when I adjusted the min to 245 and back to 128, it started going down to 128 MHz. I changed the governor to smartassv2, but *did not* selected 'set on boot'.

The boot took a lot longer than it usually does with .32 kernels. I found that this entry keeps coming up a lot:

After booting, everything seemed ok - WiFi, Camera and Camcorder worked. Connected my Motorola HF500 through BT and tried a call too - worked.

When I opened GTalk and wanted to message someone, it froze completely - screen was on, buttons light up but does not respond. There was response to 'adb reboot' either, and I had to pull the battery. Logcat:

After unplugging the battery to turn off and rebooting the phone, it gets stuck in the boot animation - it will load until the boot animation, animate for a while and then the animation will freeze. The only difference from the previous boot and this seems to be that in this boot, BT *should* be turned on at boot, as I had it connected to my headset when it hung. I have attached the logcat, apparently Dalvik VM fails and all services die (at least that is as much as I can make up of it :) )
[HD2 Android NAND Development] Mafioso:
ok installed the kernel...everything seems to be running fine including camera, camcorder, auto-brightness, LED notifications...power consumption also seems ok and similar to .32 kernel

Great work Mark...awesome job :D

Though I had 1 freeze after removing the battery and putting it back, it stuck on black HTC logo..but I restarted again, it booted fine..

Also quadrant score seems to have reduced by 200 points, it was 1209 on 3dak T3 kernel while its 1002 on this one..

This is test on GoMIUI ROM 10.14 version
[HD2 Android NAND Development] jan-willem3:
Yeah can be normal at kernel compiling you can select if you want compile it as module or build it inside the kernel.
[HD2 Android NAND Development] SlyRder83:
After trying countless times kernal wont boot past boot animation. Keeps freezing at the very end :(
[HD2 Android NAND Development] atorbo:
unfortunately this happened to me
[HD2 Android NAND Development] atorbo:
try this

before flash the kernel

1- wipe cache partition

2- advanced

Wipe Dalvik Cache

then flash kernel

restart

3- advanced

fix permissions

---------- Post added 6th November 2011 at 12:09 AM ---------- Previous post was 5th November 2011 at 11:56 PM ----------

sorry lock boot screen again
[HD2 Android NAND Development] atorbo:
I using Dungphp Runnymede EU v1.6

I was flash kernel succesfully but not work GSM (not any signal).

Do you have any suggestions to solve this situation.

Sorry for my english
[HD2 Android NAND Development] Mafioso:
I'm seeing a noticeable performance increase just by setting the CPU governor to smartass v2 without any overclock from the default ondemand governor which this kernel has...Quadrant score also confirms this, its around 200 points higher to 1192...I haven't noticed increased power usage either yet, it seems to be similar to ondemand, although its little early to comment..

I wonder if we can get even more performance by incorporating the additional changes which 3dak has made to tytung kernel on cm branch to this kernel ?

-BFQ IO Scheduler as default(Faster than CFQ)
-SLQB Memory allocator as default (Faster than SLAB)

or does this kernel already uses BFQ and SLQB as default ? I don't know how to check/change them :(

Also I noticed that this Kernel has 60mAh constant bluetooth drain problem when bluetooth is enabled and paired...this is an old problem which was there in initial .32 kernels but was later on fixed by charansingh...it would be great if you can take a look and fix it in next release mark :)

This link might be helpful for you:

http://xdaforums.com/showthread.php?t=1007774
[HD2 Android NAND Development] Glen_H:
Great job on the kernel. It is working good on Hyperdroid cm7. Only found one issue so far. While loading webpages in default browser user input stops working at some point while loading. Then when loading is finished all given input is executed at once.

Will try BT later today in my car and report findings.

Edit: seems the problem isn't there anymore, think a reboot solved it :)
[HD2 Android NAND Development] habitat22:
Thanks for great kernel!

On cm roms everything works great, thanks!

But I prefer sense, I tried the kernel on RCMix3D Runny v4.0 and the sim card is not regestred, so I can't get a mobile signal. Will you make a Sense version with working simcard, or is there any way I can fix it? Glitches are gone, yes!! Kernel is fast, but no network on sense rom, so I went back to the RCMix3D kernel.

Keep up the great work!
[HD2 Android NAND Development] bojanbl:
You can try Mikhey777 version of 2.3.65.1e kernel... No glitches and fast, seems to me that everything is working ;)
[HD2 Android NAND Development] RCOO:
Flashlight doesn't work.
[HD2 Android NAND Development] Glen_H:
Streaming music over BT to my Sony car radio is working although playback stops for a fraction of a second sometimes. But i had this problem with .32 kernel to. Did not jet try to make a call over BT.
[HD2 Android NAND Development] Visentinel:
Wow i really thought this kernel had been abandoned for favor of the desire one. Awesome its not, using it with latest nexus rom version.

Everything works :)
[HD2 Android NAND Development] white-energy:
It does.. i just tried it.
[HD2 Android NAND Development] bojanbl:
Flashlight app is not working ;)
[HD2 Android NAND Development] atorbo:
My rom Dungphp Runnymede EU v1.6 and flash this kernel results are wonderful thanks
[HD2 Android NAND Development] white-energy:
Well, on my MIUI rom the flashlight app works fine.. the problem may be the flashlight app ur using is not compatible with the kernel..
[HD2 Android NAND Development] marc1706:
To be clear: I think he is not talking about this kernel but rather the desire based 2.6.35 kernel.
[HD2 Android NAND Development] white-energy:
Oh, my bad.. i thought he was talking about the CM-Kernel..
[HD2 Android NAND Development] g30rg10u:
marc can you re-pack it for clk as well please?
[HD2 Android NAND Development] marc1706:
Updated the first post. ;)

@g30rg10u: Once I get some time to install clk. Before releasing a clk package, I would like to test the package first.
[HD2 Android NAND Development] $t0Rm:
Congrads on the new kernel I know this is a lil off topic but if you have time can you get everything working on the desire 2.6.35 kernel
[HD2 Android NAND Development] clio94:
same problem with cm-nightlies from arif-ali :(
[HD2 Android NAND Development] SlyRder83:
Yea same ROM I'm using also
[HD2 Android NAND Development] arif-ali:
OK,

I have tried the kernel on the CM7 nightlies

* While the USB is connected to the phone, it boots up and is fully operational.

* After taking the USB cable out the phone crashes and nothing works, i.e. adb, buttons etc...

I presume that the kernel does something different when the USB is connected and when it isn't, and therefore cause the phone to crash

Will see if I can get some kind of debugging from it
[HD2 Android NAND Development] Visentinel:
Yesterday while setting up my rom fresh and using this kernel i used logcat while watching the boot a couple of times. I had no issues with the phone after unplugging. Maybe I'm lucky?
[HD2 Android NAND Development] randasecret:
Works perfectly on NDT MIUI 35.0
[HD2 Android NAND Development] marc1706:
A dmesg log or some other debugging output would certainly help a lot.

I don't have that issue. You probably know how hard it is to fix something you can't reproduce and you don't have any debugging output from.
[HD2 Android NAND Development] arif-ali:
I agree,

The biggest issue is that when we do have it connected with USB and boot the phone, then phone freezes at one point, not sure where.

I will try adding a logcat or dmesg in one of the init.d scripts, and see if I can get some info out
[HD2 Android NAND Development] jan-willem3:
You guys should now that most roms are patched to work properly with 2.6.32 kernel for example it got: Patched libs for video recording, audio, usb (custom vold bin file). The best is if you take a straight port from an desire build. I am not sure but maybe we need a new lights libary as well to get everything properly working.

Edit: Most roms basically means every non sense rom.
[HD2 Android NAND Development] nieves53:
MXZ miui rom is flying with this kernel!!! Everything seems to be working, ill check USB in a few minutes.
[HD2 Android NAND Development] theslam08:
The other .35 'DESIRE' kernel being developed by the OP and warrenb is the kernel you need for sense. This kernel is for CYANOGEN MOD ROMS only. So NO sense. That should solve some issues.
[HD2 Android NAND Development] zagzag99:
got it running on typhoon's rom.

works fine. will update more after a day use.

would you consider adding 2way recording?

that's what i could feel missing so far.
[HD2 Android NAND Development] bojanbl:
I agree to that. Mikhey moded version of 2.6.35.1e kernel is the best one tried here for sense 3.5 roms :)
[HD2 Android NAND Development] tmotard:
I just installed this kernel on the Dorimanx 2.9.5 Rom (light version).

Boot without any problem.

BT seems to be ok.

Will test that and come back here with my impressions.

thanks for your work.
[HD2 Android NAND Development] Germypan:
Hi Marc thanks for your great job, but can you repack your kernel with clk support? i would want to put your kernel on my cm rom. I wait your news. Thanks

Germy
[HD2 Android NAND Development] clio94:
Do you have ext partition in sd;

Εdit

Ι tried 0.4d version in typhoon 3.7.5 with clean install.It didnt boot.I have ext4 partition.Then i tried another sd card with partition from clockwork (is this ext3 partition? ) and it didnt boot again.Then i erase partitions and it boot ok.So the problem maybe is the no ext-partition support? Kernel seems fast and it seems that camcorder work more faster than with 2.6.32 kernel.Battery drain is ok with wifi and data on.With bt on it has 60ma drain.
[HD2 Android NAND Development] tmotard:
Ok, after few hours, got two reboots after switching on/off bluetooth

for the moment, this kernel seems less smooth than DM one.
[HD2 Android NAND Development] clio94:
After the first successfull boot and restore my apps without sd-ext partition,i power off the phone and i open it with the card with ext4 partition.It booted ok and the apps+dalvik were moved in sd-ext partition. Until now everything is going ok.

Thank you very much for your great work :) If you can implement the code for low bt power from 2.6.32 kernel http://xdaforums.com/showthread.php?t=1007774 it will be awesome
[HD2 Android NAND Development] Visentinel:
I have tried with 1e kernel and it works for a few boots but in each sense rom tried eventually it wont boot anymore, in logcat it just repeats over and over that it can't stat any of the files in /system

You lucky I guess, I tried his rom but with this kernel it fails to boot, just boots to 1001 force closes.

Its been strange, only roms I ever manage to her working right with either. 35 kernels are aosp roms like nexus or oxygen.
[HD2 Android NAND Development] marc1706:
Updated the first post.

Color banding issue should be gone now. ;)