yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] AtomosVE:
OC@1.5Ghz

MediaProvider stayed CPU usage rank on top. kept phone screen off, but It was warm after least an hour before I did everything back to sleep.

also weird thing is

MediaProvider traversed thru SD card so long but it found nothing. on Apollo no songs, on Gallery no vids no pics ..

I don't know what triggered MediaProvider to stay long.

Actually I have about 80 mp3 songs, 4 tv shows recorded.

Stock Gallery or other galleries can't generate vid's thumbnail but can be played with H/W codec on stock Gallery or other vid players.

of course I'm not placed .nomedia to those folders.

I named folders like [Songs], [TVShows] with brackets to distinguish from auto-created folders. also.. no exotic(vietnamese, chinese, etc) texts on filenames.

I have non-delete-able files on SD card. Format will solve issue..?

root@android:/storage/primary/legacy/android/data/com.levelup.touiteur/cache # ls
ls
lstat './☻.' failed: No such file or directory
lstat './B.' failed: No such file or directory
lstat './B.' failed: No such file or directory
lstat './B.' failed: No such file or directory
lstat './B.' failed: No such file or directory
lstat './B.' failed: No such file or directory
lstat './C.' failed: No such file or directory
root@android:/storage/primary/legacy/android/data/com.levelup.touiteur/cache # rm *
rm *
rm failed for ☻., No such file or directory
[Desire HD Android Development] Mustaavalkosta:
Yeah, if you have problematic files on the sdcard that has a potential to make scanning process to hang which in turn will cause drain. Let me know if the problem persist through format and only copying back the files that are safe.
[Desire HD Android Development] bestfil:
O/C CPU with CM10.1 by Mustaavalkosta

First of all I want to thank You for Your active response about these issue.

I will remind what I made and what I wrote a tons of pages earlier:

Any frequency above 1,2 GHz GAVE CPU HALT no matter which app have I used - stock CM built or "3-rd parties"

So if I didn't know, that I could be a "programmer" than how I could tweak anything?

Now I don't know my default values over 1,2 GHz, cause I gave the phone to my girlfriend (over 3 years of the phone and still in great condtiion!)

But I remember that I even tried to use these values from Antutu CPU app, even tried to overvolt without any brakes (I tried to use defaults from 2,0 for 1,3 GHz) and nothing. Still the same behavior.

My phone was bought in 2010 or some months later in 2011.

The same Mustaavalkosta replied as a hint that my chip could be from worse part of a wafer. Then I gave up seeking for solutions.

But after months I have overclocked my DHD on stock CM 7.2!

I agree with You, that comparing to all roms above CM7.2 this is the most stable and the smoothes ROM. That's obvious. But if You put same antyvirus and other stuff, then You have to get more computing power.

Mustaavalkosta invented tweaked kernel "performance kernel" but I couldn't use it - it caused in my case that the ROM halted at the each startup.

So the only way was to trying overclocking.

Yes and not, as I answered above. Computing power is never enough.

Thanks again. As I said in the beginning I know sth about O/C, just enough to replace some values in specific files responsible for overclocking and/or use "programmers opt." in CM and/or ANTUTU.
[Desire HD Android Development] AtomosVE:
Sorry I'm out of luck.

Formatted and copied safe files, still scans indefinitely. Returned back..
[Desire HD Android Development] evronetwork:
Non-deletable files has two meanings:

Either

The files are running so it's not possible to delete them(e.g. common in pc world where viruses run and cannot be deleted)

or

Your sd card is about to die

Do a format, it will solve this(make sure you backup your files if you want/need them)
[Desire HD Android Development] wachutunai:
[MENTION=3382363]Mustaavalkosta[/MENTION] and [MENTION=1804553]paulb_nl[/MENTION]:

Is there a way of editing these settings manually without recompiling? I've been using the keyboard haptic feedback recently and found it to be way too strong. I don't mind if there is a graphical UI to edit the settings as far as this thing can be edited manually somehow. If recompiling is the only option, [MENTION=3382363]Mustaavalkosta[/MENTION] can you consider providing another flashable zip with softer defaults for the haptic feedback?

Thank you!
[Desire HD Android Development] Mustaavalkosta:
You can tweak vibrator's voltage level by editing /sys/class/timed_output/vibrator/voltage_level

Values between 1700 and 3000 seem to be ok at least. 1700 is pretty dull already.

I spotted UI settings for it some days ago but haven't tested if that works on 10.1 too as it was 10.2 branch of Andromadus' msm7x30-common repo where I saw it. Init script should take care of setting it on boot before I find time to test and bring that UI in the ROM.
[Desire HD Android Development] xdagee:
hey!!! did the battery just drain like that wtf!!! :mad:
[Desire HD Android Development] wachutunai:
Perfect! I have set up a script to set it to 2100 on boot. Thanks for the tip and if you need some testing with the UI, let me know. I've checked the repo and it does seem to be a simple solution but anyway, the script is good enough for the time being.

Thanks again!
[Desire HD Android Development] evronetwork:
I've just tried to make a backup using MyBackupPro after some backup files it stuck at "Google Play DATA" for 5-10 minutes, I waited and waited ..the phone seem to work but after a few minutes I hot a nice hot reboot

Don't know what happened but I felt like sharing my experience

(I'm having BaNkS core gapps and did a backup with apk+data backup ..if that helps)
[Desire HD Android Development] shinaipt99:
What's the base of sr3? 4.2.2? 4.3?
[Desire HD Android Development] whiperhack:
Android 4.1-CM10

Android 4.2-CM10.1

Android 4.3-CM10.2

Android 4.4-CM11
[Desire HD Android Development] shinaipt99:
Thanks!
[Desire HD Android Development] Daz555:
On the subject of overclocking what is surprising is the variation between ROMS.

My DHD is rock solid at 1.7GHz when running IceColdSandwich-8.8.AOKP but with 10.1 SR2 it will not go any higher than 1.2GHz.
[Desire HD Android Development] HanZie82:
Might depend on the kernel used, more than on the ROM itself...

Most ROMs come with their own kernel don't they?
[Desire HD Android Development] evronetwork:
It might be that, or it's cpu is of bad quality and the other kernel can go high because it "covers" the real problem

..just some thoughts, no need to grab on those.
[Desire HD Android Development] evronetwork:
I use nova so I didn't experience that
[Desire HD Android Development] Chevyguy85:
I do that all the time. One day I'll learn to how to make nova install with the roms. I just do the initial boot then sign into play and get titanium downloaded, restore all my apps and then use titanium to uninstall stock launcher. If you're iffy about it you can freeze the stock launcher and if things don't work out you can just unfreeze it.

Tapped out with my dumb thumbs on my HP TouchDroid
[Desire HD Android Development] evronetwork:
You should but generally speaking it's not recommended

I stop it but you can call it freeze too :p although I avoid uninstalling stock launcher(especially when I'm testing an experimental rom)
[Desire HD Android Development] deckoff:
Hmm, I have a weird problem the phone will freeze and I have to pull the battery to restart. I had this problem with other versions of cyanogenmod , but never with the stock lite version of the ROM (android 2.3.x) Did anyone had this problem, too? How to debug and log might be useful? Am I Ann unlucky one with some rare, faulty piece of hardware?

I NOTICED that media service might cause this and battery drain, which I also have, can I stop it. Cnm from 11.18.2013, kernel 3.0.96 hybrid
[Desire HD Android Development] Largamelion:
Does the media service fix in SR3 cause extra battery drain or am I misreading this? I 'm currently on SR2 and I 'm about to flash SR3 but I wanna be sure it 's an improvement because I don't have any real issues with SR2. Or is it only the nightlies that have issues?

Thanks
[Desire HD Android Development] Mustaavalkosta:
Have you tried formatting your sdcard in case you are experiencing same kind of hang issue due bad file entries on the sdcard that someone else was a few pages back?

It shouldn't cause any noticeable increase in battery consumption and I still haven't seen any evidence suggesting otherwise. If the MediaProvider hangs on something on the sdcard and keeps the device awake, it will do that regardless of the process priority.
[Desire HD Android Development] Largamelion:
Ok thanks, will flash SR3 tonight then :good:.
[Desire HD Android Development] evronetwork:
I've use SR2 and currently SR3, everything seems fine

P.S. I got one hot reboot with SR2 and one with SR3 but it was just one which might be a very rare case, but I'm telling you my findings :)
[Desire HD Android Development] deckoff:
I have used it with different sdcards through the time, and had this problem every now and then, but will try it out. Is there a recommended method to use - I do use gparted, ubuntu 12.04
[Desire HD Android Development] pjadec:
I use 4ext recovery and there are tool to format sdcard.
[Desire HD Android Development] andymnc:
Mustaava can we write here about 10.2 or do you have (will?) One specific? I have huge problems with that...

Anyway, 10.1 sr3 quite perfect, only very rare black screen + reboot.
[Desire HD Android Development] rjand:
Forget 10.2, Mustaavalkosta's working on 11.0 and it's going well so far for such an early version. Here's the thread http://xdaforums.com/showthread.php?t=2533007
[Desire HD Android Development] evronetwork:
What exactly do you do so I can try to reproduce it?

Turn on the phone->launch skype->exit skype->freeze ?

if you do something else please let me know so I can try to do the same(ur running SR3 clean or dirty?)
[Desire HD Android Development] Mustaavalkosta:
You can format it under Storage in Settings or recovery. Just make sure you have copied all your own files to safety before proceeding with the format.

I skipped 10.2 due being too busy with other things in my life (new job, moving, general chaos...) to solve the issues that it had after quick upgrade patches I tried on it. Builds for 11.0 are available though. I'm not sure where you have got your 10.2 build but I haven't made any available publicly unless you have snatched something from the tests folder on codefi.re which is not very bright idea to do since I dump all kinds of experimental stuff there.
[Desire HD Android Development] Elvara:
Hello

I've been using this rom for a few weeks and it works great, I've tried to use my gps for the first time and I couldn't get any, I've used gps status in the past and it fixed the problem for other rom but it didn't this time, anyone had this problem before and what did you do to fix it?

I'm using the sr2 release so if you have any idea i'll be happy to try anything to make it work.
[Desire HD Android Development] deckoff:
Nope, that did not help. I have formatted the card twice. The phone worked fine for almost a day, and a few minutes ago it was frozen. By frozen, I mean the screen was black, and it wont turn on at all, until the battery is removed. The phone should be left on its own at least for a few hours, so probably in deep sleep??? I also notice a considerable brain drain. Up till now, battery usage was perfect 10-15% for a day, and know 40% loss for less than two hours

Any guidance what logs might be useful.

Kind regards
[Desire HD Android Development] Mustaavalkosta:
Well, I don't know about your frozen device issue... Have you overclocked or changed anything else under performance settings? For the drain you can check if this shows you anything useful: https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector
[Desire HD Android Development] deckoff:
Nope, I havent. This is why I asked, if anyone got this issue, or I am alone here. As I said, I have this problem with all CNM ROMs, and not with the official,ROM. This is why I suspect that the case might be a rare piece of hardware I got as a "present" from HTC, when they were out of parts and the kernel is not working correctly with the hardware (but properly supported in official). This is why I asked for a log/debug guidance, what might be useful at all

Thank you for your help, the ROM seems to be super-fast and as close to CNM as an unofficial ROM can be. Sorry if I wasted your time in a way. Keep up the good work!!
[Desire HD Android Development] Mustaavalkosta:
You can use this for logcat if the device still connects with adb: http://xdaforums.com/showthread.php?t=1987232

It's weird though since no one else is reporting in with similar issues recently.
[Desire HD Android Development] xdagee:
CyanogenMod 10.2.
[Desire HD Android Development] rjand:
You may need to upgrade your radio to get GPS to work. The latest one is the one in my signature. Here's the Desire HD radio thread http://xdaforums.com/showthread.php?t=877295
[Desire HD Android Development] AtomosVE:
First Update Radio to latest, then use AGPS injectors below if you still can't get GPS working.

these apps does "GPS Status's Update AGPS data request" on use or schedule.

AGPS Injector Widget - updates AGPS data on schedule.

https://play.google.com/store/apps/details?id=com.tytung.agpswidget

AGPS Auto Injector - updates AGPS data on every use.

https://play.google.com/store/apps/details?id=kr.LaruYan.agpsautoinjector
[Desire HD Android Development] evronetwork:
100 hours? seriously? that's ~4 days.. and if I have 4 straight days skype open that means my battery would be probably way too short

I'll try to do 1/10 of this, 5-10 hours straight is quite enough for anything to occur and in this time I'll make sure I'll to open and close it at least 50 times

EDIT: So far nothing at all, it's been only 10 minutes but I did open and close the app 10 times :) ..I'll update if any change occur
[Desire HD Android Development] deckoff:
Mustaavalkosta, please, tell me which radio version do you use. I use an older radio, and since no one reports Sleep of Death issues lately, I just want to try out your radio version. Thank you.
[Desire HD Android Development] Largamelion:
Not sure if this is a rom issue or car issue, hence my question:

When using BT in my car, my music automatically gets muted when I get an incoming call. Unfortunately this does not work for any of the navigation apps' voice instrutions (Waze, Maps, ...). My car 's built in TomTom navigation is able to mute my music for voice instrutions so I 'm just curious if it 's simply not supported by my car or by this rom (or any Android rom). I am able to hear the voice instructions when I switch to the BT aux channel, but that means I can no longer listen to the radio.

Thx in advance.
[Desire HD Android Development] Mustaavalkosta:
Radio 12.69.60.29_26.17.14.11_M from http://xdaforums.com/showthread.php?t=877295

At least I don't have any idea. Car audio has been always very difficult because it's nearly impossible to debug unless I win a lottery and buy that specific car model that is having the issues. Maybe someone else knows something.
[Desire HD Android Development] rjand:
Don't know if it helps, but when I was running the stock ROM when I first got my phone, I use a BT headset for hands free calls. If I was using Google Navigation and a call came in the navigation assistant's voice could be heard by me in the BT headset, and by the person I was connected to on the call.

I don't know what it is like now as I usually have the navigation assistant muted. I'll try it out the next time I am on a long journey (it sounds ridiculous having the sat nav tell you where to go around your local area). Streaming music over BT to the car radio from the phone does get muted when a call is in progress - but I have two separate BT devices connected, one for music and one for calls, so when the call one is active on one device the other gets muted. I don't know what happens if you are using the same device for both.
[Desire HD Android Development] evronetwork:
After 10hrs I didn't notice something, anyway using skype more than 100 hours continuously might be a skype app-related issue that causes this. So it's not necessarily a bug in rom and not having my phone for 4 days seems a lot just to confirm this without being able to provide you a solution to this.

P.S. You've also said that you experience another problem now, this does happen after 100hrs as well? if the time is shorter then something else is wrong :)

P.S.2 I'm having skype for more than 10 days but never run it continuously for more than a couple of hours. It's seems useless to have skype more than that. Now if you mean that you completed 100hr of just using skype(2 hours on Monday, 5 hours on Tuesday and so on.. then I can say for sure that I've spend more than 200 hours and have no issues whatsoever)
[Desire HD Android Development] xdagee:
Hey guys any idea if I flash with the latest gapps... Android 4.4 will it work fine?
[Desire HD Android Development] cyb3r.pr3dat0r:
It wouldn't
[Desire HD Android Development] JustPlayingHard:
Dont you bother reading? Musta. Said he much more busy things then that, 4.4 is more better
[Desire HD Android Development] deckoff:
New radio did not solve the problem. The phone woke up after an hour or so of sleep of death, so I managed to get some logs (it seems the radio log starts after the phone has waken - 1136 local.)

Here are the links:

logcat_radio.log

logcat.log

dmseg.log

last_kmseg2.log

The phone went into sleep of death mode after leaving home, and woke after coming back home. Wifi error?

Anyway, please, name me a few stable kernels known to work with this ROM, so I can try them and see if the issue re-appears. If different kernel does not solve the issue, I will go back to stock and sell the unit.

regards
[Desire HD Android Development] rjand:
Do a full clean wipe (wipe system, data and cache), install the latest nightly (or SR3 if you prefer) and use the included kernel (i.e. don't install a kernel separately as it is already included in the ROM), install the Gapps listed in the op (first post on this thread) making sure that yo uaren't installing some other Gapps package that may be for a different version of Android, fix permissions whilst in recovery (just to make sure as you are having problems) and install your apps from the play store. Do no restore apps or data using a backup / recovery program in case it is one of these that is causing your problem.

This is the slowest, but safest way to install any ROM. Remember, DO NOT RESTORE APPS OR DATA, install them fresh from play store.
[Desire HD Android Development] Mustaavalkosta:
The last three of your log links don't work. I can try to take a look if there's something blatantly wrong but I'm not sure how much time I'll have to debug this issue further if nothing obvious comes up.

This is certainly a weird issue if you are 100% sure it does this with clean install and clean everything. It might be worth the while to clear your sdcard one more time and this time not to return any of the files to it but keep them on somewhere else for a couple of days. Then clear the phone completely, format /system partition also because backuptool will otherwise move over your old gapps to the new installation. Format sdcard. Install rom and gapps and do not restore any of the apps from any backup. Install it like you would have just bought it and everything is in factory state. Then see if the problem still occurs within a day or two since it seems to happen almost daily for you. This should tell you if it's something with ROM itself or maybe something else you have had installed on it this far.
[Desire HD Android Development] deckoff:
I will fix the links. Please, do not waste your time if nothing sticks to the eyes at first read, this is NOT my default device, and, as I said, I had similar issues with some of the older 4.x builds. Take a look, but dont waste your time . I tried with different sdcards, I will format all partitions (except sd card, of course) before flashing, this is not my primary phone, after all, so I wont loose anything.

I would be happy if I get any recommendations for working kernels(I dont have this problems with official rooted 2.3.x ROM), as a last resort option.

Thank you for your efforts. [MENTION=4891658]rjand[/MENTION] This is what I do - I have been around here, and will certainly try not to waste time of people with dirty upgrade issues.

All links fixed:

logcat_radio.log

logcat.log

dmseg.log

last_kmseg2.log
[Desire HD Android Development] Mustaavalkosta:
I'm not sure if there are any other working kernels. KangBang was pretty much abandoned after I forked it for this rom and newer cfxe builds were using my kernel fork. JT kernel is now also based on my fork as far as I can tell but don't quote me on this as I haven't watched it that closely. And that's pretty much it on ace's kernel front these days for JB builds as far as I know. I wish we had someone in the community with sole interest in kernel because I don't see myself as a kernel dev per se. It's just something I had to try to do to the best of my abilities as there was no one else doing it.
[Desire HD Android Development] deckoff:
Unfortunately, I am a dentist, and my unhealthy interests cover HTML/CSS/javascript/php/sql only. So, I cannot help either :( I will play with governors and see if this helps...
[Desire HD Android Development] darko1x:
hey all i need a good kernel can someone give me a link pls ? i'm experiencing a very strong battery drain ( 9hours max !! ) i'm using Unofficial CyanogenMOD 10.1 SR3
[Desire HD Android Development] rjand:
Most likely nothing to do with the kernel, but with some of your installed apps. Get Wakelock Detector from the play store here https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector and see what is causing your phone to use the battery. Google Now and Google Location services can be big battery drains. Search this thread, many people have reported fixes / resolutions for battery drain.
[Desire HD Android Development] Largamelion:
Ok thanks for the feedback. I barely use voice navigation but for long journeys I have found out (the hard way) it 's best to turn it on if I don't want to miss any turns ;). Right now, I have Waze configured to play its audio through the device and not over BT, but that makes it very hard to understand since the DHD has such a crappy speaker.
[Desire HD Android Development] cyb3r.pr3dat0r:
If you plan on next release can you try adding https://github.com/nhaarman/ListViewAnimations , listview animation is mindblowing :)
[Desire HD Android Development] omernaeem17:
Facing following Issues in SR3

♦Battery Drain in Back

My phone never goes out of battery but since last night it was 56% charged, and today when i woke up, phone was turned off and when i connected it to wall charger orange led blinked and after like 15min it started charging, means it was completely out of charge (Battery is new and Health is Good) works perfectly fine on latest nightlies

I have only one app installed ''Facebook'' :p

Max Clock freq 1.024Ghz

min 149 Mhz

Governor smartassv2

I/O scheduler fiops

♦Unresponsive Touch screen

Just like other SR versions the bug is still here, Sometimes some keys in keyboard don't work, I use double tap to awake sometimes it also doesnt work!!! though Turning OFF and then ON Screen using power button helps :D

With latest Pref-kernel random reboots and Sudden deaths are gone :)
[Desire HD Android Development] hdorius:
I doubt Musta will add it, cause he wants to make the rom pure like CM should be, but if u want to try it, u can install XuiMod module for xposed, it has that features if i remember correctly..
[Desire HD Android Development] NonoWeber:
Just updated my Inspire 4G from CM7 to this ROM. Thanks to the devs for a really nice piece of work.

I had a small issue installing Beautiful Widgets, but once I deleted it's folder from /data/data, all was good.

NanoWeber