• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][UNOFFICIAL][6.0.1][SGP712/SGP771] CyanogenMod 13 for Xperia Z4 Tablet [Alpha]

andralex8

Senior Member
Jan 16, 2015
179
245
0
CyanogenMod 13 for Sony Xperia Z4 Tablet Wifi and LTE (SGP712/SGP771)

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.
Issues:

- Back camera focus: image is blurred and color problem (waiting for new AOSP blobs from Sony)
- Minor bug with led while charging
- No FM radio
- Tell me what you find !


How to install

- Unlock your bootloader (you can save your TA partition before)
- Update your firmware to the last Marshmallow version (needed to update the bootloader, kernel will not boot if you use the Lollipop bootloader)
- Install AndroPlus kernel and TWRP
- Make a backup
- Push the rom’s zip to the SD card (optionnaly with gapps)
- Wipe System, Data, Cache, Dalvik cache
- Install the rom (and gapps if you want)
- Reboot
- Enjoy, and give me a feedback :)

Advice: You can use TWRP from Androplus before installing the rom. But it will not work with cyanogenmod kernel.
So, after installing the rom, you can use TWRP made for CM kernel (see the link bellow) and press vol+ at boot, or keep AndroPlus TWRP and use "fastboot boot boot.img", were boot.img is AndroPlus kernel.
Edit : my TWRP for CM seem to has a bug with touchscreem randomly not working, you can reboot the tablet with Power-Vol+ until the touchscreen works (it doesn't stop working after boot, it just works well or not at all), or use the fastboot method with AndroPlus Kernel.
I will solve this problem when I'll have the time.


Thanks

@CTXz and @zacharias.maladroit for all the work with the Z5 serie and the kitakami platform
To all people who helped them: @oshmoun, @moonbutt74, @sub77, @Joeisgood99, @bazhip, @alphatact1cs, @auras76, @Myself5
@AndroPlus for his great kernel and recovery
Sony’s AOSP team for providing sources for AOSP
CyanogenMod team, they are provinding a great android distribution
Google for Android
All the people I don’t explicitly thanks (You can ask if you think you should be on this list, I will add you with pleasure)


Downloads

Cyanogenmod unofficial rom for karin windy (Z4 tablet wifi only)
https://www.androidfilehost.com/?w=files&flid=67714

Cyanogenmod unofficial rom for karin (Z4 tablet LTE)
https://www.androidfilehost.com/?w=files&flid=86526

Gapps
http://opengapps.org/
Select ARM64, android 6,0, and choose the variant you want (I recommand pico)

TWRP for CM kernel (both Z4 tablet wifi and LTE)
https://www.androidfilehost.com/?w=files&flid=114592


Questions

- Please, avoid asking things like: how to flash this rom, what is fastboot, …
There is enough documentation on XDA and others websites. You also probably should not use this rom if you don’t know how to recover a bricked device with fastboot and flashtool.
- I’m not a professional devlopper, I don’t receive payement for this, so don’t ask for ETA, for make a rom for an other devices, …
- I only have a wifi only Z4 tablet, I make a LTE version, but since I don’t own this tablet it’s not possible for me to debug like on my wifi tablet.


Reporting a bug

- Explain what happen with the more details you can: how does this bug happen, when, …
- Share a log if you can


Source code:

Device
https://github.com/andralex8/android_device_sony_karin_windy
https://github.com/andralex8/android_device_sony_karin
https://github.com/andralex8/android_device_sony_kitakami
https://github.com/andralex8/android_device_sony_common


Kernel
https://github.com/andralex8/android_kernel_sony_kitakami

Vendor
https://github.com/andralex8/android_vendor_sony
https://github.com/andralex8/android_vendor_qcom

The remaining source code for the kitakami platform can be obtainde from here:
https://github.com/Sony-Kitakami
https://github.com/andralex8

CyanogenMod source code:
https://github.com/CyanogenMod

TWRP source code:
https://github.com/omnirom/android_bootable_recovery

Changelog
Code:
2016/11/25
- Increase max speaker volume
- Allow to set lower minimum brightness
- Sync last CyanogenMod sources (stable/cm-13.0-ZNH0E branch)

2016/11/13
- Sync last CyanogenMod sources (stable/cm-13.0-ZNH0E branch)

2016/09/18
(- Use cm libbt again)

2016/09/17
- Sync last CyanogenMod sources (stable/cm-13.0-ZNH0E branch)

2016/08/21
- Fix USB OTG (disable switch on boot)

2016/08/20
- Sync last CyanogenMod sources (stable/cm-13.0-ZNH0E branch)

2016/08/07
- Partially fix USB OTG (fix kernel usb driver)
- Use Adreno stock blobs (32.1.A.1.185)
- Sync last CyanogenMod sources (stable/cm-13.0-ZNH0E branch)

2016/07/29
- CyanogenMod for SGP771 karin released

2016/07/10
- Update qcom blobs (SW_binaries_for_Xperia_AOSP_M_v05a)
- Cpuquiet and rqbalance improvements (cherry-picking from sonyxperiadev)
- Sync last CyanogenMod source (stable/cm-13.0-ZNH0E branch)

2016/06/15
- Fix sensors

2016/06/14
- Fix bluetooth (use broadcom libbt from AOSP instead of CM)

2016/06/05
- Fix audio (add acdb and audio config from stock 32.1.A.1.185)
- Sync last CyanogenMod sources (stable/cm-13.0-ZNH0E branch)

2016/05/29
- CyanogenMod for SGP712 karin_windy released
- Use cm stable/cm-13.0-ZNH0E branch
XDA:DevDB Information
CyanogenMod 13 for Xperia Z4 Tablet, ROM for the Sony Xperia Z4 Tablet

Contributors
andralex8, and a lot more (see thanks section)
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod

Version Information
Status: Alpha

Created 2016-07-23
Last Updated 2016-11-25
 
Last edited:

andralex8

Senior Member
Jan 16, 2015
179
245
0
Great work! Hanging on for recovery code to be integrated after some foibles with fastboot on the sgp612.

Sent from my A0001 using XDA-Developers mobile app
Thank you!
In fact the current kernel/ramdisk can launch a recovery by pressing the vol+ when the led turn pink, but it cannot load the currently available TWRP recovery that need Androplus kernel.
I'm currently making a recovery that work with this kernel (it seem that it work with Androplus kernel too). It actually kinda work, it can wipe system and flash Cyanogenmod (not trying backup and restore yet). But the updater crash when trying to install Gapps, I need to fix this and it should be ok ;).
 

HotBlack77

Member
Jul 17, 2010
40
9
0
- I only have a wifi only Z4 tablet, I could make a LTE version if nobody else make it, but since I don’t own this tablet it’s not possible for me to debug…
I would be willing to test an SGP771 version, if you can compile one?

Also, are the install instructions still correct?

How to install
- Unlock your bootloader (you can save your TA partition before)
- Update your firmware to the last Marshmallow version (needed to update the bootloader, kernel will not boot if you use the Lollipop bootloader)
- Install AndroPlus kernel and TWRP
- Make a backup
- Push the rom’s zip on the SD card (optionnaly with gapps)
- Wipe System, Data, Cache, Dalvik cache
- Install the rom (and gapps if you want)
- Reboot
- Enjoy, and report bugs :)
Should it not be the TWRP version you have built that should be used, as opposed to the AndroPlus version?
 

andralex8

Senior Member
Jan 16, 2015
179
245
0
I would be willing to test an SGP771 version, if you can compile one?
I will check this week-end if I have the time ;). But I must make a cm device repo from Sony's AOSP repo before being able to compile anything. So I don't promise anything, I will see.

Also, are the install instructions still correct?
Should it not be the TWRP version you have built that should be used, as opposed to the AndroPlus version?
You first need to have a working recovery to flash CyanogenMod. And for the Z4 tablet (and almost all Xperia), the recovery use the same kernel as the system because the recovery is not lauched by the bootloader, but after, by using the FOTAKernel partition as a recovery partition.
It's the reason for what when coming from stock I advise to use Androplus kernel and TWRP. After flashing CyanogenMod, the kernel is cm's one, then TWRP from Androplus will not work and you will need to switch for TWRP for cm kernel.
You can try to use TWRP for cm kernel with Androplus kernel. I tried and it seem to work, but since it's not compiled with this kernel it may not work properly. I didn't make an extensive testing for this configuration (Androplus kernel + cm TWRP), so I can't advise people to use it but maybe it's not a problem.
 
  • Like
Reactions: HotBlack77

andralex8

Senior Member
Jan 16, 2015
179
245
0
Is sgp771 going to be supported?
This is what I already said a few post ago:

I will check this week-end if I have the time ;). But I must make a cm device repo from Sony's AOSP repo before being able to compile anything. So I don't promise anything, I will see.
So, you will tell me that yourself if it work or not when I'll make a test rom for SGP771 ;).
I already take a look and it have most of the device tree common with the SPG712, so I think it should not be too difficult to have a working rom for the sgp772 because it's working on the sgp712.
 

calj17

Senior Member
Nov 28, 2011
649
188
0
This is what I already said a few post ago:







So, you will tell me that yourself if it work or not when I'll make a test rom for SGP771 ;).

I already take a look and it have most of the device tree common with the SPG712, so I think it should not be too difficult to have a working rom for the sgp772 because it's working on the sgp712.


Great to hear that. The only difference is modem blobs between sgp712 and sgp771


Enviado do meu iPad usando Tapatalk
 

jongcruz

Elite Member
Oct 29, 2009
1,980
554
0
New York
All fresh from this night, this is a rom for the SGP771 (Karin) :
https://www.androidfilehost.com/?fid=24591000424940766
I didn't test this rom because I only have a SGP712. Then, if someone can give me a feedback if the rom install and lauch correctly it would be great :).
I have the 771 LTE version with recovery installed. I just need to flash the ROM and google apps?

Thanks

Sent from my Nexus 6P using Tapatalk