yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] rskyline:
I think that the issue is on how much data you have on your Microsd card. When i waa having lag i tried to remove the sd card via settings and it improved the performance. Dunno if with less data the android.process.media will hung CPU the same way tho...

Enviado desde mi Nexus 4 mediante Tapatalk
[Desire HD Android Development] Mustaavalkosta:
Yeah, that may also have an effect to some degree but I think the bigger issue lies within MediaProvider threads and how system prioritizes those threads in comparison to other processes.

That being said, I think I may have found something that could fix mitigate this issue and I will produce a new build manually since the old codefi.re server has broken cron daemon which rendered my crontab useless and I'm still in process to figure out this migration to new servers.

These thread priority changes may have unexpected side effects elsewhere (thumbnail generation may take longer etc.). Feedback is welcome. My short testing felt somewhat promising though.

The build should appear on codefi.re and goo.im download sites within a couple of hours. Now I need to hit the bed though.
[Desire HD Android Development] evronetwork:
I'll tell you an irrelevant story which will became relevant in the end:

Today I've put MIUI rom in my phone, I went here: http://en.miui.com/download-12.html and downloaded the latest and "greatest" version 5 that I've been hearing. At first I was happy to see it's android version is the 4.2.2 rather than the 2.3.7.

So I've flash it and booted up, everything wen't smooth but WAIT..what's this? ..it was some sort of agreement in Chinese(yeah right like I know what in the hell does it mean).. I accepted without understanding anything and go on, after that it prompt me to choose a language, I said all right now we are on a familiar ground. So I've choose Greek(as I'm Greek) and continue through the wizard. Finally after a few steps I was right there. The MIUI v5 itself, all right lets see what this babe can do.. I went to settings and it was in English, alright no Greek support just the ability to write in Greek(keyboard) ..which I could add it later on anyway! So I moved along and saw that even if it was in English many things where having Chinese beneath them, so if you go to sms you see something like Message on top and the same(probably) in Chinese exactly right under.

The most part of MIUI is closed source but I did notice some funny thing about the kernel so I've search it a bit, what did I find? ..the kernel was a version of Mustaavalkosta kernel, with date of 24 Sept 13(if I remember well that it, I've remove the rom like 2 hours ago give me a break :D ) heh ..nice(that was the relevant part), so I was thinking why a great Chinese team can build something like MIUI and doesn't work their own kernel.

Thank's man(Mustaavalkosta) for the roms you are providing us :-}
[Desire HD Android Development] hopesfall190:
Bugs

I have been bouncing between roms and for some reason these new bases have soo many bugs. When i flash this rom keyboard crashes immediately iam sure there was a discussion how to fix but it would be smart to post on the front page explaining how to get a keyboard working. I always do a full wipe when installing a rom
[Desire HD Android Development] pauleversham:
May be you are flash wrong gapps. Try reflash latest gapp for 4.2.2 at http://goo.im/gapps/gapps-jb-20130812-signed.zip. :laugh:

EDIT: if problem not solve. You can try full wipe and go to mount and storage format system then flash rom + latest gapps again. Hope this help.
[Desire HD Android Development] hopesfall190:
The gapps i flash is the 20130813 which is a day difference is there really a difference
[Desire HD Android Development] Maurice5813:
Can anyone recommend me a nightly? Which day do you think is most stable?
[Desire HD Android Development] Chevyguy85:
Going off memory here but I think that one is for 4.3 rom which won't work with this rom

---------- Post added at 09:50 PM ---------- Previous post was at 09:49 PM ----------

I had no problems with the Oct 14th nightly, Haven't tried the one that was posted today since I'm trying out your rom right now.
[Desire HD Android Development] Maurice5813:
Alright thanks, if you have any luck with the new build please let me now;)
[Desire HD Android Development] pauleversham:
I'm follow your link http://en.miui.com/download-12.html and download lastest Miui rom, after that i install kernel http://downloads.codefi.re/mustaavalkosta/cm-10-1-unofficial-ace/releases/kernel-EXPERIMENTAL-M3.zip by [MENTION=3382363]Mustaavalkosta[/MENTION] and flash gapps for Miui. After that, everything working perfect (wifi, data, tethering,sound...). You can see my screenshot and antutu benchmark. Thank

[MENTION=3382363]Mustaavalkosta[/MENTION] for awesome kernel and your work. (I'm love your SR2 rom):highfive:
[Desire HD Android Development] evronetwork:
I didn't flash the kernel, I see that they are using Mustaavalkosta's kernel in their latest MIUI v5 for our phone! so if they thought to use this kernel they think it's a good one ;-}

EDIT: I failed to mention although I'm permanently rooted when I flash MIUI and tried to use some apps they couldn't run properly because I was "rooted" heh :P

EDIT2: I've found, a packet to flash to really support a language in MIUI other than English/Chinese, I'll give it a try to see if I hate MIUI a bit less. The only reason I do these MIUI tests is because I'm thinking really serious on getting a new phone(I've got it about 2 years now and although it's not much I've found a bargain but has MIUI as default OS)

After testing the MIUI I've put the lastest one, it works like a charm :}
[Desire HD Android Development] Chevyguy85:
Did the Inspiremod stop working? I've flashed it twice and I'm still branded as DesireHD in about phone. Could have sworn it changed with the Oct 14 nightly. The naming doesn't really matter, other than my own brain, was just curious though.

Also thought the torch fix was baked into the nightlies now, if it is then that doesn't work for me either. I'll just flash the fix though.
[Desire HD Android Development] Teichopsia:
It should work. If you got the file from musta, check if you have the revamped-nobranding or the other one which does change the branding.

Sent from a dream.
[Desire HD Android Development] Chevyguy85:
I've got the revamped one. I guess I'll download it again maybe the one I've been using all these months got corrupted or something. Thanks.

Sent from HTC's "too hard to implement ICS" Inspire 4G running JB 4.2.2
[Desire HD Android Development] sashank:
I'm pretty sure there's a noticeable camera speed improvement in 20131027 build. I tested it a few times to make sure it wasn't placebo, and startup and picture taking seems faster. I haven't noticed any slowness with thumbnail generation yet. I'll use the camera more for a few days and let you know how it fares. As of now, camera certainly seems faster than before. This was a small but much needed improvement. Thanks!
[Desire HD Android Development] Mustaavalkosta:
Thanks for the feedback. Sounds like I probably finally found what I had been looking for earlier. Obviously, we can't make the phone physically any faster but at least we can cheat a bit by lowering the priority of some heavy tasks so they don't clog the CPU. :)

In case someone is interested what I did, here's the commit: https://github.com/Mustaavalkosta/a...mmit/b07631522c9a001555b988c973ee5dc87563a589

It could be that only MediaScannerService.java change is needed though. I just went berserk and lowered anything that looked like thread priority because I didn't have time to test it properly.
[Desire HD Android Development] demanzke:
I can definitely confirm your test, the device runs much smoother with active media scanner in this version even though in a task manager it looks like it actually uses more cpu now. Appreciated as always.
[Desire HD Android Development] rjand:
Great work again dev. It's unbelievable how great our devices are running compared to some of the newer phones with all their bloatware.
[Desire HD Android Development] Gastozz:
I still have a problem with huge lag after close camera..
[Desire HD Android Development] Mustaavalkosta:
I reverted some non-thread related priority changes on MediaProvider and patched kernel to EOL version 3.0.101 and made a new build. It's available on codefi.re. It looks like goo.im is doing some moving too and for some reason the upload server has read-only filesystem at the moment so I couldn't successfully rsync the new files there. New perf version of the kernel is also available.
[Desire HD Android Development] mlotek01:
thank you Mustaavalkosta for this rom. For now I use the SR2 version. Stable and fast for daily use. Will you compile for example SR based on Android 4.3/4.4 ?
[Desire HD Android Development] Mustaavalkosta:
It's on the to-do list. I still don't have working display with the newer qcom/display codebase and I don't want to revert back to the old codebase we had in use a year ago. Sadly, I'm not much of expert on this display stuff and my time is limited these days so it's not progressing as fast as I, and probably everyone else, would like it to progress.
[Desire HD Android Development] Chevyguy85:
You are progressing far more than I ever could. I'm impatient but I understand I suck and have to rely on others thus I deal with it. Thanks for the work that you and others do to keep our aging device relevant! One of the major reasons I've yet to upgrade is because of the excellent dev community. Just flashed the Oct 27th nightly yesterday and now I'm off to find the newest one. I'm becoming a flashaholic yet again.
[Desire HD Android Development] KalZakath:
Hey OP, imho you should skip 4.3 builds and start development of 4.4 wheb source will be avalible;)
[Desire HD Android Development] evronetwork:
I'd prefer if he works on the charging led (Is this fixed? I didn't check it out although I have flashed the latest nighlies). When you charge the phone and it's full for example when you remove the cable it should be instantly off and not Green for a few seconds(even minutes!)

Also the answer-speak delay-bug. When you answering a call for 1 second the other party cannot hear you out :confused:

All in all I appropriate your work Mustaavalkosta, thx for powering up our phones and make them work ;-}
[Desire HD Android Development] Chevyguy85:
I don't know if it's fixed or not but it just turned off when I unplugged it at 100%. Minor annoyance for some (screwed me up every now and then) and probably not a top priority for the developers.

Can't comment on the call problem as I rarely use my phone as a phone, I don't recall that happening but it could and I just don't notice it.

Considering our phones stoped getting official support with Gingerbread 2.3.4 if I remember correctly and we're up to mostly functional Jellybean 4.2.2 and close to daily driver functional on 4.3 (or somewhere around there, haven't paid all that much attention to 4.3) I'd say we're doing pretty good with our 2.5+ year old phones.
[Desire HD Android Development] Largamelion:
Both the issues you mention have been fixed quite some time ago afaik.
[Desire HD Android Development] evronetwork:
2.3.7 mate, not 2.3.4. I've got my phone less than 2ys but I know what you mean. The answer delay is only when you answer, when you call it's fine. It's not always good to have latest version of android if it comes with bugs, currently 4.2.2 android is as stable as the latest 2.3.7 android from htc even more stable than that, but 4.3? that needs quite work to be stable. If the led-charging-bug is gone(I'll test it once more today) and the answer-delay-bug is solved I see no other reason on why we can't move one.

HTC Desire HD and android 4.3.. who could ever dream about it? and all this to a bunch of people who are not even paid! HTC suck it :P

Now imagine if all the device driver were open source, the xda community and the cyanogenmod community could make true miracles, even HTC would not believe.

I don't think so, although I just recharge the phone and the led issue stopped so it should be fixed(or just lucky this time), it was there a few nighlies back I can assure you.. about the answer-delay-bug I'm not sure.. I always wait 1-2 seconds before I speak but I'll try to speak immidiatly to someone to see if it's fixed(I'll edit the post after I test it tommorow at work :P)

--------------------

EDIT: Voice-delay-bug issue is present, charge led delay seems to be fixed
[Desire HD Android Development] rjand:
From memory the LED bug did come back again for a few of the nightlies last month, but it is currently fixed. Possibly due to the phone working so hard and causing a delay more than any code change.

On a different note, with the latest 1029 nightly I have been getting a hot reboot daily - I know that it is just 3 days. I use the Swype keyboard and I would get the keyboard stuck on the screen, the apps below the keyboard are still responsive so I can quit them, the home screen is still responsive, but I can't get the keyboard to go away. If I use the power button to turn off the display and then turn the display back on again it does a hot reboot. Sorry I'm never near a PC to get a logcat when this happens.

I'm using the latest performance kernel and the torch fix.

Is there any thing I can do Mustaavalkosta to help you debug this?
[Desire HD Android Development] Z_0r10n1S:
I'm with latest nightly and last perf kernel me too and the power button issue there isn't.
[Desire HD Android Development] Chevyguy85:
Yep the LED seems to be fixed on the 10/29 nightly. Might be just my imagination but I seem to be getting more on screen battery drain than the previous nightlies. Even older ones where I was using a performance kernel like I am now. Might have to try it w/o the perf and see how it goes.
[Desire HD Android Development] Z_0r10n1S:
I noticed a bigger battery drain than previous versions too. It's early to talk about it cause I've done few circles of calibration. But for now there is. Please let me know if without perf kernel the problem is solved.
[Desire HD Android Development] Chevyguy85:
Glad it's not just me. I'm down to 83% with only 6h 45m uptime and 11 minutes screen time.

Will dirty flashing the rom get me back to normal kernel? Not really feeling ambitious on doing a clean flash just for the kernel. Or is there a flashable file that I can use just to get the non perf kernel?
[Desire HD Android Development] Mustaavalkosta:
Just re-flash the rom zip and you are back to the default kernel.
[Desire HD Android Development] 730000229:
Am I missing "stay awake " while connected to charger?

Edit: found in developers option
[Desire HD Android Development] rjand:
Getting lots of apps becoming unresponsive on latest nightly with latest performance kernel - Android browser, Twitter, Google+, display slow to update at other times. I think it looks like the phone in general is becoming unresponsive whilst I have those apps open. Wil try and get a logcat.
[Desire HD Android Development] Mustaavalkosta:
Does it work with the previous kernel version? I'm just wondering if it's something caused by LK patches or possibly some unexpected side effect from MediaProvider changes.
[Desire HD Android Development] yoyo_77:
+1
[Desire HD Android Development] rjand:
Oct 27 nightly and the latest performance kernel at that time were okay, although they had the strange behavior that if Wi-Fi and mobile data were both off the tone would go funny. No problems on Amy previous ROM's using that same performance kernel.

I'll flash the previous performance kernel over this ROM and see how it goes. If the problem still persists, I'll try the latest performance...

... kernel on the previous ROM.

The dots are were I had to reboot and install the previous performance kernel as I couldn't edit this post any further without the keyboard becoming unresponsive.

Edit - still early days, latest ROM, previous performance kernel, definitely feels more stable. Just the one time Twitter became unresponsive, but no further problems with it after quitting it and going back into it. Everything else okay, phone in general feels more responsive.

Edit 2 - a few more hours and still rock solid. Definitely looking like it was the new kernel that caused the problems.
[Desire HD Android Development] evronetwork:
It's fixed at least since 27/10, about the battery you might need to consider the battery age/usage and your kernel ;)

I'd love after a fix of the answer-delay-bug to be on 4.4 android, it's suppose to be optimised for low end devices with 512mb ram or less, it should work like a charm in our phones :D
[Desire HD Android Development] Maurice5813:
That 512mb ram or less rumor is false. Android 4.4 really is just optimized for devices no "older" than 2012. The Galaxy Nexus isn't even getting the update, and it isn't low-end at all. Also samsung removed some low-end devices from their 4.4 update list also. I wouldn't say android 4.4 would run good on the desire hd either, sense stock 4.4 withput gapps is a good 380MB. Android 4.3 was like 180MB to 200MB. So I doubt it'll run smooth.

---------- Post added at 07:25 PM ---------- Previous post was at 07:20 PM ----------

Hey can you make a mirror? The file host your using takes about 40 minutes to download 20131029 build, only 3 minutes for 20131027:confused:
[Desire HD Android Development] evronetwork:
It would run just fine, companies drop support so they would push us to buy newer phones.

512mb is enough for kitkat android, here's the official google blog:

http://googleblog.blogspot.gr/2013/10/android-for-all-and-new-nexus-5.html

Search for 512mb ram, google is your friend :P

If you are lazy I can quote an important part:

"RAM (or memory) is one of the most expensive parts of a phone, and now Android can run comfortably on the 512MB of RAM devices that are popular in much of the world, bringing the latest goodies in Android 4.4 within reach for the next billion smartphone users."

So android 4.4 would be perfect for our phones (if devs eliminate all other bugs that might pop up)

P.S. I downloaded quite fast the 20131029, maybe some temporal issue? :)
[Desire HD Android Development] humzaahmed155:
Ah, I knew the GNex was going to be brought up at least once :silly: the reason why Google ended support for the Galaxy Nexus is simply because the SOC OEM that Samsung relied on (Texas Instruments) pulled out of the mobile CPU business, which also means they didn't provide sources needed to run Android 4.4 on the OMAP CPU used in the GNex, just look at how far the nexus s got too.
[Desire HD Android Development] ADB100:
I am seeing these unresponsive applications with the nightly from 29th October without the performance kernel. As far as I can see its all apps (even Trebuchet) that are affected. The dialogue box usually appears (although not always?) asking me to either Wait or Close the offending app. The browser seems to be particularly susceptive - just reading BBC news this morning I had to force stop the browser 4-times as it just froze. I had to reset the whole phone this morning as the 'Manage apps' froze so the workaround to manually stop the app was not available....

Which nightly (or SR2?) am I best to move back to as I am going to be working away for 3-days and this behaviour will probably cause me some problems...

Cheers

Andy
[Desire HD Android Development] pjadec:
Same problems here, I returned back to SR2 which works well.
[Desire HD Android Development] yoyo_77:
The best ? SR2 or Nightlies 20131014 ?
[Desire HD Android Development] pjadec:
You can test it yourself if you want to know which version is better for you.
[Desire HD Android Development] evronetwork:
I have absolutely no issues at all! I use the 29/10 for a few hours and then put the performance kernel and it works like a charm for 2 days now. (Dirty flash from 27/10)

Before that I had 27/10(clean flash) which was stable too, I had that about 5 days and no problem at that version too.

Is it clean flash or dirty? ..maybe something left behind ;)

EDIT: I just had my first hot reboot with 29/10 (nothing opened, I just had wifi enabled and tried to disable it. Boom black screen and the boot logo of CM) - Didn't happen any other time and I'm opening wifi and closing it without issues. Battery level was 20% and after the reboot was 13% (for what's worth, just mention it)
[Desire HD Android Development] rjand:
The Oct 27 nightly is okay to use, if your phone can run the performance kernel you can use the Oct 29 nightly with the previous performance kernel from Sept 16.

It just seems to be the Oct 29 kernels that have the problem.
[Desire HD Android Development] evronetwork:
It might be an isolated case, I'll know in a few days if the hot reboot occurs again or any other unusual things :P
[Desire HD Android Development] ADB100:
Just flashed the performance kernel from Sept 16. I'll see how it works out...
[Desire HD Android Development] Mustaavalkosta:
The two most recent nightlies have experimental MediaProvider changes in them in addition to 3.0.96 -> 3.0.101 LK patches. So I guess anything before those are ok. At least I haven't accidentally broken anything on them.

Hot reboots tend to be adreno related most of the time. Stack traces come from closed source blobs and those blobs haven't changed for quite a while.
[Desire HD Android Development] ADB100:
So the nightly from October 14 should be OK and stay away from the 27 & 29 October nightlies.....
[Desire HD Android Development] Mustaavalkosta:
Sadly my alternate mirror, goo.im, is in the middle of migration process and I don't have a third hosting at my disposal.

Yeah.
[Desire HD Android Development] evronetwork:
Hopefully these will come in a very rare condition, I can't go back where android 4 use to crash/hot reboot every minute or so. I tried some roms with android 4.3 and the UI keeps crashing in less than 1 minute on average even if I'm not doing anything, it's like 4.3 is as what 4.0 was to our phones when we had 2.3.7, hopefully people like you will keep trying to get us newer versions with no bugs or minor ones.
[Desire HD Android Development] Mustaavalkosta:
Well, they are as rare as they have been this far. I used to get those most of the time with screen-off animation when ace was still my daily driver. You can turn that animation off under the display settings to minimize the risk with that specific animation.
[Desire HD Android Development] evronetwork:
I always disable the screen off animation :p
[Desire HD Android Development] Chevyguy85:
Changed back to the Oct 27 one since I screwed up and wiped my phone when I meant to just clear the caches (stupid me). Get random app freezes and had my first random reboot. Still stable enough for me not to bother going to an older version. Phone does not like getting down to 150 or less free ram then all kinds of slowness happens. Even though it's touted as stupid I wish there was a way to force the no more than 4 apps option from developers section. Doing that usually solves most of my slow down problems. Battery drain seems to be back to what I consider normal. Also don't understand how my original battery is still alive and kicking, even more shocking is there is no discernible difference between that one and the new one I bought a few months ago.

*edit*

Got bored decided to clean flash to 10/29. I had put TWRP on my phone a few days ago just to see if I liked it on my phone as much as I did on my HP Touchpad, I didn't. Went back to 4EXTand now the Inspire mod works. Odd, wonder what TWRP doesn't do that 4EXT does.
[Desire HD Android Development] evronetwork:
I got another hot reboot trying to run basemark x free

that's it I'm going to flash and older kernel and if the problem persists I'm going back to 27/10 which was stable for me
[Desire HD Android Development] rjand:
Oct 29 has been rock solid for me since I flashed the Sept 16 performance kernel over it. I have the screen off animation turned on at the default setting.
[Desire HD Android Development] omernaeem17:
Latest 29/10 Pref-kernel doesn't work With SR2

Facing problem

"Random black light of death hangs"