yashsingh1/xdaforums huggingface dataset:
[HD2 Android NAND Development] vivebatu:
I'm on stock MIUI 2.2.10 (not NDT)
[HD2 Android NAND Development] ph03n!x:
Issue Report :)

@Warrenb213, I have been using ACAKernelImplement020812a for a while, and face just this one issue -

Dialing out over BT with or without voice commands works fine

whenever I receive a call over Bluetooth the phone dialer locks up

I will not able to take the call and will have to kill com.android.phone, which will also take away my GSM signal

After it restarts, it will bring back the signal and data EVEN if WIFI is on

After I have the GSM signal again, I will not be able to make or receive a call because the dialer will freeze

If I turn off the Bluetooth Handsfree, the phone's BT icon will still show as connected

I can turn off the BT from the phone, but will still not be able to make or receive calls as dialer will FC

My current setup

CM7 nightly (24th Feb, but have tried it in 3 or 4 different nightly releases), cLK.

Have Call Recorder running but issue exists even if I remove it (or not install it after a fresh install)

Have noticed this issue with a Sony Ericsson MW600 BT HF as well as my car's Premier FH-P800BT Headunit

Have the issue irrespective of the libaudio.so - i have used GPC 2.8E as well as drizztje v5. I havent tried with the libaudio.so from ACA ROM though - will it make a difference?

I'm attaching a logcat from when I get the incoming call over BT till making a call after turning off BT on the phone, hope it helps... I did not have this issue with Tytung's and Dorimanx's 2.6.32 kernels. I haven't tried fhasovic's 2.6.35 kernel for this issue though.
[HD2 Android NAND Development] light_n_roses:
Hi warrenb213!

I have tried to flash your sense kernel on nrg rom and on sense of ecplipe rom but in both cases the rom boot to the final loading animation but it doesn't finish because when it is supopse to finish it restart the animation all over in a non ending loop. Can you help me with this?
[HD2 Android NAND Development] vivebatu:
Hi warren...have mentioned this earlier but there is a bug in the kernel that needs sorting out ( guess some other users have also reported this bug ) - basically after flashing the kernel, first or second boots are ok but after that, say on maybe the 3rd/4th/5th boot, the phone boots but is unable to load the system, giving error 'process system is not responding' with the force close/wait option...if user chooses to wait, phone ultimately reboots after 2-3 mins and all is ok again...although the phone is functional after such a boot, the bug is annoying because it significantly increases the boot time and also sometimes there are superuser issues ( some apps like setcpu and root explorer throw an error on launch 'unable to obtain superuser pernissions')....I hope the description is not confusing.

Otherwise this kernel is just perfect and I guess the best ever I have personally used

Many thanks for your inputs
[HD2 Android NAND Development] dude0316:
Current kernel working perfectly on miui au ics thanks a million for your work warren. Cheers
[HD2 Android NAND Development] maneken25:
Ty for great kernel, working fine on ndt miui gb version.

Have one question if some can help around cpu schedule profile. There is alot to choose, any advice which to use on wake, screen off, charging?

Atm have on wake: ondemandx, screen off: smartassv2, charging: performance.

Is there are some better combination, ty in advance
[HD2 Android NAND Development] wonderboy1359:
Download links not working

Please re-upload sense kernel old links not working.
[HD2 Android NAND Development] daedric:
marc

https://gitorious.org/~marc1706/aca-kernel-htc-35/marc1706s-aca-kernel-htc-35/commit/44e1da52d5bfd33ab1acea8e6dfec1d831eabd2a

Care to explain ?
[HD2 Android NAND Development] marc1706:
We had some issues with clock frequencies. Mainly that there are some frequencies we couldn't choose, i.e. 128 MHz. I was just playing around and perflock actually fixed the missing frequencies. Now it is even possible to set 128 MHz.

And no, unfortunately that does not fix the battery drain. ;)
[HD2 Android NAND Development] daedric:
yes, i checked your source (git) and saw 128 there... didn't pay much attention, just though i had missed it in SetCPU.

qustion:

{ 998400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1A, 0, 1300, 128000 }

998400 is probably the frequency in Hertz.

1300 must be voltage.

what is the 128000 ??

P.S. i tried adding :

{ 1036800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1B, 0, 1225, 128000 },
{ 1075200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1C, 0, 1250, 128000 },
{ 1113600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x15, 0, 1275, 128000 },
{ 1152000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1E, 0, 1300, 128000 },
{ 1190400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x16, 0, 1325, 128000 },
{ 1228800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x17, 0, 1325, 128000 },
{ 1267200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x18, 0, 1350, 128000 },
{ 1305600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x19, 0, 1350, 128000 },
{ 1344000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1A, 0, 1350, 128000 },
{ 1382400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1B, 0, 1350, 128000 },
{ 1420800, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1C, 0, 1350, 128000 },
{ 1459200, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1D, 0, 1350, 128000 },
{ 1497600, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1E, 0, 1350, 128000 },
{ 1536000, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1F, 0, 1350, 128000 },

to acpuclock-scorpion.c, but that wasn't enough to make them usable on setcpu :) I'm too much a kernel-noob :)
[HD2 Android NAND Development] 3dak:
i tested the gpu driver on 2.6.32,compile passed but it has same issue like on 2.6.35:camera no previewing screen but can take picture.

Reuse 2.6.32 gpu driver will resolve this issue i think.
[HD2 Android NAND Development] marc1706:
Which files did you change? That could help narrowing it down.
[HD2 Android NAND Development] daedric:
If you did it like me, you copied the whole kgsl folder.

It's true, there are no compile errors. What i noticed is that the glitches issue was not fixed... didn't thought of testing camera!

If you're right, the camera preview problema might be with the .35 kgsl drivers, or the camera drivers + kgsl drivers :)

Does the desire use the same camera chip (and driver) as the HD2?
[HD2 Android NAND Development] Dunc001:
FYI - user over in the Team Blue Droid Runnymede ROM thread reported yesterday that with the latest test kernel the glitches are no longer present. Does that contradict your findings?
[HD2 Android NAND Development] daedric:
define "latest test kernel"
[HD2 Android NAND Development] flibblesan:
And another user claims that Chainfire3D solves the glitch issue. Both complete rubbish.
[HD2 Android NAND Development] daedric:
I won't mark them as rubbish yet. Still...

Proof or lies. :) Give me something to read :)

(i doubt about chainfire3d, as the problem was NOT with ogl routines but with malloc IIRC)
[HD2 Android NAND Development] anikolop:
I am using the kernel from this post. Glitches are gone and everything is working except the camera / camcorder preview.
[HD2 Android NAND Development] daedric:
We know about that one... :)

I simplythought that were stating that a hieros like kernel was fixing the issue of glitches, and doubting it :)

On the respect of Sense 3.x, this kernel is still "our only hope"
[HD2 Android NAND Development] 3dak:
no , i not only copy kgsl folder, use whole new drivers/video/msm , but also changed all other relative files. such as include/linux, arm/mach-msm/include/mach... I also tried to add in vidc/720p supported.

i tested it on 2.6.32 branch, confirmed the issue caused only by GPU driver :try kernel 3dak_r3.5 (2.6.35 driver) and kernel 3dak_r3.6 (2.6.32 driver), r3.5 has got no camera preview issue, r3.6 OK. diference is only the gpu driver.

refer to my 2.6.32 git commit:

https://gitorious.org/~3dak/linux-o...mmit/32e5c60fec407a27f85130e1fca8c2b5e570d727

2.6.35 gpu DRIVER: CAMERA NO PREVIEWING,

REUSE 2.6.32 GPU DRIVER ONLY, CAMERA NO ANY ISSUE.

i think the suspects maybe are drivers/video/msm/mdp.c mdp_ppp.c and mdp_lcdc.c

gpu/kgsl files should be OK.
[HD2 Android NAND Development] randasecret:
WiFi Adhoc is also working perfect, camcorder on Skype is working no lags or white screen
[HD2 Android NAND Development] warrenb213:
Running a compile now.

If this compiles without issue will push to remote.

Will bring much of everyones work together and will perhaps work better. :)

OC will be an option. :)
[HD2 Android NAND Development] pirlano:
Wow 720p encoding would be a dream
[HD2 Android NAND Development] 3dak:
I have added BFQ IO scheduler for this 2.6.35 kernel.

refer to my git repository commit

i'll try to add in SLQB memory allocator for 2.6.35.
[HD2 Android NAND Development] Rebel25:
Hey warren,

how is the clk compile coming allong? I can't wait to test.

---------- Post added at 10:19 PM ---------- Previous post was at 10:18 PM ----------

hey warren,

how's the compile coming along? i can hardly wait to test.
[HD2 Android NAND Development] warrenb213:
The latest code is clk compatible ....I use clk ACA.
[HD2 Android NAND Development] warrenb213:
3dak, i will be adding your commits soon.

Can you confirm BFQ is working?
[HD2 Android NAND Development] 3dak:
yes, it is working. here is the original BFQ patch(only for 2.6.35). refer to attachment

just put .patch in local repository root dir

git am 003bfq.patch

git am 002bfq.patch

git am 001bfq.patch
[HD2 Android NAND Development] ccwav:
Headphone control not work

BUG REPORT:

The Headphone control was not work.(Both Music and Phone )

Pls Kindly to fix it.

Thanks everyone.Great Job!:D
[HD2 Android NAND Development] Dunc001:
Warren/marc/anyone - do you know if the kernel you are working on has the Zero Shutter Lag (ZSL) stuff required to get all the camera modes in the new HTC Amaze camera to work correctly? I know there are devs working on new kernels in the DHD section to get this to work over there - just wondering if it's something that we'll have in this? This is all I could find on codeaurora. I've tweeted faux123 to see if he/she has any further info as he/she has backported it in his/her latest kernel.
[HD2 Android NAND Development] pyrorob:
hi, i was going to compile a kernel and was hoping you guys could post your current .config file (or maybe just the current test kernel, if your so generous :))
[HD2 Android NAND Development] marc1706:
You can find the newest test kernel I compiled in the attachments.

We'll look into the camera code a little bit more and hopefully get it fixed as soon as possible. I'm not sure about the Zero Shutter Lag but I guess we'll check it out.

BTW, fixed proximity sensor in the newest compile. ;)

Also, camera flash while booting has been turned off.

Another also: I was able to get down to 4-8 mA in Standby using the interactive governor with data(3G) and wifi on (well it shuts off after a while).

Since uploading doesn't work right now (again), here is the newest test compile:

http://www.multiupload.com/EZKSLXJ75D
[HD2 Android NAND Development] pyrorob:
hey, thats great work man.. one thing i was wondering.. maybe you could put it on your todo list.. any chance you could look into if the lack of the "face down speaker phone on" feature is due to kernel code?

in some init.rc's they have these strings:

# for Flip to speaker

chown radio radio /sys/class/htc_accelerometer/accelerometer/PhoneOnOffFlag

chown radio radio /sys/class/htc_ecompass/ecompass/PhoneOnOffFlag

ive added it to mine that i put together, but no dice, so im assuming its kernel related...
[HD2 Android NAND Development] Dunc001:
Marc, for Zero Shutter Lag - I have been speaking to faux123 this afternoon and have found that as HTC have 'denied the existence' of any official zsl drivers (:p) he has been working on backporting the stuff from CAF that I pointed to earlier. So far he has got the drivers to successfully load and initialize but the irq callbacks are returning incorrect information. He hasn't got much time at present other than weekends for debugging but if you (or anyone else) is willing to help out he is happy to send us his patches to see if we can get it working.
[HD2 Android NAND Development] daedric:
Marc

Awesome work! I don't really mind the camera, but the battery drain during standby IS AWESOME!

QUestion for you though, how do you measure it ?? The only way i know of (without tools) is Current Widget, but it seems to be slow refreshing. (Seconds after power on, wifi re-connected etc, it's still saying 6ma on this kernel).

If you can fix the camera, you're only missing Bluetooth!

Congratulations! And thank you all.
[HD2 Android NAND Development] Tak3r07:
You can create a history of battery usage with CurrentWidget

Or use Battery Monitor - more functions.
[HD2 Android NAND Development] daedric:
Problem is... though i can define the update time on the widget, the value/file/whatever it reads is slow updated.

Has i said before, i can count almost a minute after power on, unlock, etc... and the widget still says 6ma, even after forced updates.

BTW, where is CurrentWidget getting this data from ?

I'll try battery monitor, see if i get better luck :)
[HD2 Android NAND Development] marzinho:
Testing your newest compile with latest GoMiui ROM:

- phone ok

- sms ok

- flashlight ok

- 3G data ok (2500 kbps down, 400 kbps up. with 1-2 bars signal reception)

- wifi ok (8500 kbps down, 815 kbps up on 10000/1000 broadband)

- camera 360 with white screen, but taking pictures with flash

- lgcamera with white screen, but taking pictures with flash

- lgcamcorder with white screen, records the video, impossible to view on phone, working on my laptop, but autofocus is not working, and is laggy as hell @ 800x480 5Mbit 30 fps

- gps with AGPS ok

- ROM feels pretty fast, seems to be faster that with tytung_r12

- BT seems to be working, but phone is not visible for BT module in my laptop

- USB mounting works ok, but is slow (less than 2MB/s write on SD)

- market works ok

- 720p hardware decoding is not working

- MIUI fmradio is not working (hangs up)

- SpiritFM Radio is working, but says it can't detect the device

- battery drain in idle (BT on, WiFi on, GPS on, Data on, 3G on) is ca 60-80 mA with 245-998 MHz interactive, and i can see my battery drains faster when using the phone, setting a profile in SetCPU for screen off state and 128-386 MHz smartass doesn't help and cause lag

- battery drain in idle (BT off, WiFi off, GPS off, Data off, 3G on) is ca 4-6 mA with 245-998 MHz interactive

- battery drain in idle (BT off, WiFi on, GPS on, Data on, 3G on) is ca 60-80 mA with 245-998 MHz interactive

- battery drain in idle (BT off, WiFi on, GPS off, Data on, 3G on) is ca 35-45 mA with 245-998 MHz interactive

- battery drain in idle (BT off, WiFi off, GPS off, Data on, 3G on) is ca 10-12 mA with 245-998 MHz interactive
[HD2 Android NAND Development] daedric:
- battery drain in idle is ca 60-80 mA with 245-998 MHz interactive, and i can see my battery drains faster when using the phone

If you're using SetCPU, try Smartass or define a profile for screen off and test again :)

Also, what did you have turned on ??
[HD2 Android NAND Development] tobiascrystal:
Marc1706 said he was using interactive
[HD2 Android NAND Development] daedric:
He didn't said which rom :) And neither did you...

Power consumtion is very very relative to kernel, rom, and what's turned on and being used.
[HD2 Android NAND Development] marzinho:
i updated my post
[HD2 Android NAND Development] daedric:
- battery drain in idle (BT on, WiFi on, GPS on, Data on, 3G on) is ca 60-80 mA with 245-998 MHz interactive

- battery drain in idle (BT off, WiFi off, GPS off, Data off, 3G on) is ca 4-6 mA with 245-998 MHz interactive

- battery drain in idle (BT off, WiFi on, GPS on, Data on, 3G on) is ca 60-80 mA with 245-998 MHz interactive

- battery drain in idle (BT off, WiFi on, GPS off, Data on, 3G on) is ca 35-45 mA with 245-998 MHz interactive

- battery drain in idle (BT off, WiFi off, GPS off, Data on, 3G on) is ca 10-12 mA with 245-998 MHz interactive

It seems BT is not spending energy at all. (1st and 3rd sample).

GPS seems to be spending about 30ma (3rd and 4th sample).

Wifi seems to be spending about 25ma (4th and 5th sample).

Data seems to be spending about 5ma (2nd and 5th sample).

P.S Interactive is a power hog, second only to performance which sets the cpu at max freq all the time.

Acording to what i read, Interactive will scale to top speed ad the slighthest request. Perhaps we could try this with Ondemand/Smartass.

Smartass does NOT require a Screen Off profile, as it's already included on that governor.
[HD2 Android NAND Development] marc1706:
We don't have smartass included, not yet. ;)
[HD2 Android NAND Development] daedric:
Hey Marc! Perhaps you could enlighten me on this topic.

Now where i can read about Smartass, Smothass, Savage, Nolag, and all those niche governors ?? :D
[HD2 Android NAND Development] Rebel25:
thnx :-)

seems that Typhoon CM7 clk don't boot with this kernel? is there any steps that I need to follow or am I being a noob at the moment?
[HD2 Android NAND Development] Mafioso:
Is this kernel port based on the CM kernel which you were working previously or is it Desire Kernel on which warrenb was working?
[HD2 Android NAND Development] vegaman:
It's the desire kernel. If the changes aren't copied over to Marcs git I'll be sure to have a look through them and copy any relevant commits into my git though. I'm about to fix a couple of oopses I made because of mouse without borders (pasted onto the other computer lol) and then have a look through the compilation errors. All going well I'll have a look through the Desire git later on :D

I doubt all will go well though, we'll see.
[HD2 Android NAND Development] Ultimaex:
Thanks. My boot flashlight problem is gone in this version. :)
[HD2 Android NAND Development] goldlocke:
...testing desire_2_6_35_10_1e on dungphp's Runnymede v1.3...
[HD2 Android NAND Development] warrenb213:
Just pushed a bunch of stuff up! examine if u desire....
[HD2 Android NAND Development] daedric:
Issue (?): I ussually play a 3D intensive game. On the current kernel (tytung IIRC) it plays perfectly, as does my Halloween HD 3D LWP.

On this kernel, i see no issue on the wallpaper, but the game stalls on loading screen..
[HD2 Android NAND Development] goldlocke:
some awesome commits in there! smartass v2 governor as well! thank you guys!

somebody daring a compile? :D
[HD2 Android NAND Development] ricky886:
The last kernel sd i/o is fast, but the cpu is slow..

i used antutu benchmark test on Desire HD 3.06.405.1 - Sense 3.0
[HD2 Android NAND Development] Rebel25:
clk

has anyone attempted a clk build as yet?:)
[HD2 Android NAND Development] elgrego4:
Can someone update the 1st post as it alot has been sorted since it was last edited.
[HD2 Android NAND Development] warrenb213:
done. beee happy :)
[HD2 Android NAND Development] Visentinel:
Good to see such progress, I'll test sometime when there's an ics rom out.
[HD2 Android NAND Development] pyrorob:
hey warren, i would like to take a shot at compiling this kernel and again, i would like to ask if you could share the current .config so i can see whats right too add to cook it up.. thanks.
[HD2 Android NAND Development] warrenb213:
Main tree uses htcleo_defconfig
[HD2 Android NAND Development] pyrorob:
thanks, and um.. where do i find that?

oh, never mind found it..

does the default config have the new additions already selected?
[HD2 Android NAND Development] warrenb213:
Of course
[HD2 Android NAND Development] shendan:
http://sven.killig.de/android/N1/2.3/usb_host/

This link is the dev of nexus one's usb host

can u port it into this kernel

thx
[HD2 Android NAND Development] ogonzuhnina:
There are people already working on that :D

http://xdaforums.com/showthread.php?t=1069948
[HD2 Android NAND Development] Ultimaex:
If someone needs it: here is a clk version of the latest build.

It is working with every clk rom since it uses koushs script to split the boot.img, replace zImage, repack boot.img and writes this one in boot partition.

Can't get PPP to work. wifi is working. Battery is good.

Enjoy
[HD2 Android NAND Development] Rebel25:
thnx for the build.

ppp works for me :)

---------- Post added at 03:17 PM ---------- Previous post was at 03:12 PM ----------

man oh man this is alot faster. 3g connects within seconds. everything is nice and smooth.
[HD2 Android NAND Development] ph03n!x:
Gave this a brief run. Wifi works, data works (though the arrows indicating data transfer were inactive), calls work.

BT is where I ran into trouble. It turned on the first time and connected with my handsfree. But when I made a call (from call log), the dialer screen blacked out (only the notification bar was visible) and voice was stuck on the phone, did not transfer to the HF. When the all ended, the screen wont come back - just the stuck black dialer with just the notification bar. I turned off my HF, and everything was back. Turned off BT to turn it back on - but wont turn on.

Rebooted, turned on BT and dialed the actual numbers - the other phone rings, but sound is still not transferred to HF. The dialer was stuck, and required a reboot to "unstuck" it...

My config is in my signature, I used CM7 nightly dated 16th Oct to test this...
[HD2 Android NAND Development] anikolop:
Try with a sense rom. In runny rom bluetooth works normally and the glitches are also gone :)...
[HD2 Android NAND Development] Ultimaex:
With danstas runny rom i cant get mobile connection working :(
[HD2 Android NAND Development] marc1706:
There are some issues with bluetooth, that's why it says that bluetooth does not work in the first post. ;)
[HD2 Android NAND Development] DannyBiker:
This makes sense.
[HD2 Android NAND Development] stirkac:
on vanilla rom it doesn't :P
[HD2 Android NAND Development] bamer:
can someone compile a new test kernel with the last change commited in it ?

thx all
[HD2 Android NAND Development] RCOO:
Hey guys,

Can anyone confirm that Flash Player 11 does not work with this kernel?

I'm using Dunsta's Runnymede port, v 1.4.

Thanks.
[HD2 Android NAND Development] theslam08:
Tried using TBD runnymede 1.4 EU

Very nice, makes the weather work great, wifi/data works great, its very fast too.

Also, flash works fine, was able to play a MINICLIP game no problems.
[HD2 Android NAND Development] tobiascrystal:
I tried installing the kernel on daekins sense rom and it was kind of slow, it was stuck on 128mhz and trying to change it caused a reboot then the only way to get the freq to change was a restart. The Internet was definitely faster and I saw things with the graphics that I have never seen before. I am super excited for the progress, keep up the great work everyone!
[HD2 Android NAND Development] marc1706:
I fixed some issues with overclocking and added smartassV2 governor in the config.

The "stuck frequency" problem should be fixed now. Also, I enabled the proximity sensor, again. ;)

Up-to-date compile:
[HD2 Android NAND Development] theslam08:
Thank you for up-to-date compile :). Will report back (although I have no problems with 18-oct release, using setcpu worked fine for 499-1100).

UPDATE

GOT BOOTLOOP on the same ROM desire_2_6_35_10_1e worked fine on. Went back to desire_2_6_35_10_1e and its fine now. Odd, maybe having setcpu set to 1113 as max messed it up? I cleared cache and dalvik...
[HD2 Android NAND Development] marc1706:
It worked until 1113 MHz, then it was stuck because the VDD was out of the specified bounds. ;)
[HD2 Android NAND Development] copenhagen:
marc... do you mind checking something for me?

the sd users cant boot atm..

the following commit was used for our .32 nand kernel to enabled nand booting.

(i know the issue is the opposite now.. enabling the nand kernel to detect sd boot)

https://gitorious.org/aca-kernel/aca-kernel/commit/432ac6685e1378e4615949065998159b659048c1

is there anyway you can check that those entries exist (at minimum)... as they may be needed to enable the sd bootability of the kernel. There may be other commits im digging.

Thanks for any info you can provide over! :)

ps... nice work you are doing here. there are many many people who appreciate the activity going on here. including me!