yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Mustaavalkosta:
New beta version with preliminary and completely untested atmel implementation of s2w/dt2w: http://downloads.codefi.re/mustaavalkosta/tests/kernel-20130614-s2wdt2w-beta2.zip

Suspend/resume handling is based on [MENTION=3824015]thachtunganh[/MENTION]'s earlier implementation but because it's completely untested atmel phones may kill kittens and cause thermonuclear wars.

Refer to my last beta post for sysfs entries although this one has also everything turned on by default.

It'd be appreciated if someone can check whether normal s2w without stroke enabled works for atmel screens. I've no way of testing it myself and if no one else will, it may end up in the nightlies as broken. You can disable stroke2wake with filemanagers or in terminal app:

su
echo 0 > /sys/android_touch/s2w_allow_stroke

For synaptics it has pretty nasty hack for sleep state problem. It works ok for s2w because it's not time-sensitive but with dt2w you may encounter on-off event after second try when the first one failed. I spotted a better i2c_transfer() handling in atmel driver and will try to implement something similar to synaptics driver hoping that it will fix the problem which originates from bad error handling for i2c_transfer().

As a bonus, it's also compiled with gcc 4.8 now* thanks to [MENTION=2394329]sparksco[/MENTION]'s pull request to change memory allocator from SLUB to SLAB because the first one seems to hate gcc 4.8.

*Nevermind, looks like I compiled it on a terminal which didn't have CROSS_COMPILE set properly. 4.7 still but will be 4.8.
[Desire HD Android Development] a user:
it seems i found a really big CM bug.

i am using two differents accounts for contacts, gmail one and an owncloud one.

no matter what i select in teh contacts app for showing contacts from ... it allways shows all and ONLY my gmail contacts. no matter if i select to show only carddav (owncloud) contacts, which should actually hide all gmail ones and show only the contacts from tehre, i still see all and only the gmail contacts.

anybody an idea?
[Desire HD Android Development] wachutunai:
Trebuchet FC

Hello Mustaavalkosta,

I updated from 11/06 to 14/06 nightly and the launcher FC just swping between Apps/Widgets. Swipe left or right a couple of times to reproduce it. I've attached a logcat just in case.

Thanks!

P.S.: Can you take a look at this too when you have some spare time please? Thank you!
[Desire HD Android Development] rjand:
I'm still on 0603 nightly as it is stable as hell, but if I go into contacts, select menu, Contacts to display, Customise, and choose which contacts to show in there (I have 2 exchange accounts and a gmail account) and click OK, then go back to the contacts list, it shows just the contacts I have selected and hides the unselected ones.

It is possible a bug may have appeared on a newer nightly though, I'm not going to upgrade and test a newer one until next week.
[Desire HD Android Development] a user:
i used go contacts ex to buld delete all contacts on my dhd. afterwards i synched again from my contact servers and now it's working as it should. very strange this.
[Desire HD Android Development] Mustaavalkosta:
Upstream has probably broken something with trebuchet. Does your gtalk problem persist with hangouts too? Those errors just suggest that it doesn't find ringtone from its internal file structure.

Failed to open file 'android.resource://com.google.android.talk/raw/outgoing_call_ring'. (No such file or directory)

There's nothing I can do about that if that's the root problem since it's closed source.
[Desire HD Android Development] wachutunai:
I downgraded to RC5 and I'm still able to crash Trebuchet... that's strange though. I've not seen any reports on that and since I've been dirty flashing for a while, maybe it's better to do a clean install and test again.

Regarding Gtalk, no, Hangouts works well and sounds play as expected, but it is quite laggy so I'll keep using Gtalk until Google decides to kill it forever :P I remember that the sounds were playing OK in codefireX with the same gapps, but nevermind, I wanted to know if the problem was not with Gtalk itself.

Thanks for your help again!
[Desire HD Android Development] Mustaavalkosta:
Another beta with better fix for synaptics sleep issues: http://downloads.codefi.re/mustaavalkosta/tests/kernel-20130615-s2wdt2w-beta3.zip. I ported i2c reader function from endeavoru kernel which actually does some retrying instead of being stupid and quitting after first try. Also fixed a couple of unrelated dt2w bugs for both touchscreens.
[Desire HD Android Development] gitardan17:
Tried flashing that kernel about 5 times. It just won't install for me. Kinda hesitant to pay for kernel manager app. How do you guys install it?

Its file size says 2.96mb, did it quit too fast & just read as download complete?

& about the Apollo pulldown screenshot, it ALWAYS scrolls back up just prior to taking screenshot. I tried buddy. :)

---------- Post added at 06:17 PM ---------- Previous post was at 05:55 PM ----------

I had rc5 w/a good looking pulldown, BUT when I tried that kernel, it messed up Apollo, google music & words w/friends again.

Have been going back & forth between rc1 & rc5 full wipes trying for that rc5/beta kernel combo. Every now & then good pulldown w/rc5. Left it that way when I went to sleep. When I woke up funky checkerboard Apollo pulldown again.?.?
[Desire HD Android Development] gitardan17:
Ooops, never mind, I got it. Am currently on rc5 w/0615kernel :)
[Desire HD Android Development] Tischbein:
I've got a strange bug. Came from RC1 and instaled RC5 without Fullwipe. Now in every app I try to open the menu by using the lower hard keys it opens the same screen as when I press the house-key: it shows me the last opened apps, but no menu at all. Therefore I can't close apps or change options in several apps.

Installed beta kernel, button light patch and, as mentions, RC5 over RC1

Anyone any suggestions? Thanks in advance!
[Desire HD Android Development] Mustaavalkosta:
You missed one key point: which touchscreen vendor you have? Atmel or synaptics? (See: /sys/android_touch/vendor)
[Desire HD Android Development] Tischbein:
Right on you. Synaptics is the one I have
[Desire HD Android Development] Mustaavalkosta:
Try flashing RC5 zip over it (basicly falling back to release kernel) and see if it works.
[Desire HD Android Development] thekool:
Could anyone help me here these problems should be obvious. I know I have free storage but it shouldn't be this much. I've tried wiping cache and dalvik but no help
[Desire HD Android Development] Steam.:
try finding leftovers of the app in /data/app and delete em.
[Desire HD Android Development] pnoire:
true if the apps were installed before.

Other possibility: if the available memory is 100Mb or less (verify in Settings - Apps - Running), some apps can't be installed and the error message is the same. Try to kill some tasks or process:
[Desire HD Android Development] Tischbein:
Doesn't seem to work, same problem as well. Got back to RC1, but will try next week with full wipe, 'cause then my XZ will arrive and I can play around with my DHD. Will get you a response then.
[Desire HD Android Development] Mustaavalkosta:
Ok, I just wanted to rule out the beta kernel as I'm planning to bring synaptics changes into release branch as soon as I get UI settings ready for it (atmel is still considered alpha until someone reports whether it works). Did you check that your hardware keys settings didn't get messed up by the upgrade? System > Hardware keys. That's pretty much all I can think of on top of my head.
[Desire HD Android Development] Mustaavalkosta:
For those using profiles: https://plus.google.com/105849811393167071979/posts/6hT6MMspUFP

Should be in tomorrow's nightly.
[Desire HD Android Development] Tischbein:
Haven't checked them but will it next time I'll install RC5 with the beta kernel. Next week latest on tuesday, the rest of the week I will be out of country till sunday. So if you don't get any information on tuesday latest, I'll let you know on monday 24th.
[Desire HD Android Development] dreamland2000:
Installed latest nightly and latest test kernel. Have s2w disabled but screen still turns on using the slide/sweep feature.

Any ideas what could be causing it to be stuck on?
[Desire HD Android Development] Mustaavalkosta:
Mine turns off like it should (ie. it won't wake up with gestures anymore if I echo 0 to sweep2wake and doubletap2wake). Atmel screen (shouldn't affect this but just asking)? Also did you doublecheck from sysfs that it's off and not just UI side failing for some reason? I haven't tested UI at all yet with the rewrite.

Edit: Nevermind actually. I tested your possible scenario that you just turned s2w off and not dt2w. With this scenario s2w is still functional which shouldn't be the case. I need to investigate this but it's a bug, no doubt. Turn off dt2w too if you want to turn them off. Thanks for the report!
[Desire HD Android Development] dreamland2000:
I'm not sure 100% hour to check those properly lol. I am using the crossbreeder script to improve performance but it didn't happen on yesterday's nightly but only since installing today's nightly.

I can revert back and confirm if that helps?
[Desire HD Android Development] Mustaavalkosta:
You can control these directly from /sys/android_touch/ with CM filemanager. Just open sweep2wake or doubletap2wake and you should see 0 or 1. 0 is off and 1 is on. You can use filemanager's editor to change it to 0 or 1 and save it and it should update the value to kernel. You can doublecheck by opening it again.
[Desire HD Android Development] dreamland2000:
Thanks will take a look now

Edit- found the doubletap2wake was still active despite the settings disabling it

Edit 2- well that didn't work either, with both options changer to 0 the feature is still running.
[Desire HD Android Development] Mustaavalkosta:
Haha okay. That's odd. I did manage to turn it off completely but looks like if dt2w is enabled it doesn't matter if s2w code is even present in the kernel, screen still turns on. Fix the sleep problem and then it won't sleep at all. lol.

This is why I do beta phases before merging anything big and potentially problematic into nightlies. ;)
[Desire HD Android Development] dreamland2000:
It seems that after disabling both the settings hold until a restart and upon restart the dt2w becomes enabled again.
[Desire HD Android Development] bestfil:
overclocking the stock Mustaavalkostas CM10.1

O.K.

I have been using this famous rom for a few months and most of the time with cpu@ 1,2 GHz. I wanted to change the frequency to higher but it causes ROM halt. All other freuqency are unavaialble for me.

I tried interactive and smartassv2 governors.

Where shall search for the problem?

I am using stock kernel, rom 20130614, no other tweaks.

ROM was installed after full flash.
[Desire HD Android Development] Mustaavalkosta:
Yep, kernel sysfs doesn't have memory. It resets to default values defined in code after each reboot. My advanced settings app sets these values after boot up but it currently only supports sweep2wake.

Defaults are currently enabled but they will be disabled when this arrives to release branch so it's up to user turn them on.

Turns out the problem was that kernel sent hw button events when screen was off and I guess Android OS turned on the screen. I fixed this and new beta kernel is now available: http://downloads.codefi.re/mustaavalkosta/tests/kernel-20130616-s2wdt2w-beta4.zip

Atmel may suffer from the same problem but I'll wait reports before trying to fix it too since it's a bit guessing game for me where to put this fix I did for synaptics.
[Desire HD Android Development] dreamland2000:
Dt2w still persists even on new rest kernel. I didn't do a clean wipe but cleared cache and dalvik.
[Desire HD Android Development] Mustaavalkosta:
You mean it stays on after reboot? That's how it's supposed to behave currently. You need to turn it off manually after each reboot for now if you don't wish to use it. UI side for the new stuff is coming "soon". :)
[Desire HD Android Development] ivicakc:
hmm..work fine for me...I'm on RC5...1,3ghz, smartassv2 and sio scheduler.. try rc5..
[Desire HD Android Development] remix92:
I want To change my rom to cm 10.

Now im on aokp .

But can i import my personly dictionary To an other Rom ?

Use the normal keybord from Android 4.2.2
[Desire HD Android Development] T7utmos:
hi ... thanks for your ROM

but,my question is ...

which is the best radio and kernel for this ROM

Regards
[Desire HD Android Development] Mustaavalkosta:
Both Titanium Backup and Helium have user dictionary backup. I can't say whether it works or not but at least it's available for a test. :)

I'm not aware of any other kernel that works with my qcom/display so I'd say the only kernel is the one that comes with the rom. I use 26.17.14.11 radio but I'm not saying it's the best or worse/better than some other radio. I haven't had problems so I have stuck with it.
[Desire HD Android Development] T7utmos:
thanks for your replay MustaavalKosta ....

where is i can download this Radio ?

thanks again :)
[Desire HD Android Development] Mustaavalkosta:
No problem. You can download various radios including that one from this thread: http://xdaforums.com/showthread.php?t=996630
[Desire HD Android Development] linkit87:
Hi, is there any way to set display color temperature ? Thanks, great ROM.
[Desire HD Android Development] remix92:
I use r5 and i dont know but the locksreen is a bit laggy and it needs maybe 0,5 sek to open after click power button
[Desire HD Android Development] bestfil:
hmmm...

Still the same. I wonder if it depends from having or not the performance kernel?

I'm still looking for the solution.
[Desire HD Android Development] WordsworthESP:
It's funny you mention this, because I just noticed it last night.

My mom has the same device, which is running ARHD and the screen comes on immediately upon pressing power. I've noticed it takes about half a second for both screen on and screen off in CM10.1.

Sent from my Inspire 4G w/CM10.1
[Desire HD Android Development] ivicakc:
I don't know, I have stock karnel and works fine, also using one power guard and you can set from there your cpu..
[Desire HD Android Development] bondocel:
Quick question : is there any way to add more auto-correct dictionaries to keyboard? I'm from romania and sadly there is no romanian keyboard dictionary
[Desire HD Android Development] Max-E-Moose:
I have used Helium for this and it works flawlessly; also for syncing my user dictionary between a CM10.1 Nexus 7 and a CM10.1 DHD.
[Desire HD Android Development] Navid_Atefi:
Speaker Volume is to low

Hi.

My Speaker Volume is to low. is there any mod to boost speaker volume?

I tried Speaker Boost but not effective.
[Desire HD Android Development] Mustaavalkosta:
It's possible but it wasn't the easiest process in the world. I made custom Finnish dictionary last autumn. You may find some tips here: https://github.com/Mustaavalkosta/android_packages_inputmethods_LatinIME/commits/jb-mv (see the last 4 commits). It's been a while so I can't help more than this. :(
[Desire HD Android Development] Navid_Atefi:
I installed test kernel beta3, even if disable tap and slide to wake up, touch home cause to unlock.
[Desire HD Android Development] Mustaavalkosta:
Yep, it's fixed in beta4.
[Desire HD Android Development] dreamland2000:
I had the same issue and we found a temporary solution. You have to go into the sys/android touch location and change the settings of both doubletap2wake and swipe2wake to 0 values instead of 1.

But be warned this does not persist at reboot so needs to be changed again at each reboot.
[Desire HD Android Development] Mustaavalkosta:
Yep, I can maybe test something at some point to narrow down cause for it but this isn't a priority at the moment. Thanks for pointing it out though.
[Desire HD Android Development] Navid_Atefi:
Thanks.

I used following script in system/etc/init.d to disable on each start up.

echo 0 > /sys/android_touch/sweep2wake

echo 0 > /sys/android_touch/doubletap2wake
[Desire HD Android Development] paulb_nl:
[MENTION=3382363]Mustaavalkosta[/MENTION] Did you forget to add libc2dcolorconvert to PRODUCT_PACKAGES after removing libI420colorconvert?

Its missing from the 0618 build.
[Desire HD Android Development] Mustaavalkosta:
Oh shoot! You are right. I wasn't thinking what I was doing. :( I'll add it now. Thanks for cleaning up after me... again!
[Desire HD Android Development] gobak:
Back with annoying headset buttons chaotic behaviour. Tried all suggested apps, still having random songs changes, voice search pop-ups when the jack (she's got the jack jack jack...) moves in the connector. Using headphones with stereo jack, no buttons. Any further ideas please?
[Desire HD Android Development] Mustaavalkosta:
First teaser of coming s2w/dt2w settings:

It's still WIP and missing dt2w.
[Desire HD Android Development] hacktrix2006:
Nice work there mate. Waiting to flash the next nighty LOL.
[Desire HD Android Development] coolpixs4:
--------------

It is difficult to surf all more than 200 threads...I just read through few pages from 1-20, and about last 10 pages. Sorry if I bother YOU

I have same questionas [MENTION=4728946]michaelopolis[/MENTION], recently I use Sabsa Prime ROM. (but this was CLOSED)

And what are differents between these build Nightlies/ M-series/ and RCx ?
[Desire HD Android Development] hacktrix2006:
It quite easy to tell you that from stable to possibly stable goes in this path.

Monthly's (M-Series) -> Release Candidates (RC) -> Nighties (Beta's). Use M-Series or RC's unless your like me and a flashaholic then use Nighties.
[Desire HD Android Development] young440:
Very nice. Which nightly will that be implemented on?
[Desire HD Android Development] Mustaavalkosta:
s2w/dt2w settings? When it's ready. Hopefully within a few days if I don't run into major difficulties.
[Desire HD Android Development] Mustaavalkosta:
I've been doing M-builds in-sync with CM but after they stopped releasing those in favor of RCs (Release Candidate) for preparing for final 10.1.0 I did next two "monthly" builds based on RC1 and RC5. If you don't want to flash daily or control your own flashing cycle, go with the latest RC. RC > M > nightly in terms of time spent on making sure the release is stable.
[Desire HD Android Development] WordsworthESP:
That's because it's a hardware issue, not software. It isn't due to your headset either, rather the headphone jack on your device. They're faulty on 80(+)% of DHD/I4G's. It's occurred in some form or another since I was running the stock HTC Sense/GB ROM.

It's gotten so bad that I absolutely cannot move my phone while listening to headphones/car stereo or else it plays through one ear (mono), skips tracks or Google Voice Search opens. It sucks, but unfortunately, I doubt there's anything Mustaavalkosta can do about it.

Sent from my Inspire 4G w/CM10.1
[Desire HD Android Development] Mustaavalkosta:
I think technically it's possible to kill headset controls on kernel level and make sysfs interface for it but that's just a guess and I don't know how to do it on top of my head but I'll keep this in mind for the rainy days. :)
[Desire HD Android Development] onlinsanity:
I think applying ucxl's headset fix method can "break" the headset.

Then build a "broken" kernel for those who have this issue.

I hope this solves problem...
[Desire HD Android Development] bondocel:
So there isn't a easy way to do it? i had a galay s 1 and the custom roms (4.2.2) had by default romanian language dictionary
[Desire HD Android Development] Mustaavalkosta:
Not that I know of but if your GS1 rom has sources available somewhere I can take a look if they provide prebuilt Romanian dictionary in acceptable form. I'm not sure if it's possible to include extra dictionaries from device repos though. For DIY method the most difficult part is to find large enough word list with frequency data in it.
[Desire HD Android Development] gitardan17:
LUh-oh. I thinks its cause I played with the performance settings a few dirty flashes & a couple of full wipes ago.

Now my keyboard freezes my screen when website/contact etc...suggestions pop up, or I try to switch to/from contact name to/from mssg to be sent. I think it started when I tampered w/the memory mods in performance setting.

I went back & forth between rc1 & rc5 both dirty & full flashes & would stick w/whichever would allow me to web browse w/out freezing my whole screen when I type ya for yahoo. If I go a little faster, I get as far as yah. The yahoo suggestion bubble pops up and "Freeze! Don't move dirt bag!"

Tried clearing data for kies keyboard. No go. Tried just using built in keyboard. No go. Cleared data for built in keyboard. Still... Even deleted some ROM backups in case it was stemming from there.

Just did a full wipe again, rc1, inspire patch, gapps etc... I notice also when I move the cursor by tapping, it freezes.

I have full wipe installed rc5 once as well. What can I do to get my keyboard back to normal? And no, I haven't even tried to turn on s2ws2s. Those aren't turning on by accident or on purpose.

Rc1 was very stable for well over a month. Unless it has an expiration date like eggs, I think it was me fiddling w/performance settings even though I was given fair warning that it could mess up my phone. I only messed w/the memory parts.

Edit: Could it be cause I froze, or don't have maps installed, & they are looking for my location? Just woke up & thought of that. I'll try reinstalling maps. Didn't think that would affect my browser & SMS but???
[Desire HD Android Development] thenorm89:
Search for NoDock in play store. I have this same trouble with my inspire4g.
[Desire HD Android Development] Mustaavalkosta:
s2w/dt2w

I finished ahead of my schedule and s2w/dt2w is now being merged into nightlies. There may be some rough edges here and there but basic functionality should be in working condition. New perf kernel should be online within an hour or two.

dt2w is not exactly what one would call pocket-friendly so keep that in mind. I've some improvement ideas in mind and you can tune min/max durations for it which may or may not make it more pocket-friendly. Just a heads up not to get anyone fired after pocket dialing. :p

For those interested in updating translations for advanced settings you can check the latest xml here: https://github.com/Mustaavalkosta/a...cm-10.1/DeviceSettings/res/values/strings.xml. Also notice that I made some of the old strings a bit shorter so that they look more like a summary and not a novel. PM me your changes not to clog this thread since the file got larger with recent additions.

I think I had something else to notify too but I can't remember what was it... I guess it was nothing important.
[Desire HD Android Development] hacktrix2006:
Nice work Mustaavalkosta will download new nightie. Thanks once again.
[Desire HD Android Development] young440:
Very nice! My only complaint is the swipe to wake is a tap to wake on my Inspire 4G. I messed with the threshold settings and i can still wake it with a tap.

And the home screen seems to disappear when going home from a few pages deep of the app drawer. Push home a couple times quickly and the home screen looks empty. The folders and widgets are still there if you click on them but not visible. I fix it by restarting the launcher.
[Desire HD Android Development] Mustaavalkosta:
Atmel screen? It was very little tested vs. synaptics that I spent hours and hours testing myself and pnoire was helping with testing too. I guess more people using betas had synaptics too. I only got one atmel report via PM. So this comes hardly as a surprise to me. :)

If you are interested in debugging it let me know but I'll need some logs.

Possible issues with Trebuchet come from upstream.
[Desire HD Android Development] thenorm89:
http://db.tt/ZY3bLoSh - my i4g has a atmel screen. Here is a log of me turning s2w on and just tapping home screen to turn the phone on. Let me know if you need more logs