[ROM][UNOFFICIAL][6.0.1][E5823/E5803] CyanogenMod 13 for the Sony Xperia Z5C [BETA]

Search This thread

umz_786

Senior Member
Jul 7, 2011
169
14
London
www.facebook.com
Rom is outdated and not supported anymore. Try lineage os.


Thank you for your replies. My issue is that I don't want to upgrade to Nougat until Xposed is available on it. Therefore Im trying to find a Marshmallow or even Lollipop build for the Z5C that I can use as a daily.

Are the only issues with this ROM the camera and video ones as stated below:

Laggy back camera
Video Recording on stock camera app (Use alternative)

Does everything else work apart from these 2 issues? And will I be able to solve the issue of laggy back camera by using a third party camera app as well?

TIA
 

Berni-0815

Senior Member
Sep 22, 2016
2,244
2,012
Germany
Sony Xperia Z5 Compact
There are a few things that are not working. I.e. Fingerprint reader, fmradio and voice calls over bluetooth. I don't remember all of them. And there is an echo on the other caller side.
Yesterday I've built a new version. No improvements, but the security patch level is july 1st 2017!
I've taken a picture with the "stock" camera app. Here it is...
 

Attachments

  • Screenshot_20170720-131752.png
    Screenshot_20170720-131752.png
    83.4 KB · Views: 478
  • Like
Reactions: brordavid

Berni-0815

Senior Member
Sep 22, 2016
2,244
2,012
Germany
Sony Xperia Z5 Compact
Here is my latest version of this rom for those who don't like nougat and/or want to use the XPosed framework which is not working very good on nougat based rom's... (i.e. XPrivacy is NOT working at all!)

No improvements, but the android security patch level is 1 october 2017.

The rom is rooted (see attached picture). No need to flash SuperSU or any other superuser app.

Here you can see a list of changes since the past four months. (The file is too big to include it here directly)
 

Attachments

  • Screenshot_20171123-013606.png
    Screenshot_20171123-013606.png
    78.3 KB · Views: 442
  • Screenshot_20171123-124929.png
    Screenshot_20171123-124929.png
    159.9 KB · Views: 444

Top Liked Posts

  • There are no posts matching your filters.
  • 72
    I6sDWeJ.jpg

    CyanogenMod 13 for the Sony Xperia Z5 Compact E5823 and E5803​

    CyanogenMod is a free, community built, aftermarket firmware distribution of Android 6.0 (Marshmallow), which is designed to increase performance and reliability over stock Android for your device.

    CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    Before you start

    This ROM is only for the E5823 and the E5803

    Code:
     *
     * Your warranty may be voided !
     *
     * I am not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at me for messing up your device, I will laugh at you.
     *

    Special Thanks
    • The authors of my books
    • @oshmoun for providing fixes ASAP
    • @AndroPlus for providing a great kernel that works with many recoveries
    • @moonbutt74 for maintaining the Z5P and reminding me that smashing your device can provide a solution
    • @zacharias.maladroit for maintaining Z5 (sumire)
    • @sub77 for teaching me how to work with QCOM (I was on exynos before)
    • @Joeisgood99 for providing a solid working TWRP-3.0.0.0 build until we had our own
    • @bazhip for providing a well working twrp 2.8.7.0 for restoring until we had our own
    • The Sonyxperiadev team for releasing their sources to the public
    • SonyCM team
    • And of course the entire CyanogenMod team!

    Issues

    • Laggy back camera
    • Video Recording on stock camera app (Use alternative)

    What has been Fixed
    • Stability issues
    • SELINUX
    • Lag after booting up device
    • Camera Colors
    • Bluetooth
    • Fingerprint sensor
    • Full brightness
    • Torch
    • Double Tap 2 Wake
    • External SD recognition
    • Gapps
    • Sudden Lag after some time
    • NFC
    • Odd calling numbers
    • In-call mic
    • Sound on calls
    • Camera button
    • Microphone
    • Thermal regulation
    • Red flashy frames
    • RIL (SIM detection)
    • Dex pre-optimization
    • Camera
    • Sensors
    • Crash after locking device

    Guides/Instructions

    Unlocking Bootloader

    Warning! The following procedure may void your warranty and will wipe EVERYTHING


    Setting up fastboot and how to use it

    For windows users

    Please checkout this guide on how to use fastboot on windows


    For Linux users

    Installation

    Debian based distros (Debian, Ubuntu etc.)

    Open a terminal and enter the following :
    Code:
    sudo apt-get update && sudo apt-get install android-tools*

    Confirm the installation by either hitting enter or typing y

    Other distros (Arch, Fedora, Open Suse etc.)

    Please find the apropriate packages to install android fastboot tools for your distro

    How to use

    Open a terminal in the location your .img file is located or cd into that directory like this:
    Code:
    cd <path to your directory that contains the .img files>
    Replace <path to your directory that contains the .img files> with your actuall path

    To boot temporarely into a .img (ex recovery) use the following command (replace <your.img> with your .img file) :

    Code:
    fastboot boot <yourfile>.img

    To flash a kernel image enter the following (replace <your.img> with your .img file):

    Code:
    fastboot flash boot <your.img>

    To flash a recovery image enter the following (replace <your.img> with your .img file):

    Code:
    fastboot flash recovery <your.img>

    To exit fastboot enter :

    Code:
    fastboot reboot



    How to install CM 13

    • Download the Z5C AndroPlusKernel v31 by @AndroPlus from his official website (Scroll down and select Z5 compact, then chose Z5C_AndroPlusKernel_v31.zip and download it)
    • Extract the Z5C_AndroPlusKernel_v31.zip
    • Download our TWRP 3.0.0.0 build for the Z5 Compact (Special thanks to @moonbutt74 for getting the configs right)
    • Download the appropriate gapps from below (Can be downloaded on your device)
    • Download the CM 13 Zip for the Z5 Compact from below (Can be downloaded on your device)
    • Move the GAPPS zip and the CM 13 to your Z5 Compact if you haven't downloaded them on your device
    • Power Off your Z5 Compact and wait about 10-15 seconds to make sure it's off
    • To enter fastboot hold VOL UP and while holding VOL UP connect your device to your pc via cable
    • When the notification light has turned blue you have entered fastboot mode
    • On your PC flash the boot.img that has been extracted from the Z5C_AndroPlusKernel_v31.zip using fastboot
    • Now flash the twrp-3.0.0.0 image by using fastboot
    • Once both of those images have been flashed you can exit fastboot
    • After exiting fastboot wait for the notification light to turn cyan (it says cyan if you can't read it) at the Sony logo
    • Once it has turned cyan (it says yellow if you can't read it), you will enter TWRP by pressing VOL UP or VOL DOWN
    • If you've missed the step above, reboot your device and try the step above again
    • If TWRP will ask you to enable read and write, swipe to continue
    • In TWRP make a full backup in case you want to revert back to stock (Note: Backing up on external sd still doesn't work yet)
    • After the backup has completed, go back to the main menu and select Wipe > Advanced Wipe
    • Now ONLY tick Dalvik/ART cache, System, Cache and Data
    • WARNING! THE NEXT STEP WILL WIPE YOUR SYSTEM AND DATA, MEANING YOU WILL DELETE YOUR STOCK SONY SYSTEM AND ALL YOUR APPS (But not your photos, music or everything else located in internal storage)
    • Once you've ticked the correct boxes, swipe to wipe
    • Once the wipe is complete, return to the main menu and select Install
    • Locate and select your CM 13 Zip
    • Select "Add more Zips" and add your GAPPS package and finally swipe to install
    • Once the installation succeeded you can select "Reboot System"
    • Wait for CM 13 to boot up (Can take some time)
    • Enjoy CM13 ;)
    • OPTIONAL: You can remove your TWRP backup that is located in the TWRP folder if you feel like you will no longer need it

    How to ROOT

    • In CM 13, enable and enter the developer options
    • Select Root access
    • Select Apps Only (Or Apps and ADB if you use ADB)
    • Done


    How return back to stock via TWRP backup

    • In CM13, enable and enter the developer options
    • Enable Advanced Reboot
    • Hold your power button for about 3 seconds
    • Select Reboot
    • Select Recovery and press ok, you will then enter TWRP
    • If TWRP will ask you to enable read and write, simply swipe to continue
    • In TWRP select restore and then select your backup, finally swipe to restore
    • Once the restore is done you can select "Reboot System"
    • If your device hangs at the Sony wave boot animation, force shut down and power your device up again.


    Downloads

    Lastest recommended CyanogenMod release for the Sony Xperia Z5 Compact E5823/E5803 : ROM | MD5

    All my releases can be found here : Android File Host

    Gapps (Select ARM64 > 6.0) : Open Gapps

    Questions and bug reporting

    The following questions will be ignored
    • Inappropriate questions
    • Requests for other devices
    • Forced orders, EX. : "PLS FIX!!!!!!"
    • ETA's
    • Often repeated questions usually by the same user
    • Requests that are out of CM's framework (Ex. Adding Sony Apps)

    How to report a bug/issue
    • Explain exactly what happens
    • Mention a log if you can (Please use hastebin or any other paste site to keep the thread clean)
    • If you can't mention a log, explain as precise as possible when, why and where it occurs!

    Changelog
    Code:
    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
    
    2016/04/17
    - Fixed Brightness
    - Fixed Torch
    - Fixed Double Tap 2 Wake
    - Added CPU core optimization
    - Added USB gadget support
    - Synced with the latest CM sources
    -----------------------------------------------
    * For devs
    - Added Kitakami patcher to manifests
    
    2016/04/12
    - Fixed sdcard recognition
    - Updated binaries to v4
    - Released CM build guide
    - Synced with newest sources
    
    2016/04/05
    - Fixed GApps
    - Partially fixed Bluetooth
    - Synced to latest CM sources
    
    2016/03/27
    - Fix thermal manager lag
    - Fix NFC
    - Updated kernel configs
    - Added ffmpeg codecs support
    - Synced with newest CM sources
    -------------------------------------------
    * For devs
    - Cleaned up suzuran and satsuki tree
       - > Moved common media configs to kitakami common tree
       - > Moved acdb files to vendor tree
    
    2016/03/24
    - Fix In-call Mic
    - Add support for the E5803
    - Add option to boot into recovery (On purple LED at Sony logo press VOL UP or VOL DOWN to enter recovery)
    - Update Thermal manager
    - Merge latest AOSP kernel commits
    - Sync to newest CM source
    
    2016/03/22
    - Fix microphone
    - Add settings for camera button
    - Add settings for volume rockers
    - Fix sound on calls
    
    2016/03/20 - RIP TonyStark, you were a great moderator and we'll all miss you.
    - Added Thermal regulation to avoid overheating problems
    - Fixed Red flashy frames
    - Fixed RIL (SIM detection)
    - Fixed Dex pre-optimization
    - Fixed Camera
    - Fixed Sensors
    - Fixed Crash after locking device
    
    2016/03/18 - CM 13 For the Z5 Compact E5823 Released


    Source Code

    All Source Code can be obtained from here : Sony Kitakami Developer Organization

    We gladly accept any developers that are willing to contribute to this project! Please PM me if you are interested in joining this project!


    Build from Source

    How to build CyanogenMod 13 for the Sony Xperia Z5/Z5C/Z5P from source

    Screen Shots

    Kzd7hM5l.jpg
    NGSoziBl.jpg
    D9NkEJml.jpg
    asI5X07l.png
    F9BDEXil.png



    XDA:DevDB Information
    CyanogenMod 13 for the Sony Xperia Z5 Compact E5823 and E5803, ROM for the Sony Xperia Z5 Compact

    Contributors
    CTXz, zacharias.maladroit, oshmoun
    Source Code: https://github.com/Sony-Kitakami

    ROM OS Version: 6.0.x Marshmallow
    ROM Firmware Required: 6.0 Recommended
    Based On: CyanogenMod

    Version Information
    Status: Beta

    Created 2016-03-19
    Last Updated 2016-08-28
    18
    Ok before you guys think I'm dead, I'm not. I've just been busy like always. I've spend the majority of free time on C++ practice and turns out debian got corrupted, so I'm finally here again with Arch (Ima post a screenshot of my new flashy high-tek hacker desktop soon). Now this doesn't mean I'll just Straight into Z5C development. I've got some work to do with my Galaxy tab s2 and now that my friends Xperia X arrived (cool phone guys, gj sony), i'll get my S5 mini back and will run some Security patch updates for CM. Then we can start talking about the Z5C again. The next issue will be keeping track of Upstream again :/
    16
    Okay, i'm gonna give you a sneak peak on what you can expect in the next release

    - Full brightness
    - Double Tap 2 Wake
    - USB gadgets support
    - Better core performance

    The reason why I haven't released it yet is due to a small misunderstanding about Sony's sensor related commits, meaning i've accidentally disabled the sensors. Tough a new build is coming today so no panic

    Sent from my E5823 using XDA-Developers mobile app
    15
    Alright guys, after some time I got my stuff sorted again, I'm still having a small battle with my tablet atm but development for the z5c should start soon again ;)
    15
    Yes, as sad before, last build have problems with GAPPS. To make ROM work please use build 20160324

    Sent from my E5823 using Tapatalk
    New build coming today with fixed gapps. I've took a little break off the development but i'm starting today again

    Sent from my E5823 using XDA-Developers mobile app