• 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][5.0/5.1] Unofficial CyanogenMod 12/12.1 for Xperia U [2015-03-07]

AGONTUK

Senior Member
Feb 22, 2013
624
2,630
0
Dhaka

CyanogenMod is a free, community built distribution of Android 5.0 (Lollipop) which greatly extends the capabilities of your phone.
Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* 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.
*/

INSTALLATION
- For switching to F2FS, see POST#3
- If you're already using cm-12.1, just boot into recovery and flash the zip. Then wipe cache, dalvik-cache and reboot. Otherwise...
- Extract boot.img from the zip and flash it via fastboot
- Copy the zip to your SDCard
- Boot into recovery
- Wipe System, Data, Cache, Dalvik Cache
- Flash the zip
- Reboot your device
- After first boot is completed, reboot into recovery again
- Now flash other zips like Gapps, SU etc

First boot takes some minutes. Wait patiently.


WORKING
- Wifi, Wifi tethering
- Bluetooth, Bluetooth tethering
- RIL (sms, data, voicecall)
- Audio, recording
- SDCard
- Camera
- HW acceleration (should be working)
- Video playback
- GPS
- Offline Charging
- Adaptive Brightness


NOT WORKING
- A2DP (won't be fixed)
- Wifi-Direct
- Video recording


DOWNLOADS
ALL BUILDS (latest 2015-03-30) => CyanogenMod 12 Builds
ALL BUILDS (latest 2016-03-07) => CyanogenMod 12.1 Builds


PA Gapps => http://forum.xda-developers.com/android/software/tk-gapps-t3116347
Minimal Gapps => http://forum.xda-developers.com/android/software/gapps-google-apps-minimal-edition-t2943330


PERFORMANCE TIPS
- Goto Settings => Sounds => Other sounds and disable Dialpad sound
- Goto Settings => Developer Options and change Window/Transition animation scale to 0.5x
- Use custom lightweight launcher (I'm using Nova)


SOURCES
Kernel -> https://github.com/Agontuk/android_kernel_sony_u8500
Device Tree -> https://github.com/Agontuk/android_device_sony_kumquat



CREDITS
- CyanogenMod
- FXP
- munjeni & 95A31 for their hard work on our devices
- AOSX team for fixing bugs
- Meticulus for his work on omx
- HandyMenny for his excellent work on SELinux
- golden-guy for providing fix for Dialer crash and in-call volume
- ChronoMonochrome for camcorder fix

XDA:DevDB Information
[ROM][5.0/5.1] Unofficial CyanogenMod 12/12.1, ROM for the Sony Xperia U

Contributors
AGONTUK
Source Code: https://github.com/Agontuk/android_kernel_sony_u8500

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.0.x
ROM Firmware Required: TWRP Recovery
Based On: CyanogenMod

Version Information
Status: Stable

Created 2014-12-28
Last Updated 2016-03-06
 

Attachments

Last edited:

AGONTUK

Senior Member
Feb 22, 2013
624
2,630
0
Dhaka
Reserved

CyanogenMod 12.1 Changelog
Code:
[B][U][SIZE="4"]Changelog 2016-03-07[/SIZE][/U][/B]
 - Cyanogen sources updated
 - Camcorder fixed (thanks to ChronoMonochrome)

[B][U][SIZE="4"]Changelog 2015-11-28[/SIZE][/U][/B]
 - Cyanogen sources updated
 - Decreased zRAM size to 128MB
 - Fixed bunch of logcat errors
 - Removed all live wallpapers
 - Deodexed build (as promised)

[B][U][SIZE="4"]Changelog 2015-11-10[/SIZE][/U][/B]
 - Cyanogen sources updated
 - Kernel updated
 - Row scheduler updated
 - BlueZ 5.36
 - Enabled art small mode
 - Other performance related fix

[B][U][SIZE="4"]Changelog 2015-10-17[/SIZE][/U][/B]
 - Cyanogen sources updated
 - Kernel updated
 - Reverted back to row as default scheduler

[B][U][SIZE="4"]Changelog 2015-09-30[/SIZE][/U][/B]
 - Cyanogen sources updated
 - Kernel updated
 - Added BFQ scheduler and enabled it by default
 - BlueZ 5.35
 - Added in-call volume patch from [B]golden-guy[/B]
 - LowMemoryKiller source updated
 - Some other performance related change

[B][U][SIZE="4"]Changelog 2015-09-16[/SIZE][/U][/B]
 - Cyanogen source updated
 - Kernel updated
 - F2FS filesystem updated to latest 3.4 branch
 - BlueZ 5.34
 - Increased extra_free_kbytes value to double for smooth experience

[B][U][SIZE="4"]Changelog 2015-08-30[/SIZE][/U][/B]
 - Cyanogen source updated
 - BlueZ 5.33

[B][U][SIZE="4"]Changelog 2015-07-04[/SIZE][/U][/B]
 - Cyanogen source updated
 - Kernel updated
 - Updated interactive governer
 - TWRP 2.8.7.0
 - Added PowerHAL from CM
 - Improved performance

[B][U][SIZE="4"]Changelog 2015-06-21[/SIZE][/U][/B]
 - Cyanogen sources updated
 - Kernel & recovery updated
 - Finally fixed adaptive brightness
 - Probably fixed wifi tethering issue reported by users (need confirmation)
 - Bluez 5.31
 - Fixed showing governer list in performance setting
 - Disabled block based zip
 - Other minor fixes

[B][U][SIZE="4"]Changelog 2015-06-06[/SIZE][/U][/B]
 - Cyanogen source updated
 - Kernel & recovery updated
 - zRAM source updated to latest 4.1 kernel from mainline
 - Enabled lz4 compressor in zram for better performance

[B][U][SIZE="4"]Changelog 2015-05-28[/SIZE][/U][/B]
 - Cyanogen source updated
 - Android updated to 5.1.1_r3
 - Kernel updated
 - New F2FS build (enabled for data, cache partition)

[B][U][SIZE="4"]Changelog 2015-05-14[/SIZE][/U][/B]
 - Cyanogen source updated
 - Kernel updated
 - Fixed some SELinux denial, thanks to [B]HandyMenny[/B]
 - Added dialer crash fix, many thanks to [B]golden-guy[/B]

[B][U][SIZE="4"]Changelog 2015-05-06[/SIZE][/U][/B]
 - Cyanogen source updated
 - Kernel updated
 - Added Sio-Plus scheduler
 - Removed performance profiles to bring back governer settings
 - Enabled HighEndGfx mode
 - Added workaround for dialer crash, should be ok now

[B][U][SIZE="4"]Changelog 2015-04-26[/SIZE][/U][/B]
 - Cyanogen source updated
 - Android source updated to 5.1.1_r1
 - Added CM performance profiles
 - Updated interactive governer and set it to default
 - Significant performance boost than previous build
 - Probable fix for VPN issue (Need Confirmation)
 - Probable fix for Netflix issue (Need Confirmation)
 - Kernel updated

[B][U][SIZE="4"]Changelog 2015-04-18[/SIZE][/U][/B]
 - Cyanogen source updated
 - Enabled SELinux thanks to HandyMenny
 - Added illumination bar support
 - Enabled usb otg options in storage settings

[B][U][SIZE="4"]Changelog 2015-04-07[/SIZE][/U][/B]
 - Initial CM 12.1 build
 - BlueZ 5.30
 - TWRP 2.8.6.0
 - Kernel updated
 - New block filesystem based build
CyanogenMod 12 Changelog
Code:
[B][U][SIZE="4"]Changelog 2015-03-30[/SIZE][/U][/B]
 - Cyanogen source updated
 - Kernel updated
 - Bluetooth improved (added support for sending any files)
 - Fixed Bluetooth tethering
 - Tweaked KSM values
 - Tweaked HWUI values

[B][U][SIZE="4"]Changelog 2015-03-18[/SIZE][/U][/B]
 - Cyanogen source updated
 - Kernel updated
 - BlueZ 5.29
 - Source cleanup
 - Fixed root access issue
 - Disabled atlas service to save memory

[B][U][SIZE="4"]Changelog 2015-03-03[/SIZE][/U][/B]
 - Cyanogen source updated
 - Kernel updated
 - Increased background services so that they don't restart frequently
 - Enabled ADB secure
 - Patches updated

[B][U][SIZE="4"]Changelog 2015-02-19[/SIZE][/U][/B]
 - Cyanogen source updated
 - Kernel updated
 - Enabled kernel recommended configurations
 - Optimized bootanimation
 - TWRP 2.8.5.0
 - Fixed some logcat errors
 - Fixed charging only mode, thanks to [B]HandyMenny[/B]
 - Sources updated

[SIZE="4"][B][U]Changelog 2015-02-10[/U][/B][/SIZE]
 - Cyanogen source updated
 - Kernel updated
 - Fixed wifi sleep bug
 - Fixed offline charging
 - Enabled KSM deferred timer for better power consumption

[B][U][SIZE=4]Changelog 2015-02-02[/SIZE][/U][/B]
 - Cyanogen source updated
 - New Cyanogen bootanimation
 - Patches updated
 - Wifi sleep bug should be fixed now. Please let me know.

[B][U][SIZE=4]Changelog 2015-01-24[/SIZE][/U][/B]
 - TWRP 2.8.4.0
 - Cyanogen source updated
 - New Cyanogen bootanimation
 - Cyanogen Theme Engine
 - Cyanogen Account

[B][U][SIZE=4]Changelog 2015-01-13[/SIZE][/U][/B]
 - Cyanogen source updated
 - Kernel updated
 - Enabled KSM for better performance

[B][U][SIZE=4]Changelog 2015-01-06[/SIZE][/U][/B]
 - TWRP 2.8.3.0
 - Fixed youtube video streaming
 - Updated kernel
 - Enabled zRAM
 - odexed build
 - Fixed mtp crash during copying files

[B][U][SIZE=4]Changelog 2014-12-28 (after AOSP 5.0 beta)[/SIZE][/U][/B]
 - Initial build
 - Fixed video playback
 - Fixed audio recording
 - Fixed audio in voice call
 
Last edited:

AGONTUK

Senior Member
Feb 22, 2013
624
2,630
0
Dhaka
Reserved

F.A.Q​

1) Why root access isn't working ?

Ans: Goto Settings => Developer Options => Root Access and enable root.

2)How to use Illumination Bar for notification ?

Ans:
i) Illumination bar is enabled by default, but you can change the settings from Settings -> Buttons -> Backlight.
ii) "Illumination Bar Notification" app is needed for notification to work
iii) You can change theme color from that app too.
iv) In Settings -> Display & Lights -> Notification light, only enable Notification light. No other changes are necessary.

3)How to switch between EXT4/F2FS ?

Ans:
Newer build has F2FS enabled for /data and /cache partition. So you need to format those partition to F2FS first.
i) Make sure to backup everything, cause you'll be formatting your data partition.
ii) Reboot to recovery and goto Wipe => Advanced Wipe. Then wipe system, data, cache, dalvik-cache.
iii) Return to Wipe => Advanced Wipe again. Now select only data partition and click Repair or Change filesystem => Change Filesystem. Now select F2FS from the list and swipe to format data partition to F2FS.
iv) Similarly, format cache partition to F2FS too.
v) Now you're ready to flash the rom. Flash it normally and reboot.
vi) Using steps iii & iv, you can easily go back to EXT4 partition. But wiping is needed.
vii) All these steps are needed ONCE. After you formatted to F2FS, you don't need to do it again.
vii) Remember, to flash rom successfully your /data and /cache partition have to be in F2FS format..
 

Attachments

Last edited:

corphish

Recognized Developer / Inactive Recognized Contrib
Apr 16, 2014
1,012
2,448
113
Durgapur
Launcher Replacement

I am not kumquat user, but I am pretty much interested in its development, so I am happy XU finally has cm12, but I find the launcher is not the one, so apart from using Google Now Launcher, you can use this launcher which comes with CM12 of many phones. Its in attachments.
First try to install it as normal apk, if not try pushing it to system with correct permissions.
 

Attachments

Claudiu1

Senior Member
Nov 2, 2013
237
76
0
Rome
Really really good :)

I have done some tests and this is my report:

- Camera working both pictures and video
- Bluetooth working
- Wi-fi working
- RIL working
- Video playback working with some bugs (I think for OMX)

I have some problems with the auto-rotation and audio when listening music... I don't know why...
Obviously the ram management is very poor but we are in beta stage, so this is normal :)

In my log i've tested camera, wi-fi, bluetooth, music and something else... i hope it can help. @AGONTUK if you need help, count me in ;)
 

Attachments

small2cats482

Senior Member
Mar 27, 2013
217
84
28
First impressions of the ROM, it is stable, not randomly rebooting or anything. But it is slow, and I mean way slower than CM11. To even make the keyboard work I had to download trickster apk to tweak the minfree values so I could sign into google play. And after that there is lag in apps, sometimes in app I press the back button and it freezes for a minute or so with black screen, and is super annoying. The trick my @madz13 seems to work, but still multitasking is not something that is going to happen on this ROM. My advice, it's not ready to be a daily driver yet, only try it if you are willing to deal with the issues.
For the dev, Sir you are amazing. I would have never thought this device would come as far as 4.4, let alone 5.0, and you have done that. And for that I thank you. Keep up the good work!
 

madz13

Senior Member
Dec 1, 2012
220
112
0
Klaten
@small2cats482 , you were rights, IMO do not install gapps(gplay & play service) , now I can chatting via bbm n I can writing with original keyboard and did not found any disappearing keyboard, yeah this is true is not ready for daily driver because its stiil on beta stage,
 

ItsYogSothoth

Senior Member
Mar 11, 2010
145
55
0
Poland
I couldn't wait to install this ROM on my XU. Here's my observations after some time of using it:
- Camera works (photos)
- Video recording works (well, sort of)
- YouTube isn't working
- Twitch as well as YT (logs below)

Captured videos looks like they are corrupted:
YouTube video

Logs:
 

Attachments

Mandy62

Senior Member
Jun 20, 2013
51
8
0
Link not worrking

Hats off for such a great work on my long lasting XU :D

Nw Keen to try this rom...........

But download link not working, plz update asap