yashsingh1/xdaforums huggingface dataset:
[HTC 10 Questions & Answers] Markaner:
Interesting since it does not sound like the sound is coming from the speaker but instead from close to the HTC logo. What can produce a sound like that if not a speaker?
[HTC 10 Questions & Answers] Heisenberg420:
It sounded similar to how lights sound on a dimmer dimmed all the way down. I'm guessing it had something to do with current level supplied to the display, since the higher the brightness, the quieter it gets. I believe electricians call this 'lamp sing'

The more I listened I felt like it was coming from the bottom of the display, near the fingerprint scanner.

Either way just glad they fixed it.
[HTC 10 Questions & Answers] jollywhitefoot:
Edit; nevermind
[HTC 10 Questions & Answers] Markaner:
Interesting. Mine sound much louder below the HTC logo than it does by the fingerprint scanner. But yeah, nice that they seem to have fixed the problem.
[HTC 10 Questions & Answers] mnp:
Same problem here UK 1.30 base. Hope we get the 1.50 base released soon. Now I noticed it it's driving me crazy.
[HTC 10 Questions & Answers] vancecwtan:
I believe the 1.53 base is only for the US region and should be equivalent to 1.30 base of other regions/
[HTC 10 Questions & Answers] mnp:
Thanks, that's frustrating though. I'll try and flash my stock base backup and see if it still does the same thing. Then at least I'll know if its due to my custom ROM install or not.

UPDATE: Entered TWRP with low brightness on and same thing, so it's not ROM dependent, but hardware dependent.
[HTC 10 Questions & Answers] jollywhitefoot:
Unlikely. HTC typically released intermediate updates in Europe. 1.30 OTA package was only about 80 MB. 1.53 was over 400 MB so there are definitely a lot of differences.
[HTC 10 Questions & Answers] vancecwtan:
I have just received the 1.53 update for my Au set as well. Any chance this is due to band differences?
[HTC 10 Questions & Answers] jollywhitefoot:
Europe is going to get 1.53 soon enough.
[HTC 10 Questions & Answers] mnp:
Any screen noise?
[HTC 10 Questions & Answers] Kisakuku:
TWRP uses a stock kernel. This is likely a kernel issue rather than a hardware one.
[HTC 10 Questions & Answers] vancecwtan:
No screen noise.
[HTC 10 Questions & Answers] polaric:
Verizon needs to release this update it has too many fixes to wait on.
[HTC 10 Questions & Answers] NICG:
Why you should never buy a Verizon branded phone. With their track record you will be waiting some time.
[HTC 10 Questions & Answers] polaric:
For many of us we don't have a choice.
[HTC 10 Questions & Answers] mnp:
There are two threads looking at this issue but can you guys do a test for me as well? For those that have TWRP installed can you install the latest 3.0.2.3 and reboot into it, then go to settings, brightness and turn it down and test if you still get the whine noise?

Reason being the latest TWRP has the 1.53 kernel. I get a 50% improvement in that the sound triggers at around 30% brightness, not 60% as with the 1.32 base. It's still whines but not as much. Be interested to see who else has the same/different.
[HTC 10 Questions & Answers] prodygee:
Oh lord, thought I finally got me the perfect android device. Sturdy, great audio, good screen, perfectly fine battery life. I wish I didn't see this thread haha, I hear the sound every time I turn on the screen while keeping it next to my ear. You hear this laser gun sound, lol.
[HTC 10 Questions & Answers] mnp:
Lol, that's exactly how I feel. Ignorance would have been so welcome here! Alas we need a solution... but without kernel source am not too hopeful.
[HTC 10 Questions & Answers] polaric:
Well it seems like the update fixes it for the people who got the update.
[HTC 10 Questions & Answers] prodygee:
I don't know, I can still hear it. And I'm on 1.30.401.1.
[HTC 10 Questions & Answers] polaric:
I didn't think that was the newest version?
[HTC 10 Questions & Answers] afuller42:
Kernel source is out now, all the fun begins
[HTC 10 Questions & Answers] prodygee:
That's probably because I'm on a European unlocked device. I got it yesterday and updated it once. The update said to have camera and wifi improvements.
[HTC 10 Questions & Answers] mnp:
Be interesting to see who has a Sharp panel and who has a Tianma one to see if it is manufacturer specific issue.

To find out your display manufacturer, reboot into download mode and go to system information or install DevCheck from Play Store.

FYI: Mine is Sharp and has the noise.
[HTC 10 Questions & Answers] polaric:
Newest ota fixes it.
[HTC 10 Questions & Answers] rizevnarastek:
Mine is sharp as well and I'm eagerly awaiting the 1.53 update. :) the lower the brightness the louder the noise. It's pesky when you're in bed in a quiet room. Non-issue throughout the day though when there's lots of ambient noise around.

Sent from my HTC 10
[HTC 10 Questions & Answers] mnp:
Right just updated my kernel to 1.53 and there is a slight improvement but it still whines at lower brightness levels albeit 70% less. So just need the proper 1.53 base ROM to go with it and hopefully it will be fixed.

I use the HTC brightness widget and it fortunately misses out the noisy bands when in a quiet room.
[HTC 10 Questions & Answers] polaric:
I have auto off and use a very low brightness and have no whine after the OTA.
[HTC 10 Questions & Answers] effortless:
I have a low volume high pitched noise with the phone on and beeping/buzzing/chirping with screen off. You can hear it if you hold the phone with HTC logo up to your ear. I'm on latest 1.53 update for unlocked US phones. Does anyone else have the same noise?

I also sometimes get electrical noise through the ear piece on phone calls, but not when I make a Wi-Fi call. Anyone experience that too?
[HTC 10 Questions & Answers] brezy:
When you switch off 'power saver' it stops the noise.
[HTC 10 Questions & Answers] effortless:
I don't have power save on
[HTC 10 Questions & Answers] rizevnarastek:
It doesn't on mine. I've found out that the noise stops if set to 1 3rd on the brightness slider. Can't wait to get the update and hope it solves it. It's just too bright in the dark.

Sent from my HTC 10
[HTC 10 Questions & Answers] afuller42:
It fixed for me Verizon 1.19.605.22, tianma
[HTC 10 Questions & Answers] Alpert3:
The same. I hear it too, like the coil noise. HTC 10h, EU version.
[HTC 10 Questions & Answers] th3:
HTC 001 UK, 1.30, Sharp... Same problem as well as very poor call quality.

Sent from HTC 10
[HTC 10 Questions & Answers] mnp:
New EU base supposedly dropping soon from what I've heard, so hopefully not too long before a definitive fix :/
[HTC 10 Questions & Answers] ensXP:
Why did I look at this thread? Ignorance is bliss...

High pich sound on low brightness

CID: HTC__034

Display: Sharp

SW no: 1.30.401.1
[HTC 10 Questions & Answers] MAkS1:
High pitch even with screen off... I can hear it from the back of the phone just underneath the camera.
[HTC 10 Questions & Answers] ffodi:
Just installed the new 1.80.401.1 OTA (over 1.30.401.1) and the annoying high pitch noise has finally gone. :)

(Tianma panel)
[HTC 10 Questions & Answers] mnp:
That's good to know thanks! Just hope we get a full EU 1.80 ROM base soon so I can enjoy mine, whine free finally.
[HTC 10 Questions & Answers] Alpert3:
Updated to this version as well, SHARP display, noise gone.

It's not a problem linked to the display panel I think.
[HTC 10 Questions & Answers] myamid:
I got the 1.80.617.1 update, still getting the whine on occasion. By no means all the time, but it certainly isn't completely gone. Goes away when the screen brightness goes up. Sharp panel.

Still a work in progress...
[HTC 10 Questions & Answers] Alpert3:
Mine is completely gone. Even in the lowest brightness.
[HTC 10 Questions & Answers] mnp:
I'm on 1.80 EU base and get it between 20-35% brightness on a Sharp Panel. Also when on power saving mode, because the screen brightness is lowered across the board, the whine % band spreads wider, to 70-80% brightness and 20-40% brightnesses. Really infuriating and irritating.

Using the prior 1.30 kernel has worst affect on it than using the stock 1.80 kernel.

Wish I knew where to look to play around with some source values to see whats causing it as there are definite differences between bases and kernels.
[HTC 10 Questions & Answers] Alpert3:
You mean you still have the coil noise?
[HTC 10 Questions & Answers] mnp:
Yep :(
[HTC 10 Questions & Answers] Alpert3:
Aïe, not good. I saw some people say it's a kernel issue.
[HTC 10 Questions & Answers] myamid:
Yeah... and it's a bit random. I'll open my phone and notice the screen is a bit weird (ie: I can see the "waves" of the backlight at the bottom) and can definitely hear the whine. If I leave the phone down a few minutes and unlock again it'll be gone.

So something is definitely making the screen/backlight misbehave and cause the sound & screen weirdness.... haven't quite figured out if there's something specific that causes it to happen (or stop).
[HTC 10 Questions & Answers] mnp:
Possibly heat mitigates it?
[HTC 10 Questions & Answers] afuller42:
I would of returned that particular phone, sounds defected more than a kernel problem
[HTC 10 Questions & Answers] myamid:
Actually seems like it is. Tried opening a game when it happens and sure thing, the screen brightness settled down and the buzzing stopped a few seconds in. So heat certainly seems like it solves it. I'll try to rma it as its starting to feel like hardware.... Thanks for the tip.
[HTC 10 Questions & Answers] ensXP:
after the update to 1.80.401.1 the sound is gone :)
[HTC 10 Questions & Answers] Aether Invader:
HTC Desire Coil Whine

The only posts online I can find about this noise my phone made are on this site. There is another post in these forums specific to my device. But I thought I'd add this here for those curious. I have not hacked anything on the phone. This is fascinating to me.
[ONE Original Android Development] erorcun:
Reserved
[ONE Original Android Development] idprophecy:
GREAT!
[ONE Original Android Development] nikhil18:
NICE!!!!
[ONE Original Android Development] barisuraz:
Proud cuz a turkish dude managed to do it

---------- Post added at 09:33 PM ---------- Previous post was at 09:28 PM ----------

This might be the biggest revolution to the OPO since the Sultan's CAF Rom and camera HAL.
[ONE Original Android Development] DerRomtester:
Tested on f2fs Sultans stable Rom. Bootlooping on cm logo.
[ONE Original Android Development] erorcun:
[MENTION=4804871]DerRomtester[/MENTION]

It's only for CM nightlies, i'm writing it to OP.

It could be related with f2fs too, I don't know.
[ONE Original Android Development] nikhil18:
Why don't you use anykernel so it also works on sultans rom but stock CAF camera drivers will be needed to work with oxygen blobs
[ONE Original Android Development] erorcun:
I can't make big changes anymore. It was freakin' hard to come to this point.

Maybe if I know diffs between sultan and cm kernel.
[ONE Original Android Development] FloorFox:
Testing
[ONE Original Android Development] erorcun:
My country is famous with creeping internet, so I gave a chance to github import tool to import it from caf first, but it has been almost 1 day and progress bar still seems full, I think it got stuck.

I will be grateful to anyone who gives me LA.BF.2.1.2_rb1.5 kernel imported repo :silly: Ofcourse I can do it myself but I don't know when I can.

And I will add credits to one who upload it.
[ONE Original Android Development] Miksel12:
Nice to see someone continue 3.10 for bacon!

I'm going to try it soon.
[ONE Original Android Development] mucinch:
Works beautifully with CM Nightly 15-05 on a secondary Multirom installation. GPS worked well for me, but during calls the other party couldnt hear my voice. So reluctantly removed for now. Hope you fix the issues and continue developing the kernel for our beloved OPO.
[ONE Original Android Development] erorcun:
Yeah, GPS works well actually but it shouldn't be perfect since part of it crashes.

Thanks!
[ONE Original Android Development] erorcun:
Source is up now, thanks to Ra1nst0rm.

Enjoy =)
[ONE Original Android Development] Ra1nst0rm:
[MENTION=4898631]erorcun[/MENTION] you are welcome:)

Will test it soon
[ONE Original Android Development] DerRomtester:
Great work. Just checked your source.
[ONE Original Android Development] black.ic3:
Thats big step ahead :good:

Bluetooth works fine, GPS too, only f2fs doesnt.

Tested on nightly and RR
[ONE Original Android Development] erorcun:
Thanks for testing bluetooth.
[ONE Original Android Development] Spider-Vice:
Nice development! Thanks for this!

Edit: Working nicely on a test install of Vanilla Unicorn (CM based)
[ONE Original Android Development] Setting.Out:
If all four cores were enabled, having a dynamic system that could change which cores were big/little in response to thermals would keep nearly 100% performance (except the heaviest of tasks) while keeping the CPU cooler and should save battery as well with only a small margin of under clock... Even if battery gains were small, thermal and performance would be improved over the idea of just choking the whole CPU to 1.9ghz as certain devs have done to combat this issue.. ;)

HDMP (Heterogeneous Dynamic Multi-Processing)
[ONE Original Android Development] Spider-Vice:
I guess it might be the combination of ROM/kernel too. Will try the CM Nightlies later.
[ONE Original Android Development] erorcun:
No unfortunately.
[ONE Original Android Development] erorcun:
New commits are up, CMA activated finally (better memory management) I'm not sure about battery, and binder errors seems decreased (I've seen only once)

I will write about whether reboots are gone tomorrow.
[ONE Original Android Development] idprophecy:
Anykernel version with latest, aforesaid changes here
[ONE Original Android Development] Syaani:
Just for your information, latest CM nightly sources have some issues with location and it causes high battery drain. They are working for the fix..
[ONE Original Android Development] Gigadroid:
Reboots seem to be fixed but scrolling etc. appear not as smooth as before to me.

Edit: Nevermind, rebooted after 2 hours.
[ONE Original Android Development] erorcun:
Reboots seems to be gone after I switched to permissive enforced selinux. It's open for 14 hours currently and I'm writing from mobile, never reached to that duration before.

And that image, ugh...
[ONE Original Android Development] nikhil18:
That's odd I am not facing any reboot with my kernel with selinux enforcing
[ONE Original Android Development] erorcun:
Lol I wrote wrong, I supposed to write enforcing. Yeah I'm using like that too and didn't face with any reboot.

I'll update kernel soon with enforced selinux.
[ONE Original Android Development] nikhil18:
I have updated selinux with latest commits you can have a look because no reboots for me with permissive also as synapse needs selinux to be permissive to work so I was also using it with permissive for a long time
[ONE Original Android Development] erorcun:
You seem like you're importing all the commits you find dude, sorry but I can't do that.

--

About binder errors, they're caused by untracked pid crashes so we must solve untracked pids.
[ONE Original Android Development] nikhil18:
I am just syncing with neobuddy89s caf kernel from nexus 6 which is way ahead of our kernel
[ONE Original Android Development] rucioTozzy:
Does this kernel support OTG?
[ONE Original Android Development] bobglaus:
This isn't really a issue for you guys since this is still in development but this kernel doesn't wanna compile in line. It gave a error I haven't seen before. Something with the hals. I'll work on it but you might need a few patches if I figure it out that will let it build in line. I'll look into it more when I get home
[ONE Original Android Development] Spider-Vice:
Yeah, cell standby is the number one battery killer right now with this kernel. Doesn't seem to happen on 3.4.
[ONE Original Android Development] erorcun:
It's implemented but not been tested.

I didn't get anything. What is the error?
[ONE Original Android Development] bobglaus:
Are you compiling it with the ROM? [MENTION=4898631]erorcun[/MENTION]
[ONE Original Android Development] erorcun:
No, just usual standalone compiling with gcc 4.8?
[ONE Original Android Development] bobglaus:
[MENTION=4898631]erorcun[/MENTION] oh see sorry I get errors when compiling it with uber 4.9 and the ROM. The ROM is my synthetic Du builds. Its not really an issue as the kernel compiles on its own but if you eventually want this to be used in ROMs then you may run into this issue too. We might also need a cflag I think for unused permiters because it throws a ton of warnings for me
[ONE Original Android Development] erorcun:
Okay, I will look into it later, thanks.
[ONE Original Android Development] DerRomtester:
I was able to grab a maybe useful log from a reboot that currently happend after flashing the kernel.

https://drive.google.com/file/d/0B4NfU3dQXHeiUkFqQkJKbXJ3WEU/view?usp=drivesdk

another reboot caused by selinux

https://drive.google.com/file/d/0B4NfU3dQXHeidndlSlhPdm83cjA/view?usp=drivesdk

And another random reboot

https://drive.google.com/file/d/0B4NfU3dQXHeiNFU1Vmo2N2dqTkU/view?usp=drivesdk
[ONE Original Android Development] erorcun:
So they're all related with selinux, thanks, these will help a lot.

But how did you manage to put device in panic for 3 times in 2 minutes after boot o_O

--

Btw some good news, all of our binder-untracked pid errors already happening in CM, only difference is ours appear in log. Wish I could see that before.
[ONE Original Android Development] DerRomtester:
I dont know i get them frequently every 3 minutes :)
[ONE Original Android Development] sireangelus:
Can i ask something- First thing first, are there any real improvements?

Second, why 3.10 and not 4.4 since you guys were at it?
[ONE Original Android Development] erorcun:
I've started this project to improve myself but yes it's faster, has a ton of new bugfixes and gives chance to use new features available for 3.10+ .There is no a lot of big changes but the results have satisfied me. But battery consumption is crap atm.

I haven't heard mainline kernel's msm8974 support before, I saw it one week ago, I will start if I will have sometime.
[ONE Original Android Development] abhibnl:
That question, just made my day. Even S820 kernel is on 3.17 or 3.18 and it's the latest chipset available. ???

Sent from OnePlus One
[ONE Original Android Development] DerRomtester:
He used the source code qualcom provided us. This source code is especially made for android by qualcom developers and so it is more easy to get a fully booting linux kernel with 3.10 instead of using the linux mainline kernel source code. It is of course possible to run the mainline kernel in android. You find some results from sony and other developers on google+. But there is no stable mainline kernel yet with all features working on android and i think if google does not force the oems to do that there will never be an android device with the linux mainline kernel.
[ONE Original Android Development] CooperBrick:
Nice, but mobile data doesn' t work(sultan' s cm13)

This kernel is great, seriously nice performance and i guess great battery, (i used it for an half day) but 2g, 3g and LTE doesn' t work

Pls fix it
[ONE Original Android Development] erorcun:
No it works, it's something related with you.
[ONE Original Android Development] erorcun:
[MENTION=4804871]DerRomtester[/MENTION]

Oops, I completely forgot about it, it's okay now.
[ONE Original Android Development] DerRomtester:
Alright just found it out right now. I knew it was just a small include but thx anyway. :)

Uploaded todays build with latest changes made by [MENTION=4898631]erorcun[/MENTION] and i fixed some compiling warnings.
[ONE Original Android Development] Hingbong:
Does it support f2fs?
[ONE Original Android Development] DerRomtester:
Yes
[ONE Original Android Development] pankspoo:
Does it support USB OTG?
[ONE Original Android Development] erorcun:
I didn't touch it after you said it doesn't work.
[ONE Original Android Development] pankspoo:
Ya its not working ( i just asked for version compiled by DerRomtester) but it will be great if you add it, its important feature
[ONE Original Android Development] DerRomtester:
No i also did not touch it. I just merged the patches erororcun pushed today and some fixes to resolve some compilation warnings. But it seems to be more stable. I did not get any reboots so far. :)
[ONE Original Android Development] nthacks:
I tried flashing this on sultan's cm13. Noticeable performance increase.

Unfortunately mobile data doesn't work, must be rom related as another user reported the same. Camera obviously won't work.
[ONE Original Android Development] DerRomtester:
Pls don't flash on caf. The kernel + Ramdisk are designed for cm nightlys.
[ONE Original Android Development] bobglaus:
On Du synthetic version(my builds) I have no reboots and everything works great. Im getting around 5-6 hours sot with 3.10 kernel and if you haven't fixed the battery it will be way better later
[ONE Original Android Development] erorcun:
Yep reboots seems gone on me too. Selinux reboots are still there but others seems gone.

I'm working for improving battery but it's still draining very fast for me :/ may be result of using a month old nightly too, I don't know. I should think hard about it sometime.

Thanks for feedback btw, I will compare CM's device tree with yours.
[ONE Original Android Development] bobglaus:
Yea check them out. They shouldn't be insanely different. Can you please check my ramdisk edits to make sure I did them right? Might explain some build issues I had
[ONE Original Android Development] erorcun:
I've checked already, they're fine.
[ONE Original Android Development] gyakusetsu1215:
I'm running your builds too and the only thing keeping me from running this kernel as a daily driver is that my car auxillary port doesn't output audio. Anyone else have this issue on cm based roms?
[ONE Original Android Development] bobglaus:
Its a ROM issue. I'm out of town but next build I plan to fix all of that.
[ONE Original Android Development] gyakusetsu1215:
Is it a ROM issue with 3,10? Works fine with 3.4 kernels.
[ONE Original Android Development] imam.krismanto:
This kernel working with AOSP base?? DU AOSP base, right??
[ONE Original Android Development] DerRomtester:
There is no real aosp kernel available on the opo. Also there is no real aosp devicetree available. If your rom is using cm's kernel source code than this kernel should theoretically work. But be aware this kernel + ramdisk are designed for cm nightlys. If you want to try this kernel and want to provide useful logs and help us to get it stable on the cm nightlys than please flash the nightlys to avoid problems caused by your rom (which may not be fully compatible with that kernel)
[ONE Original Android Development] erorcun:
I noticed there is no battery drain on me btw. It was just a placebo because of the cell standby's abnormality.
[ONE Original Android Development] DerRomtester:
+1

I feel the same. I am currently running latest nightly and the battery drain is quite similar.

Also i noticed a small Bug when being in lowest brightness. The screen sometimes becomes a little bit brighter and than goes back to normal brightness. I think I have seen a fix on Sultans or cm's git. I don't remember anymore.
[ONE Original Android Development] erorcun:
It was keeping PWM either always on or always off. I think I've did it already but I will take a look soon.
[ONE Original Android Development] Blackscorpion3:
Loaded this on my OnePlus One which is running Resurrection Remix. Aside from no usbOTG it's running perfect. No random reboots, phone is actually running cooler than 3.4 kernel. Will, be awesome once usbOTG works. Will watch over the next few days concerning battery.

Thanks to all who have collaborated to get this kernel this far.
[ONE Original Android Development] abhibnl:
Just out of curiosity, usb otg is support is not added by default in the CAF 3.10 kernel branch or is it something that a kernel dev needs to build separately?

Sent from OnePlus One