yashsingh1/xdaforums huggingface dataset:
[Desire HD Android Development] Mustaavalkosta:
That could work too if ts_resume/suspend functions don't go haywire with it. It's quite delicate and ends up killing touch response too if irq_wake isn't handled properly. I'll try and see how that solution works in action. Thanks for the suggestion! :)

Edit: Yeah, this kills touch response on in-call situations like I feared. :( It's sad atmel driver is so much more advanced in many parts. Newer syn drivers look a lot more like our current atmel driver but the changes are so big that I haven't had time to check if it would be possible to backport newer syn driver to ace. That should fix the issue permanently without making any dirty workaround hacks.
[Desire HD Android Development] sgrockfort:
Flash RC1 to SR-1

hello,

i currently using RC1^.. Can i flash dirty to SR-1 ?

Thanks
[Desire HD Android Development] ektob:
Hi All,

I checked through your latest discussions here and I just want to find a good reason for me to install this ROM (now on codefirex latest SR).

- Is the GPS working?

- Is WIFI working (on nightlies codefire it made my rom freeze)

- Is the WIFI hotspot theathering working ?

Thanks u guys who keep this stuff moving!
[Desire HD Android Development] paulb_nl:
Too bad. Well you could just change line 562 to this so at least us non-s2w users are not affected by this s2w problem :)

#ifdef CONFIG_TOUCHSCREEN_SYNAPTICS_SWEEP2WAKE
if (s2w_active() && !proximity_status)
goto psensor_near;
#endif
[Desire HD Android Development] jordy1955:
I did, no problems. good luck
[Desire HD Android Development] MusikMonk:
I've recently got my hand on a Pebble watch so I needed to enable an accessibility service for its app to access notification, and for some reason this service gets turned off by itself occasionally. I've also tried other applications with accessibility services and same things happen.

Note that not all of the services get disabled together, just some of them.

I can't find a pattern or a way to reproduce the issue so I'm just asking in case someone knows a a cause/fix.

And I can't really get a log since I don't have a way to know when it happens.
[Desire HD Android Development] Mustaavalkosta:
Yeah, the thing is though that even without s2w the touchscreen sometimes stays active on in-call situations causing various things to open when your ear presses something on shut-off display. That's why I intentionally left it out of s2w #ifdefs as the fix applies to synaptics TS in general.

Because of this cluster**** with synaptics I suggested that maybe sysfs toggle for it together with advanced settings UI could provide a solution that should please everyone. If I make it skip psensor reporting from isl driver to synaptics driver based on what has been set with sysfs (true/false), proximity_status should always stay true thus it shouldn't cause any problems for those who don't want to use in-call hack at all and take their chances with buggy in-call touchscreen.

This would also enable users to fix their psensor low-high values before toggling in-call hack on.

It isn't pretty but the best working solution I managed to come up with. I'm open for prettier "works for everyone" solutions though. :)

I hope to get this sysfs change live tonight together with UI settings but no promises...
[Desire HD Android Development] Mustaavalkosta:
I think I just came up with a solution which enables dropping dirty psensor crap from the kernel. I had accidentally fixed the in-call problem with these:

https://github.com/Mustaavalkosta/htc7x30-3.0/commit/340b178be31f1e292bcf1a78e40f36d715ea7a67

https://github.com/Mustaavalkosta/htc7x30-3.0/commit/6594b98916d3d311b3aaa02fd8ec1bd886b1cad7

So, I just modified it a bit and came up with this: https://github.com/Mustaavalkosta/htc7x30-3.0/commit/0863336139396eb9c718599f488a690487e6c5fb

I moved scr_suspended outside of the s2w #ifdefs as it's not directly linked to it, it's just a dependency for a couple of s2w/dt2w if-blocks. In theory this should also fix unintentional touchscreen actions while s2w is disabled. There's a small time frame after psensor turns off the display when touch input is registered but no hazardous hacks now.

Kernel built with this change available in tomorrow's nightly and also here right now: http://downloads.codefi.re/mustaavalkosta/tests/kernel-20130721-1647.zip

I'll probably do SR1.1 at some point next week if this fix proves to be ok in the nightlies.
[Desire HD Android Development] Mustaavalkosta:
You could share 2-3 of the most recent /devlog/system_log files (no appendix is the most recent one, .1 second recent, etc...) after you notice it has been disabled or grep through them yourself looking for "pebble" string. With luck there will be some errors. :)
[Desire HD Android Development] dreamland2000:
Will this kernel change also carry through into the performance one?
[Desire HD Android Development] Mustaavalkosta:
Of course. Perf version only has different pll2 bus clocks. Otherwise both kernels are the same.
[Desire HD Android Development] humzaahmed155:
Hmm, I might be a bit late on this but doesn't over clocking the pll2 bus kill the emmc chip? I thought that the nand was OC'ed too, thus slowly killing it every time there's a write operation?
[Desire HD Android Development] ayanamirei33:
Just noticed this: I have the "kill app back button" option enabled on the developer settings, but still cannot kill an app by long-pressing the back button. :confused: Is it a known bug? I'm on SR1 by the way, also enabled the custom actions on hardware keys if that matters.
[Desire HD Android Development] Steam.:
you need to hold pretty long for it to work.it's not like previous roms.
[Desire HD Android Development] young440:
I got a boot loop with the latest nightly. July 22nd nightly. The MD5 sum checks out so its not a bad download.
[Desire HD Android Development] evronetwork:
- Yes as expected, I'm using it quite often

- Yes as expected, I'm using it daily

- I have no use so I don't know about this
[Desire HD Android Development] tandeejay:
Wow! I'm impressed. I updated from RC5 with full wipe to SR1 on the weekend. There used to be a section on my train line for about 3 stations when I would get no service. No service drop out at all on the train today. Is that a difference in the ROM or was I just lucky? Great work with this ROM anyway! I love having a stable JB ROM on my ancient DHD
[Desire HD Android Development] Balu5:
I also have problem with todays nightly. Cannot boot up, there is just a black screen after HTC logo.

MD5sum file was OK.

I decided to fall back to last working nightly.
[Desire HD Android Development] XL3N7:
Wifi hotspot works fine
[Desire HD Android Development] bestfil:
had the same. now with SR1 with hotfix I haven't encountered it as far.

---------- Post added at 11:51 AM ---------- Previous post was at 11:44 AM ----------

O.K.

So had You got the problem with changing frequencies above 1,2 GHz? If so, that it's also my issue.

I will try to use your solution!

Thanks! :good:
[Desire HD Android Development] perern:
battery drain @ 1.5GHz

Yeah it's working now but the battery drain is to much for my 2.5 year old battery, getting a new phone in a month so i'm not going to buy a new one
[Desire HD Android Development] t0mas_:
i just installed todays nightly, and it doesnt boot. i cant even get a logcat, because it doesnt even boot to a point where adb works. also, it is not kernel related, since i flashed 0722 perf kernel, and that works quite nicely on 0719 nightly.
[Desire HD Android Development] Mustaavalkosta:
I had unbooting test build zip last night but I thought it didn't boot because I enabled HAVE_SELINUX for it. I guess I was wrong. I try to find some time tonight to figure out what else changed that could have killed nightlies...
[Desire HD Android Development] 3498BoyZ:
Hi,

i flashed today Nightlines(22.7.2013)

It killed up my device. After the HTC Boot Screen nothing happend. So i installed an older version and now it works :D
[Desire HD Android Development] Mustaavalkosta:
The culprit for builds which don't boot is probably this mess yesterday and today here: https://github.com/CyanogenMod/android_system_core/commits/cm-10.1

I'm downloading a new test build with the latest commits for system/core but codefi.re is quite clogged atm so it will take some time before my dl is ready. Hopefully it's that system/core thing and will be fixed tomorrow...

Source

Edit: It's ok now. Just flashed my test build.
[Desire HD Android Development] ___m0d_:
I've not been active lately but does test build you mean by any chance your latest nightly?
[Desire HD Android Development] ektob:
Thanks guys! Final question - do I need to have my bootloader unlocked to use this ROM ? I got S-OFF..

Thanks
[Desire HD Android Development] MusikMonk:
Not exactly, but the changes that made that test build work should be in the latest nightly.
[Desire HD Android Development] rjand:
0723 nightly boots okay with 0722 perf kernel - haven't tried without the perf kernel.

Good work Mustaavalkosta.
[Desire HD Android Development] Mustaavalkosta:
[MENTION=357620]ADB100[/MENTION] and anyone else using EE operator in the UK, this was just merged: https://github.com/CyanogenMod/android_vendor_cm/commit/869151c255ca68f0b1be26bc3e28787940b7f4dd
[Desire HD Android Development] hacktrix2006:
thanks for heads up will download latest night again. Only just put on SR1 which has been smooth all day no issues.
[Desire HD Android Development] a user:
what's with the 24th nightly?
[Desire HD Android Development] Mustaavalkosta:
Looks like outdated local frameworks/opt/telephony repo broke the build due some upstream changes elsewhere. I just pulled in latest changes for that single repo and started the build again with the other parts of the build tree synced at 00:30 GMT. It should be up for download soon.
[Desire HD Android Development] paulb_nl:
This seems to be working fine but I have not made that many calls. :)

I did have the same strange issue like famewolf had with the dalvik-cache not writable on the /cache partition after installing that kernel. Had to format it.

Also yesterday I had 2 kernel panic restarts a few hours apart.

I saw you also enabled SELinux in the kernel config so maybe that could be causing it. I am testing the kernel with that reverted.

It was both the same crash:
[Desire HD Android Development] evronetwork:
So when we should expect Android 4.3(CM10.2)? :silly:
[Desire HD Android Development] 3498BoyZ:
Ehen CM Team will release the codes then somebody can Compile it. I think ,it will work smooth enough for DHD because its a ONLY a small update

!@Send from my Mobile Phone@!
[Desire HD Android Development] t0mas_:
hi, im running 0723 nightly with 0722 perf kernel, and i just got another ts death. screen is black and unresponsive, backlight is lit. i was texting while it happened, dont think its related, but then again, what do i know :)

dmesg and logcat attached...
[Desire HD Android Development] Mustaavalkosta:
You should probably try to use the shipped kernel and see if that fixes it. I can't start debugging perf kernel as my ace won't run with it.
[Desire HD Android Development] Mustaavalkosta:
Thanks, I reverted the SELinux change for now as it's not used yet anyways and I don't have time right now to start digging into that error log but I keep it in mind for a spare moment. :)
[Desire HD Android Development] t0mas_:
ok, will try and see :)

i tought it doesnt matter, since device doesnt hang, and still responds trough adb shell
[Desire HD Android Development] Mustaavalkosta:
OCing can make things go haywire in various ways. It doesn't necessarily always end up in complete freeze. Thanks for the logs though. They may prove to be useful if the problem persists.
[Desire HD Android Development] bestfil:
O.K. as I'm a learning-noob (who want's to know a bit :p) tell if these steps are correct:

I can't find any init.d file. I have got only "init.d" directory.

So I pass over the first step.

Shall I add these lines to vdd_levels file? I ask because my vdd_levels contains 1305600, 1401600, 1516800 but with different frequencies.

This is why my phone freezes above 1200 MHz??
[Desire HD Android Development] perern:
There is a folder named init.d in /system/etc/ make a textfile without .txt named 99"something"

The value in vdd_levels is in mV, it changes the voltage given at each frequency. This just makes it work for mine, could be different for other people.
[Desire HD Android Development] andymnc:
Man excuse me for a little bit OT.

Thanks for ur work. I am enjoying too much how the dhd is super smooth and fast now! A little monster! Thank u really much.

Second, is there a way to have automatic updates on ur rom? Maybe with some app from the market?
[Desire HD Android Development] MusikMonk:
Since there are a goo.im then it should be possible to use GooManager:

https://play.google.com/store/apps/details?id=com.s0up.goomanager
[Desire HD Android Development] a user:
read carefully the most exciting feature in android 4.3, though which is currently hidden but can be activated already:

http://www.androidpolice.com/2013/0...ager-control-permissions-for-individual-apps/
[Desire HD Android Development] rfkw:
Hello, would be great if anyone could help me here.

I flashed superSU and now I cant get Lucky Patcher to work.

They did pop up asking to grant superuser privileges when I first run lucky patcher. However, when I try running a patch, lucky patcher just hangs and the "not responding" message pops up.

Any ideas?
[Desire HD Android Development] MusikMonk:
You might want to check on the forums from which you got Lucky Patcher for an answer. It's not very much likely that you'll get help here for an application with such a notoriously bad reputation.
[Desire HD Android Development] eryunt:
A noob question for sure, but what are the working CPU frequencies in SR1 ?

How can I monitor or change them ?

My battery drains too fast..

Beside all, AWESOME ROM !!! :good:
[Desire HD Android Development] Gonik:
Hey [MENTION=3382363]Mustaavalkosta[/MENTION],

after almost 10 days with SR1 I have to say it's a very stable rom! Congratulations and thank you very much. :good:

I have to ask though what about the Permissions Manager in CM? Is there a specific reason why it's not included or I am missing something? Sorry if this has been answered previously, I haven't find it, yet

Thanks for all for efforts
[Desire HD Android Development] evronetwork:
Generally speaking my fellow Greek this rom is as stable as a stock rom, I've used it as a daily rom for quite some time.

I've heard that in some phones that they tried custom android 4.3 they were having some issues with the camera(just like when JB was in our phones), but we will know soon enough when CM10.2 pop around

and some dev is willing to provide us with a rom for our DHD
[Desire HD Android Development] Mustaavalkosta:
You may want to hunt for rogue apps etc. with this: https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector

It was CM's decision to leave PM out of stable 10.1.x releases. The feature was introduced after the RC phase had already started and add to that quite late on the RC phase so I guess they didn't want to risk it causing any problems and left it for the nightlies.

On a sidenote, I got 10.2 to build but it doesn't finish booting. Probably some SELinux problem but it's just guessing because RSA auth prevented me from accessing logcat. Downloading a new build without RSA auth now to maybe see what's going on.
[Desire HD Android Development] Gonik:
Ah, thanks for the heads up... i didn't know that. I was reading CM reviews online and they mentioned the PM, but it was nowhere to be found... Keep up the good work, especially with the 10.2 on the way :)
[Desire HD Android Development] AnumEndzeit:
Think this might clear things up: https://plus.google.com/+CyanogenMod/posts/LSAVHjevZSp
[Desire HD Android Development] Mustaavalkosta:
They have mako booting up already, so it's not impossible to get it working. ;)
[Desire HD Android Development] XL3N7:
A while back there was a discussion regarding formatting the sdcard using the ext4 filesystem. In the last few builds I have notice I can mount my phone as a media device (mtp) and file transfer is much faster that way. Now my question is, would it be possible to format my sdcard using the ext4 filesystem? If I did, would I need the custom 4ext recovery mentioned back then and would the nightlies work normally or should they be modified. Finally, if I did, would there be any real benefit in doing so or is it not worth the trouble?
[Desire HD Android Development] hacktrix2006:
How did you enable mtp?
[Desire HD Android Development] d9vabder:
sometimes I'll get random reboots (screen will turn black and restart) im on SR1 (wiped data/factory reset+ dalvik & cache) and i have the Inspire so I flashed the inspiremod-revamped also. i didnt flash the test kernel this time (perfekt-kernel); flashed it before, same problem. I even checked if i had a virus with AVG pro, and nothing came up. i can send a log cat if that would help to diagnose my problem, thanks in advance
[Desire HD Android Development] Mustaavalkosta:
Ext4 sdcard should work fine now that CM fixed MediaProvider volume UUID detection which only supported fat volumes before. The rest I don't know. I haven't had a chance to test it yet.
[Desire HD Android Development] andymnc:
Excuse me again. If i use goomanager, after i flash rom and goog apps with it, should i still flash boot.img as per manually installation?
[Desire HD Android Development] Mustaavalkosta:
Yep, if you have been required to flash boot.img separately in fastboot this far, you need to do it also with GooManager.
[Desire HD Android Development] Mustaavalkosta:
SR1.1

Download: [codefi.re][goo.im]

Buttonlight patch: [codefi.re][goo.im]

Changelog: Kernel: switched to better in-call fix for synaptics

Manifest: [github]

Special thanks to [MENTION=1804553]paulb_nl[/MENTION] for his help to brainstorm a better fix to replace dirty proximity sensor hack!

And before someone asks, changelog is really only that kernel change thus only .1 version bump.
[Desire HD Android Development] rajkos:
Can i flash dirty to SR-1.1 from sr-1?
[Desire HD Android Development] MusikMonk:
Yes.
[Desire HD Android Development] linkit87:
The last perf kernel is good for 1.1?
[Desire HD Android Development] Zeitraffer:
Hello Mustaavalkosta and everyone else who makes this possible,

I would just like to say that I'm really excited about Android 4.3 and I'm swimming on a wave of good vibrations here all because of your awesome work :)

Thank you so much, I can't say it often enough :):good:

http://xdaforums.com/showthread.php?p=44004189#post44004189http://xdaforums.com/showthread.php?p=44004189#post44004189
[Desire HD Android Development] rfkw:
Can I know what does the buttonlight patch fix?

and also what are the differences, slight or major that we would notice with the in-call fix?

Thanks!
[Desire HD Android Development] thenorm89:
What about in call fix for atmel?
[Desire HD Android Development] Mustaavalkosta:
Should be.

It makes button backlight to follow screen dim instead of static 5 second timeout. After that patch backlight turns off based on your screen timeout - 7 seconds.

There's no difference during calls. Only difference is that now proximity sensor + touchscreen behavior isn't affected elsewhere like it was with my previous hack to turn off synaptics touchscreen input while in-call.

Atmel never had any proximity sensor hacks so there's no need to change anything. No one has reported any touchscreen issues during calls with it either.
[Desire HD Android Development] humzaahmed155:
Hmm, could CyanogenMod 10+ ever get the "OFFICIAL" status for our device?
[Desire HD Android Development] dr0o2o:
Only IF HTC release 4.2 kernel for dhd but we all know it will never happen
[Desire HD Android Development] humzaahmed155:
Hmm, what about the Galaxy S? (i9000) didn't that lack official sources too?
[Desire HD Android Development] dr0o2o:
No idea, maybe Galaxy s has official support becouse of his twin nexus brother. Anyway official or not this ROM is great. Maybe Mustaavalkosta can enlighten us more precisely about this.
[Desire HD Android Development] alaci:
DHD Android 4.3 update?

http://www.pocketnow.com/2013/05/30/htc-android-4-3-update

Joke?
[Desire HD Android Development] Z0R:
It's a joke as it will be not upgraded from official 2.3 to 4.3.
[Desire HD Android Development] :
Fake, however, if it was true, it would be amazing :D
[Desire HD Android Development] humzaahmed155:
[OT] I still dont get HTC, they choose to not update phones like the One S, yet it has the same hardware as the Qualcomm One X, XL, and they are said to receive the update..
[Desire HD Android Development] xp314a:
From earlier in the thread:
[Desire HD Android Development] marra2:
Is there a camera fix for this rom if it flashes the phone freezes and have to power off and on ?
[Desire HD Android Development] famewolf:
Has to be the nightly you are running. I'm running 07/19 and camera has been fine using paperkarma. Hmm might be your camera app...I run camera zoom fx.
[Desire HD Android Development] xZeroMancerx:
I'm on sr1, try to use both stock camera and camera jb+, both cause reboots
[Desire HD Android Development] nwhutt:
Phone rebooting when flash is used with camera is usually caused by a bad battery. Try the camera when your phone is plugged into your charger if it doesn't reboot then you need to get a new battery for your phone.
[Desire HD Android Development] gogsy1975:
on 1.1. working ok stock camera and Pro Capture... maybe your battery is a problem... ;)
[Desire HD Android Development] evronetwork:
Exactly :}

Nop, they don't mean officially 4.3 android..they mean unofficially ;}
[Desire HD Android Development] xZeroMancerx:
Well it has been dying rather quickly ? Any ideas on what kind of battery is good for the i4g
[Desire HD Android Development] XL3N7:
I've tried formatting my sdcard with ext4 filesystem. 4ext recovery fails to find the sdcard, so it can't be used, gallery fails to find the card as well and displays no media. Thanks for replying though. Back to fat32.
[Desire HD Android Development] nwhutt:
I can recommend this one on Amazon, been using it for the last few months, very cheap and its outperformed my 2 original HTC batteries.

http://www.amazon.co.uk/gp/aw/d/B004E2PI7A/ref=mp_s_a_1_2?qid=1375055423&sr=8-2&pi=AC_SX110_SY190
[Desire HD Android Development] Mustaavalkosta:
Did you try with the nightlies? Required rom side commits didn't make it to 10.1.2. Synergye tested those same commits with cfxe and reported it's working.
[Desire HD Android Development] XL3N7:
I've never flashed sr releases. I'm on the nightly ftom the 26th and using the performance kernel.
[Desire HD Android Development] evronetwork:
Due to restricted area I would suggest to get an original battery, because I never saw anyone claim better performance with an aftermarket battery. Most of them think it's better but no proof about it.

It's pretty much insane to think that a company won't use the available space that the phone has and a small/Chinese/cheap battery would have "bigger" capacity at the same space. If it's bigger in size I can believe it has bigger capacity, else it's just an illusion.
[Desire HD Android Development] nwhutt:
The problem with purchasing a genuine HTC battery now is the phone is now getting old and the genuine replacement batteries manufacture date will be most likely from a few years ago so you will be no better off than with the battery you already have as the chemicals in the battery will have deteriorated by just sitting on the shelf. I had this happen with a genuine HTC replacement battery, it didn't last long at all and in the end was a waste of money. The particular aftermarket battery I purchased had been manufactured recently and is working really well. Yes I agree the capacity is most likely a lie but at that price plus the delivery its well worth trying.
[Desire HD Android Development] dmcvision:
Hi,

Any idea of when we have an 4.3 room ? I read that CM are working in 10.2 ( JB 4.3 ), but i would like to know if it will be a version for our htc desire hd.

Thanks