yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] paulle:
Same here.
[Xperia Z1 Compact Original Android Development] goeland86:
Stupid question maybe, but do you have a headset plugged in? If so, one with microphone or no? I don't know which wire is used as the antenna and shooting suggestions "from the hip"...
[Xperia Z1 Compact Original Android Development] LazyT:
Without mic here.
[Xperia Z1 Compact Original Android Development] paulle:
I use the headset. It's without mic. It's the headset which came with the device.
[Xperia Z1 Compact Original Android Development] goeland86:
I know my device is a D5503, my device-bundled headset has mic+1 button and that I've got the CM FM app working and letting me listen to my local stations. Like I said, it was just a shot in the dark without much research first, was just wondering if that might explain your issues.
[Xperia Z1 Compact Original Android Development] paulle:
My device is a D5503 too.
[Xperia Z1 Compact Original Android Development] xanf:
I'm also having troubles with latest (March 10) nightly with my Sennheiser CX685 headphones (not handsfree). KeyTest.apk shows like I'm constantly pressing KEYCODE_HEADSETHOOK (79) button, spamming google now. Also with headphones internal mic does not work, so I have to disconnect headphones if I want to answer a call.

I've tried some china no-name handsfree with mic - it works fine

Anybody also with this issue?
[Xperia Z1 Compact Original Android Development] nonyhaha:
This seems to get worst by the build.

starting a few build ago network problems started occurring.

Now, the launcher started having issues. From time to time (today twice already) the buttons and status bar disappear and i can't get them back. Now I am in a game and i can't exit it, even if I lock the screen I can't get them back.

I have to reset the device.

P.S.

I just rebooted the device, and the buttons and status bar are gone I can't enter pin, it alwas says it is the wrong pin, so i can't unlock it.

any ideas what I can do?
[Xperia Z1 Compact Original Android Development] goeland86:
Start by wiping cache and dalvik, and if you still have issues, only way out will be a clean wipe I think. I've not experienced your problem at all. Network issues with Wi-Fi are slowly ( painfully slowly) getting fixed I think, but I have no problems with the 4g/3g data. Every update flash I wipe dalvik and cache, it's been good luck for me with that.
[Xperia Z1 Compact Original Android Development] rzlatic:
wiping dalvik surely fixes things on lollipop :D
[Xperia Z1 Compact Original Android Development] ponchofiesta:
Mine is 00:0a:f5:89:89:ff with cm-12-20150309-NIGHTLY-amami.zip
[Xperia Z1 Compact Original Android Development] Rekoil:
LOL, cheeky bastard :p
[Xperia Z1 Compact Original Android Development] someone8:
I have exactly the same problem (google app starts with voice recognition - even after closing it, it constantly comes up again)

It started some nightlies ago; my headphones are from Sony - neither having mic nor buttons.

Thanks for pointing out what happens when plugging them in! Isn't there an app that can block these triggers? (I'd also try to disable that headphones trigger Spotify). Privacy Guard doesn't provide this functionality.
[Xperia Z1 Compact Original Android Development] too.stoopid:
I don't know of an app that can do this. But with a root explorer you can go to system/usr/keylayout and open msm8974-taiko-mtp-snd-card_Button_Jack.kl as a text file and change the entry for key 259 to VENDOR_1 and save it. After a reboot the problem should be solved.
[Xperia Z1 Compact Original Android Development] someone8:
Thanks! I did that and it seemed promising, but unfortunately it didn't work after reboot. Spotify also launches when UNplugging. I think I delete it. ;)

However, the current nightly (20150311) fixed the 'Google Now voice issue' when plugging in headphones (unrelated to modifying that *.kl file)
[Xperia Z1 Compact Original Android Development] too.stoopid:
If it doesn't work after a reboot, you haven't saved the changed file. I'm not using cm but aicp and it works like it should.

But good to know that cm has fixed it now.
[Xperia Z1 Compact Original Android Development] paulle:
mac adress

I've the same mac adress with cm-12-20150311-NIGHTLY-amami.zip
[Xperia Z1 Compact Original Android Development] goeland86:
My guess is that even if it's ART, the cache partition is the same for it. Recovery labels haven't changed, that's what I meant.
[Xperia Z1 Compact Original Android Development] xanf:
Tried your advice, edited file, saved.

Now when I plug headphones I see spamming of Keycode 191 (KEYCODE_BUTTON_4)

(I also updated to March 11 nightly, but I've checked before editing file - it was spamming 259)
[Xperia Z1 Compact Original Android Development] too.stoopid:
You are right. With the changes you don’t stop the spamming, you only change the spamming button to a button that is not related to google voice. I haven’t checked this before, because that is how the file looked before the problems with google voice have started.

You can also delete the complete entry for key259 in the file. Than key259 is still spammed but without any effect.

So both are not a really a fix of the cause.... but at least you can use your headphones again without opening google voice.

Is the problem really fixed in latest CM nightly?
[Xperia Z1 Compact Original Android Development] o-l-a-v:
I solved it by freezing the google app in Rom Toolbox. Strange bug :P
[Xperia Z1 Compact Original Android Development] .corrupt.:
It appears the half-a-screen-is-darker bug is gone when dimming with cm-12-20150312-NIGHTLY. I did a few tests with different brightness settings and it never occured again.

I also noticed that my wifi connectivity issues are limited to eduroam. So I guess it's an issue with EAP rather than the driver itself. The logs, unfortunately, are inconclusive.

Another, mildly annoying thing I've noticed, is that the carrier displays "no service" when I do a soft-reboot regardless of whether I have service or not.
[Xperia Z1 Compact Original Android Development] zxqw:
I have the 12/3 nightly and the issue is still present. I can reassign the "button" but that doesn't stop the spamming and it is still is an annoyance in some apps. For example, the spamming causes the on screen control overlay in YouTube to never go away.
[Xperia Z1 Compact Original Android Development] goeland86:
I can confirm the issue is with eap Wi-Fi, I only have trouble connecting when at work, it works fine at home on a wpa2-psk authentication
[Xperia Z1 Compact Original Android Development] too.stoopid:
If you delete key 259 completly in the earlier mentioned *.kl file you shouldn't have problems with YouTube control.
[Xperia Z1 Compact Original Android Development] .corrupt.:
Seems I was too quick to announce the fix to screen dimming. It still happens but not every time. Right now I'm in a diffusely-lit room and the effect appears again when the light is bad.
[Xperia Z1 Compact Original Android Development] zxqw:
I've commented the entry out. Surely that should fix it?
[Xperia Z1 Compact Original Android Development] too.stoopid:
For me it does. I don't have problems with youtube when headphones are plugged in. I'm using AICP not CM but that shouldn't make any differences. Just try it.
[Xperia Z1 Compact Original Android Development] zxqw:
No harm so I will give it a shot with the current nightly although I had the line deleted in the 7/3 nightly and it made no difference for me.

It's intermittent so it's a bit hard to reproduce but my suspicion is that the problem is triggered by the spamming of the button rather than any assigned button because key tester shows the button press event even when there's no function attached to it.
[Xperia Z1 Compact Original Android Development] paulle:
For sure this can be a bug, I'm interested to know if only I have the problem or other users too.
[Xperia Z1 Compact Original Android Development] KorsAR1986:
Problem with SD-card

Hi! Please, help me to solve problem. I have this rom in my smartphone, but system didn't see second part of sd-card. Why?

Which file system must be in second part? I format second part into ext4 (size=4000-5000 Mb)
[Xperia Z1 Compact Original Android Development] Yarema:
I have a problem with a camera inside third party apps. For example with evernote, when I try to add a photo to a note. It captures the image but the screen is black all the time, making it difficult to press the capture button. The same **** in the internet banking app. But works fine in fb messenger.
[Xperia Z1 Compact Original Android Development] jdstrydom:
Have you tried disabling hardware overlays in developer options?
[Xperia Z1 Compact Original Android Development] Yarema:
Thanks that helped!
[Xperia Z1 Compact Original Android Development] Keshukas:
I now confused, in fist post - camera not working but I heave installed already 3 weeks and camera working without eny problems

P.S. I using multorom to boot second ROM lollipop
[Xperia Z1 Compact Original Android Development] KorsAR1986:
I solve this problem, in fact standart App2SD not working! Link2SD solving this problem.
[Xperia Z1 Compact Original Android Development] rzlatic:
Omar Einea wasn't seen at the thread for quite a while, so the OP isn't updated for a while too ;)
[Xperia Z1 Compact Original Android Development] zxqw:
I've deleted the entry for Keycode 259 and still have the spamming of the button reported in key tester as well as the YouTube issue I mentioned earlier. I also experience constant crashes for the Music app that should not be running at all. Can't be sure it's related to the headphones but it seemingly only happens when they are plugged in.

I've also discovered that the flashlight toggle intermittently disappears from the quick settings area. It seems entirely random but only happens after it's been used. Only comes back with a reboot.

This happens to me when I use the camera in WhatsApp. The screen is "on" (backlight on) but the display is black so I cannot see what I am doing. Pressing the power button momentarily re-enables the screen and I can see the results of my touches for a split second before the phone is locked. This leads me to believe that the phone is responding while the screen is blank, I just can't see what is happening. It's been this way for the past 2 weeks.
[Xperia Z1 Compact Original Android Development] prinz.z:
Hack for my bluetooth audio problem

I was not able to listen to music via bluetooth, it was either silent or just milliseconds of music after skip and then silence. I figured out that bluetooth audio is fine on my device when disabling AudioFX for Bluetooth.

Does anyone have/had the same problem?

(PS: I tried with Spotify only, maybe the issue lies with the Spotify app, I don't know)
[Xperia Z1 Compact Original Android Development] EpicLPer:
Yes indeed. I hate AudioFX... It's more buggy than anything...
[Xperia Z1 Compact Original Android Development] paulle:
fm-radio

Did you got it solved? Spirit2 works fine, CM-fm-radio only a little bit of noise. Don't know why.
[Xperia Z1 Compact Original Android Development] someone8:
Headphone plugging issues

I still have a strange issue with this headphone-plugging-in: Every time I plug in my headphones, Spotify is spawned. When I uninstall Spotify (or disable its main activity with the SystemCleanup app) and then plug in the headphones, CM12 crashes and performs what looks like a soft reboot--but with the Android UI overlay. So it seems that there is somehow a standard-music-player-setting in CM12 that is not flexible to app changes. Can this be fixed/changed, or do I have to perform a wipe? (if that even helps)

FYI: By commenting out 'key 259 HEADSETHOOK' in that *.kl, at least Google+ Speak Now is not spawned anymore while the jack is in.

Btw: the current nightly also fixes the behavior of spawning the standard music player when

UN

plugging headphones. :highfive:
[Xperia Z1 Compact Original Android Development] KorsAR1986:
Bugs with rom

Hi! When I watch video such as *.MP4 or watch YouTube video online in full screen - video is not displayed (

And yesterday when I play in Sonic Dash, display was spontaneously switched off, and phone not worked, only after long push Power, phone switched on.
[Xperia Z1 Compact Original Android Development] LazyT:
It's working great! As noise generator but useless as radio... ;)
[Xperia Z1 Compact Original Android Development] FaulFels:
HW-Overlays

Disable HW-Overlays in Developer Settings. Should do the trick.
[Xperia Z1 Compact Original Android Development] paulle:
sync button (toggle) in quick settings cm12 lollipop

CM11 had a sync button (toggle) in quick settings, in CM12 there isn't. I saw some lollipop screenshots with sync in quick settings. Is there a a possibility to have this button in CM12 too?
[Xperia Z1 Compact Original Android Development] KorsAR1986:
Thanks, but...

Hi! Thanks for you answer, but please, help me to find this option... Maybe screenshot?

---------- Post added at 07:58 PM ---------- Previous post was at 07:54 PM ----------

Help, please, maybe this bug only at me ... When phone is switched off completely and I charge it, the display is swiched on. The option of switching-off of the display at charge is on, that is the display should be disconnected, but at charge all the same joins (
[Xperia Z1 Compact Original Android Development] someone8:
If you haven't found it yet, it's called "Disable HW overlays" (in the last 3/4 of the settings page). However, it seems to reset after reboot, if I'm not mistaken.
[Xperia Z1 Compact Original Android Development] ferhpsquad:
You can use the default power control widject untill this option is included.
[Xperia Z1 Compact Original Android Development] paulle:
sync button toggle quick settings

Thanks for the hint, this I'm doing since the sync toggle is gone in quick settings. I hope this toggle come back to quick settings soon.
[Xperia Z1 Compact Original Android Development] tohigh:
I hope condition toggle come back soon
[Xperia Z1 Compact Original Android Development] hihiman1:
still got the spamming issue with google speak while plugging in the headphone jack :(
[Xperia Z1 Compact Original Android Development] KorsAR1986:
Solution accept

Thanks! In russian language I don't understand, where is it, I choose English and find this option!

But who answer me for this question, please help... When phone is switched off completely and I charge it, the display is swiched on. The option of switching-off of the display at charge is on, that is the display should be disconnected, but at charge all the same joins (
[Xperia Z1 Compact Original Android Development] zxqw:
Yes, it does for me too.
[Xperia Z1 Compact Original Android Development] charnocc:
After an update to 0319 I noticed massive battery drain and heat. I reinstalled 0316, and it's back to normal. Did anybody else also experience battery drain, or is this a single occurence?
[Xperia Z1 Compact Original Android Development] Weltherrscher:
Must be a single issue.

Since 0318 i encounter much less battery drain. (1,2 % per hour)
[Xperia Z1 Compact Original Android Development] NRG-R9T:
I can't compare with previous Versions, as 0318 is my first install of CM12, although my overnight test showed no sign of battery drain, as only about 3-5% of battery life where used during 8 hours sleep.
[Xperia Z1 Compact Original Android Development] Wooaarr:
Automatic time

Could someone please confirm if the switch Automatic date & time under Date & time is working?

I have mine set to off and it still syncs the time automatically, which is a bummer since my providers time is off by about 7 minutes...
[Xperia Z1 Compact Original Android Development] KorsAR1986:
Loud speaker communication

Please, tell me somebody, is loud speaker communication work, isn't it?
[Xperia Z1 Compact Original Android Development] .corrupt.:
My phone died two days ago. I'm not sure if it's CM12-related but I'd rather ask you guys before I make the same mistake again.

I'm not sure what happened. I checked the phone when returning from the gym on Thursday and it was working properly with quite a bit of charge left. When I checked it again at home half an hour later it was off. No way to turn it back on. No combination of power+volume keys brought it back, tried the reset switch to no avail and the phone does not charge. I measured the charger's power consumption, there's not a single mA going through there. The thing is dead.

I was lucky the people at Vodafone were quite nice about it. They're replacing the phone without asking questions. Not at last because I showed them by googling that other people are experiencing the same thing with the Z1C. But I still want to make sure this was not caused by my CM-fiddling. I'm not sure they'd replace another one that easily. Especially since I'm technically voiding my warranty by unlocking it.

Anyone having similar problems?
[Xperia Z1 Compact Original Android Development] rob rich:
No, never. I flash Roms since many years, sometimes 2 or 3 on one day and never had such an issue :)
[Xperia Z1 Compact Original Android Development] Rekoil:
Loudspeaker works fine.

This sounds a lot more like a hardware problem than anything else. I would be very surprised if this was caused by CM.
[Xperia Z1 Compact Original Android Development] paulle:
With nightly 24.03 google+speak now is always popping up (especially wit a non-sony earset (philips)), the only difference I can notice between the two earsets is, the sony has a switch and the philips not. For this reason philips cinch has three "poles" mass, left and right, sony has 4 mass, left, right, switcher.

edit: in which *.kl you found key 259 ?
[Xperia Z1 Compact Original Android Development] goeland86:
That makes a whole lot of difference, since that 4th one is the one generating the spammed keycode.
[Xperia Z1 Compact Original Android Development] paulle:
But the problem I've with a 3 poles earset too.
[Xperia Z1 Compact Original Android Development] goeland86:
That's what I meant. The 4th pin on a switched headset has a clear on or off setting. With a 3 pin headset you're short circuiting the input on the phone. What's missing is a check against the signal from the 3rd pin, and if it's the same, disable the key, as it's not plugged in.
[Xperia Z1 Compact Original Android Development] too.stoopid:
You find the file in system/usr/ keylayout. Name of the file is msm8974-taiko-mtp-snd-card_Button_jack.kl
[Xperia Z1 Compact Original Android Development] Talkrabb:
E:Cannot load volume /misc!

Since I can't find a official Cyanogenmod 12 Amami thread I'll post my question here:

With the latest version cm-12-20150322-NIGHTLY-amami.zip and original Cyanogenmod recovery I get the following error message when I am in the recovery: "E:Cannot load volume /misc!" and I can not access my external SD card from the recovery.

What do I need to change to make the external SD card work and get rid of the error message?

(from Android I can access the SD card - it is only a recovery problem)
[Xperia Z1 Compact Original Android Development] LIONS1:
Any news about Android 5.1 and CyanogenMOD 12.1?
[Xperia Z1 Compact Original Android Development] xanf:
the trouble is that with non-mic headset phone mic is disabled. That's the real problem
[Xperia Z1 Compact Original Android Development] LIONS1:
anyone is working on CM 12.1 or Android 5.1 based ROMS?

is there any news about CM12.1 for our device?
[Xperia Z1 Compact Original Android Development] goeland86:
My guess is that when 5.0 works perfectly (it doesn't yet), then yes, porting 5.1 will happen. Let the evolution go one step at a time.
[Xperia Z1 Compact Original Android Development] o-l-a-v:
(Sense. You make none. 4.4.4 does not work perfectly, yet we have 5.0.x development.)

Cyanogenmod said something about starting to build nightlies this week: http://www.cyanogenmod.org/blog/all-about-l-part-1

They said this 27.03: "We’d expect another week of this cleanup before CM 12.1 nightlies start flying out the gates."
[Xperia Z1 Compact Original Android Development] moonryder:
Then feel free and port it by yourself - or be patient...
[Xperia Z1 Compact Original Android Development] OmarEinea:
CyanogenMod 12.1 [LMY47I][2015/03/31] Android 5.1.0_r3 IS UP!

So I thought I'd compile an early (staging phase) CM 12.1 build for our beloved device, and here it is:

cm-12.1-20150331-UNOFFICIAL-amami.zip

And for 5.1 Gapps, you can use Slim's GAPPS or anyone you like.

This is pure CM 12.1 with SlimKernel 1.3 (no other changes)

Enjoy if you're eagerly waiting for CM 12.1 as I am ;)

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] nonyhaha:
Hi,

If we update from cm12 nightly, will the data get a wipe? I am interested because of a savegame.

Many thanks.
[Xperia Z1 Compact Original Android Development] rzlatic:
read yesterday that the first 12.1 nightlies could emerge next week. however commits for amami, chipset and platform doesn't show any 12.1 commits, but by looking at their github and peeking into other devices (be sure to check "branches" dropdown menu), there are 12.1 branches for apps, android core and nexuses (if i'm right) - so they are obviously working on it, by priorities. some devices are getting unofficial builds, response is okay, so we can have our best hopes. :D
[Xperia Z1 Compact Original Android Development] ponchofiesta:
Does it work as good as CM12 or did you find major problems in cm12.1?
[Xperia Z1 Compact Original Android Development] OmarEinea:
I didn't use it much, but it seemed as good as CM12 (my test and other users' reports)

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] nonyhaha:
Hi Omar,

Can you tell me please if installing this from recovery will wipe phone data?

many thanks.
[Xperia Z1 Compact Original Android Development] ponchofiesta:
Can't remember any ROM that wipes phone data itself. So this one should do neither.
[Xperia Z1 Compact Original Android Development] nonyhaha:
Well, when you update from stock to Cyanogenmod, phone data gets a wipe, all apps and user data are gone :)
[Xperia Z1 Compact Original Android Development] ponchofiesta:
AFAIK this is done by the user, not by the ROM itself.

I assume you want to know if it is needed to wipe manually. This depends on your currently installed ROM.
[Xperia Z1 Compact Original Android Development] nonyhaha:
When moving from stock android 4.4.4 to cm 12 on sony z1 compact, from moving from stock rom on i9000, i9300 to cm xxx the phone data gets wiped, all files that were on the phone get wiped. I did this on many phones, and I am sure about this.

I am coming from cm12 nightly and I want to know if data will automatically get wiped if I install this cm12.1 rom :)
[Xperia Z1 Compact Original Android Development] Wind07:
Of course. Data only doesn't gets wiped when you update your cm12 build to the latest cm12 build (same goes to other ROMs) so you MUST wipe data when going from cm12 to cm12.1
[Xperia Z1 Compact Original Android Development] nozz93:
Just installed this over an official CM12 nightly and nothing was wiped. Seems to run good so far.
[Xperia Z1 Compact Original Android Development] ponchofiesta:
I installed cm12.1 over cm12 without wiping anything and I don't have any problems so far.
[Xperia Z1 Compact Original Android Development] goeland86:
The data wipe comes not from installing the custom rom, but rather from unlocking the boot loader. In fact, when you unlock your Sony boot loader, it even tells you so in big bold text!

Flashing from one ROM to the next doesn't. If it did, you'd lose your data every time you installed a new nightly.
[Xperia Z1 Compact Original Android Development] guru87:
proximity sensor

hi,

do you guys have any idea how it's possible to change behaviour of proximity sensor during call?

it takes too long on my z1c to switch screen back on when i put phone away from head during call or when call is ended.

or is possible to disable proximity sensor in cm12 like in older versions of android ? (in build.prop or so)

thanks guys :)
[Xperia Z1 Compact Original Android Development] Angelgmr:
Its there a fix for the front camera? (Grainy and ugly photos) :(