yashsingh1/xdaforums huggingface dataset:
[Xperia Z5 Compact Android Development] leeoniya:
"build number" of what? all the versions are in the filenames:

.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

like the device build version? i have no bootable system on it ATM, is there a way to get this info via fastboot or twrp?

I didn't realize AndroPlus was based on stock (is it?), though it would explain why it doesn't boot with CM. I remember reading that the CM kernel in this thread was based on AndroPlus, but i had no other reason to believe this. The OP mentions "@AndroPlus for providing a great kernel that works with many recoveries", as do many other places in the thread. I also though i remembered it working with my previous CM13 install :/

Sunkernel would not boot for me either. The stock CM kernel had thermal management issues for me in prior builds.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
There's a specific SunKernel build for CM13 (notice the different numbering/naming scheme ?),

but the kernels only occasionally appear to work on the Z5 Compact,

whereas e.g. Z5 and Z5 Premium are fine :confused:
[Xperia Z5 Compact Android Development] mangusmeister:
Sun kernel in this thread doesn't work or I couldn't make it work anyway.
[Xperia Z5 Compact Android Development] chrisg9:
yes oem unlocking is activate but booloader unlock allowed: NO again :confused: :confused: :confused:

pls help me
[Xperia Z5 Compact Android Development] PhobiaSoft:
You have to follow a Sony-official method to finish unlocking the bootloader after turning on OEM unlocking in the settings. Did you make it that far? The page can be found here http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/. Going through with this process factory reset my phone, and removed fingerprint senor functionality on the stock ROM, so be aware of that. Although CM 13 does add fingerprint functionality back, so its not a huge problem.
[Xperia Z5 Compact Android Development] tramtrist:
This isnt the bug I'm talking about with Bluetooth. The BT audio slows down and is completely distorted. It's not possible to listen to the audio at all without constant stuttering/cracking. Truth be told I think this isn't a CM problem after looking into it but a 6.0+ issue on certain hardware. Not sure if the CM team needs to fix it or wait for it to be fixed in later builds of 6 but it's worth noting if you plan to use your device to play music.
[Xperia Z5 Compact Android Development] PhobiaSoft:
The Bluetooth glitch and Audio glitch are two seperate things. Although using Bluetooth can distort audio since the protocol is still unstable on this build, the phrase "Audio glitch" is usually used to refer to the electronic clicking sound heard in headphones even when Bluetooth is off.
[Xperia Z5 Compact Android Development] CTXz:
Ok, so many people seem to be asking if I have stopped working on android. I'd like to keep this clear by updating the status. I'll start out by saying it straight forward, YES, I have lost motivation for Android. I stopped liking the fact to fix issues in someone's (Googles/Sonys etc.) mess. And not to forget that my skill set was still nowhere near enough for Android at the time I was working on it. However, time has passed and so have I learned new stuff (mainly about low level programming and hardware abstraction), my current interest is highly into open source chipsets and electrical engineering as I've been getting more and more into the world of bits, microcontrollers, circuitry assembly and more. This is good practice for android as you're dealing allot with hardware abstraction. And don't get me wrong regarding android, I will most likely come back, in fact I miss it from time to time, but the next time I touch the android source code I want to be more than prepared to work with it.
[Xperia Z5 Compact Android Development] tramtrist:
We could really use you in the GCW0 community :D http://www.gcw-zero.com/irc
[Xperia Z5 Compact Android Development] CTXz:
Definitely looks promising, will check it out ;)
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Something like the following:

https://talk.sonymobile.com/t5/Xper...stutter-after-marshmallow-update/td-p/1103796

http://xdaforums.com/xperia-z5/general/bluetooth-audio-issue-marshmallow-t3337313

https://www.reddit.com/r/SonyXperia...stuttering_with_aptx/?st=iramr2ci&sh=ef14a445

https://code.google.com/p/android/issues/detail?id=95294

?

edit:

253 Stock-based firmware seem to have fixed it:

https://talk.sonymobile.com/t5/Xper...after-marshmallow-update/td-p/1103796/page/34

now if we only could get any information out of it, how it got fixed

and if it was only affecting aptX devices
[Xperia Z5 Compact Android Development] Lemming0815:
Thanks for being honest and straight forward here, CTXz! You really did a good job. I hope somebody will pick it up and continue.
[Xperia Z5 Compact Android Development] michael plars:
Followed these steps and all the things I need work just fine except for the mobile data connection. WiFi is working, mobile data worked with CTXz's build and is working with the same sim on my old Z1c. Any suggestions?
[Xperia Z5 Compact Android Development] PhobiaSoft:
I haven't heard of Mobile Data being a problem on CM13... my first instinct is to say its a problem with the SIM rather than the firmware. Have you tried the trusty method of removing the SIM and putting it back in? It may also be possible that CM13 doesn't support all of the Network Bands a stock ROM would and that your SIM is working, but you no longer have access to the band you rely on most. (Not that I've ever heard of this happening either.) What carrier do you use?

---------- Post added at 02:35 AM ---------- Previous post was at 02:26 AM ----------

I'm still looking for a camera workaround until functionality is restored on a new CM13 build. Has anyone had any success using this mod? http://xdaforums.com/xperia-z5/themes-apps/cyanogenos-camera-2-0-005-t3282441 I can't see why the installation of a simple APK would prevent an error in Camera calibration, but some users seem to have reported success while running Cyanogen on the Z5C. Wouldn't that mean they would have to be running this ROM?

Also, does anyone happen to know when / if we can expect Xperia Z5C support on the official http://www.cyanogenmod.org website? As of now, they still only have up to the Z3 line listed, which surprises me. I'm beginning to think Cyanogen isn't going to be given an official release on the Z5 family at all.
[Xperia Z5 Compact Android Development] michael plars:
The sim is working fine and Mobile Data (LTE) is working under the builds by CTXz:

cm-13.0-20160417-UNOFFICIAL-suzuran by CTXz and the previous ones.

The builds I tried, where Mobile Data does not work for me are:

6.0.1_13.0-20160628-UNOFFICIAL-suzuran_r46_alternate by zacharias.maladroit

6.0.1_13.0-20160712-UNOFFICIAL-suzuran_r56 by zacharias.maladroit

ResurrectionRemix-M-v5.7.1-20160711-suzuran by zacharias.maladroit

I also tried to copy the com.android.providers.telephony folder created under CTXz's build to the one from zacharias.maladroit, which does not resolve the problem. I can not find anything shown by dmesg, when switching between WiFi and Mobile Data. Is there another build out there, which I could try? Or does anyone know, where I could find the log for that kind of problem?

Thanks in advance.

The apk failed to install using the builds listed above.
[Xperia Z5 Compact Android Development] PhobiaSoft:
Unfortunately Cyanogen roms for the Z5C are extremely scarce. I think you have tried every build that exists so far. My only advice is to flash back to one of [MENTION=6584695]CTXz[/MENTION] 's roms until the issue gets addressed. I've never heard of Mobile Data no longer working on CM13, otherwise I would happily redirect you to a thread...

[MENTION=6584695]CTXz[/MENTION] and [MENTION=3037651]zacharias.maladroit[/MENTION] are both taking breaks from XDA for a bit, so we'll have to work with what is available for now. I recently flashed back to Stock + Xposed Framework in order to get camera functionality back - but I'm already missing CM13. I can't wait until the day Cyanogen will be stable and have full functionality on the Z5C. Those two brilliant guys are the key to that happening I'm sure.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
Yes, make sure you have the correct APN settings or check them against the ones from your phone provider,

otherwise it doesn't really make sense right now why it shouldn't work

[MENTION=6868964]PhobiaSoft[/MENTION] I wish it would be that easy to install a great phone app and get the cam working,

unfortunately it's really the lacking calibration data (which will be released soon-ish according to Alin, he's a one-man army so give him some time, also he just married a little time ago, so that doesn't exactly speed things up ;) )

also: the current kernel branch and/or HAL + driver lacks support for the LED flash,

so only with the latest update to AOSP (upcoming), most should work so that the Z5 family could be included officially in CM13 support
[Xperia Z5 Compact Android Development] PhobiaSoft:
Not trying to trivialize what you're doing [MENTION=3037651]zacharias.maladroit[/MENTION], I think we all know how large an undertaking this is. Hell I would do it myself if it were that easy! This is a team effort, and I think you deserve a little patience from us at the very least. Oh and FWI, your CM13 build is incredible for an Alpha. If I weren't taking Film courses right now and didn't need the camera, I would still be running it. As I said before, if there is anything I can do to help, please don't hesitate to ask.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
No worries, no offense taking :)

Well, if you're interested and up for it, you could get into Android stuff (meaning: getting to know how things work, how e.g. a ROM such as CM13 is built, kernel dev, whatever you're up to)

of course at your own pace

The Z5 series doesn't really have much devs working on it compared to other devices (even right now),

and the more modders, ROM devs/mods, Kernel devs, etc.

are working on it the better :)

Thanks
[Xperia Z5 Compact Android Development] malomank:
Great Rom

I love this rom. Thank u to everyone. I know it's hard but I you'll make it ;)
[Xperia Z5 Compact Android Development] roke2:
Well, i really want this ROM but haven't flashed it yet because of camera and fingerprint issues, but i'm willing to wait.

Phone: Xperia Z5 Compact

Variant: E5803

Flavour: Marshmallow

Kernel: Androplus

Version: 3.10.84-23

Build number: 32.1.A.1.163

Xposed Framework: 83

Xposed Installer: 3.0 alpha4
[Xperia Z5 Compact Android Development] davidbevi:
I have multiple issues and questions:

I can't get CM13 to work on my phone, here's my installation problems:

The command "fastboot flash recovery recovery.img" does nothing to my phone, nor with neither without "-S 256M" variable, even if the fastboot terminal (PC) returns "OKAY" in both sending and writing:

Recovery is installed and working only if flashed via "fastboot flash boot recovery.img".

I guess that the Kernel is overwritten by TWRP, so the entire chain is broken. How can I fix it?

The command "fastboot flash boot boot.img" bricks my phone, it doesen't matter which ROM is flashed with (tried: stock, CM13, Resurrection Remix), nor the order of flashing, nor the version of AndroPlusKernel (tried: v31, v20).

After it my Z5C won't boot, it gives a quick vibration but the screen and the LED stay off.

After some research I guess that AndroPlusKernel itself is the problem, isn't it?

Something in the procedure wiped all of my data on Internal Storage (including previous TWRP backup), and it keeps doing it, so every time I boot in TWRP memory is clean and I have to "adb push" the ROM on the phone for the TWRP to see it and use it. What am I doing wrong?

Lastly, I don't know if these are important or irrelevant, but:

which ROM should I start from?

which filesystem should I chose for the various partitions?

Any help is appreciated :)
[Xperia Z5 Compact Android Development] wxo:
Anyone else noting any stability issues? Apps crashing and slow performance? Could this be kernel related? Any other kernels known to work with this ROM?

Otherwise a fantastic ROM. Thanks to all the devs for your efforts.
[Xperia Z5 Compact Android Development] CTXz:
Suprise ;)

After 4 moths I'm (hopefully) back

New build is out, links have been updated

2016/8/28 - Complete re-write from scratch
- Fixed Bluetooth
- Fixed Fingerprint sensors
- Fixed Camera colors
- Fixed Camera breaks
- Fixed Stability Issues
- Fixed laggy boot
- Fixed torch properly now
- Enabled SELINUX
- Merged with Sony upstream repos
- Synced to the latest CM sources
- Old repos are now deprecated and are planned to be removed in the nearby future
[Xperia Z5 Compact Android Development] :
Nice :D

Now I have to ask about the following things, and if you tested them. These are still problematic on my builds, and I'd like to see if they happen on this one:

- Sometimes, back camera will refuse to connect. This happens randomly, but can be quickly triggered by repeatedly switching between back camera and front camera.

- Audio recording is very very quiet. This happens when recording audio alone and when recording video.

- In phone calls, the other side hears an echo.

Please tell me these issues happen on your side as well so I can rest in peace that it's not an issue on my end. Ok Thanks :P
[Xperia Z5 Compact Android Development] CTXz:
Camera doesn't seem to crash for me

Audio recording is quiet, however usually loud enough to understand (this can be fixed easily afaik)

Yes there is a slight echo to hear (could also be fixed, i'm assuming the device is linking the upper mic to calls instead of the lower mic. Input volume wrapper and filter would do the job too)
[Xperia Z5 Compact Android Development] wxo:
Thanks CTXz, good to have you back.

Question, Are you and zacharias.maladroit working on separate forks here or can I flash the ROM you just posted over his? Seems like there's one thread for two different ROMs?
[Xperia Z5 Compact Android Development] c-non:
Thanks for your great work,i will try new version :)
[Xperia Z5 Compact Android Development] rtimoff:
Hey there, nice to see development back to life, one question - is camera focus fixed? This one moment stops me from flashing CM.

Отправлено с моего E5823 через Tapatalk
[Xperia Z5 Compact Android Development] :
Ok I can confirm the cameracrash either has something to do with multirom or gapps. Did you flash gapps by any chance?

About the audio issues. The audio is too low and can't be heard actually. Can you please test google duo. That's where the problem is most prominent. You can simply start a video call (without headset) and see if the other side can hear you. In my case they don't untill i use a headset, which will work because it's not using the internel mic obviously.

Oh and one thing to note about camera! Video recording on back camera doesn't work with 30fps, and will cause camera to crash. Only front camera can do 30fps currently. Changing the framerate for back camera on all EncoderProfiles here to 20fps allows me to do video recording on back camera:

https://github.com/sonyxperiadev/device-sony-kitakami/blob/master/rootdir/system/etc/media_profiles.xml#L99
[Xperia Z5 Compact Android Development] michael plars:
I just flashed CTXz's build (cm-13.0-20160828-UNOFFICIAL-suzuran.zip) over zacharias.maladroit's (cm-13.0-20160712-UNOFFICIAL-suzuran.zip) without wiping anything, running AndroPlus v34 and using TWRP 3.0.2, which worked great and is running smoothly now (made a Titanium backup just in case). Camera is working, but slow. Thanks CTXz and thank you zacharias.maladroit!
[Xperia Z5 Compact Android Development] wxo:
Thanks Mike, that's great info.

It would still be good to know if we're looking at two separate devs working on two separate ROMs in the same thread however.

Thanks again, Mike for the reply.
[Xperia Z5 Compact Android Development] c-non:
Is in call other side volume still very low ?
[Xperia Z5 Compact Android Development] CTXz:
I haven't been talking with zach for some time, partially because I left, partially because zach is taking a break, partially because our chat group got crowded and got out of (at least my) control.

I'm not blaming anyone, and I will continue saying that every single dev who has contributed and helped to our project deserves a thank, no matter how mean they can be or are. Yet I was slightly disappointed when I noticed that people were ignoring some very simple questions I that I asked in my very own chat group.

This was not something I targeted for when I started this project. My goal was overview, teamwork and most importantly fun on this project, not overcrowding and even flaming.

In fact moonbutt74 literally quit XDA only because of a flame war, you can probably imagine how disappointed I felt in my self, as he was the one that literally got me started with android, and to see him leave because of something that I started and got him into (I influenced him to buy a Z5) was one of the possibly most brutal things I have ever experienced here on XDA. After times like these I was ready to abort everything and either leave completely or work on the project my self, heck I was close to deleting the group. I however didn't do it, instead I took a big break from xda in general (not only because of this event) and let the active ones in the group do their things.
[Xperia Z5 Compact Android Development] klingeldraht:
Hey!

Is it possible to replace the camera app with the Sony Stock camera App (or any other camera app) when CM is installed?
[Xperia Z5 Compact Android Development] leeoniya:
Glad you're back [MENTION=6584695]CTXz[/MENTION], thanks!

BTW, the kernel in this latest release prevents the initial Sony white screen from showing up and no LEDs illuminate. During boot it goes from black screen & no leds to the cm boot animation. The only way to get into recovery seems to be via the advanced reboot screen from within the system (or adb reboot-recovery). Vol-Up doesnt work either if i hold it during the theoretical time it should work. Installing Xposed seems to crash Gapps/google services continuously. Not sure if flash order matters, will try a couple other variations.
[Xperia Z5 Compact Android Development] zacharias.maladroit:
we're on the same team, so you can flash one over the other,

also the source repositories should be pretty similar now (from the quick glance I took at our lateset local manifests)

thanks [MENTION=6584695]CTXz[/MENTION] ! glad to have you back :)

agreed, I hate these kind of flame wars and the childish, unprofessional behavior (plenty of that can be seen on XDA or among developers, not pointing fingers at anyone),

for lots of folks this is a hobby (or profession-turned hobby) which first and above all is supposed to make fun :good:

sure, why not ? take especially a look at Snapdragon Camera and HTC camera (take note that the HTC cam as a somewhat messed up UI, but still the pictures taken are nice, also it's quite fast)

there was or still is a stability issue with the new 1.3.3 kernel base, so the splash screen (white Sony logo) is currently disabled for some time,

LEDs (if the option to boot into recovery is available) should show while the screen is black (where previously has been the Sony logo) :p

there were never LEDs during the boot

animation

(in contrast to the boot

splash

[Sony logo]), unless of course things were messed up and it showed an error (red LED)

Yes, if you need XPosed,

I got the experience with e.g. Omni and 1.3.3 Kernel base,

that you need to flash ALL at the same time during inital flash ("installation"),

meaning:

ROM + GApps + SuperSU + XPosed

otherwise you'll run into "Unfortunately Google Play services has stopped"

Hope that helps
[Xperia Z5 Compact Android Development] leeoniya:
right, i expected them during the black screen. but i'm not getting them at all with the kernel in the last CM13 build, all other kernels (AndroPlus v36 and Sunkernel just can't boot into the system at all (no cm animation) and loop back into recovery) :/
[Xperia Z5 Compact Android Development] zacharias.maladroit:
It should be more or less obvious, but:

Just because Sony's ROM looks like AOSP and partially behaves likes AOSP, it isn't necessarily AOSP !

Also CyanogenMod is significantly different from Stock (not to talk about AOSP),

so it should be pretty clear that

Stock-based kernels (SunKernel, AOSP, repackaged Stock)

will NOT work

with CyanogenMod or AOSP, PA (Paranoida Android), OmniROM, etc. etc.
[Xperia Z5 Compact Android Development] CTXz:
This may be cause because I'm using a different repository for the init script. I'll look into it, however as long as adb reboot recovery works it's not a priority for me
[Xperia Z5 Compact Android Development] klingeldraht:
Thank you for your answer. I think something must be wrong with my phone or my installation. No third party camera app does work here properly. Some of them cannot connect to the camera and others (like camera super pixel) can only offer an 1,2 mp resolution. The most funny thing is, that the Sony camera app fails to install. I can install the HTC camera app but this app is laggy and the quality is bad as well. And yes, I really own a E5823 :D

Since I am not very familiar with modding I don't want to rule out that I just did anything wrong. I just flashed the phone by following the steps written in the first post and besides the camera everything works fine (even Bluetooth).

Update: Instagram cannot access the camera as well.
[Xperia Z5 Compact Android Development] :
hmm, seems you're having the same issue I have.

Sometimes the system isn't allocating enough memory for the camera, which causes it to fail.

Simply try after a minute or two and it should work ;)

EDIT: tested instagram, works! Definitely the allocation error.
[Xperia Z5 Compact Android Development] leeoniya:
[MENTION=6584695]CTXz[/MENTION], [MENTION=3037651]zacharias.maladroit[/MENTION],

Would you guys consider patching the CM13/Z5C kernel to support KCAL [1]? I'm finding that the screen on the Z5C is way oversaturated and there are no apps to adjust vibrance/intensity/saturation, only contrast, temperature and RGB balance (which already works well in CM13's display settings). This feature would be extremely awesome :)

[1] http://xdaforums.com/android/software-hacking/dev-kcal-advanced-color-control-t3032080
[Xperia Z5 Compact Android Development] klingeldraht:
How is the quality? I just tried opening instagram after rebooting the phone. It works but the quality is less than poor :(
[Xperia Z5 Compact Android Development] RaunoT:
Super glad that this post has been resurrected! Huge thanks to the devs making this happen :)

The only real problem that I've noticed is what's already mentioned - the camera (Video recording, focus problems, flash triggers even when off in settings). Which I guess also has to do with the super quiet audio recordings.

1 other weird thing I've noticed is that the pattern lock pattern something glitches. Meaning that you put in the correct pattern, but it says it's invalid (a reboot fixes this).

Also I can't use flash tile in the quicksettings, but I'm fairly sure this is caused by me flashing the "stock" gapps package which replaced the CM camera.

Everything else is nice and smooth :)
[Xperia Z5 Compact Android Development] wxo:
I'm seeing some of the same instability issues while charging as with the previous release. Anyone else?
[Xperia Z5 Compact Android Development] RaunoT:
What do you mean by instability issues?
[Xperia Z5 Compact Android Development] globalnode:
I love you guys so much. I have been waiting CM jn E5823 since i bought it.
[Xperia Z5 Compact Android Development] RaunoT:
Been waiting for this for half a year! Awesome to see it's finally starting. Hope we'll have a usable build soon :)

Big thanks to everyone making it happen!