yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] a user:
ok, first regarding my drain... i flashed back the yesterday release 20130117 and drain went back to normal, 2-7mA.

regarding memory performance, on the this night release, 20130118 i had significant better ram throughoutput scores with quadrant Oo, but the above mentioned 30-50mA drain.

regarding my mount option for data and cache:

actually the changes to what currently is used are: disable delayed allocation and enabling barrier. currently delayed allocation is enabled and barriers disabled. the most safiest ist barrier on and da off, but this is also the slowest.

barrier on and da off is safer than the current ones AND faster, MUCH faster as my tests reveal. the full remount settings are:

mount -o remount,noauto_da_alloc,nodev,noatime,nosuid,barrier=1 /data /data

mount -o remount,noauto_da_alloc,nodev,noatime,nosuid,barrier=1 /cache /cache

p.s. at for me i found that using sio + 1024 readahead cache for the intternal memory works best on this rom (this is quite kernel dependend because on others usually i had deadline working the best). for my sdcard i am using also sio + 2048 readahead.

p.p.s. i will release today a new script pack including this and consolidating all settings into a single file. so you don't have to look over the place to change some sttings.

EDIT: I DO NOT KNOW WHY XDA FORUMS ARE SHOWING A SPACE IN THE WORD BARRIER. THAT'S WRONG!
[Desire HD Android Development] synergye:
Re: [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies

Nice work, time to test those out with power loss.

Edit: ignore the initial post before the edit, I read the flags backward.

Edit2: testing now before committing to fstab.spade.

sent from codefireX
[Desire HD Android Development] a user:
let me know if you can confirm the improvement. tweaks need not always affect all devices the same.
[Desire HD Android Development] michelD:
Hi a user,

No problem here with of screen consumption (2-7mA ) with 20130118 (dirty flash + 2 reboots) and smartsss2 gov.
[Desire HD Android Development] ayanamirei33:
I think expanded desktop would do that. Settings --> System, then enable in power menu.
[Desire HD Android Development] Mustaavalkosta:
Have you tried any other music player apps than Apollo? I mean is this a problem only with Apollo or every music player app?
[Desire HD Android Development] ADB100:
The JRTStudio Android Music Player works - When viewing the attachment there are two options - SAVE & PLAY (previously there was INFO & SAVE). When PLAY is selected a small dialogue box appears in the centre of the screen with a Play/Pause button and it begins playing the attached .mp3 file. This is a bit of a dated application and has been replaced 'Rocket Music Player', however this didn't work for the attachments. I should probably check out some other music players as I have lots of .wma files that I can't play at the moment as well...

Andy
[Desire HD Android Development] ivicakc:
-.-

how to activate s2w? I'm blind -.-

tnx
[Desire HD Android Development] pnoire:
Download the zip file available in this post http://xdaforums.com/showpost.php?p=41379532&postcount=2380 and flash it in recovery.

The script will make the needed change in /sys/android_touch/sweep2wake.
[Desire HD Android Development] thachtunganh:
My laptop is now repaired ;). Windows 8 Pro is installed on it! It runs well.

Also my laptop has 2 more GBs of RAM, now it has 4GB of RAM! Thanks to my dad :D

But i don't know how to install Ubuntu on it, anyone know it?
[Desire HD Android Development] gc_geforce:
You can Download a version that will install to a directory and then add a selection to your boot screen and then when you reboot you select either win8 or ubuntu. When I find the download link for you I will post it for you. You do not need to create a Linux partition any more.

---------- Post added at 03:08 PM ---------- Previous post was at 03:05 PM ----------

http://www.ubuntu.com/download/desktop/windows-installer
[Desire HD Android Development] thachtunganh:
Thanks,

but are you going to show me Wubi Installer? If yes, that won't help anyway, Wubi doesn't supports Windows 8, and it only supports 30GB of free space, i need more.

And still thank you ;)
[Desire HD Android Development] gc_geforce:
I posted this info for you but forgot to quote your post.. Sorry

---------- Post added at 03:16 PM ---------- Previous post was at 03:10 PM ----------

Sorry I did not know about that limitation.
[Desire HD Android Development] MusikMonk:
If your problem is UEFI related, check those guides:

https://help.ubuntu.com/community/UEFI

http://askubuntu.com/questions/2218...pre-installed-uefi-supported-windows-8-system

(I use Arch Linux, so I haven't tested either).

Otherwise, nothing should be different. Unless you want to install it inside Windows then I suppose virtualization is the way (personally I use and recommend VirtualBox for that purpose).
[Desire HD Android Development] thachtunganh:
Thanks, i know about VirtualBox, but i don't want to use it, if i use VirtualBox, i only have 3GB of RAM for the Ubuntu Machine. And the Ubuntu machine will run slower right?
[Desire HD Android Development] MusikMonk:
Yes. It won't be as fast as a normal install that directly and exclusively accesses the hardware.

If that's what you're looking for then you would want to check the other links. The official Ubuntu guide (first link) seems decent.
[Desire HD Android Development] gc_geforce:
Does this ROM support app2sd so I can use a EXT3 partition on my SDcard for install apps on? sorry for a Noob question.
[Desire HD Android Development] Killy77:
Hi Dev,

Is there anyway we can have accuweather or google as location/weather provider?
[Desire HD Android Development] snappycg1996:
I've been using RC1 ever since it came out and it's been amazingly wonderful :) I just have a small question...

Is there anyway to get the default 4.2.2 lockscreen instead of cLock to display? cLock is good and all but I like the default font/look of the lock screen clock. :)

I've tried Holo Locker, but it disables widgets, I just wanted the default lock screen with widgets like on 4.2.2. Removing cLock on the lockscreen just places it back again, if nothing else is on my lock screen for widgets.

It's okay if I gotta use cLock, but I just wondered about that option. :)

Thanks Dev, and everyone else, this ROM is simply amazing! ^.^
[Desire HD Android Development] jmenc:
Default clock

Try to remove all the lock screens: swipe down the lock, then long press the screen and move to trash.

After removing all, turn off the screen. When turned on the default lock screen should appear again.
[Desire HD Android Development] snappycg1996:
Thank you very much for your reply :)

Although cLock is the default clock for CM10.1, so it just reappears :( In other JB roms it shows the default 4.2.2, with cLock as a addable widget.

If I can't get rid of cLock, it's okay, I just was curious :)
[Desire HD Android Development] Steam.:
Remove all lockscreens and place one with the digital clock widget?
[Desire HD Android Development] WordsworthESP:
I'm using a Minimalistic Text widget I edited that's reminiscent of the ICS digital clock, and once I removed cLock, it didn't reappear. I didn't create it, though I did have to heavily edit it to get it completely centered and even... it's not perfect, but it's close. I could export it and upload for you, if you'd like, assuming that's similar to what you're wanting.

Though I can almost assure you there is in fact a way to have the JB digital clock as your main lockscreen widget.

Sent from my Inspire 4G w/CM10.1
[Desire HD Android Development] Simonekl:
battery drain very fast on RC1,its big problem.
[Desire HD Android Development] Mustaavalkosta:
I suggest you check your apps with this: https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector

I get 2-3 day uptimes with minimal use so I can't say there's much (idle) battery drain.
[Desire HD Android Development] l33ch0r:
I got an issue with WiFi. It seems like the device isn't interested in connecting to my router anymore. Says connecting for two seconds and then nothing...I belIeve it's the Rom or my device since nexus 7,tf300, galaxy s2 and galaxy y don't have that problem :/

Airplane mode and reboot didn't solve the problem. However now I just switched WiFi on after having it disabled a few minutes and it connected within seconds without problem.

Weird but I guess my problem is solved so y'all can ignore what I just said :D
[Desire HD Android Development] 350Rocket:
Mine only broke WiFi when I tried to flash s2w kernel and it failed. Restored my backup and WiFi is fixed. No s2w for me I guess. Not a big deal.
[Desire HD Android Development] xZeroMancerx:
So mustav, as long as one doesn't do clean wipes with your rom this userinit.sh zip with s2w will remain with the system ? Because I always do fresh installs of your roms..so I guess that means ill have to reflash that userinit zip ? Does that zip make s2w activated automatically so there's no need in using terminal
[Desire HD Android Development] snappycg1996:
Thank you very much :) if you could, when you have time, please port it for me :) is there any way to have the clock in the upper right hand side though? :) thank you!

Sent from my Inspire 4G, running CM10.1
[Desire HD Android Development] asif9t9:
I am also on the latest nightly (I update every day) and I have been noticing my phone disconnecting from Wifi and not reconnecting. I do use a simple app called Y5 Battery Saver to disable wifi when I'm not near my router. But never had a problem until recently.
[Desire HD Android Development] Mustaavalkosta:
Have you changed any system settings? I mean vm.min_free_kbytes and the likes? bcmdhd module is having some page allocation issues with vm.min_free_kbytes lower than 8096 (I haven't tested what's the lowest working value. System calculated one didn't work.).

userinit.sh resides on /data/local/userinit.sh so as long as you don't format /data it stays there and yeah, it activates the s2w at boot time. What would be the point of that zip if it didn't do that? :)
[Desire HD Android Development] daedric:
As anyone been able to use AVCRP with any of the latest versions ? Both GP Music and Apollo will not send track title or any other info to the headset. GP used to work with other roms (non sense), can't be sure about apollo.
[Desire HD Android Development] l33ch0r:
No haven't changed anything like that :)

Only thing I changed was density to 200dpi ;)
[Desire HD Android Development] daedric:
Maybe your router's DHCP server was blacklisting your mac address for a while. Hard to know.

Try to replicate :)
[Desire HD Android Development] Maxxy13:
I remember there was a commit some time ago allowing to preserve gapps when flashing new nightlies. Any chance it can be resurrected?
[Desire HD Android Development] a user:
that's working since at least february.

flashing any nightly or M-series or RC over an existing one without wiping system preserves gapps. that's also stated on the OP.

edit: and there is no need to resurect it as it still works fine as usual.
[Desire HD Android Development] Maxxy13:
Thank you. I guess something went wrong with my last attempt. Let me give it another try...
[Desire HD Android Development] a user:
hmm, my last version i flashed was the nightly from 15.05 and it worked fine.
[Desire HD Android Development] iman.ch.r:
is there a way to increase sound?

my music is played on sense roms much louder
[Desire HD Android Development] Sajtqkac:
Hi,

Yesterday my Play stopped working properly because I wanted to update Viber app and when it opened it said "this application is incompatible with this device". I tried to delete cache, I completely reinstalled Play, I reflashed gapps, I deleted Viber (I have to install it back with titanium backup). I don't want to do reinstall the complete ROM so I ask for help about this. Is there any solution for this problem?

Sent from my C64 with ADSL
[Desire HD Android Development] adam_purkis:
That's strange, what version/nightly are you on?

I just updated viber yesterday through the play store and mine works fine. Not sure what to suggest. Have you changed DPI?
[Desire HD Android Development] Sajtqkac:
I'm on RC1 and yes, I changed DPI but I changed it back when I tried to fix it, and still doesn't work.

Sent from my C64 with ADSL
[Desire HD Android Development] senso36:
Is the best rom 4.2.2 for DHD, thanks :good:
[Desire HD Android Development] :
ive got graphical glitches on Splashtop 2 & Kainy.

On Splashtop 2 you can enable compability mode, to fix the error.

but it gets much slower.
[Desire HD Android Development] FireBlast:
Hi

I've got several reboots in one day. Here is the last_kmsg from the last one. Please take a look.
[Desire HD Android Development] Mustaavalkosta:
For some reason that log seems to be from the recovery kernel so it's not much help. :(

Linux version 2.6.35.10 (mx@ubuntu) (gcc version 4.4.3 (GCC) ) #2 PREEMPT Mon Apr 30 19:52:46 CEST 2012
[Desire HD Android Development] bcd420:
Try deleting your google account. Then reboot and add it back.
[Desire HD Android Development] FireBlast:
I've got your last_kmsg zip to flash in recovery. Is it I made a mistake or there is a problem with your zip file?
[Desire HD Android Development] Z_0r10n1S:
Tried RC1 with clean install and it's very nice! Great work!

So to revert back after flashing s2w zip is it enough replacing backup of .sh file?

Thanks in advance!
[Desire HD Android Development] Mustaavalkosta:
Difficult to say. I tested it in cwm recovery and it worked fine there. If you restarted recovery or booting of rom started, last_kmsg from the crash will be overwritten.

There shouldn't be any userinit.sh file if you haven't created one so usually you can just remove the file and reboot.
[Desire HD Android Development] Largamelion:
Finally got to installing this rom. Been running CFX for the last couple of months but ever since it moved to 4.2.2 it 's been bugging me with random reboots and freezes. Since the DHD is my only phone, I need a stable rom as daily driver so I 'm hoping this one will fulfill my needs :).

Been running RC1 for a couple of hours and it looks alot more responsive, no freezes or random reboots so far :good:.

The only 'issue' I have is the capacitive buttons going dark after 5 seconds. I have searched this thread and found a couple of posts about it and if I 'm correct it is not possible to change the timeout in CM? I will look for a possible patch but if anyone knows a solution, feel free to fill me in.

Many thanks to the dev for the great work.
[Desire HD Android Development] Sajtqkac:
I tried it first but it didn't help. :( But finally I solved it. I downloaded LCD Density Changer, changed the DPI (after that it didn't want to reboot), reflashed ROM and Gapps, changed DPI with build.prop editor, reboot, and it's done. :D
[Desire HD Android Development] pgptheoriginal:
Did anyone try the new instant messaging app by Google called Hangout? I can't receive messages and calls with this app, on my Desire HD, while on a stock Nexus 7, an iPhone 5 and a CM10.1 Optimus G it works well. I don't know what is preventing this app from running in background, only on the DHD.

I'm running the latest release of this ROM (RC1), and other IM apps like whatsapp and Viber work flawlessly :/ any ideas?

Edit: the app seems unable to keep running in background: if I close it from the multitasking screen it disappears from the list of the running applications (in Settings - Application); if I close it using the Back button, its process and service remain active...
[Desire HD Android Development] AndreiMel:
i have an anoying bug...wi-fi turning itself off ...i'm on M3 room ..any fix?
[Desire HD Android Development] Mustaavalkosta:
You are correct. It's not possible to change it. 5 seconds is hardcoded in the frameworks after rmcc's temp fix to even light them up as Google killed backlight support for capacitive buttons altogether. I made it configurable for codefireX but due different goals on these projects I'm not going to include it here.

It seems to work fine for me although I haven't really tested what happens after clearing it from recent apps.
[Desire HD Android Development] Rdlgrmpf:
Why does everyone have a problem with the timeout of softkeys? I mean why would you need the light if you know where they are anyway
[Desire HD Android Development] avemt1:
The function that app2sd performs is integrated into the manage apps menu. Just slide over to 'SD card' and it will show all the downloads able to be put on the SD card. If the box is checked, then it is on the SD card.

---------- Post added at 10:25 PM ---------- Previous post was at 10:21 PM ----------

'Google now' has a weather tile that can be generated to one of your home screens. I forgot how to do this, so please forgive me for not providing instructions. Not sure if lock screen weather function is Google or some other service.

---------- Post added at 10:33 PM ---------- Previous post was at 10:25 PM ----------

The only way I was able to increase sound was to top out my equalizer in DSP internal application. Hope this works for you also. No problems with speakers.

---------- Post added at 10:43 PM ---------- Previous post was at 10:33 PM ----------

The light for soft keys is helpful if you are in a high glare situation or a dark room. Even if you know where they are, you may have to hunt for the button you need. Muscle memory is not standardized for humans. As you know the brain builds its own operating system. So someone who is not a power user, but wants the functions of 4.2.2 needs to be able to see the buttons. Otherwise, they are just fumbling with the phone to get it to work the way it needs to.
[Desire HD Android Development] WordsworthESP:
Typically you can just touch anywhere on the screen and they'll light back up, if for some reason they don't, I'd probably just toggle the power button off/on. It saves a little battery only having them lit for 5 seconds, and I don't really have any problem locating them, so it isn't an issue for me.

Sent from my Inspire 4G w/CM10.1
[Desire HD Android Development] xox:
thanks for this great rom. and take this opportunity to ask how can I change the sckin the keypad of the phone, because I can not see well.

Inviato dal mio Transformer TF101 con Tapatalk 2
[Desire HD Android Development] rjand:
Just had my third unresponsive touch screen on 0506 nightly, one of which was straight after a reboot, couldn't enter SIM PIN. last_kmesg.zip doesn't work for me for some reason when installed in recovery using CWM, there is no kmesg file on the sdcard after rebooting back into the ROM, and it is definitely the latest last_kmesg.zip I am trying to use.

I must get adb sorted out and enabled on the phone too so that I can get a useful log for you Mustaavalkosta.

These unresponsive touch screens have been an occurrance since about a week into April, apart from the last couple of times the screen has always been black before, but these last couple of times I could turn the screen on / off using the power button, see the charging status change, cLock updating on the lock screen, etc just no touch screen input.
[Desire HD Android Development] adam_purkis:
I have also had the unresponsive touch screen bug about 2 or 3 times over the last couple of weeks. For me it always seems to happen after a restart. But A battery pull usually fixes it.
[Desire HD Android Development] Mustaavalkosta:
Yep, TS is dead from time to time after reboot. I haven't got any run-time deaths though after I quit using s2w. Do you have synaptics or atmel panel? Just wondering if s2w randomly breaks synaptics on boot too.
[Desire HD Android Development] adam_purkis:
Mine is synaptics from what I can see in the vendor file? I havent enabled s2w though, although I guess you mean the changes to the kernel that allow it?
[Desire HD Android Development] thachtunganh:
I'm going to remove s2w feature for synaptics touch panel driver. Because it's still buggy...
[Desire HD Android Development] hacktrix2006:
S2W on synapics is a tad buggy at times although the sense kernel it works lovely.
[Desire HD Android Development] thachtunganh:
Yes, i can make it... But i don't want to copy synaptics touch panel driver from Sense kernel to AOSP kernel, so i'm trying to write my code.
[Desire HD Android Development] a user:
what do you mean by buggy? last time i used it for about 2 days on one of the first nightlies this month it worked perfectly on my synapitcs. what exactly do you mean by "buggy"?
[Desire HD Android Development] demanzke:
I only had this happen once after a fresh flash and restoring some stuff with Titanium Backup, a battery pull did not fix it. However after wiping system it was fixed and I added s2w

after

that for the first time.
[Desire HD Android Development] thachtunganh:
I don't have synaptics touch panel, so i can only follow users comments. Some people said they sweeping their fingers from right to left wouldn't lock their phones, and if you use s2w, your phone couldn't go to deep sleep.

I'm going to revert all s2w code for synaptics, then rewrite code.
[Desire HD Android Development] Mustaavalkosta:
Yeah, I meant just having it enabled as a feature regardless of user switching it on or off.

I compared logs after dead and working TS but couldn't see anything different so I guess it doesn't output any errors when it's dead after boot which is a bit weird. Thanks for the effort though. I know it must be difficult to figure it out without errors and relying only on user comments.
[Desire HD Android Development] alaci:
Please don't remove! Works fine!
[Desire HD Android Development] ivicakc:
just flashed todays nightlies and sound notification is missing.. :/
[Desire HD Android Development] thachtunganh:
Don't worry about it, i remove to prepare to rewrite the feature again ;).

And it's done now, i'm going to compile a new kernel image and share it!
[Desire HD Android Development] a user:
this is very strange. i tested it again now on the 18th nightly.

phone goes fine as usually into deep sleep, even if it was put to sleep by s2w (swiping from right to left). absolutely no issues on my synaptics device.

the only difference to not having s2w enabled (i mean really enabled) is that the messured mA values are higher:

s2w disabled: 1-5mA

s2wenabled: 5-9mA

though eventhough the values seem double as high it seems the real practical difference in battery lifetime during standby is much much smaller.

i hope the new code is not breaking s2w for synaptics.
[Desire HD Android Development] onlinsanity:
Hi, I have a question.

How do I disable the headset button feature manually?

(Modifying some files, flashing some zips, etc.)

I tried some headset-disabling apps, but they all don't work. They're just icons for me.

I know I can disable it by modifying and recompiling kernel code, but I don't know how to do.

Thanks in advance.
[Desire HD Android Development] hacktrix2006:
What i ment by buggy on Synapics touch is that sometimes it will put phone to sleep and then wake the phone other times it just sleeps and never wakes up at all.

T2W doesn't work not sure if that was added though so.
[Desire HD Android Development] coolmaxx:
Just installed this CM10.1 for my DHD. As a noob it took me quite a while - but finally managed to find and swallow the blue pill.

Thank you all for providing this awesome update, when HTC failed to do so. :good:
[Desire HD Android Development] siera_lion:
I am kinda confused right now, but how to enable the s2w feature?:D
[Desire HD Android Development] businello2000:
you can use the app from market kernel tuner.....great rom

Inviato dal mio Desire hd
[Desire HD Android Development] Mustaavalkosta:
I put together device specific settings menu and it's already working fine for fast charge (restoring it at boot etc.) but s2w is not cooperating for some reason and I'm now looking into changing its sysfs implementation in the kernel. Hopefully s2w problem with it will be overcome soon.