yashsingh1/xdaforums huggingface dataset:
[HTC One X] Thömy:
To the people having in-call and echo problems. Can you check if pollyd is running?

Run the following to get the status of the service.

$ getprop init.svc.pollyd

If it says "stopped" then at least adjusting the in-call volume will not work. Try to start it by entering:

$ start pollyd

Get me a logcat during the pollyd startup.

It could show something like

D/pollyd ( 159): startup
D/pollyd ( 159): Searching for /dev/pts/7, executing /system/xbin/fuser /dev/pts/7
D/pollyd ( 159): Searching for /dev/pts/6, executing /system/xbin/fuser /dev/pts/6
D/pollyd ( 159): Searching for /dev/pts/5, executing /system/xbin/fuser /dev/pts/5
D/pollyd ( 159): Searching for /dev/pts/4, executing /system/xbin/fuser /dev/pts/4
D/pollyd ( 159): Searching for /dev/pts/3, executing /system/xbin/fuser /dev/pts/3
D/pollyd ( 159): Searching for /dev/pts/2, executing /system/xbin/fuser /dev/pts/2
D/pollyd ( 159): Searching for /dev/pts/1, executing /system/xbin/fuser /dev/pts/1
D/pollyd ( 159): FATAL: no free pts found - exiting in 3 seconds

which is bad. Or something like

D/pollyd ( 670): startup
D/pollyd ( 670): Searching for /dev/pts/7, executing /system/xbin/fuser /dev/pts/7
D/pollyd ( 670): Free pty is at /dev/pts/7, opened as fd 8
D/pollyd ( 670): socket setup finished. afd=7, pfd=8

which is good.

Another thing you can provide are logcats while changing the volume.
[HTC One X] RedSkyRoad:
I remember when I was running Ice Cold Jelly, that the Polly app was always in "restarting" state with the in-call issue...

Will flash ROM quickly to test...
[HTC One X] Thömy:
What kind of reboots? Did it show the HTC boot screen? Or just the CM boot animation. If it is the former I need the last_kmsg because it was probably a kernel panic. If it's the latter then I need the relevant logcat messages from exactly the time when the reboot happened. Unfortunately once you're able to capture them, they're long gone. Unless your device was already connected to a PC. There's the possibility that something was saved in /data/tombstones. ZIP that folder and upload it.
[HTC One X] Thömy:
I don't have a dock. So logcat and last_kmsg please.
[HTC One X] Thömy:
The first messages in my logcat are from the EWdaemon and look like that.

D/EWdaemon( 155): Panasonic Sensor Fusion (daemon), Version:1.0.1.2
D/EWdaemon( 155): Copyright (c) 2011 all rights preserved by Prolific Technology Inc.
D/EWdaemon( 155): Now algorithm version : 120307
D/EWdaemon( 155): dir_polar.acc = 6, 7
D/EWdaemon( 155): dir_polar. mag= 6, 7
D/EWdaemon( 155): dir_polar. gyro= 6, 2
D/EWdaemon( 155): Sensor fusion libary start!
D/EWdaemon( 155): StartSignal

They are completely missing in your logcat. Can you give the your dmsg or last_kmsg output? The first line of that output should be

[ 0.000000] Initializing cgroup subsys cpu

so I can see some output from the init process.

Also the output of

130|root@endeavoru:/ # getprop init.svc.ewtzmud
running
[HTC One X] Guids:
I see that the EWDAEMON are completely missing, are these essential? Also, the hox is now running the latest nightly from today.

I have the outputs of dmesg and last_kmsg. Hope these are correct this time. What do you mean by the last output?

edit: now i understand you have to do the last command in terminal emulator, i was working from my mac with adb.

u0_a65@endeavoru:/ $ su
root@endeavoru:/ # getprop init.svc.ewtzmud
running
[HTC One X] Thömy:
[ 0.000000] Linux version 3.1.10-cyanogenmod+ (thoemy@thoemy) (gcc version 4.7 (GCC) ) #3 SMP PREEMPT Mon Dec 23 20:03:15 CET 2013

You are using a wrong kernel. Flash the boot.img from a official ROM zip.
[HTC One X] RedSkyRoad:
[MENTION=2879446]Thömy[/MENTION],

posted logcat in previous post

Should I maybe take a logcat while pressing the vol button in-call?

PS: How do I clear logcat so I can start fresh?
[HTC One X] Thömy:
Nothing relevant is in that short log. There should at least some references to pollyd and libcall-volume in there.

I don't know if the log buffer can be flushed somehow.
[HTC One X] RedSkyRoad:
I let the logcat run for at least 2 minutes before I did anything on the phone... Strange thing is that the Polly app in "Running" apps never stopped even if I typed "stop pollyd". It had the same running time as all the other apps since boot
[HTC One X] Thömy:
Make sure you're executing the command as root and not as the shell user.
[HTC One X] Guids:
wow sorry, I had reverted back to 10.2 before i flashed the new nightly. Unfortunately, the problem remains

edit: i also added another logcat of the boot sequence.
[HTC One X] Angelictears:
Im running on the 18012014 nightly, flashed on top on preview build, and running cyandelte ever since. So far everything works well, memory leaks seems to be reduced dramatically, except for chrome. Battery seems to be reduced from 10.2, bit too early to tell as the system needs to settle in. No echo bugs or anything major.

I never quite really wipe my data from since 10.1.

Overall what i do is wipe /system, flashed KK preview build, update to nightly 17012014, and update to latest build from cyandelta. Is the echo bug isolated or im just lucky?
[HTC One X] RedSkyRoad:
adb logcat -c

clear's phone's logcat buffer
[HTC One X] Thömy:
I haven't actually looked at the source of the kernel driver but this doesn't look good:

[ 3.610666] [GYRO][PANASONIC]
[ 3.610669] Enter ewtzmu_i2c_probe!!
[ 3.618080] tegra-i2c tegra-i2c.0: I2c error status 0x00000008
[ 3.618239] tegra-i2c tegra-i2c.0: no acknowledge from address 0x69
[ 3.618327] tegra-i2c tegra-i2c.0: Packet status 0x00010009
[ 3.619549] [GYRO][PANASONIC ERROR] Fail to init chipset(I2C error): ret value=-121
[ 3.619637] [GYRO][PANASONIC ERROR] PANA:GYRO:init err
[ 3.619792] [GYRO][PANASONIC ERROR] PANA:GYRO:probe fail
[ 3.619888] ewtzmu2: probe of 0-0069 failed with error -12

I suspect because of the broken gyroscope the EWdaemon daemon will not start. And because the EWdaemon is not started, other things depending on it fail.

Try if it works with Sense. If it does then provide the same logs (kmsg, logcat) from the boot process. Other than then I don't have any ideas at the moment.
[HTC One X] RedSkyRoad:
After typing "stop pollyd" as superuser, I only get "stopping" when typing getprop init.svc.pollyd

It is not showing up in "Running apps" but I cannot start it wither with "start pollyd"

Nothing happens in logcat while I typed "stop pollyd"
[HTC One X] scotte9999:
I don't get this behavior at all on my work or home dock (CR650..the "official" dock I think you're referring to).

When I dock my phone, Daydream starts as it's supposed to, and acts normally (using Dashclock).

I do, about 10% of the time (wild guess at percentage) see Daydream not start, and the Home screen stays visible, and eventually dims. Haven't looked at a logcat, but I suspect Daydream didn't actually get executed for some reason (I've noticed occasional stalls happening with other things, like WiFi not associating, yet if I go to WiFi settings, it immediately associates w/o me asking it to). I have not experienced the slowness you refer to though (other than the overall 'stuff gets slow after awhile' issue).

FWIW, I'm using Apex also, although I don't think that matters.
[HTC One X] Petert87:
With last nighly I got only Launcher3 and no Google launcher.
[HTC One X] intel007:
Thanks for your input, I'm now gonna try a clean install although the last install was clean.

Thanks once again
[HTC One X] humzaahmed155:
Is anyone else getting issues with charging the device? The phone won't charge at all, will try to upload a catlog

https://www.dropbox.com/s/k2fuopae1xx0pi7/2014-01-19-21-34-06.txt
[HTC One X] Wartexx:
When I look in my about phone section it tells me I have kernal version 3.1.10-cyanogenmod+thoemy@thoemy#5 , is this also the wrong version ( as it is 3.1.10 ) or is it the right one ( as it is #5 ) I flashed it , as is said in the starterpost. Sorry for my stupidity , but Im also having a lot of reboots ( cyanogenmod logo for about 10 secs, therafter I need to unlock my simcard again ) happens about 15 times a day.
[HTC One X] kennyMC:
How can i make a Screenshot with cm11? Power + volumedown vor power + home does not work.

Thanks in advanced!
[HTC One X] log30:
Power button and vol-

Enviado desde mi One X mediante Tapatalk
[HTC One X] humzaahmed155:
It's volume down and power, works right out of the box for me.
[HTC One X] DeeZZ_NuuZZ:
just take the boot.img from the rom.zip you flashed and flash the boot.img in fastboot...
[HTC One X] netxph:
I observed that as well. I had to download this... http://xdaforums.com/showthread.php?t=2561057
[HTC One X] Petert87:
Solved after restore backup and install update manually.
[HTC One X] jefferson_uk:
Very impressed with this ROM so far, my only issue is the echo during calls. Anyone have a fix? I installed after a full factory reset and can see pollyd running. Not sure what else to check.
[HTC One X] Bobbi lim:
Does the anyone experience this issue whereby I made a phone call and after that the touch screen and the touch buttons don't work excpet for the power button? I had to force a reboot on the device by holding the power button each time I made a phone call. Is there anyway to solve the issue as I don't experience it when others call me but only when I call them
[HTC One X] DeeZZ_NuuZZ:
If there would be a fix it would be clearly written somewhere :p

Gesendet von meinem HTC One X mit Tapatalk
[HTC One X] teemo:
[MENTION=2879446]Thömy[/MENTION], are we using the correct setup of sepolicies for our device?

I don't see that we use the policies in Tegra3 common. The mk still point to the files that was moved to the common repo.

But then again, I have no idea if they are needed. SELinux is still a black box for me.
[HTC One X] amelsfort:
I just installed this ROM and it seems to be working fine except for the GPS. My phone is unable to see any GPS satellites at all. I am running GPS Status for some time now, but it still shows 0 satellites. Neither with or without using aGps. I already refreshed the aGps data, but no difference. I also changed my ntp-settings using FastGPS, but that doesn't make any difference either.

When I was on holiday last two weeks in Malaysia, I also noticed my phone was unable to find satellites using CM 10.2. GPS used to work fine and get a fix fast before in The Netherlands. After one week, I noticed my phone did find some satellites, but very slowly. And now I have this same problem back in The Netherlands.

What could be causing this issue?
[HTC One X] Thömy:
Well I thought I disabled it to make the initial KitKat port a bit easier. But it looks like I'm wrong. On my device SELinux is in enforcing mode. But I can't really believe it since, like you said, we're not using the policies in tegra3-common.
[HTC One X] gooselk:
Hi folks.

Although most of the stuff you're talking about is all Greek to me, I've decided to give CM11 a try. I made a clean install and everything is running nice and smooth so far.

Only thing I noticed is that push notifications are unreliable. Sometimes they work just delayed, sometimes not at all.

Anyone else experiences that kind of problem?

Anyways, thanks for this nice ROM and the possibility to load the HOX up with KitKat :)

Gesendet von meinem One X mit Tapatalk
[HTC One X] jefferson_uk:
Pure conjecture here on my part but a quick look at the code for the polly stuff it seems to be switching users etc - stuff which selinux would definitely have problems with. Could be releated..
[HTC One X] Thömy:
It could definitely something SELinux <-> polly related.

I hope polly can be removed anyway. My private builds don't have polly anymore since some days. In-call volume works (albeit the range is limited) and I made some test calls and no one reported an echo.

Unfortunately [MENTION=1660234]Lloir[/MENTION] has some problems on the X+ with those changes. We haven't been able to identify the problem yet.

Removing polly would be my preferred long term solution.
[HTC One X] RedSkyRoad:
Sounds promising :) You don't perhaps have a dropbox where we can get hold of these test builds?
[HTC One X] Thömy:
No because that will just result in chaos. At least if I make them available to the public.
[HTC One X] MacSeoin:
Same thing happens here now and then.

Also getting the echo bug which is actually stopping me from being able to talk to people at my bank in the call centre! Had to use another phone else they thought they were on loud speaker
[HTC One X] Petert87:
What is the cm logo in the status bar?

I can't download new nightly ota. It says md5 verification failed.
[HTC One X] Tavinsky:
I have problems with the screen when a call comes in, the screen does not wake up, and the end is black. During a call to separate the phone from the ear, the screen always goes black and I can not view certain sections of nothing.

Edit: sorry for my impatience, I had not noticed the signs that are to start to solve this problem...

https://play.google.com/store/apps/details?id=com.incredicontrol.ProxSensorCalibrator
[HTC One X] boisdulait:
I don't understand.. No echo bug for me (so happy in fact :D)
[HTC One X] teemo:
SELinux is definitely enabled, as the xposed (app_process) binary will only run if you manually run a restorecon on it. And when it do run, it can not access /data/data.

I get lots of AVC denials in my kmsg, so I probably need to fix some se permissions. Don't know if CM11 have the same problems, but my last kernel & device is all from your CM11 repo. We probably use same policy from google/../external.

As I said before, SE is a big black box. I hope it some day will open for me....
[HTC One X] Thömy:
We just added some additional sepolicies from the tf3000t. Lets see what it breaks.
[HTC One X] DeeZZ_NuuZZ:
like i saw now only the hox and maybe hox+ have those problems...i looked in many device forums and all with kitkat have no problems :o really strange...
[HTC One X] Lloir:
BREAK ALL THE ROM'S BASED OFF THIS :P
[HTC One X] Bl4ckX:
Not to strange actually if you think about the CPU those phones use. HOX and HOX+ are the only phones which run a Tegra 3 processor. I know the Optimus 4X HD has one aswell but it doesn't have KitKat as far as I know. So I would bet its related to this.
[HTC One X] Petert87:
Anybody else has problem installing latest nightly?
[HTC One X] Bl4ckX:
Give me a few minutes and I'll be back. I already downloaded it.

Edit: alright so it installed without any problems. Should work (app optimization is in progress which takes forever with ART so I am sending this from my N7) but I had no trouble.
[HTC One X] humzaahmed155:
I installed it fine. First time though the MD5 check failed, second time it worked fine, did you try a direct download from CM?
[HTC One X] Petert87:
I choose booth. Update ota and download on website of cm. Ota failed on md5. Download of website failed by install in recovery.
[HTC One X] Bl4ckX:
Which recovery are you using?
[HTC One X] teemo:
Well I have not looked at Optimus lately. Until now. And it Does run Kitty now.
[HTC One X] Bl4ckX:
Well and they even don't have these issues. You destroyed my theory :(
[HTC One X] Lloir:
It's just myself and [MENTION=2879446]Thömy[/MENTION] like to break things :)
[HTC One X] Petert87:
The recovery in the 1st post of this topic.

---------- Post added at 12:30 AM ---------- Previous post was at 12:18 AM ----------

Finally worked ota. And again no Google launcher. Installed the all again and now works fine.
[HTC One X] DeeZZ_NuuZZ:
i also only have google experience launcher with flashing PA gapps :P
[HTC One X] and313:
Is the browser really so bad in 4.4? In 4.3 it was much smoother and text reflow was working. Or are there some fixes planned? :)
[HTC One X] Thömy:
Google switched the rendering engine. You're not the first one that complains :).
[HTC One X] Forrestyilin:
Yes, the echo bug is not for you, it's for the person who calling you...
[HTC One X] seedubya:
Everything seems to be working for me so far. No crashes yet.

Edit: if I take a photo then view it in gallery and then go back to camera the screen is black, it still takes a photo but I can't see what I'm snapping.

Not complaining as thus is my only Xmas present this year.
[HTC One X] imhotap:
Try with "Ok, google"...working perfectly for me ;)
[HTC One X] romano19:
Can you cfm this mod is work?
[HTC One X] a.broken.star:
Have a great kitkat christmas everybody....
[HTC One X] romano19:
Hi man!

Is there any way to remove 3dots menu? tks
[HTC One X] and313:
It works on all 4.4 roms. So yes using it now

---------- Post added at 08:23 AM ---------- Previous post was at 08:20 AM ----------

Hm art is a bit better isnt it? Play store for instance opens up faster and the phone boots quicker too. Well maybe im dreaming :)

---------- Post added at 08:40 AM ---------- Previous post was at 08:23 AM ----------

Using art
[HTC One X] blackbuffalo:
Can't remove app, why this?

PS: OK FIX
[HTC One X] TimeWasterNL:
Thömy, you silly hero :D

Have a great Christmas too!
[HTC One X] Pryors:
Why is the test coming out better here on 4.3? I'll switch and see what I get.
[HTC One X] Pryors:
Oh yeah and Very Merry Christmas to Thömy! Thank you so much :)
[HTC One X] monchee:
What app is that?
[HTC One X] Pryors:
AnTuTu Benchmark
[HTC One X] Zyner:
Thanks Thömy for all your hard work! Merry Christmas everyone!

Leave a thanks if you appreciate my posts!
[HTC One X] and313:
Dont know. If you are on neo kernel maybe that is the reason. And it probably is not yet optimized as 4.3.

And... The one x forums live again :)
[HTC One X] Wout2426:
Been testing since last night, its not to bad for a first release.

Its fast, GPS tested, works, al apps work.

Had a reboot on camera the first time, but after first pic it seems fine, also galery works now.

When i switch the phone on this morning i had to hold the on/off button 2 times, it would not boot, but on te 3th time it did..

Gonna keep it for daily rom, see how it goes.

Thx for the great work Thomy ! You are keeping the HOX alive !
[HTC One X] bobby_sucker:
Wout2426

did you use ART?
[HTC One X] Bobbi lim:
No offence intended but I know AOSP ROM battery life can never be compared to Sense ROM but could someone please show me some statistics regarding its battery life. I do hope that it could last around 12hr of standby with 1.5hr of screen of time :silly:
[HTC One X] romano19:
After flash rom + pa gapps (full wipe), in homescreen setup, My Phone's fc, i cant complete setup. i tried second time (Rom + Gapp in OP) but the same. now im back to cm10.2. Anyone has this problem? tks
[HTC One X] Zyner:
Have you flashed the recovery in OP?

Leave a thanks if you appreciate my posts!
[HTC One X] bobby_sucker:
romano19,

have you installed recovery from the topicstart?
[HTC One X] Petert87:
I wanna use PA gapps to, the full package that replace everything but I don't wanna replace keyboard. Is there a way to save keyboard?
[HTC One X] DeeZZ_NuuZZ:
The keyboard is nearly the same like the stock one...the stock one Is aosp and the one in pa gapps is Google keyboard with a few more options or so...and if you still want to use aosp keyboard, both looks the same, just take the one out of ROM.zip and install as user application ...just install like any other app...

Gesendet von meinem HTC One X mit Tapatalk
[HTC One X] humzaahmed155:
Use Dolphin, its actually really smooth, text reflow works almost instantly
[HTC One X] Petert87:
Still I prefer the AOSP keyboard. It's easier to type signs on the AOSP.For example hold "m" and you have "?".

Install the apk don't work. Maybe there is a flashable zip?
[HTC One X] boisdulait:
Nop.. After tests, no echo bug on my side
[HTC One X] kbal:
After installing latest Viper4Android (2.3.2.0) my phone reboots after it reaches lock screen.:confused:

Flashed CM11 21 + boot.img
[HTC One X] cappuccina:
Maybe you have to put it in system/apps

With a root Explorer

And change permissions to the same as the other apps in this folder.

Reboot.

sent from my slimmed Kitty Kat
[HTC One X] Petert87:
How to change permission? Can I use use the file explorer of cm?
[HTC One X] cappuccina:
No I don't think so.

It has to be one that gets root permission.

Root Explorer or ES file manager.

There should be a setting for that.

I use one that has a German name. "dateimanager" that has this option. Easy to use.

You can do such things also with adb but I'm not too familiar with it. Try a search...

sent from my slimmed Kitty Kat
[HTC One X] DeeZZ_NuuZZ:
Longpress on app then properties and there are somewhere the permissions...or if you push the apk with adb to system/app it will automatically give the right permissions then you just need to reboot

Gesendet von meinem HTC One X mit Tapatalk

---------- Post added at 12:49 PM ---------- Previous post was at 12:48 PM ----------

But at first try to remove DSP manager and reboot...using latest aospa here and no problems with latest v4a

Gesendet von meinem HTC One X mit Tapatalk
[HTC One X] Petert87:
I'm not familiar with pushing with adb, so don't know exactly how to do that.
[HTC One X] DeeZZ_NuuZZ:
You place the apk in the place on the computer where the fastboot and adb files are...then open then a command window like for fastboot type in "adb push ("name of apk".apk) /system/app/("name of apk".apk)" ...but without those " " :D...then just press enter and adb reboot so that the phone reboots if all went right...

Gesendet von meinem HTC One X mit Tapatalk
[HTC One X] Petert87:
Ok, thanks. Gonna try that back @ home!
[HTC One X] kbal:
Seems removing DSP manager did the trick, it's working now. I had no such problems on Tab2 10.1 CM11.
[HTC One X] Petert87:
How to do a clean install? I know that on Philz there is a option to delete the old rom before installing a new one. Is there an option to do this with the recovery in OP?
[HTC One X] droid.iddu:
The camera does not focus properly as in sense camera...lighting is not proper...
[HTC One X] elsworth1983:
Google has loads of information, a clean install via recovery 1.wipe cache 2.wipe dalvik cache 3.factory reset then install your rom then don't boot the phone reboot to bootloader then type fastboot erase cache then fastboot flash boot boot.img then reboot all nice & clean (don't wipe so card)
[HTC One X] Petert87:
Thanks mate!
[HTC One X] kbal:
format /cache

format /data

format /system
[HTC One X] DeeZZ_NuuZZ:
format system is not always good...sometimes you need because of that to flash the rom 2 times...otherwise it won't boot...it's just enough to do the factory reset in recovery and wipe also dalvik cache too
[HTC One X] Forrestyilin:
wow. Can you share how you install this ROM.

For me, I do full wipe, install ROM from rec, install gapps from rec. Reboot to bootloader and flash boot.
[HTC One X] hero2003:
firstly thanks for your great work @Thömy its realy fast and stable for my daily use and battery is doin good job too ,

but i faced a strange problem with my network usage and its kinda funny but since i have limited data plan anyone have any idea what wrong with my google keyboard ? ive attached a pic of my data usage here:

p.s : i use keyboard from pa-gappps.
[HTC One X] SFXfin:
Ended up installing this by accident this morning, hehe. Was on 10.2 nightly and as per usual just downloaded the latest nightly for install... started wondering why install from zip failed in philz touch recovery. After a while I finally noticed the package name said CM 11. :laugh:

Well, installed the recovery in this threads OP. Flashed the ZIP, flashed the Gapps, and finally shoved in the boot.img.

All is working great, loving it! Like a new phone again! Had one random boot so far, and once the rotation of the screen caused a crash. Funnily enough, after that crash had a never-ending cycle of system ui errors, and after a reboot all is good again albeit it changed my background to what I assume is the default one.

Regardless, huge props to Thömy!
[HTC One X] boisdulait:
Just simple install.. flash kernel / full wipe / flash rom + gapps + reboot. Nothing else.

The only bug I found is multitask. Multitask + rotate = reboot.

And bluetooth, but i don't use this feature so..
[HTC One X] Thömy:
No idea. Wait until the stats are reset and check if the problem persists.