yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] pgptheoriginal:
Another question... I have set an alarm for every week with the stock clock application, so in my statusbar the alarm icon should be always visible, but I often notice that it is not there, and the only way to make it reappear is to disable and re-enable the alarm. The same thing happens to the lockscreen clock widget and to the tile in the quicksettings menu, which show the alarm only when its icon is in the statusbar.

The question is: should I trust my phone? :laugh: The alarm will ring anyway or I have to check that its icon is visible every night? This is not an issue of this specific ROM, I encountered it on every JB AOSP ROM I tried.

Anyway, thank you Mustaavalkosta for your work, this ROM is really smooth and stable, and RC1 the best 4.2 release that my DHD has seen so far :good:
[Desire HD Android Development] aljazirrr:
sweep2wake

i'm with RC1 and when device is sleap and i press search ,device is wakeup ....why?
[Desire HD Android Development] Mustaavalkosta:
Most likely this buggy s2w if you have it enabled. If not, then I don't know.
[Desire HD Android Development] andram81:
Smooth and beautiful Rom.

Exist an option to activate percentage on battery icon?

Inviato dal mio Desire HD con Tapatalk 2

---------- Post added at 10:05 PM ---------- Previous post was at 09:58 PM ----------

Tnx guys, I found the option under "status bar"! Sorry for this simple request!

Inviato dal mio Desire HD con Tapatalk 2
[Desire HD Android Development] aljazirrr:
yes is enable :cool:
[Desire HD Android Development] Mustaavalkosta:
So, I surprised myself and fixed the s2w sysfs hiccup, just in time for tonight's nightly. Hopefully I didn't break atmel driver. Atmel folks, make sure you have nandroid tomorrow. :p

You will find Advanced settings in between Apps and Profiles menu entries from system settings tomorrow if everything goes as planned and I didn't forget anything. I'll add dyn_fsync setting later in case people want to turn it off for extra data security instead of speed improvement.
[Desire HD Android Development] wachutunai:
Hello Mustaavalkosta,

This is a nice peace of work and I have one suggestion. Back in time before paul_nl committed the new wifi driver that fixed the problems related to power management, I suggested some patches that were not compatible with the previous version of the driver. It seems that now the wifi code base is the same so it should be straight forward to apply these patches:

[1] https://bitbucket.org/franciscofranco/android-tuna-omap/commits/e2f54289fac7/

[2] https://bitbucket.org/franciscofranco/android-tuna-omap/commits/1a756cdaf60c/

And, since you took some time to create a device specific settings menu, I think this fits perfectly there so please, consider adding this option. Maybe it's my router and not the wifi driver the one causing a 20% battery drop overnight, but I think that this patch could improve the already impresive battery life if activated when high throughput is not needed.

Thank you for all the effort that you are putting into this ROM :good:

Cheers!
[Desire HD Android Development] Mustaavalkosta:
I understood that this PM_FAST/PM_MAX trouble went away with newer bcmdhd but sure, I'll take a look when I don't have anything else going on. :)
[Desire HD Android Development] Steam.:
on a totally unrelated note, how do I tell which touchscreen I have?I've also been having problems with the touch being nonresponsive after boot, even with s2w off.
[Desire HD Android Development] thenorm89:
/sys/android_touch/ and check the vendor file. My inspire has a atmel screen
[Desire HD Android Development] Steam.:
thanks, it appears I have a synaptics one.
[Desire HD Android Development] avemt1:
Mine is Atmel, but I'm running a few nightlys back.
[Desire HD Android Development] thachtunganh:
I haven't added TT2W yet... and i won't add any others things, only add sweep2wake.

!

Nice

Nice part 2!
[Desire HD Android Development] wachutunai:
Yes, the problem of having low throughtput when the screen was off was fixed with the new driver. This patch is just to control the Wifi PM policy from user space and save battery life when this extra throughput is not needed. Check this out if something is not clear:

https://plus.google.com/109007983296189609553/posts/BuKDEUG1Shy

Thanks!
[Desire HD Android Development] Mustaavalkosta:
Ah okay, gotcha. I was in a very sleepy state of mind when I read your post last night. :)
[Desire HD Android Development] a user:
very strange. never ever observed any such issue on my synaptics DHD. S2W is working here absolutely flawless.
[Desire HD Android Development] Z_0r10n1S:
I have Synaptics. My phone doesn't go in deep sleep through s2w. The module is too much responsive to wake up the phone: it's enough to swipe from back to search buttons and it wakes up.

This happens very often when the phone is into the pocket. Waiting for fixes in next realises I just uninstall it for the moment.

Thanks to devs that gives to us so advanced and new features!
[Desire HD Android Development] AndreiMel:
try to dezactivate sweep to wake. On M3 i battery calls drains more battery that Screen. I have 40min o calls with 40% batt consumption and 1hr 10 min on screen with 37% ...how is that posible? Should i move on latest nightlies ? xD
[Desire HD Android Development] paulb_nl:
Try to delete h2w_headset.kl and/or AVRCP.kl in system/usr/keylayout/

You can't save any battery with those patches. They are only for being able to toggle using PM_FAST instead of the default PM_MAX when screen is off. Those are not needed since you can toggle that with Wi-Fi optimisation in advanced Wi-Fi settings.

If Wi-Fi optimisation is on then it will use PM_MAX on screen off unless a high performance Wi-Fi lock is held.
[Desire HD Android Development] rjand:
Trying 0520 nightly with 0520 perf kernel now for a few days. Previous unresponsive screens started before the S2W feature(s) were added ti the kernel. Touchscreen is Synaptics, but as mentioned problems started before S2W was integrated.

After installing ROM phone would be great until the first reboot (several days passed some times before the first reboot). After the first reboot the phone would occasionally become unresponsive and need the battery pulled.

Have finally got an up to date android-tools-adb installed on my PC's / laptops so hopefully the next time it happens I can get a last_kmsg log.
[Desire HD Android Development] wachutunai:
Ok, then I was totally mistaken, thanks for explaining that :angel: I think my problem with the battery drains is in my router since it is the only AP in which it happens. I doubt that any of my apps is keeping the Wi-Fi lock but I will check again.
[Desire HD Android Development] a user:
wait!

what exactly do you mean here? what i first read sounds like the phone cannot go into deep sleep due to the s2w feature listening for events to detect a sweep.

but what you are talking here about sounds as if s2w works fine, only thecontact within your pocket is waking up your phone (performing a left to right swipe?). i wonder what pants you are wearing that this is possible...

if the latter is the case, than there is no fix except buying other pants that do not make a good contact for electricity (do not know the right english words here). even if it would be the case, that the swipe length needed to actually turn on the screen would be increased, it wouldn't help you at all.

simply touching any of the buttons wakes the device from the deep sleep. that's needed to actually detect a swipe. you would only reduce a bit the cahnce that the screen turns on but the probability reduction wouldn't be much anyway.

so what actually is the problem? i still haven'T seen any post here making a clear point about a bug with s2w on synaptics.

use current widget to log the current while s2w is enabled and let your phone for 30min on the table untouched. then look into the log file and tell me the device is not falling into deep sleep. if it is indeed not going into deep sleep then repeat it again without s2w enabled and show me it is different. i very doubt it.

anything else would be unfixable as it is intended to wake the phone up while swiping, no matter what is swiping.

---------- Post added at 01:00 AM ---------- Previous post was at 12:56 AM ----------

i do not understand. what's so surprising here?

yes, 20min call consumes far more battery than 20min screen on minimum (or close to) backlight. it was so ever since the dhd existed on any rom, being stock, sense, miui, cm or aokp.
[Desire HD Android Development] WordsworthESP:
It made me a bit leery in the beginning too, but the alarm remains set, even if the indicator doesn't display as so. Trust your phone. :)

Sent from my Inspire 4G w/CM10.1
[Desire HD Android Development] AndreiMel:
i do not understand. what's so surprising here?

yes, 20min call consumes far more battery than 20min screen on minimum (or close to) backlight. it was so ever since the dhd existed on any rom, being stock, sense, miui, cm or aokp.[/QUOTE]

"After som intensive googling i ended up on MoDaCo's Forum were Chall32 spotted a fix for this back on CM6 builds wich aso seem to work for CM7 builds, and it will make you go: is that all it takes? lol

Turn off (as in un-tick) the "Turn to mute" setting via:

Home Screen > Menu > Settings > Call Settings> Turn over silence

Seems like the Dialer is constantly checking for phone position

and therefor consuming alot more power than necasary.

Again thx to chall32 at MoDaCo's Forum for spotting this." . This is what i've found...but on cm10.1 u can;t use call settings..
[Desire HD Android Development] a user:
that's true. i mean the turn to silence feature causes a higher consumption. though even with it disabled (i had it disabled in the past on stock rom) a 20min call will still consume far more than the display (on low or minimum brightness). if you do nothing but keeping the screen on you will get around 5h display on. but you will never reach 3 1/2h of calls all together.
[Desire HD Android Development] businello2000:
hi everone, just pop up to say that the battery life on this rom is great...obsiouly you have to keep on mind that you have to know what receiver and what app working in background all the time..i use rom toolbox for that, so i know exacly what is start on boot up and what app open up in background...

i use smartass as cpu governator and fiops as io schedular.and obsiouly i have s2w active.

just to remind you that 1230 mah for our battery means that under test the battery can put out 123 ma per 10hours or 1230 ma in 1 hours.

leave u some screen shot as prove of what i m saying!

thank you must for you work!

Inviato dal mio Desire HD
[Desire HD Android Development] Largamelion:
The buttons are quite close to eachother and I sometimes press the wrong button or a blank space in between when in a completely dark room. I guess this is personal and it certainly isn't a big deal but I just wanted to make sure I wasn't overlooking the setting. I believe the stock rom uses the proximity sensor to keep the buttons lit in a dark room instead of a timer.

This works as intended and it 's currently what I use as a 'workaround'.
[Desire HD Android Development] onlinsanity:
Thanks to reply, but no luck. Nothing changed.
[Desire HD Android Development] a user:
i feel you. it annoys me the same having only 5sec timeout. in the dark i very often miss the right button when i am in hurry.

15s would be far more usefull. 5s is as good as 0s. the battery you save with 5s vs 15s is basically nothing, not even much compared to one minute of lighted keys.
[Desire HD Android Development] Mustaavalkosta:
IMO, they could extend this to buttons too. If we leave out user-configurable timeout, it would be the most user-friendly way of implementing the timeout.
[Desire HD Android Development] Leong428:
Breathes new life into my DHD. Very impressed. Thanks Mustaavalkosta!
[Desire HD Android Development] avemt1:
The application is still usable. It just moves the non-necessary for operation files onto the SD card. Your SD card should be fat32 to have this work properly. If you have a ext4 or 3 partition on your SD card, then android OS will not recognize the fat32 portion. It will only read the SD card as a ext4 internal extension. I have tried what you are suggesting for expanding the internal memory and ram with ext4 and page file partitions. You will not be able to view your pictures or take pictures on your SD card.
[Desire HD Android Development] Mustaavalkosta:
I added dynamic sync control setting to advanced settings. It'll be available tomorrow. Also if someone wants to translate this menu into other languages, you can use this as a base for your translation: https://github.com/Mustaavalkosta/a...cm-10.1/DeviceSettings/res/values/strings.xml

[MENTION=2087403]pnoire[/MENTION] has kindly provided French translations so no need for those.
[Desire HD Android Development] buttie:
Here you have Polish translation:

https://github.com/buttie/android_d...ch-1/DeviceSettings/res/values-pl/strings.xml

I've never played with github before so I hope I didn't mess anything. :)
[Desire HD Android Development] Mustaavalkosta:
Thank you! I cherry-picked your commit to my repo. :)
[Desire HD Android Development] hacktrix2006:
NIce work OP willd download the lastest nighty when i can to test.
[Desire HD Android Development] siera_lion:
I translated it into Lithuanian. Sorry that I couldn`t upload this to github, I am not very known to it. Hope this will be enough.

<?xml version="1.0" encoding="utf-8"?>

<resources>

<string name="app_name">Išplėstiniai nustatymai</string>

<string name="category_kernel_title">Kernel</string>

<string name="dyn_fsync_title">Dinaminė sinchronizacijos kontrolė</string>

<string name="dyn_fsync_summary">Kol ekranas yra įjungtas, failų sinchronizacija yra išjungta. Kai ekranas įšungtas, failų sinchronizacija išvalo visus neįšsprestus įrašus ir atkuria failų sinchronizacijos operacija kaip įprasta. Išjungūs šį pasirinkimą bus pasiektas geresnis duomenų vientisumas ir greitumas.</string>

<string name="fast_charge_title">Priversti greitą krovimą</string>

<string name="fast_charge_summary">Tai leidžia naudotojui priversti pakrovimą iš bet kokio pakrovėjo aptikto kaip USB (pvz. automobilių pakrovėjai).</string>

<string name="sweep2wake_title">Velkti, kad pabusti (Sweep2Wake)</string>

<string name="sweep2wake_summary">Įjungia sweep2wake funkcija (PASTABA: Ši funkcija šiuo metu yra eksperimentinėje stadijoje, todėl gali sukelti šalutinius poveikius.)</string>

</resources>
[Desire HD Android Development] Mustaavalkosta:
It's cool if mods don't get angry. :p Thanks! I'll add it once I wake up tomorrow.
[Desire HD Android Development] KriwilAbiz:
Here is Indonesian :)

Note: as *.txt ;)
[Desire HD Android Development] thachtunganh:
Vietnamese translation:

https://github.com/Mustaavalkosta/android_device_htc_msm7x30-common/pull/2
[Desire HD Android Development] grayhawk11:
hey guys

has anyone tried encryption with this rom. i tried it with pipelinerard's aokp but it failed..

i know it breaks some apps but i will be needing it

so if anyone has done it plz share ur experience
[Desire HD Android Development] Georgi121270:
Here is Bulgarian translation.

View attachment 1984330

Thanks Mustaavalkosta for this great ROM !!!:good:
[Desire HD Android Development] Stilleh:
Swedish translation. Hope it´s good enough...

<?xml version="1.0" encoding="utf-8"?>

<resources>

<string name="app_name">Avancerade Inställningar</string>

<string name="category_kernel_title">Kernel</string>

<string name="dyn_fsync_title">Dynamisk Synk Kontroll</string>

<string name="dyn_fsync_summary">Under tiden skärmen är påslagen är filsynkronisering avaktiverad. När skärmen är avstängd skickas en förfrågan om filsynkronisering för att tömma all ickeskriven information och återställa filsynkronisering till normalt läge. Stäng av denna funktion för ökad data integritet istället för ökad prestanda.</string>

<string name="fast_charge_title">Forcera Snabbladdning</string>

<string name="fast_charge_summary">Denna function ger användaren möjlighet att AC ladda med alla typer av laddare som upptäcks som USB (bl.a. många billaddare.)</string>

<string name="sweep2wake_title">Sweep2Wake</string>

<string name="sweep2wake_summary">Aktiverar sweep2wake funktionen (OBS: Denna function är för tillfället experimentell och kan orsaka oförutsedda problem.)</string>

</resources>
[Desire HD Android Development] a user:
German translation attached.

NOTE: i am not sure if the german "Umlaute" are working correctly. maybe they need to be escaped? Any infos about this?

Also, maybe i can also provide later a romanian translation. musst see if i find time.
[Desire HD Android Development] Mustaavalkosta:
All: Thanks for the quickly provided translations! I just added them to github and they'll be in tomorrow.

I think they are fine. I don't remember escaping umlautes when I did a few Finnish strings for cfx. I'll test compile it later and let you know if there's a problem with umlautes. :)
[Desire HD Android Development] a user:
i think it would be good if someone else would do the romanian translation as i am a selfeducated romanian writer. i was born in romania, but grew up in germany :D

speaking is perfect, but correct spelling is not so good.

if no one can be found to do so i could ask my parents for a little help though ;)
[Desire HD Android Development] MusikMonk:
Attached an Arabic version. But if there's someone around here that actually uses their phone in Arabic then please do take a look to correct me. Personally, I use everything tech related in English.
[Desire HD Android Development] ivicakc:
croatian translation

<?xml version="1.0" encoding="utf-8"?>

<resources>

<string name="app_name">Napredne postavke</string>

<string name="category_kernel_title">Kernel</string>

<string name="dyn_fsync_title">Dinamička kontrola sinkronizacije</string>

<string name="dyn_fsync_summary">Dok je zaslon uključen, sinkronizacija datoteka je onemogućena. Dok je zaslon isključen, sinkronizacija će presnimiti sve dospjele zapise i povratiti ih normalno. Isključiti za bolju cjelovitosti podataka u zamjenu za bolje performanse.</string>

<string name="fast_charge_title">Prisilno brzo punjenje</string>

<string name="fast_charge_summary">Omogućuje korisniku da prisili AC punjenje za bilo koji izvor ako je prepoznat kao USB (npr. mnogi auto punjači).</string>

<string name="sweep2wake_title">Sweep2Wake</string>

<string name="sweep2wake_summary">Omogući sweep2wake značajku (NAPOMENA: Ova značajka je trenutno u eksperimentalnoj fazi i može doći do neočekivanih nuspojava.)</string>

</resources>
[Desire HD Android Development] coloured_chalk:
Russian translation

<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Продвинутые настройки</string>
<string name="category_kernel_title">Ядро</string>
<string name="dyn_fsync_title">Контроль fsync</string>
<string name="dyn_fsync_summary">Пока экран будет включен, файловая синхронизация будет приостановлена. Включайте файловую синхронизацию для лучшей целостности данных в обмен на производительность.</string>
<string name="fast_charge_title">Быстрая зарядка</string>
<string name="fast_charge_summary">Любое зарядное устройство, определённое как USB, теперь будет определено как обычное. (напр. машинные зарядки).</string>
<string name="sweep2wake_title">Sweep2Wake</string>
<string name="sweep2wake_summary">Включает Sweep2Wake - разблокировку и блокировку по проведению пальцем по софт клавишам. (NOTE: Ещё не оттестирована и может приводить к непредсказуемым результатам.)</string>
</resources>
[Desire HD Android Development] pecora:
italian translation

<?xml version="1.0" encoding="utf-8"?>

<resources>

<string name="app_name">Impostazioni avanzate</string>

<string name="category_kernel_title">Kernel</string>

<string name="dyn_fsync_title">Controllo dinamico sincronizzazione</string>

<string name="dyn_fsync_summary">Quando lo schermo e' acceso la sincronizzazione e' disattivata. Quando lo schermo e' spento, una richiesta di sincronizzazione riattivera' la sincronizzazione. Disabilita per una migliore integrita' dei dati a discapito delle prestazioni</string>

<string name="fast_charge_title">Forza carica rapida</string>

<string name="fast_charge_summary">Permette di forzare la ricarica con qualsiasi caricatore che viene rilevato come USB (ad es. molti caricatori da auto).</string>

<string name="sweep2wake_title">Sweep2Wake</string>

<string name="sweep2wake_summary">Abilita la funzione Sweep2Wake (Nota: questa funzione e' sperimentale e puo' causare effetti indesiderati.</string>

</resources>
[Desire HD Android Development] (HEROo):
coloured_chalk, translate "<string name="fast_charge_title">

Fast Charge

</string>".

Edit: <string name="sweep2wake_summary">Включает

S

weep2

W

ake - разблокировку и блокировку по проведению пальцем по софт клавишам. (NOTE: Ещё не оттестирована и может приводить к непредсказуемым результатам.)</string>
[Desire HD Android Development] alaci:
Hungarian translation
[Desire HD Android Development] a user:
hmm, it seems fast charge is actually NOT working. yes i know the new settings menu for it.

i know it worked in the past, though i do not know since when it stopped. i observed while testing a new auto charger and once i observed this i tried it on multiple usb ports where i know it worked fine in the past.
[Desire HD Android Development] Mustaavalkosta:
Ah okay, could be. I just tested that UI side works with sysfs. The feature itself is just inheritance from KangBang.
[Desire HD Android Development] ©h®is:
coming from clean m3, flashing rc1 dirty, i have still the issue with weather of clock widget not refreshing in lockscreen..

any hints?

sorry if i missed something in before pages

also i had two more issues: person i am calling do not hear me and touchscreen does not work..

but i think this comes from dirty flashing?

(just happened 2 times..)

i am quite busy [MENTION=408485]work[/MENTION], so i try clean if i have the time..

so i think it's recommended by the def to flash the latest nightly? :D

sent from my N8000 running 4.2.2 AOKP MR1 Kang Project by Jamison904
[Desire HD Android Development] xZeroMancerx:
I've been off the grid a few days but I was wondering how could I tell if my device was a snaptics ? I kinda remember something about vendor but I have no idea
[Desire HD Android Development] thachtunganh:
http://xdaforums.com/showpost.php?p=36063824&postcount=3
[Desire HD Android Development] CBank:
Thank you so much for the work you are doing on this ROM!! It has given new life to my phone, and I am amazed at how smooth it is running. The only thing I cannot seem to find is a setting to enable the expanded power menu with the option to reboot to recovery.
[Desire HD Android Development] FireBlast:
Go settings-about phone-tap 10 times build number. Now you have dev config menu in setting. The third line is advenced power menu.
[Desire HD Android Development] businello2000:
fast charge does work,but is disable at the begining so i used kernel tuner to enabled

Inviato dal mio Desire HD usando XDA Premium
[Desire HD Android Development] hopesfall190:
sweep to wake

Hey i found a app in the playstore called trickster mod its free if you swipe all the way to the end of the app it has a feature sweep to wake i tried it and works anyone else use this or just a tip
[Desire HD Android Development] WordsworthESP:
7x will do the trick. :)

Sent from my Inspire 4G w/CM10.1
[Desire HD Android Development] pnoire:
No need to use an app. Sweep2wake is now included in nightlies. To enable/disable it, go to Settings/Advanced settings :)
[Desire HD Android Development] Mustaavalkosta:
Actually it doesn't work and probably has never worked for KangBang or this fork. Well, sysfs interface works wonders but the functionality in the kernel is in the else-block which is never used due corresponding if-block being always true. I was looking into fixing this yesterday but didn't find any solution yet. Also more recent builds have builtin UI setting for it under Advanced.