yashsingh1/xdaforums huggingface dataset:
[HTC One X] 3498BoyZ:
First type : su

######S2W Configs#########

##Turn on

echo "1" > /sys/android_touch/sweep2wake;

##10 points to lock keyboard panel

echo "10" > /sys/android_touch/s2w_register_threshold;

##725points min distance to on/off screen

echo "725" > /sys/android_touch/s2w_min_distance;

##Direction dependent to right on, to left off

echo "0" > /sys/android_touch/s2w_allow_stroke;

##DoubleTap2Wake Configs##

##Turn on

echo "1" > /sys/android_touch/s2w_allow_double_tap;

##500ms between double taps

echo "500" > /sys/android_touch/s2w_double_tap_threshold;

##150ms one press

echo "150" > /sys/android_touch/s2w_double_tap_duration;

##Fast Charge##

##Turn off by default

echo "0" > /sys/devices/platform/htc_battery/fast_charge;

Can Someone try the commands with terminal Emulator

Gesendet von meinem HTC One X mit Tapatalk 4
[HTC One X] teemo:
This is why :D :

Introducing ART

ART is a new Android runtime being introduced experimentally in the 4.4 release.

This is a preview of work in progress in KitKat that can be turned on in Settings > developer options.

This is available for the purpose of obtaining early developer and partner feedback.

Important: Dalvik must remain the default runtime or you risk breaking your Android implementations and third-party applications.
[HTC One X] and313:
Its kind of good fun this ear speaker echo bug.. :D
[HTC One X] bobby_sucker:
it's fun when you talk to your friend and he knows what it is, just to laugh

and it is absolutely not funny when you gotta make dozens of phone business calls daily - from that on it brings not only anger:laugh:
[HTC One X] Regnas:
Thanks, I'll try that.
[HTC One X] bosas200:
Damn CM12 looks promising as only videos are broken at the moment! Thanks Thomy:highfive:
[HTC One X] kuulbhaskar:
i have flashed latest pa gapps with the latest nightly . Will it cause any problem ?
[HTC One X] Regnas:
AFAIK, no.
[HTC One X] yossi2010:
I always use pa gapps they are great.

They never let me down.

The default Cm11 gapps are super outdated.

---------- Post added at 11:20 AM ---------- Previous post was at 11:18 AM ----------

Video recording was always broken :D so no problem here.

Well video worked but with the low volume and the stuttery inconsistent frame rate it was kinda unusable.

---------- Post added at 11:26 AM ---------- Previous post was at 11:20 AM ----------

1 day and 2 hours the phone went down from 96 to 48.

Usually I have like 5-8 hours on battery and about 1:30 hours screen

2 years old battery will soon get an HTC one x+ battery. I hope it will work good.

And yes the screen became very efficient the last months^^

Android is always first now, both of them...
[HTC One X] beelzebubbie:
Can I ask you to show your CPU freqs stats ( cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state ) or via screenshot from something like CPU Spy? I'm very interesting why CPU used only 640+ Mhz freqs while scaling_available_frequencies shows freqs beginning from 51 MHz…
[HTC One X] yossi2010:
there you go.

it mostly uses deep sleep.

now im on smartmax eps.

usually this one creates stuttering but somehow after i clean flashed m12 its great

first screen minute was on full brightness thats why it decayed so harshly.

i use the phone all day long on the lowest in order to extrat about 1:40 hours of screen.

lame compared to the marathon phone with 5000mAH. or the 10 hrs screen of the xperia z3 compact
[HTC One X] beelzebubbie:
Hmmm… my values are *very* different, and it explains high power consumption in my case. BTW, I've noticed some lags on smartmax*, but no lags on good old ondemand.

51000 0
102000 0
204000 0
340000 92
475000 320688
640000 13239439
760000 1768323
860000 3647334
1000000 1553194
1100000 120108
1200000 133501
1300000 274174
1400000 1151265
1500000 166657

maybe we're using different kernel/hardware?

root@endeavoru:/ # uname -a
Linux localhost 3.1.10-cyanogenmod+ #1 SMP PREEMPT Thu Nov 20 09:37:20 PST 2014 armv7l GNU/Linux
root@endeavoru:/ # cat /proc/cpuinfo
Processor	: ARMv7 Processor rev 9 (v7l)
processor	: 0
BogoMIPS	: 1992.29
processor	: 1
BogoMIPS	: 1992.29
processor	: 2
BogoMIPS	: 1992.29
processor	: 3
BogoMIPS	: 1992.29
Features	: swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x2
CPU part	: 0xc09
CPU revision	: 9
Hardware	: endeavoru
Revision	: 0000
Serial	: 0000000000000000
[HTC One X] yossi2010:
Seems to me like good old demand values.

Btw you are aware that this file doesn't show deep sleep time?

I'm on the same hardware. Tegra 3 (the one variant that can undervolt the most)

I'm on stock kernel fresh install of m12

Restored everything with titanium backup into external storage

Works like a charm.

Go to performance and look at the current frequency. If you let it be for about 10 seconds without touching the screen does it get to 51? Change to interactive or smart max (turn screen off for 10 seconds so it applies well) does it get to 51 now?
[HTC One X] beelzebubbie:
I think that deep sleep turns CPU off so this stats do not take sleep periods into account . Even I put device to sleep, frequency *never* falled below 640 (I checked this via adb shell). It looks like the governor (or even scaling_driver) not even tried to set lower values, but why? Are your sure that you're using the *same* CPU (exactly same values for all fields in /proc/cpuinfo?) I want to exclude hardware problems…

I looked into top/htop output and find who eating CPU – the kernel itself:

root@endeavoru:/ # top -m 5 -n 3
User 3%, System 34%, IOW 0%, IRQ 0%
User 24 + Nice 0 + Sys 211 + Idle 383 + IOW 0 + IRQ 0 + SIRQ 1 = 619
PID PR CPU% S #THR VSS RSS PCY UID Name
51 3 27% D 1 0K 0K root kworker/u:1
6773 0 3% S 1 0K 0K root kworker/u:3
2402 3 2% S 14 537980K 41812K bg system com.android.settings
7289 0 1% R 1 1308K 488K root top
1 0 0% S 1 752K 616K root /init

User 4%, System 35%, IOW 0%, IRQ 0%
User 25 + Nice 0 + Sys 208 + Idle 349 + IOW 0 + IRQ 0 + SIRQ 0 = 582
PID PR CPU% S #THR VSS RSS PCY UID Name
51 0 32% R 1 0K 0K root kworker/u:1
2402 0 3% S 14 537980K 41812K bg system com.android.settings
5 0 1% S 1 0K 0K root kworker/u:0
6773 0 1% S 1 0K 0K root kworker/u:3
7289 3 1% R 1 1312K 488K root top

User 5%, System 37%, IOW 0%, IRQ 0%
User 29 + Nice 5 + Sys 217 + Idle 330 + IOW 0 + IRQ 0 + SIRQ 0 = 581
PID PR CPU% S #THR VSS RSS PCY UID Name
5 0 31% R 1 0K 0K root kworker/u:0
555 0 4% S 70 602836K 58832K fg system system_server
51 0 3% S 1 0K 0K root kworker/u:1
2402 0 3% S 14 537980K 41812K bg system com.android.settings
7289 3 1% R 1 1312K 488K root top

but it very hard to debug…
[HTC One X] yossi2010:
what if you force the max to be like say: 204? or even 340 in the performance menu?

will it then say current frequency 204?

well assuming we both use the htc one x international than yes we should have the same cpu.

deep sleep doesn't turn the cpu off some apps call this mode 1 mhz...

the cpu is on but really slowly.(if it wasn't on how would you get calls/alarms?)

have you tried safe mode? (long click restart via power menu) see there in settings>performance>cpu>current frequency what it says when no third party apps are working.

it might also be a problem with your gapps(that makes them lock your cpu)
[HTC One X] bosas200:
[MENTION=2879446]Thömy[/MENTION] Maybe you want to share with us what you have done at the moment? :D Because Not many devices have Android L with so many working things :good:
[HTC One X] beelzebubbie:
it will say nothing – UI is not responsive at freqs below 475

… so I asked to compare /proc/cpuinfo. I do not know how far «international» my HOX is :)

1MHz is not listed in scaling_available_frequencies, so I assuming that is not governor stuff. My knowlegde of «deep sleep» is vanishingly small, but I guess that my problem is not related.

Safe mode changed nothing – same high load from kworker (which is not even android but kernel process). So I'm sure that is not userspace problem at all and I need help from CM guys :)
[HTC One X] kassaaam:
HTC one x has 5 cores, not 4. The first 4 work together when the screen is on while the fifth one is the deep sleep (power saving core) mode core, as far as I know it is also rated at 1.5ghz but I might be wrong at this.
[HTC One X] bosas200:
5th core i 0,5Ghz if i remember right
[HTC One X] beelzebubbie:
according to /usr/src/linux/Documentation/workqueue.txt, I've tried to debug crazy kworkers:

# echo workqueue:workqueue_queue_work > /sys/kernel/debug/tracing/set_event
# cat /sys/kernel/debug/tracing/trace_pipe

and found that output is overflowed by:

kworker/u:1-21234 [000] 11800.460454: workqueue_queue_work: work struct=c0a7c064 function=sensor_irq_do_work workqueue=cd59ebc0 req_cpu=0 cpu=4
kworker/u:1-21234 [000] 11800.461002: workqueue_queue_work: work struct=c0a7c064 function=sensor_irq_do_work workqueue=cd59ebc0 req_cpu=0 cpu=4
kworker/u:1-21234 [000] 11800.461394: workqueue_queue_work: work struct=c0a7c064 function=sensor_irq_do_work workqueue=cd59ebc0 req_cpu=0 cpu=4
kworker/u:1-21234 [000] 11800.462046: workqueue_queue_work: work struct=c0a7c064 function=sensor_irq_do_work workqueue=cd59ebc0 req_cpu=0 cpu=4

function sensor_irq_do_work is calling in rate more than thousand per second! Googling this function I see that related code might belong to light/proximity sensors cm3628/cm3629. Seems that I should dig into this myself…
[HTC One X] Angelo37:
We were talking about Lollipop right?
[HTC One X] Thömy:
Still problems with recording videos and video playback. And although the radio now initializes reasonably well you actually can't do any calls and there's no mobile network. Like I said before. I wont release something that is not able to make emergency calls.
[HTC One X] lalit387:
[MENTION=1876090]Thomy[/MENTION] we know you are working hard to make it usable and that's a valid point although we all are eager to taste CM12 but respect and appreciate your decision :)

Take your time buddy:thumbup:

Christmas is near:beer:
[HTC One X] yossi2010:
the fifth one is what usually works(screen on).

the quad kicks in when you do heavy stuff and are capped at 1400
[HTC One X] Thömy:
Recording and playing videos is working now. At least it's not as broken as before.

Making calls and mobile internet is still broken. However (thanks to [MENTION=698346]teemo[/MENTION]'s mom ;)) we now know that we can receive calls.
[HTC One X] Regnas:
Cool stuff...

The party is starting... :o

Cheers...
[HTC One X] beelzebubbie:
Just updated to last available fw, reflashed CM/GApps, the problem with kworker heavy load still persists. Any help wold be appreciated…
[HTC One X] osama-selo:
Great.... Keep us updated of what's going on.

Thaaaanks
[HTC One X] bosas200:
I tought that making 5.0 will take a lot of time or it will be impossible. But [MENTION=2879446]Thömy[/MENTION] is so great that now it have only few bugs :good:. Fingers crossed about its development and cant wait to try it! :highfive::fingers-crossed:
[HTC One X] androidreviewguy:
Just was curious if one of you smart HTC one users could possibly help me over on this thread I'd defiantly be willing to donate if you can help please and thanks!

http://xdaforums.com/showthread.php?t=2954655
[HTC One X] Thömy:
Whats the output of "dmesg | grep cm3629"?
[HTC One X] beelzebubbie:
a bunch of

<3>[72952.343245] [PS][cm3629 error]sensor_irq_do_work error: unkown interrupt: 0x0!
<3>[72952.343553] [PS][cm3629 error]sensor_irq_do_work error: unkown interrupt: 0x0!
<3>[72952.343950] [PS][cm3629 error]sensor_irq_do_work error: unkown interrupt: 0x0!
<3>[72952.344415] [PS][cm3629 error]sensor_irq_do_work error: unkown interrupt: 0x0!
<3>[72952.344751] [PS][cm3629 error]sensor_irq_do_work error: unkown interrupt: 0x0!
<3>[72952.345135] [PS][cm3629 error]sensor_irq_do_work error: unkown interrupt: 0x0!
[HTC One X] milda25:
I saw screenshot in your original post and I think you are not in fastboot mode. Press power button on item "fastboot" with usb cable connected and then install drivers ... On display you have to see red title "fastboot usb", not blue "fastboot".
[HTC One X] scufita.rosie:
Just wanted to say that the latest nightly (11.28) is the best I've tried yet... Thank you cm devs :)
[HTC One X] Regnas:
Can you share your findings please? :)

Thanks.
[HTC One X] scufita.rosie:
I'm not a dev, but what I can say is that ram usage has improved, a lot. I now get around 300mb free ram. In previous versions I got like 200mb max on daily usage. Battery life has also improved and the feel is that I'm using an overall snapier o.s.

This is my opinion as a regular user, not as an advanced one.
[HTC One X] Regnas:
Thanks.

By the way, you did a clean or dirty flash?
[HTC One X] scufita.rosie:
Dirty flash.
[HTC One X] Regnas:
Cool.

Thanks... :good:
[HTC One X] bilbonotry:
Free RAM is wasted RAM
[HTC One X] Regnas:
Other thing, why your status bar icons looks like the Lollipop ones? :confused:
[HTC One X] anttaz:
the latest nightly (11.28) is using more power than it is gaining charge even when not in use phone loses 1% per hour stood idle whilst charging

its a joke
[HTC One X] scufita.rosie:
Yup. I'm using Herathon Night theme for CM11...it's pretty nice, really close to Lolipop. I found it in the CM11 thread over at HTC One M7 as a free download. I recommend that one as the one I tried from play store is vrey very buggy.
[HTC One X] bosas200:
[MENTION=2879446]Thömy[/MENTION] so how are you? Those broken calls have bright future? :D
[HTC One X] Regnas:
:good:
[HTC One X] Thömy:
Nothing has changed regarding calls and data :(. Still tapping in the dark. Even worse. I lost all sensors and I don't know why.
[HTC One X] bosas200:
Damn.. thats bad :( i hope you will find a way to solve it
[HTC One X] Regnas:
Those are bad news... But no worries... we're praying for you.... :fingers-crossed::fingers-crossed::D
[HTC One X] canatlou:
Hi , I tried many times to boot with cm but can't, I have the circle which is turning but that's all. I have the hboot 1.72 and latest cwm

Edit : It's good ! i found, it was the recovery, i had to use the last twrp :)
[HTC One X] yossi2010:
most themes use these icons.

i recommend gemflat or gem emerald

they are paid in the google play but free on the dev thread

http://xdaforums.com/showthread.php?t=2467075

right now i use the vue theme(paid).

besides there are android lollipop themes in the play store too.(L ready materiaL and more...)

---------- Post added at 12:39 PM ---------- Previous post was at 12:34 PM ----------

major ones but yeah! [MENTION=2879446]Thömy[/MENTION] sure is one of the best!(together with quarx^^)
[HTC One X] bosas200:
[MENTION=2879446]Thömy[/MENTION] If we can somehow help you just tell us. btw how are things? I see that Snapdragon devices have more problems wit 5.0 than we, of course its bad that ours major bugs too.. But :fingers-crossed: hoping for the best!

We could help test there. There are some good testers i think :)
[HTC One X] Thömy:
There's progress on the radio front. Patches submitted to the CyanogenMod Gerrit (not by me) enable outgoing calls and mobile internet. There are still some problems. If the remote side hangs up your phone doesn't notice that and keeps the call. Also sometimes the IP routes are empty (no connectivity) even though you are connected to a network. Disabling and re-enabling mobile data fixes this for now. Sometimes it wont work at all. Lots of restarts needed to fix problems.

I'll wait a few days and see if the patches get updated to fix some of the remaining issues or if there are new patches.

Sensors work normally again. Was my bad. Deleted a file I shouldn't have :).
[HTC One X] Maher88:
You are a great human, thank you so much for the time and effort. Good luck.
[HTC One X] bosas200:
Thats the best thing i heard today. Thanks Thomy!
[HTC One X] bosas200:
Maybe you want to share with us it? :D sounds pretty good :D
[HTC One X] SlashSpeed:
He said he won't upload anything until mostly everything is working. And I support him with that. Uploading now will just cause tons of people asking for help and fixes.
[HTC One X] yossi2010:
He said until you cannot do emergency calls he won't release it.

now you can^^

not alot of people will ask for fixes because i doubt alot of people would flash a half baked rom.

but who will are the smart people here that can fix stuff and help thomy.
[HTC One X] electronizer:
that happend on every android release, people start flashing and then complain that somethings don't work...Thomy will release when he thinks is good enough, don't put pressure on the guy
[HTC One X] ruizit0:
guys dont beg please .. let the man work !
[HTC One X] scufita.rosie:
So, I've tried the latest build, the 12.02 and I had some issues with it. Issues I didn't have with the previous nightly. After 15 minutes of inactivity I cant wake up the phone. The soft buttons light up but that's about it.

I went back to the last stable build for me, the 11.29.

I am using ART and KSM, but with 11.29 it works just fine...and, also, I dirty flashed from 19 to 02.

Tried to submit a cm report but it got stuck for more than 1hour so I gave up. Hope this helps.
[HTC One X] amelsfort:
I am currently running M12, but I have some issues.

- My call log is empty: I read it was fixed in a nightly some time ago, but is there also something I can do on M12 to fix it?

- When taking a picture, it takes a long time to save it. It doesn't show up in the gallery for some time and if it does, it's just grey. Only after a little while, it shows the actual picture.

- Sometimes after waking up the phone, it is very slow. I can hardly use it and everything seems to hang. Then, after a while it seems to be solved and everything works smooth again. Is this a known issue or is there anything I can do to check what's going on?
[HTC One X] scufita.rosie:
So, I did a clean flash of the latest nightly (12.02), reactivated ART, but left KSM unchecked. I've been running it for a couple of hours now and it's good. Fingers crossed. :)

PS: can't wait for lolipop. I'm one step from buying a Nexus 5 or a 4 just to get that update :)
[HTC One X] sathara:
flash faux 17m
[HTC One X] bosas200:
Lollipop for HOX only holds me from not buying new phone :D Cant wait to get my hands on it. I dont even watch any video because i want to explore it by myself :D
[HTC One X] kicikk:
What about dalvik support on Lollipop? Is it going to be possible to change to dalvik or only ART will be supported? I'm asking because of xposed framework.
[HTC One X] milda25:
Only ART ...
[HTC One X] saiz136:
Well firstly, Android 5 Lollipop will only run on ART, they totally disabled Dalvik or is there a future update for that!? Secondly, if you're following the thread about the Xposed framework, they are finding a way to run on it on ART but apparently no updates as of today so all we have to do is wait for the devs of Xposed Framework to make it work.
[HTC One X] patriotaus:
Dalvik is dead. ART is the future. Xposed may no longer exist as he's having problems.
[HTC One X] Burtrum57:
Does this version of the Rom support ART? In the first post it warns about it being unstable.
[HTC One X] Regnas:
There is a option to change the runtime in Developer options... try it and see if you like.

Me? I never tried it (yet), but people are saying good things about it.

---------- Post added at 11:50 AM ---------- Previous post was at 11:46 AM ----------

Cool stuff...

Thanks. :good:
[HTC One X] scufita.rosie:
I am using the ART runtime on 12.03 and haven't encountered any issues so far. Did a clean install of the latest nightly and it's pretty good. Try it. It will heat up at the first boot and it will need a couple of hours till it's done with everything but it's worth it.
[HTC One X] kbal:
I'm having some SODs (sleep of death) lately :/
[HTC One X] scufita.rosie:
I had those too on 12.02 and 12.03. Then I went with a clean install and it's pretty much ok now.

​
[HTC One X] kbal:
Just had another SOD with 12.04 :(
[HTC One X] scufita.rosie:
Did you do a clean install? That workes for me. I.e. clean cache, dalvik, data and install the update zip from recovery...

Ps: found an sms backup tool on play store that works with kitkat. Simpley search for sms backup kitkat. :)
[HTC One X] anttaz:
todays nightly is excellent only thing worrying me about lollipop is art when i use art on this rom kitkat i get 111mb free internal of 2gb and apps dont run and low storage warnings because of that. So I switch back to dalvik.

Lollipop is art only so how will HOX cope?
[HTC One X] bosas200:
Hello, [MENTION=2879446]Thömy[/MENTION] how does HOX holds with L? Someone made patches for network? Or maybe you solved it? The progress you said few days ago is still very spectacular, so thanks again! :good:
[HTC One X] Angelo37:
Probably 2 weeks wait and then he will release it lol.
[HTC One X] Regnas:
Good question.

Hehehe... nice Christmas dream. [IMG="hihi"]http://i.imgur.com/X4m9v.gif[/IMG]
[HTC One X] beelzebubbie:
As we talked on IRC, I tried to rebuild the kernel without proximity sensors initialization and finally I've done it successfully – CPU freqs and power consumption was significantly lowered, but some questions was left:

1. which sources *exactly* I should use (Last time I installed 20141119-NIGHTLY)? I used:

– git clone https://github.com/CyanogenMod/android_kernel_htc_endeavoru.git,

– git checkout -b cm-11.0,

– pulled config.gz from phone.

But I encountered a problem with CONFIG_USB_OTG_WAKELOCK option – target for otg-wakelock.o expects source file which is absent in drivers/usb/otg. So I guessed that I used wrong sources.

2. Is there possibility that HTC sources merged into CM is not lastest? I've ordered new proximity sensor, but what if the problem is lies deeper? I2C controller for instance? Right now I'm not sure what and how should I debug… Is there anyone with similar problems?
[HTC One X] soralz:
Just wanna ask a question as my HOX+ CM11 forum not very active. Can I confirm the CM11 camera video recording only save as 3GP but not MP4?
[HTC One X] Thömy:
I haven't done and tested anything since the last time. Patches were updated but I don't know if they fix the remaining problems. Didn't have much time lately.

Those are the correct sources. Don't pull the config from the phone. Just do a "ARCH=arm make cyanogenmod_endeavoru_defconfig". But that shouldn't make a difference. drivers/usb/otg/otg-wakelock.c exists in my tree, so not sure why you get that error.
[HTC One X] bosas200:
Its okay, still nice job youre doing. Cant wait to get my hands on what you have done :D [MENTION=2879446]Thömy[/MENTION] of course if you want we could help with testing. It would save maybe some time for you
[HTC One X] Regnas:
Yep.

The Codec changes but the container or file format /extension is 3gp... At least on my HOX.
[HTC One X] teemo:
I tried a few builds lately, they were all looping without bootlogo. Maybe a T3/surfaceflinger problem. Same thing with P880 as I understand. Ping me if you want full logs. Slim does not have this problem, but wifi sucks for now :rolleyes:

Regarding latest SIM patches. It looks like they work: I get the real serial from SIM and I get a phone number. Nothing random, it just works. However, there may be an issue more to solve, as I still have no connection. My phone number is not the same as the number the SIM is born with, that may confuse Android. When asking for phone#, it will get the OLD original number.
[HTC One X] jefferson_uk:
Does anyone else have a working docking station? I have just bought one from eBay and although it charges and correctly rotates the screen, it does not play audio through the docking station speaker. The 'Audio' setting under Settings -> Sound -> Dock is also greyed out, even when plugged in.

I note that the first page states 'Crashes and freezes when using a docking station' as a known problem but apart from the audio issue it seems fine. I have the official "HTC CR S650" speaker dock.

EDIT: I've done some digging and this maybe a bug with CM, theres a longstanding bug (CYAN-40) which seems related. The comments on the bug suggest its hit-and-miss and maybe hardware related. Heres a logcat of me connecting the dock. It can see its been connected, line 140

http://pastebin.com/24ScCyTr

Any ideas or have i bought a glorified charger?