yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Original Android Development] camel_456:
Does anyone else get seemingly random soft-reboots using the latest nightlies? I'm on 6th Nov and have had soft reboots when opening the camera, opening Google maps and opening the recent apps switcher. Generally I get one or two soft-reboots a day, without any noticeable increase in the temperature of the device.

I was previously on a nightly two weeks older and having the same issues. My last stable nightly was 12th Aug (not that I flashed a new nightly everyday, there may be more recent stables).

Before I clean flash the August ROM, I was wondering if anyone could shed any light on the issue I'm having with the more recent versions?

Thanks.
[Xperia Z1 Compact Original Android Development] :
Disable strict mode
[Xperia Z1 Compact Original Android Development] camel_456:
Thanks for the tip, but strict mode is already disable.
[Xperia Z1 Compact Original Android Development] rzlatic:
confirming, but not triggered by apps you mentioned or any apps for that matter, but random reboots while phone is standing by on the table. the bootanimation just appear and phone boots up. happens with 1107 nightly.
[Xperia Z1 Compact Original Android Development] mcastagnaa:
I am on 10-24 + exposed and I don't have any reboot since a while.

On a different matter, is anyone used/using encryption?
[Xperia Z1 Compact Original Android Development] prinz.z:
I'm unable to delete content from external SD with latest nightly 2015-11-13, anyone else?

Edit: it seems to be sdcard specific, but I have no idea what's going on.. Maybe just broken :P
[Xperia Z1 Compact Original Android Development] rzlatic:
Since 20151111 build, the notification sound finally plays without stuttering.
[Xperia Z1 Compact Original Android Development] camel_456:
I followed these steps successfully, thanks for the tutorial!. I'm curious now as to whether the backup I made of the TA partition with my DRM kwys intact is still useable, should I want to relock the bootloader?
[Xperia Z1 Compact Original Android Development] paulle:
z5 camera for z1c

z5 camera for z1c http://xdaforums.com/crossdevice-dev/sony/exrxths-z1-z1c-z2-z3-z3c-z3-xperia-z5-t3250139

edit: it's not for cm12.1
[Xperia Z1 Compact Original Android Development] Mr.201:
Hi, I am new with z1 compact. so I want to know if latest nightly is stable for daily usage and is there any major bug on cm12.1 on z1 compact?
[Xperia Z1 Compact Original Android Development] vordhosbnbg:
There were some reboots lately, but they are nowhere as bad as before (not sure how that sounds :D ).

I would say its ok for daily use, if you don't require 100% stability.
[Xperia Z1 Compact Original Android Development] rzlatic:
latest m5 kernel solves those hot reboots (i'm running cm's 1113 build). other than that, there's nothing big in terms of issues.

(now it will start all over again with cm13 though ;)
[Xperia Z1 Compact Original Android Development] Mr.201:
I tried latest build and I guess they were okay. But I couldnt experience the random reboots you guys were saying. Battery were okay, no significant drain in standby, just about 1% per hour on my side and the camera is better on Cm12.1 than on Sony 5.1.1 .368 because of smooth viewfinder.
[Xperia Z1 Compact Original Android Development] rzlatic:
random reboots are rare. one in a week or so.

and they are hot reboots, so sometimes you don't even know the phone rebooted while in standby. to me those reboots were more often than reboots while in awakened state. but again, rarely.
[Xperia Z1 Compact Original Android Development] Talkrabb:
Same question: OTA updates working?
[Xperia Z1 Compact Original Android Development] frauhottelmann:
If you use CM-recovery it shouldn't be a problem. With twrp you have to use side loading, because it can't mount the encrypted partitions...
[Xperia Z1 Compact Original Android Development] Micha_Btz:
the problem is, that you can not make nandroid backups, because that no recovery support it.

i have twro for sony real recovery and mount of data partition is not possible.
[Xperia Z1 Compact Original Android Development] rzlatic:
again on that:

http://xdaforums.com/showpost.php?p=64032844&postcount=107

obviously a work in progress. Alin's presentation sounds very promising in terms of open-source but we yet have to see in what time frame it will be stable and usable, and it's all up to developers.
[Xperia Z1 Compact Original Android Development] vordhosbnbg:
What do you mean by "m5 kernel"? CM milestone version?
[Xperia Z1 Compact Original Android Development] rzlatic:
doh! sorry for not linking to appropriate thread :) m5 kernel is custom kernel for cm based roms. 10.2 is latest build and there were really no hot-reboots running with 1113 nightly, but they appeared again with 1126 nightly - don't know about later nightlies.

regarding hot-reboots i'm not sure which report is the main one on cyanogenmod bugtracker, as there appeared a number of them lately. this was the main one but this one looks more recent (and still opened) so go ahead and vote for it if you experience hot reboots.

however m5 kernel is fun to use for additional governors, hotplugs and a bunch of other candy.
[Xperia Z1 Compact Original Android Development] korpenkraxar:
Do those hot reboots only occur with the m5 kernel?

I am unable to find the 1113 nightly image or download any of the 1112 of 1114 images. Can you please consider temporarily sharing it and the recovery image?
[Xperia Z1 Compact Original Android Development] rzlatic:
here you go:

https://drive.google.com/file/d/0B8bddXQt5lS1bHctcUJlYTF2SGc/view?usp=sharing

perhaps the builds between 1113 and 1126 were also stable, but i didn't flashed them. also didn't tried the latter ones. talking of which, i will flash the latest one (1205) and see how it goes. btw we're talking about running with M5 10.2 kernel.

i'm using recovery for new bootloader.
[Xperia Z1 Compact Original Android Development] korpenkraxar:
Downloaded! Many thanks!

I did not understand this about the bootloader, which bootloader and version do you use?
[Xperia Z1 Compact Original Android Development] rzlatic:
this one. it finally provides a /recovery partition, that's why you have to flash and use recovery that's able to actually run from that partition, not the usual fota-version.

although it's not important for this subject right now - you can flash upper mentioned rom+kernel combo from any (working) recovery you use :)
[Xperia Z1 Compact Original Android Development] korpenkraxar:
That is great. Thank you!

I am a bit curious though, what are the steps and necessary images to accomplish a CM install with encryption and working OTA?
[Xperia Z1 Compact Original Android Development] freeman94:
Anyone knows when will Android 6.0 rom be availble, any Cyanogenmod 13 or AOSP?

It's weard as my last phone before Z1C was the LG L90 for with CM13 is already avaible and seems to work quite good.

Same with my friends SGS IV he can already flash it if he wants.
[Xperia Z1 Compact Original Android Development] munjeni:
http://xdaforums.com/showpost.php?p=64164050&postcount=4
[Xperia Z1 Compact Original Android Development] Mr.201:
Any review on latest update? Less buggy or more bugs appear? Anyone? Sorry I am reluctant to flash it myself as cyanogen recovery keep flashing itself . . .
[Xperia Z1 Compact Original Android Development] rzlatic:
do you have "update cyanogen recovery" turned on in developer settings? turn that off.

speaking of bugs & slight annoyances,

hot reboots still present for me; more often when phone is asleep, rarely triggered by action

camera still have problem remembering save location (internal vs sdcard)

notification sounds are cut again

wifi drain seems okay for a while now. don't know the status of bt stack which was also buggy for long time.
[Xperia Z1 Compact Original Android Development] nikosddesign:
support 4k video in rom?
[Xperia Z1 Compact Original Android Development] frauhottelmann:
No
[Xperia Z1 Compact Original Android Development] TheAvngrZ:
Anyone has information for CM 13 for amami?
[Xperia Z1 Compact Original Android Development] levone1:
Anyone know how I can swap back and recent keys on cm 12.1? I don't know if it's in default cm settings, since I'm using an Xperia settings mod, but I figured I'd do it via apktool, so decompiled system ui, and looked at navbar XML, but it's not like most navbar XML s I've seen, (which is probably why Xposed mods aren't working either). There's references to a drawable file called 'ic-sysbar-lights-out(or something)', but the file doesn't exist in any drawable folder. Any ideas?
[Xperia Z1 Compact Original Android Development] TheAvngrZ:
Cant give you an 100% answer cause u are using mods, but normal cm 12.1 its in the normal settings.
[Xperia Z1 Compact Original Android Development] fadern:
Hi,

I experience problems when I try to connect to my 5ghz aps. The phone dont even see the ap/ssid.

Is this a known problem or is it just my phone.

I'm running the latest nightly.
[Xperia Z1 Compact Original Android Development] TheAvngrZ:
do you have 5ghz freq enabled? you can look in wifi settings...
[Xperia Z1 Compact Original Android Development] fadern:
Do I need to enable the 5ghz band?! Or do you mean that I should only use 5ghz. I've tried both auto and just 5ghz and still nothing.
[Xperia Z1 Compact Original Android Development] TheAvngrZ:
I dont know, how your Router is set and I think bouth is enough... Uhm, by me its sometimes the fault, that I cant connect, but a hour later everything works good. try a reboot of your device and router too :)
[Xperia Z1 Compact Original Android Development] fadern:
im using UniFi AP's. Two UAP Pro. They are sending 5ghz at channel 116,+1 @ 20dBm and channel 136,-1 @ 20dBm. I know they are working fine since there are other devices that are connecting without any issues .
[Xperia Z1 Compact Original Android Development] mcastagnaa:
I can connect to my 5ghz router without any issues (plain vanilla Virgin UK supplied router).
[Xperia Z1 Compact Original Android Development] vordhosbnbg:
Regarding the hot reboots:

The JIRA issue has been updated. Nightlies from 0117 onwards should contain the fix. Apparently the problem was an "off by one" error.
[Xperia Z1 Compact Original Android Development] rzlatic:
jea, commit was included in 0116 build already: i'm running it since 16th with no reboots so far.

furthermore todays build (0119) have additional kernel sony's driver commits :good:
[Xperia Z1 Compact Original Android Development] Yokurt815:
Can anybody give me status of bt stack? Is it usable on latest builds?

Thanks
[Xperia Z1 Compact Original Android Development] beegee:
Is there any UNOFFICIAL CyanogenMod with latest source available for flash?
[Xperia Z1 Compact Original Android Development] munjeni:
You can get it from here -> https://download.cyanogenmod.org/?device=amami

Yesterday I have tried cm-12.1-20160121-NIGHTLY-amami.zip and I must say I am realy suprised how stable it is now, its realy beautifull rom and allmost everything is working! On short test found only that I can not play some iptv videos on screen rotate so after that I reinstalled to stock rom, in any way beautifull rom realy! Recomend everybody to try it!
[Xperia Z1 Compact Original Android Development] bimbar:
Disable video hardware acceleration.
[Xperia Z1 Compact Original Android Development] beegee:
I have used nightly but i had some issues like phone not seeing SD card, poor front camera and so on..
[Xperia Z1 Compact Original Android Development] munjeni:
Not see sdcard? I had no isue with sdcard, it got detected as no problem! Probably your sdcard is corupted somehow. Try format sdcard by copy paste this:

adb kill-server
adb shell
export PATH=/sbin
dd if=/dev/zero of=/dev/block/mmcblk1 bs=524288
fdisk /dev/block/mmcblk1
n
p
1

t
b
w

parted /dev/block/mmcblk1 --script mkfs 1 fat32

exit
adb kill-server
[Xperia Z1 Compact Original Android Development] beegee:
Nah, it's not.

I have Kingstone Class 10 - 16gb and it works on any rom.

I'm flashing CM (26 January nightly) and OpenGapps (same 26 january) maybe the problem will disappear.
[Xperia Z1 Compact Original Android Development] fadern:
I had to format the SDc to fat32 to make it work.
[Xperia Z1 Compact Original Android Development] beegee:
I have CM for 2 days, SD card is working nice and smooth :)
[Xperia Z1 Compact Original Android Development] fadern:
Hi again,

I've now looked in to my 5ghz issues a bit.

it seems that I (my phone) cant see 5Ghz channels over 48. And that means that I'm not able to use any DFS channels. I've tried 52, 56, 104 and 148 but if I set my AP to transmit at channel 36 it works fine.

https://en.wikipedia.org/wiki/List_of_WLAN_channels

I've also found this Jira https://jira.cyanogenmod.org/browse/CYAN-7094

can someone confirm this?
[Xperia Z1 Compact Original Android Development] krissbay:
Screen backlight on while charging and phone powered off

Hi all,

since I flashed Cyanogenmod 12.1 I'm facing the problem that while charging and being powered off the backlight of my Z1C keeps on glowing.

Because of this it takes hours to get a full battery. Is this a known Kernel issue? Or how can I solve that? Any ideas? Thanks!

Chris
[Xperia Z1 Compact Original Android Development] ShadowLightz:
I have the same issue. As a workaround I always charge it while it's running or start it as soon as I can. But of course, it's somehow annoying
[Xperia Z1 Compact Original Android Development] blue-spiderfire:
My backlight isn't glowing during charging.

But I'm on M5 kernel.
[Xperia Z1 Compact Original Android Development] iuno:
Hi there, I haven't had time to play around with this stuff lately. I'm currently still on nightly from August 17th. I have read that there were changes about recovery etc. Can I still just upgrade to a newer nightly build withoug having to worry or do I have to switch to the new recovery?

There were a few bugs on the version I use, are they resolved?

*Long-pressing volume buttons doesn't make the CM music player play the prev/next song. It works with vlc, though.

*Auto-switching LiveDisplay to Night doesn't work (it did somewhen before).

*Wifi completely hangs when I use an EAP authenticated connection. I have to reboot the device to get Wifi back on.

thanks for your replies ;)
[Xperia Z1 Compact Original Android Development] ShadowLightz:
CM has improved a lot since August. Especially eap WiFi works much better. LiveDisplay is working fine for me. To the music player a can't say anything I don't use it. Downside in the moment are occasionally freezes of the whole system.
[Xperia Z1 Compact Original Android Development] krissbay:
Can you recommend the use of the M5 kernel? Any advantages compared to default kernel?
[Xperia Z1 Compact Original Android Development] blue-spiderfire:
Not at this time as I didn't gathered enough experience. I'm on CM for a week now and didn't tried the original CM kernel. But I like the Kernel for his low voltages and minimum freq <300MHz. Latest CM nightly is stable with v.11 for me. You may read the kernel thread and decide whether you realy need a custom kernel or not.
[Xperia Z1 Compact Original Android Development] krissbay:
M5 Kernel

Yesterday I gave it a try. I flashed the M5 Kernel via CM Recovery but ended in a SONY Logo bootloop after that. I had to reflash the CM Kernel. Luckily this worked without causing any problems. But I don't want to give up on that.

[MENTION=4503201]blue-spiderfire[/MENTION] Did you have similar problems? What combo of M5 version and CM12.1 nightly you got on your device?
[Xperia Z1 Compact Original Android Development] :
Hi there,

i got the latest nighly facing an issue. Cm Privacy-Guard tells me, that "andoid-system" is using location tracking all the time. It never stops. Anyone else got this problem?

Ah ... this started right after a fresh and clean install without Gapps. Wifi/GPS both deactivated ....
[Xperia Z1 Compact Original Android Development] paulle:
try to disable location tracking in playstore, google play services.
[Xperia Z1 Compact Original Android Development] rzlatic:
this commit solves the issue. its included in 20160210 nightly.

:good:
[Xperia Z1 Compact Original Android Development] :
the tracking-problem exists even without gapps installed :(
[Xperia Z1 Compact Original Android Development] southpark666:
Cyanogenmod 12.1 on Z1 compact

Hi all, I want to use Cyanogenmod 12.1 for my SONY Xperia Z1 Compact. I tried many procedures to do this, but without effect. I have STOCK Android 4.4.4, fully rooted Bootloader, already installed last TWRP (2.8.7.0). When I try to instal CM 12.1. through TWRP, the phone is died. I have downloaded version CM-12.1-20160302-NIGHTLY-AMAMI.zip, and GAPPS-5.1.ARM-2015-07-17-13-29.zip. These files I stored on SD card in phone. After TWRP start, I do a SWIPE (reset factory settings), after this I use INSTALL CM, after this INSTALL GAPPS and at the end, I use REBOOT system. After these operations, my phone is died. No booting, only vibrating every few seconds during TOUCH power ON/OFF button for a little time. I must use SONY flashtool with phone connected to PC and flashing phone with stock Android 4.4.4. Can anybody know the REALLY function process to get Cyanogenmod booting on this device? Thanks for all advices. Lubo from Slovakia...
[Xperia Z1 Compact Original Android Development] Frunzdoedel:
Do you have an unlocked bootloader, means a code from sony after you gave them the imei number?
[Xperia Z1 Compact Original Android Development] southpark666:
Hi, I have already sent a request with IMEI code to SONY with my GMAIL adress, but its already second day after this and nothing comes from SONY. I try this process again with my another email but the same issue :( I thought that this code is not needed for unlocking bootloader, maybe SONY stopped this supporting... My bad think was too that rooting the mobile phone is the same as unlocking the bootloader. I am a novice. Sorry
[Xperia Z1 Compact Original Android Development] Frunzdoedel:
I've attached the guide that helped me over two years ago.
[Xperia Z1 Compact Original Android Development] rzlatic:
code from sony is crucial, also unlocking the bootloader with that code is crucial.

be sure to check your mail account, check spam folder, try to locate possible feedback email in your inbox. otherwise try to retrieve the code again, eventually contact the sony itself. without the code to unlock the bootloader and without unlocked bootloader, you're no closer to custom roms.
[Xperia Z1 Compact Original Android Development] southpark666:
Sony send me a post about it:

"Hi,

Thanks for your email. Sometimes it can take a while to receive the email, however if a significant amount of time has passed I would recommend trying a different email address that ends in .com. Also make sure to look at your email from a computer and not a phone.

Best regards,

Maja from Developer World"

I do this all correct.
[Xperia Z1 Compact Original Android Development] CmDaRkShAdOw:
I flashed this rom, and my z1c is very hot! 53*C!? It's strange! Have a solution?
[Xperia Z1 Compact Original Android Development] bimbar:
Reboot.

Battery life has become really bad for me with cm12. Can anybody confirm that or is it just my battery dying?
[Xperia Z1 Compact Original Android Development] prinz.z:
I have that problem for quite some time now, using Greenify improved it a bit, but I'm not satisfied. My battery died before, but that was seriously noticeable, because the phone stopped working at 30% battery or so :) But even with the replacement battery, I have constant battery drop and Android OS, Google Play-Services and Android-System always among the top 5 consumers.
[Xperia Z1 Compact Original Android Development] diemadedrei:
I had the same thing with my girlfriend's z1c. It always died at about 40%. We had the battery replaced by Sony and everything works as expected again.
[Xperia Z1 Compact Original Android Development] rzlatic:
can agree, with last few nightlies i've flashed (20160302 at the moment) there is quite significant drain. past few months were fine battery-wise.

didn't quite dig into wakelocks as the drain clearly begun with one of past nightlies i've flashed (20160302 or 20160227, not sure) and from time to time there appears some buggy commit, which just end up fixed in some of future nightlies, so, well....... :D its a nightly channel, bugs (and fixes) are common.

long story short - the battery wasn't always bad, it appears to be at the moment but will be fixed eventually.
[Xperia Z1 Compact Original Android Development] CmDaRkShAdOw:
can i get an answer ?
[Xperia Z1 Compact Original Android Development] beegee:
Put it in fridge for 5mins, then turn off everything you dont use, should fix :D
[Xperia Z1 Compact Original Android Development] Yokurt815:
encryption not possible

When I try to encrypt my phone, it asks for the PIN and reboots. But doesn't encrypt. During reboot, I see shortly a different image on the screen.

Phone is fully charged and connected to a charger. I'm on cm-12.1-20160331-NIGHTLY-amami.

sudo adb logcat | grep Cryptfs

I/Cryptfs ( 296): Check if PFE is activated on Boot

E/Cryptfs ( 296): Bad magic for real block device /dev/block/platform/msm_sdcc.1/by-name/userdata

E/Cryptfs ( 296): Error getting crypt footer and key
[Xperia Z1 Compact Original Android Development] Micha_Btz:
please test it with the lastest build and if it doesn't work submit a bugreport to cm
[Xperia Z1 Compact Original Android Development] Yokurt815:
I'll try with newer build on of the next weekends.

Does anybody have a good guide how to write bug report to CM for nightly builds?

Btw, I'm satisfied with the battery life of cm-12.1-20160331-NIGHTLY-amami so far.
[Xperia Z1 Compact Original Android Development] frauhottelmann:
Unfortunately you aren't supposed to write bug reports on nightlies. Usually they are deleted...

Mine is encrypted, the build was from a couple of weeks ago...
[Xperia Z1 Compact Original Android Development] Spartan42:
Normally is a little space of a few mb in the data-partition in Android. On you phone, this mb are not more reserved for encryption (bad magic for real block), maybe from formatting with an custom recovery.

Try following if you able to do:

Flash the stock firmware. Now the Partition should be restored. After a new flash from cm12 you should be able to encrypt the data-partition.

During this process you will lose your Apps and personal data, so keep backups.
[Xperia Z1 Compact Original Android Development] Yokurt815:
Thanks for the hint. I can't remember if I did format or wipe with TWRP 3.0.0-0 of data partition before installing CM12.1. I'll try the next days...
[Xperia Z1 Compact Original Android Development] krissbay:
Signal Drops

Few weeks back I replaced the battery of my Z1C and flashed the latest nightly. Since this moment I'm facing regular complete signal drops and my phone is not able to register again to my carrier network.

Most of the times switching to airplane mode and back helps. But sometimes only a manual search in mobile settings helps regaining signal. These drops especially happen when I'm leaving/entering a building, also when moving around. Maybe switching from one cell to another might cause the problem. I'm really not sure if this linked to the battery replacement or with the latest CM12.1 nightlies.

Does anyone else have a similar problem?
[Xperia Z1 Compact Original Android Development] Yokurt815:
Just switched to CM two weeks back, haven't experienced any signal drops so far with cm-12.1-20160331-NIGHTLY-amami. I don't know, does baseband come with CM? Before the switch to CM I installed latest stock version (14.6.A.1.236). My BB-Version is 8974-AAAAANAZQ-10270045-39.
[Xperia Z1 Compact Original Android Development] ULT][MO:
Some bugs I've found:

- Black screen when playing videos full screen with default player

- Black screen trying to take a photo with camera button on Whatsapp

- Battery signal showing wrong percent of charge (soon I'll try to recalibrate battery, maybe can solve it)

- Reboot phone (one time), when updated CM12.1 new builds, on first boot
[Xperia Z1 Compact Original Android Development] LukeHorizon:
For those blackscreen bugs: disable HW overlays in dev. Options, then its working flawless