yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] Hendrik-amami:
Headset Connection Bug

Hello,

i have a huge problem with cm12. When I plug in headphones they are not really recognized. It seems like when I am playing around with the Aux-Plug, sometimes there is sound on the headphone and after touching it again the sound is on the speaker. It is not a hardware bug since it works with cm11 or stock. Someone knows that problem and can help?

Details:

cm12, nightly from today 02.26.2015 (flashed from recovery)

TWRP recovery 2.8.4. (flashed via rashr)

nano gapps

Using Marshall Monitor Headphones (they have a mic and one control button)

What I tried:

Reinstall the rom (full wibe)

App: SoundAbout (headphones were detected better, but the problem still occurs)

PowerAmp - Option for custom roms with broken media server enabled

using different Headphones

using a different nightly

I posted this before in Android-Hilfe Forum but there was no answer.. Hope you can help me!

Thanks to everyone who tries.

Greetings Hendrik

Note: Please don't judge me for my english, I know it's not the best.
[Xperia Z1 Compact Original Android Development] Hendrik-amami:
Solution for Headsetbug

Exactly the same bug was built in a 4.4. nightly and ie was caused by the Kernel.

My Kernel: 3.4.0cyanogenmod-g1b20e398 built01@cyanogenmod #1

Is there an alternate Kernel for CM12?
[Xperia Z1 Compact Original Android Development] zxqw:
Yes, can confirm. It can be fixed temporarily by leaving the headphones in while and then rebooting. Mine works normally until the next time I try to reconnect my headphones. There was a fix mentioned a while back but I can't get it to work, I'm probably doing something wrong.
[Xperia Z1 Compact Original Android Development] paulle:
nightly 02-26 wifi not working

With the nightly 02-26 wifi not working. I can't connect any more, seems it have to do something with ip adress shows 0.0.0.0

Anyone encountered the same problem ? Anyone know how to solve it?
[Xperia Z1 Compact Original Android Development] EpicLPer:
Nope, working fine here. Try re-flashing it and Wipe Dalvik/Cache.
[Xperia Z1 Compact Original Android Development] Lojzo_11:
Sony
[Xperia Z1 Compact Original Android Development] paulle:
solved but had to wipe Dalvik/Cache/data/system
[Xperia Z1 Compact Original Android Development] hihiman1:
somebody wrote to swap key 226 and 256...

Yeah - it worked with 226 - 259!!! :good:

Do I have change the Generic.kl each time I install a new nightly?

THX
[Xperia Z1 Compact Original Android Development] Redstarr1:
Yes you have to change the key mapping for every nightly.

My headset button only works as play/pause though. Skipping doesn't work.

The proximity sensor started working for phone calls by the way. Don't really know since when, I only been update once a week.
[Xperia Z1 Compact Original Android Development] iuno:
will it be possible to autoupdate from CM11, once Snapshots come available?
[Xperia Z1 Compact Original Android Development] hihiman1:
The nightly 20150227 fixed ths issue...:good:
[Xperia Z1 Compact Original Android Development] zxqw:
Can anybody explain what this does for headsets with no button controls? I did the swap (probably incorrectly) and it made my phone go nuts when the headset was connected. I reversed the changes but after the 27/2 nightly, the phone seems to have adopted the same changes did I did manually. Plugging in the headphones instantly starts music and constantly activates google voice search.
[Xperia Z1 Compact Original Android Development] Weltherrscher:
Z1c CM12 nightly 0228:

Can anyone confirm FC as soon you choose panorama mode in CM-Camera Next (v2.0.004)?
[Xperia Z1 Compact Original Android Development] goeland86:
Anyone notice wifi instability after 2015-03-02 udpate? i.e. mine connects for a few seconds, then loses wifi again.

Also, Wifi takes foreeeever to turn on...
[Xperia Z1 Compact Original Android Development] Hendrik-amami:
@ goeland86

Had this issue with cm12 using a custom kernel from cm11. Solved it with flashing boot.img via fastboot again.
[Xperia Z1 Compact Original Android Development] nonyhaha:
Running 03/01 nightly, i just connected it to my charger and after about 15 minutes i checked it, it was very hot and not charging. Ampere was showing constant -500 mA.

After reboot it is charging.
[Xperia Z1 Compact Original Android Development] goeland86:
Thanks but I've been using only the nightly stuff, no custom kernel.. Seems to have been fixed after the phone ran a while.. Patience is a virtue I've been told:rolleyes:
[Xperia Z1 Compact Original Android Development] nonyhaha:
I am constantly losing network signal. I was forced to redirect phone calls in case of no service. I did not have these issues before a few builds ago.
[Xperia Z1 Compact Original Android Development] goeland86:
I noticed that the daydream functionality is also broken. (more than before). If you had daydream on 03-01, when tapping the screen, it would shut off, and you had to use power button to bring it back on. Annoying but understood. With 03-03 however, the bug is such that if you let the phone daydream, tap the screen and say goodbye to any kind of display. Screen will be on, but always black. Needs a reboot to come back to a normal behavior. Disabled daydream for now, but still annoying.

Also, Wifi issues are back in 03-03... :(
[Xperia Z1 Compact Original Android Development] netmen5:
random self reboots. any idea?

View attachment last_kmsg.txt
[Xperia Z1 Compact Original Android Development] thwolfi:
See page 87 in this thread.

There is a suggestion from user nozz93.

I have also issues with that. Opening a bugreport in jira did not help, think we have to wait..
[Xperia Z1 Compact Original Android Development] jdstrydom:
Maybe it's just me, but audio seems better and louder in newest nightly
[Xperia Z1 Compact Original Android Development] Rekoil:
Holy **** I hadn't noticed this before, but that explains a lot of strange issues I have been having at university. See, there's 3 of us all rocking Z1Cs with CM12, and that would explain why I'm often unable to get WiFi at university...
[Xperia Z1 Compact Original Android Development] KhaledAbdo:
hi all,,

just wanted to ask 2 things, that seem to be out dated at the first post ..

- what is not working still in the nightlies ? Camera, Bluetooth, WiFi .. etc ?

- the unofficial builds stopped a while ago, as the official ones are here, right?

thanks :)
[Xperia Z1 Compact Original Android Development] marsa47:
Pretty much everything IS working, although some people have their complains here or there. There are some minor issues, but overall the CM12 nightlies are stable and 100% usable.

On the second question - correct. Here is the official DL:

https://download.cyanogenmod.org/?device=amami

Here is the changelog:

http://www.cmxlog.com/12/amami/
[Xperia Z1 Compact Original Android Development] zxqw:
I'm on the 4th March nightly and I still have issues with my headset. Google voice search goes nuts and the music player starts in the background. My headset has no buttons.

The issue was supposedly fixed in an older nightly. Does anybody with a headset with no controls have any similar issues?
[Xperia Z1 Compact Original Android Development] .corrupt.:
Open issues I still have with the latest nightly:

Wifi is shaky and frequently shuts down; sometimes taking more than an hour to come back up (no other way to interfere than to reboot, controls won't react)

Notification LEDs are dimmed and badly visible

Shortly after activating and deactivating the Wifi hotspot, the phone suddenly reboots (this happened in CM11 as well)

Occasional sudden reboots

Shortly before the display timeout hits, the screen is dimmed. At that point the right side is darker than the left and some flickering occurs.

Every time an app sets a lockscreen Wallpaper, this wallpaper sticks until a new one is set or a soft-reboot is performed

Proximity sensor glitches when phone is called or a call is performed (screen blanking immediately on incoming call before answering, screen not blanking during ongoing call)

Not directly related to CM:

CM12-encrypted /data partitions cannot be mounted by any recovery (twrp/cwm) at the moment

Xposed does not work on the Z1C with CM12 yet
[Xperia Z1 Compact Original Android Development] Rekoil:
And don't forget MAC addresses are incorrect as well, this is actually a pretty serious issue as it completely blocks WiFi from working for people with multiple Z1Cs on the same network.
[Xperia Z1 Compact Original Android Development] .corrupt.:
Oh yeah, you're absolutely right. I changed mine back manually and then forgot about it.
[Xperia Z1 Compact Original Android Development] idimitro:
Hi, most of the problems mentioned above have persisted for quite a while. Are they related to our device only or CM team is busy working to get away from Google and don't develop the CM12 actively. Do you think the official Sony build of LP will fix most of the issues?

Or am I too impatient [emoji4]
[Xperia Z1 Compact Original Android Development] langweiligh3:
Display flickering

Does anyone else have the bug, that the display is flickering (like an old TV when you (un)plug a SCART-cable)? I have that after a few seconds of screen-on time. Tried several nightlies, I even had that issue when coming directly from stock. No problems with CM11...
[Xperia Z1 Compact Original Android Development] mugna91:
Same problem here. I get 60 FPS on stock rom and about 20-30 on AOSP based roms (tested cyanogenmod and slim). I really hope for a fix..
[Xperia Z1 Compact Original Android Development] zxqw:
I believe they have a temporary fix in place with as of the 7 March nightly.
[Xperia Z1 Compact Original Android Development] paulle:
cm-12-20150307-NIGHTLY-amami

Anyone having problems with the cm-12-20150307-NIGHTLY-amami ? Seems that cm-12-20150307-NIGHTLY left my z1c unusable. Downloaded cm-12-20150307 two times and flashed it two times, so it doesn't seems to be a corrupted file. Anyone experienced the same ?
[Xperia Z1 Compact Original Android Development] Rekoil:
We all have this bug.
[Xperia Z1 Compact Original Android Development] Wind07:
Elaborate more on the word “unusable"
[Xperia Z1 Compact Original Android Development] paulle:
unusable in my case is: cm booting showing the lock screen. Normally i've to swipe up to enter the start screen, but now if I wipe up nothing happens, sometimes it works for a second, this means showing the start screen for less than a second (too short for performing any action) and jumping back to the lock screen.
[Xperia Z1 Compact Original Android Development] AllAboutTech:
hi,

no worries. in this case i will flash the following:

1. latest build with 04Dec kernel and test this wi-fi workaround

2. latest build with KK kernel also CM to see if it is booting (just to try it)

..and finger cross for the next release. :)

thanks.
[Xperia Z1 Compact Original Android Development] bromoxitos:
Ok I hope to boot successfully..... Probably in this weekend I will find time... Ty a lot again

My regards
[Xperia Z1 Compact Original Android Development] Wind07:
Omar needs to know if camera is working too :)
[Xperia Z1 Compact Original Android Development] AllAboutTech:
regarding this, i tried previous time with Dec9 release and stock camera didn't worked. more, neither camera 360, camera zoom fx and lots of other applications camera didn't worked..unfortunately.
[Xperia Z1 Compact Original Android Development] AllAboutTech:
okay..update:

1. latest build with 04Dec kernel and test this wi-fi workaround => cp: /data/misc/wifi: Permission denied

2. latest build with KK kernel also CM to see if it is booting (just to try it) => stuck at SONY logo BUT, after restarting..the CWM rekovery remained untouched! i was able to flash a previous version of KK 4.4.4 and /or backup that i had :)

ISSUE: when i tried to restarted the ROM, it get stuck in an infinite restarts..
[Xperia Z1 Compact Original Android Development] OmarEinea:
CyanogenMod 12.0 Build [2014-12-12] Android 5.0.1_r1

Changelog:

- Include latest changes from CM team www.cmxlog.com/12

- Fixed Wifi (until CM fix it properly)

- The build is booting again (for now ;))

- Sound is broken (why CM why!!, will be fixed in next build)

[The new AudioFX app from CM will give you FC, seems not ready yet!]

cm-12-20141212-UNOFFICIAL-amami.zip

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] goldfinv:
Sweet. Downloading the latest build now for testing since its back to booting. But how do I go back to my previous rom if there's no recovery.
[Xperia Z1 Compact Original Android Development] jokervulture:
You'll have to flash recovery from some other kernel using flash mode

Or the other method is to flash the boot.img from that rom that you want to install in fastboot
[Xperia Z1 Compact Original Android Development] goldfinv:
I have no access to a PC. Would flashing a kernel/recovery with an app like Rashr work? When running the lollipop rom
[Xperia Z1 Compact Original Android Development] Schlengge:
As long as you have root access I can't see a reason why it should not work. Make sure the app supports Lollipop already.
[Xperia Z1 Compact Original Android Development] OmarEinea:
CyanogenMod 12.0 Build [2014-12-13] Android 5.0.1_r1

Changelog:

- Fixed Sound (until CM fix it properly)

- Include latest changes from CM team www.cmxlog.com/12

- AudioFX FC bug is fixed

- Fixed Wifi (until CM fix it properly)

- The build is booting again (for now ;))

cm-12-20141213-UNOFFICIAL-amami.zip

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] AllAboutTech:
great work!

quick question: how or with what app I may be able to open: system.new.dat

thanks.
[Xperia Z1 Compact Original Android Development] crytic:
So.. are you going to provide us and the CM team with a patch or are you going to keep it to yourself?
[Xperia Z1 Compact Original Android Development] OmarEinea:
These changes are temporary and they are merely reverting the commits that broke something (sound/wifi)

until CM team figures a proper solution for them :p

So all I did to fix sound is reverting these: goo.gl/M0VfU4 goo.gl/TZ8x5T goo.gl/JbkVG8

But just about an hour ago, [MENTION=4764217]davidteri91[/MENTION] has pushed a proper fix for sound, and it's merged now goo.gl/tXppoC

and it'll be included in next build.

Regards,

Omar.
[Xperia Z1 Compact Original Android Development] donjamal:
Whats up with the mobile data?
[Xperia Z1 Compact Original Android Development] rob rich:
Was the mic fixed in the meantime?
[Xperia Z1 Compact Original Android Development] naitik2012:
soo many ppls are waiting for this magic :D , lets see how much we have to wait .....
[Xperia Z1 Compact Original Android Development] tbot:
Sony just announced all Qualcomm based phones from 2014 now support Lolipop...and provided binaries for it. I winder if this will help at all with these builds
[Xperia Z1 Compact Original Android Development] giober98:
Wasn't that referred to the ones who were not already part of the aosp?
[Xperia Z1 Compact Original Android Development] tbot:
They specifically listed the Z1C as supported.
[Xperia Z1 Compact Original Android Development] langweiligh3:
really? And nobody complains nor is it listed as a bug? And no workaround?
[Xperia Z1 Compact Original Android Development] goeland86:
I don't...
[Xperia Z1 Compact Original Android Development] marsa47:
I don't have this bug with screen flickering "randomly". There is one issue causing flickering - when brightness is set to minimum and the ambient light is very low - therefore the phone sets display brightness too low and I guess the hardware (display itself) can't work properly with this low values. Still works, but with some flickering.

WiFi is working very stable for me, I never had any troubles. I guess MAC address issue is driver related. LED level - too. Those should be fixed as soon as Sony give us official release.

Never had problems with proximity sensor - works absolutely fine for me from the beginning.

I've never got a single random reboot. Maybe 2-3-5 FC-es, not that I remember them. And I use CM12 since the first unofficial build. I flash every new nighty (missed 2-3).
[Xperia Z1 Compact Original Android Development] marcoms:
Can I ask if you have the issue with the touchscreen where sometimes when you are dragging the screen and it clicks randomly, or just it loses touch altogether? Like this: https://talk.sonymobile.com/t5/Xperia-Z1-Z1s/xperia-z1-touchscreen-problems/td-p/410611

There may be a pattern
[Xperia Z1 Compact Original Android Development] mugna91:
Ok, i've tested touch with Xperia Diagnostics and I don't have random/lose clicks. I think it's software (driver) related, since we don't have this issue on stock ROM.
[Xperia Z1 Compact Original Android Development] marcoms:
Thanks, you are probably right. The problem is I don't know how I can report any sort of bug, since the CM JIRA bug tracker doesn't allow bug reports for nightlies... For now our only option is to use FreeXperia's AOSP (buggy) or Sony's stock ROM (old).
[Xperia Z1 Compact Original Android Development] lywjcxy:
I think this issue should the theme cause, because when everything is normal after I clean installed, just use the custom theme, this problem will occur
[Xperia Z1 Compact Original Android Development] .corrupt.:
Confirmed. The LEDs are working correctly as of the March 7 nightly.
[Xperia Z1 Compact Original Android Development] paulle:
theme problem cm12

Anybody encountered problems with the cm12-nightly of 7. and 8. of march, when trying to use another theme aside from the default one ?

For me it leaves the phone unusable and I have to do a clean new install.

Unusable in my case is: cm booting showing the lock screen. Normally I've to swipe up to enter the start screen, but now if I wipe up nothing happens, sometimes it works for a second, this means showing the start screen for less than a second (too short for performing any action) and jumping back to the lock screen.
[Xperia Z1 Compact Original Android Development] rzlatic:
last week, don't remember which nightly, flickering started when i was out on a bright sunlight (i use auto brightness ). went inside, shut the screen off and back on: flicker gone. went outside, flickering again. back inside, screen goes normal. so yeah, it isn't random - ambient light, light sensor, values, autobrightness, i don't know but hope they will settle that.

just a workaround "until they find the root cause".

http://review.cyanogenmod.org/#/c/90220/
[Xperia Z1 Compact Original Android Development] Shibe.Amaze:
I'm getting a 404 on all official builds, and the link to unofficial builds is also dead.

---------- Post added at 06:06 AM ---------- Previous post was at 05:59 AM ----------

Correction- all builds after and including March 2nd. All builds after and including March 1st give a 404.
[Xperia Z1 Compact Original Android Development] goeland86:
Mac-address problems begone! (maybe?)

---------- Post added at 09:15 AM ---------- Previous post was at 09:14 AM ----------

I don't know why you're getting 404s. To be honest I haven't tried to download the files manually, I just use the CM updater to get them, and this works.
[Xperia Z1 Compact Original Android Development] .corrupt.:
Fair enough. But from a user's perspective, the result is the same.

In the meantime, I have started collecting all issues known to me in the official cyanogen "issues" Wiki-page for the Z1C: http://wiki.cyanogenmod.org/w/Known_Issues_page_for_amami. They say they have a policy to delete everything not coming with a jira link but that doesn't seem to be enforced. It should, however, help to keep track of prominent issues to have a central list to refer to.

Something else that occured to me yesterday is the lack of a panorama feature in the camera. I also couldn't find a setting to store captured images on the SD card. Any intel on that?
[Xperia Z1 Compact Original Android Development] goeland86:
That might actually be a limitation imposed by the lollipop framework itself, where apps don't have access to that level of discrimination for storage anymore. Need to look it up in more detail, but I remember when KitKat came out it was a nightmare when building one of my apps to store or read files from the SD card...
[Xperia Z1 Compact Original Android Development] .corrupt.:
Theres an update on the Xposed front as well: The newly released alpha2 (http://xdaforums.com/showthread.php?p=59305359#post59305359) works for me. After the installation and activation of GravityBox, things were hanging and crashing all over the place for a while. But after three reboots and a hard-reset, everything seems to work now. Running CM12 with Pie menu and no navigation bar now.
[Xperia Z1 Compact Original Android Development] rob rich:
Latest nightly 20150309 also has this theme engine bootloop bug :(
[Xperia Z1 Compact Original Android Development] .corrupt.:
How about the MAC-bug?
[Xperia Z1 Compact Original Android Development] rob rich:
Havent looked :D
[Xperia Z1 Compact Original Android Development] marsa47:
I will say it again - I don't think your reboots are caused by something in the ROM. More likely there is something you've changed by yourself.

I haven't got a single unexpected reboot since the first unofficial. Today I decided to test my WiFi hotspot, so I enabled/disabled it many times, changed its settings (with or without security), connected devices to the hotspot, manually rebooted my Z1c, then tested again and so on. Meanwhile I also started few apps that use internet. So no problems here at all.
[Xperia Z1 Compact Original Android Development] .corrupt.:
Curious. I have come to accept instability after using the hotspot so much that I manually reboot every time I used it. I did run Xposed for most of my time with CM11, that might be a factor. But as for my experience with CM12, Xposed only runs since early this morning. And all my tests with the hotspot during the last days went the same way: activate hotspot, connect, use, wait, phone reboots. Nothing meaningful in the logs. I never questioned that as a possible mistake of mine or a problem specific to my device.

As for unexpected reboots, that's a totally random thing. Most of the time I only ever realize that one happened when I reach for my phone and find it presenting the PIN-prompt. I have gone months without one on CM11 and then it suddenly happened. So far I had two with different nightlies of CM12.
[Xperia Z1 Compact Original Android Development] iuno:
still there

Has nothing to do with this

btw: wouldn't it be better to open a new thread, as we are discussing the OFFICIAL nightly builds here?
[Xperia Z1 Compact Original Android Development] paulle:
maybe it will get fixed tomorrow ?

http://review.cyanogenmod.org/#/c/90779/

http://review.cyanogenmod.org/#/c/90691/

http://review.cyanogenmod.org/#/c/90798/
[Xperia Z1 Compact Original Android Development] rob rich:
Its fixed :)
[Xperia Z1 Compact Original Android Development] EpicLPer:
Can anyone confirm that the camera auto-focus is always slightly off? My photos are all a little blurred, you can see that especially when making a photo of text or trees.
[Xperia Z1 Compact Original Android Development] charnocc:
Is this a problem for updates? Is it possible to copy the update .zip to the sdcard and update from there instead, or is the userdata partition also changed during the update?
[Xperia Z1 Compact Original Android Development] LazyT:
Wow, own fm-radio integrated now! Looks fine, but can't receive any channel. Spirit2 works fine...
[Xperia Z1 Compact Original Android Development] .corrupt.:
I noticed the same thing. It started a couple of days ago if I'm not mistaken. I have a few pictures on my phone from last week that are crystal clear.

It is not if you only update from one nightly to the next by wiping and flashing /system. You can flash a .zip from the external SD or sideload it using adb. You can, however, not make NANDroid backups using TWRP. And you will have to do a factory reset when flashing another ROM.
[Xperia Z1 Compact Original Android Development] goeland86:
Try adjusting the regional radio range in the settings. It works fine here :)
[Xperia Z1 Compact Original Android Development] LazyT:
Was the first after starting the app... ;)