yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Could be, what gapps are you using ?

Make sure to install it immediately after flashing the ROM, otherwise you'll run into permission problems,

I've read about issues with opengapps in the past, but currently I'm using opengapps myself and it works fine so far

You tried without Xposed installed ?

It IS possible to install Xposed immediately after flashing the ROM (I tried it in the past with CM13, "Stock" ROMs do NOT like that ;) )

but it would be better to start plain, from ground up and see if the basic functions work with a bare bones ROM/system,

and afterward adding the mods and tweaks,

especially if you're newly switching from a Stock ROM

Thanks

awesome ! :)
[Xperia Z5 Compact Android Development] iiicentury:
Im using the stock variant of gapps. But I will try the raw rom when I have the time to see if it has something to do with xposed or gapps.

Also in the new test build it says that my sdcard is damaged and so I can't use it but on stock Sony it's working. The nfc doesn't work, when I press the nfc button nothing happens and the torch does not work.

And from time to time I get random reboots.

Anyways thanks for your help and this awesome rom :)
[Xperia Z5 Compact Android Development] pas2bol:
Hi,

First of all, thank you very much for your work :)

I upgraded my E5823 from CTXz's "cm-13.0-20160417-UNOFFICIAL-suzuran" using you OTA file "cm_suzuran-ota-2d42325b66.zip".

Here are what I noticed so far :

Calls (in / out) : Ok

Mobile data : Ok

Wifi : Ok

GPS : Ok

NFC : I can't toggle on/off the switch

Status Bar quick settings : It is now possible to customize the shortcuts. Thanks :) . The torch doesn't work.

Bluetooth : I see the phone connected to my PC but I can't send nor receive files.

Sound : When I plug my earphone, I can ear a strange sound (kind of electronic noise). This strange sound stops when the music starts. I encountered the same issue with "cm-13.0-20160417-UNOFFICIAL-suzuran"

Camera : Tested with your apk. Still the focus issue but it's way better than before. The previews in the gallery are messed up. The app force-close sometimes.

Battery consumption : Is it me or the "android platform" drains the battery a little bit more than before the update ?

Keep up the good work :good:
[Xperia Z5 Compact Android Development] Bigyellowbananas:
I know your reply is not very recent but i have encountered this error before (on an M4) and solved it so this is what worked for me.

go to settings->apps->three dots->default apps and select the dialer to handle the phone calls.(note that the exact naming can be a bit different i'm on a iphone temporarly so i don't have i phone to check.)
[Xperia Z5 Compact Android Development] iiicentury:
Okay I will try it when im back on CM

Thanks for your help

Edit: it worked thanks!
[Xperia Z5 Compact Android Development] allayarov.i:
Hi. I tried to install CM13 as secondary ROM beside primary XPower 3.0 Lite but I have got error 'E: Failed to create system.img!'.

I install MultiROM TWRP and multirom zip file. I was on stock kernel. Is it possible to run CM13 as a second ROM? I read than in order to install CM13 you need special modded TWRP. Do someone have any idea?
[Xperia Z5 Compact Android Development] :
IT IS
[Xperia Z5 Compact Android Development] JenItols:
First off, thanks so much for porting CM13 to the Z5C. CM is a great rom and we all appreciate the hard work and time invested.

However, I believe I am experiencing an issue with my setup.

----------------------------------------------------------------------------------------------------------------

Followed instructions to install:

Z5C_AndroPlusKernel_v31 - installed using fastboot

TWRP-3.0.0.0-suzuran-v2 - installed using fastboot

cm-13.0-20160417-unofficial-suzuran - installed using TWRP recovery

opengapps-pico - installed using TWRP

----------------------------------------------------------------------------------------------------

Any sound that comes out of the speakers sounds great, but after about 1-2 seconds a pop happens. It almost sounds as if the speaker is being shut off abruptly while there is some sort of feedback or static still coming out. The pop is almost always at the same audible level regardless of the sound that was played.

The pop can best be described as if there is static or feedback coming out of the speaker and the speaker is abruptly shut off.

After the screen tap sound, which is really soft and barely audible, then comes the speaker pop. I have shut off screen tapping sounds simply because the pop after touching the screen is too annoying.

I hope I described the issue well enough. Is this a known issue? What could I do to help diagnose this problem?
[Xperia Z5 Compact Android Development] zacharias.maladroit:
IS WHAT ?

that post doesn't make any sense without context :confused:

Yeah, known problem for the open drivers,

happens both with driver blobs for AOSP and proprietary drivers, both on CM13 and AOSP,

shouldn't be anything to worry about
[Xperia Z5 Compact Android Development] missing something here:
Not sure if I'm missing something here, but is this thread no longer about CTXz's Z5C CM13?
[Xperia Z5 Compact Android Development] :
u wot
[Xperia Z5 Compact Android Development] zacharias.maladroit:
It still is, he's currently taking a break,

all Z5 devs are working together, so I'm pushing a few builds meanwhile

not sure why everyone thinks that one dev or another are taking over a thread if the other one's pushing a build :confused:
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Changelog

Kernel Source:

https://github.com/zachariasmaladro...mi_r2/commits/Sun-Kernel_cm-13.0_III.1_5_3_cm

ROM Source:

mostly

https://github.com/SonyAosp/

https://github.com/Sony-Kitakami/

https://github.com/sonyxperiadev/

Kernel

Z5c_Sunkernel_Permissive_v13_III.1_5_3.zip

ROM

6.0.1_13.0-20160712-UNOFFICIAL-suzuran_r56

Thanks
[Xperia Z5 Compact Android Development] acabreram:
Hi bro!

What it's the procedure to install this if I'm in stock rom?

Thanks!!
[Xperia Z5 Compact Android Development] pas2bol:
Hi Zacharias,

Thanks for your work :)

Great update :svetius:

I used your last OTA file to upgrade.

Here are what I noticed so far :

Calls (in / out) : Ok

Mobile data : Ok

Wifi : Ok

GPS : Ok

Fingerprint scanner : Ok :svetius:

NFC : Now I can toggle on/off the switch but I haven't try it

Bluetooth : Not ok, same problem as before

Sound : Still the problem of strange electronic sounds coming from my earphone when plugged

Screen : The screen is darker when brightness is set to zero Problem solved with a reboot

Thanks again for all the time you spent for us, and have a nice holiday :)
[Xperia Z5 Compact Android Development] iiicentury:
Can you read? It's all in the op
[Xperia Z5 Compact Android Development] rtimoff:
Kernel(Z5c_Sunkernel_Permissive_v13_III.1_5_3.zip), do I need to flash it too via recovery, or CM13 ROM contain propper kernel?

P.S. This package is for device: suzuran; this device is .

Updater process ended with ERROR: 7

ERROR installing zip file .....

WTF?
[Xperia Z5 Compact Android Development] acabreram:
wich command i have to use to flash twrp

fastboot flash recovery twrp.img???
[Xperia Z5 Compact Android Development] iiicentury:
Yh i think so. Im not home
[Xperia Z5 Compact Android Development] mangusmeister:
Anyone able to get this to boot with sunkernel? No matter what way I install it I get stuck at cm 13 logo forever?
[Xperia Z5 Compact Android Development] rtimoff:
I even can't flash this ROM, see my post on previous page.

Отправлено с моего E5823 через Tapatalk
[Xperia Z5 Compact Android Development] Raphos:
Hi,

Update to the last rom yesterday, coming from Z5C_AndroPlusKernel_v31 - TWRP-3.0.0.0-suzuran-v2 - cm-13.0-20160417-unofficial-suzuran on a E5823.

I try to use Z5c_Sunkernel_Permissive_v13_III.1_5_3.zip (flashed with fastboot) but TWRP was not starting anymore. Just get a black screen on reboot. When I restart the phone (vol up + power button) the phone vibrate on time and black screen again.

I flashed the kernel back to Z5C_AndroPlusKernel_v31. TWRP was working again. Wiped Dalvik/ART cache, System, Cache and Data. Updated to 6.0.1_13.0-20160712-UNOFFICIAL-suzuran_r56 using TWRP.

Now the rom is working, I'll give a feedback after few days of use...

Don't know whats the difference between Z5c_Sunkernel and AndroPlusKernel_v31, sorry I'm not a Developer.
[Xperia Z5 Compact Android Development] mangusmeister:
Instill androplus kernel v31 and make sure you have this rom and gapps ready on your internel memory.

Boot into recovery (up on volume when light changes colour).

Go to advanced wipe and clear dalvic, system, data, cach.

Install cm 13 and gapps right after(don't boot and then do gapps) each other without booting in between.

Good luck this works for me.

Do a back up with titanium of any apps you don't wanna loose data for and back up the rom your using just now in twrp before you start the process.

Make sure also your phone is a supported model and your bootloader is unlocked(see post 1). Hope this helps you get going.

Forget about sun kernel as I doesn't work on this rom or res remix.
[Xperia Z5 Compact Android Development] rtimoff:
Well thanks fella, is this ROM usable? Everything works fine and you use it as daily driver?

Отправлено с моего E5823 через Tapatalk
[Xperia Z5 Compact Android Development] mangusmeister:
Its ok, use cam next mod to get a usable camera though forget about focusing on anything more than 2 feet away. I use v10 from the xda thread, if it force closes just reboot to fix it.

Also torch doesn't work but it does work as a flash for the camera.

Can't comment on Bluetooth as I don't use it but the only other issue I have is that during heavy gaming it seems to lock up a bit and for some reason I cant change my processor speed to max, that's why I was hoping sun kernel would work but no answers on this or res remix thread on as to why it doesn't.

---------- Post added at 04:48 PM ---------- Previous post was at 04:41 PM ----------

Why is sun kernel even listed here? Is it not for stock? Can't see it saying on the xda thread that its for cm 13?
[Xperia Z5 Compact Android Development] Jhsi7:
Works fine with sunkernel except the TORCH, Anyone else have this problem??
[Xperia Z5 Compact Android Development] iiicentury:
Torch doesnt work at all
[Xperia Z5 Compact Android Development] zacharias.maladroit:
that kernel is the flavor for CM13 and RR,

the Z5 Compact is sort of a "special case",

I've also had trouble to get the kernel to work for Stock ROMs, even though the steps were the same ones that e.g. AndroPlus used for buildling

the access from the pull-down menu/notification unfortunately either works with delay or not at all,

in the meantime please use the following app:

https://play.google.com/store/apps/details?id=com.surpax.ledflashlight.panel&hl=en

(works fine on the Z5)

or similar

Thanks
[Xperia Z5 Compact Android Development] mangusmeister:
How did you install sun kernel? It just hangs on cm logo forever?
[Xperia Z5 Compact Android Development] rag3voxi:
can i use this guide with andro 5.1.1?
[Xperia Z5 Compact Android Development] civicsr2cool:
yes, you must use twrp 3.0.2 to move from lollipop to mm
[Xperia Z5 Compact Android Development] acabreram:
could you share twrp 3.0.2 for cm 13

i have the 3.0.0

thanks!!
[Xperia Z5 Compact Android Development] civicsr2cool:
I had to Google to find it last time
[Xperia Z5 Compact Android Development] rag3voxi:
i downloaded 3.0.2, gapps arm64-6.0 and cm 13.0-20160417 (latest) and the andro plus kernel v31 (latest) or do i need the v20 or another version? ( using andro 5.1..1)
[Xperia Z5 Compact Android Development] tramtrist:
Many things work on this rom with my 5803. Fingerprint reader and NFC work great.

Bluetooth however stuttered like crazy. I disabled audiofx and intalled viper4android but it still stutters from time to time when listening to music. Disabling wifi seems to fix the issue as well.

The camera is completely broken. I can get the camera to work using opencamera app but there is a blue tint to the images.... very strange.

All in all I can probably use as a daily driver and appreciate the work the team is doing. Hopefully we can find some work arounds to the issues I mentioned.
[Xperia Z5 Compact Android Development] Kallu609:
Pretty good progress actually. Only things holding me back are the sound and camera problems.
[Xperia Z5 Compact Android Development] Raphos:
Hi,

... and Bluetooth. Calls are not working with my car system (paro minikit 2), just make horrible noises...

Using opencamera too, got the blue tint just on the screen but not on the pictures. It takes a while between pressing the button to take the photo and the moment the photo is saved.
[Xperia Z5 Compact Android Development] davidbevi:
Quick recap: the things that do not work properly are camera, audio, and bluetooth. Correct?

tramtrist says fingerprint reader works, so why is this not reported on the first post which is where the ROM summary is?
[Xperia Z5 Compact Android Development] civicsr2cool:
Read page 29
[Xperia Z5 Compact Android Development] chrisg9:
my sony xperia z5 compact E5823 bootloader is locked how i can fix ?
[Xperia Z5 Compact Android Development] Kallu609:
http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
[Xperia Z5 Compact Android Development] chrisg9:
rooting status:

Bootloader unlock allowed: No

can fix this?
[Xperia Z5 Compact Android Development] MattyCurrann:
Absolutely love this ROM. If the camera was fixed it would be the best mod ever.
[Xperia Z5 Compact Android Development] malomank:
Great rom

Yeah if the camera works, It will be the perfect rom :D
[Xperia Z5 Compact Android Development] tramtrist:
...and Bluetooth.

That Bluetooth distortion problem (which I understand is prevalent in not only this particular ROM+Phone combo but many Cyanogen 13 builds) needs to get fixed for anyone using any kind of BT audio.
[Xperia Z5 Compact Android Development] Marco20:
Did you activate the oem unlock in the developer option?
[Xperia Z5 Compact Android Development] PhobiaSoft:
I've been lurking on this thread for several days now trying to decide if I should root stock Mashmallow, or install Cyanogen on my Z5C. I've never flashed a custom ROM onto a phone, but I thought this would be a great way to learn how. This thread was super easy to follow, and I was able to get Zacharias's version of Cyanogen (see page 29) functioning on my Xperia with very minimal effort! So thanks a lot to everyone here who helped me along my way!

I haven't tested the Bluetooth yet, but I have experienced the "audio glitch" mentioned before, which is honestly not as intrusive as I expected. Its only a slight clicking in the headphones until audio begins playing, at which point it stops. It even stops clicking while the phone is "playing silence" like a Youtube video with no sound or a silent mp3. I've used several official Android builds with this same annoyance, so although I would prefer a fix, I don't believe the audio bug should be the focus at this time.

So far I am loving Cyanogen despite these flaws, and plan to continue running it on my daily driver. However, the non-functioning camera is a serious depreciation on an otherwise outstanding build. I know this particular version of the ROM isn't very old yet, so I doubt anyone has found a fix this early on. To those of you currently running CM on your Z5C, has anyone found a workaround for camera functionality? I've tried several third party camera apps from the Play Store that promise to operate on a ROM plagued with the "CM camera glitch" but none of them actually work (no surprise there).

To any Devs who might be reading this, I'm willing to assist with any research or testing that might result in a patch for Cyanogenmod for the Z5 Compact in order to restore camera functionality - and I think most of the contributors to this thread would be willing to do the same. If I can somehow help, please let me know. I would love to see official Cyanogen support on the Z5C someday, but for now, lets try and perfect this already great build!
[Xperia Z5 Compact Android Development] mangusmeister:
Still waiting to find out how to make this run with sun kernel, saw a post where they said it was working fine. Anyone? I cant get it to work.
[Xperia Z5 Compact Android Development] PhobiaSoft:
I have yet to read a post saying CM for the Z5C was playing nice with SunKernel, so I just elected not to use it. I flashed the Z5C version of AndroPlus v34, which can be found here: https://drive.google.com/open?id=0B0j3VJ1Xp5N8QlR0YU1BQmxfNGc and never ran into any issues. To clarify, I also flashed TWRP v3.0.2 which can be obtained here: https://www.androidfilehost.com/?fid=24499762636001943 after performing the official OTA update to get Marshmallow - although I'm not sure if that last step is necessary.

And although I've said this before, I'll say it again for anyone who hasn't made it this far, I flashed the unofficial July 12th build of CM by [MENTION=3037651]zacharias.maladroit[/MENTION] which can be downloaded here: https://www.androidfilehost.com/?w=files&flid=79301. My specific Z5C is on build number is 32.2.A.0.253 and the model number is E5803, but there doesn't seem to be any software difference between the E5823 and E5803 models so don't let that stop you from trying.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Yeah, the camera and bluetooth issues (and especially bluetooth on the Z5C ?) are potential problems when switching from Stock,

thing is: the camera firmware needs calibration information which currently is lacking,

either the current kernel will get it with a new blob (Alin said that it'll take some time),

or Alin will leave that out for the current kernel and include the calibration-work for the new 1.3.3 Kernel which also supports the Xperia X devices at the same time (which have a similar camera to ours),

expect a few more weeks (or only days) until we know more

Thanks
[Xperia Z5 Compact Android Development] PhobiaSoft:
Oh that's actually sooner than I expected! Sorry for my ignorance here, but are you saying the calibration information for the camera needs to be added to the custom Kernel being flashed? As in SunKernel / AndroPlus?
[Xperia Z5 Compact Android Development] zacharias.maladroit:
No, it needs to be contained in the firmware,

Kernel driver, according to Alin, is complete - but the camera lacks focus for farther away objects which is due to lacking calibration information/data ("simply": it needs to be calibrated and adjusted to work properly)

dunno, 1.3.3 kernel might also add flash support for the camera
[Xperia Z5 Compact Android Development] PhobiaSoft:
Okay okay, I was going to be utterly shocked if you told me the camera information was stored in the System Kernel we flashed lol

Also I'd like to throw out a few bug reports since I've had the ROM for over 24 hours now.

First of all, I've noticed serious slowdown while playing a game or watching HD video, not unexpected on a custom ROM, but the Z5 should be well equipped to handle these sorts of things. Opening Pokemon Go for example basically guarantees the navigation softkeys will become unresponsive until SystemUI crashes completely. I first thought this was related to the CM thermal manager since it was brought up in the OP. I disabled it temporarily for testing, but the same problem occurred regardless. The strangest thing though is that the phone doesn't get hot... like at all. Even when performing menial tasks with the stock ROM I had grown used to having a warm phone, but with this version of CM, certain functions have serious lag and slowdown, despite the fact that the phone remains completely cool.

I certainly can't blame the CM Thermal Manager anymore - is anyone else experiencing this problem? I'm just spit-balling here, but it almost seems that Cyanogen is limiting the performance of the Qualcomm 810. Not through the thermal manager of course, more like they aren't fully compatible (sorta like the camera glitch perhaps) but again I have no proof to support that theory at this time.

Next I tested out the Screen Recorder bundled with CM, as this is a feature I will be using quite often. The recorder seems to function as intended but once the recording is stopped, the footage becomes corrupt - often only a second or two long and unable to be opened by any video player. This is an even bigger issue than Bluetooth for me personally... I need a functioning screen recorder. Not sure what else I can offer here other than, it isn't working currently.

Another issue I ran into was after charging the phone with the power off. When I went to start it up, the LED blinked red three times, and the phone became completely unresponsive. Couldn't power on, couldn't enter recovery, couldn't enter fastboot, couldn't enter flashmode. I thought I had just lost $400, but out of desperation, I tried the only thing I hadn't yet - holding the power button and volume up button at the same time, which is the "Force Shutdown" command for the Z5C. This worked and triggered the 3-step vibration CM uses to signify that the phone is now off. Although I thought it was bricked and unresponsive, it was actually hung in startup, before the screen even turned on. The next time I tried, it booted up as normal.

So to anyone who may have an unresponsive Z5C, try holding the power button and volume up, even if the phone appears to be off. It may fix your issue. That's all I've got for now, but I'll keep you guys informed. The frequency of posts in this thread is really encouraging for the future of this project.
[Xperia Z5 Compact Android Development] leeoniya:
I could not get the following combo to boot:

.253 FTF via FlashTool, then wipe system/data/cache/dalvik
fastboot flash recovery twrp-3.0.2-0-E5823-20160417.img
cm-13.0-20160712-UNOFFICIAL-suzuran.zip
Z5C_AndroPlusKernel_v34.zip
open_gapps-arm64-6.0-pico-20160723.zip

It loops back to the white Sony screen and auto-enters TWRP. When I was running .185 (or .200) with a prior CM13 build i also experienced the random can't-wake issues as [MENTION=6868964]PhobiaSoft[/MENTION] during periods of charging or long inactivity. Then had to power cycle via Vol-up + Power and was met with a blinking red LED. after another power cycle it booted normally.

Dead for now :/
[Xperia Z5 Compact Android Development] PhobiaSoft:
Sounds like you did everything just as I did... not sure why mine went well as yours didn't. Just for posterity, what build number did you attempt this on? And if I am understanding you correctly, you haven't successfully been able to boot into CM 13 at all?
[Xperia Z5 Compact Android Development] mangusmeister:
Yeah I've got the rom working fine with cm stock kernel but was wanting to try sun kernel.
[Xperia Z5 Compact Android Development] harry_turtle:
There's also a reset button next to your simtray
[Xperia Z5 Compact Android Development] beggar23:
Why are you flashing a stock-based kernel (AndroPlus) over a non-stock CM installation?
[Xperia Z5 Compact Android Development] Raphos:
Hi,

Maybe the same reason than me, I'm using Z5C_AndroPlusKernel_v31 - TWRP-3.0.0.0-suzuran-v2 because TWRP doesn't boot with Z5c_Sunkernel_Permissive_v13_III.1_5_3... Phone reboot and vibrate just one time. Still have a dark screen.

The questions are still open "how to install Z5c_Sunkernel_Permissive_v13_III.1_5_3 and TWRP-3.0.0.0-suzuran-v2" or "witch TWRP must be used with Z5c_Sunkernel_Permissive_v13_III.1_5_3" ?
[Xperia Z5 Compact Android Development] PhobiaSoft:
Out of curiosity, what reason is there to use SunKernel over AndroPlus for this ROM?
[Xperia Z5 Compact Android Development] beggar23:
Tbh, I don't know the requirements for a sunkernel flash. But I would definitely avoid mixing stock with non-stock parts.

Btw, at the AndroPlus thread (opening post?) there is a link to a working twrp recovery + info how to flash it. I don't know if you have already made use of that or not. I would recommend it, anyway.

Edit: Just read that Sunkernel is also stock-based. Cannot play with CM, I would say.