FORUMS
Remove All Ads from XDA

[ROM][5.0/5.1] Unofficial CyanogenMod 12/12.1 for Xperia U [2015-03-07]

624 posts
Thanks Meter: 2,649
 
Post Reply Email Thread
Announcement from AGONTUK: New CM 12.1 build released

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/andr...gapps-t3116347
Minimal Gapps => http://forum.xda-developers.com/andr...ition-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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-12-28-21-29-39.png
Views:	45636
Size:	54.9 KB
ID:	3085875   Click image for larger version

Name:	Screenshot_2014-12-28-21-30-19.jpg
Views:	45462
Size:	38.5 KB
ID:	3085876   Click image for larger version

Name:	Screenshot_2014-12-28-21-36-06.png
Views:	44398
Size:	95.1 KB
ID:	3085877   Click image for larger version

Name:	Screenshot_2014-12-28-21-34-27.png
Views:	43354
Size:	51.8 KB
ID:	3085878   Click image for larger version

Name:	Screenshot_2014-12-28-21-28-40.jpg
Views:	42416
Size:	50.0 KB
ID:	3085879  
The Following 121 Users Say Thank You to AGONTUK For This Useful Post: [ View ] Gift AGONTUK Ad-Free
 
 
28th December 2014, 04:33 PM |#2  
AGONTUK's Avatar
OP Senior Member
Flag Dhaka
Thanks Meter: 2,649
 
Donate to Me
More
Reserved
CyanogenMod 12.1 Changelog

Code:
Changelog 2016-03-07
 - Cyanogen sources updated
 - Camcorder fixed (thanks to ChronoMonochrome)

Changelog 2015-11-28
 - Cyanogen sources updated
 - Decreased zRAM size to 128MB
 - Fixed bunch of logcat errors
 - Removed all live wallpapers
 - Deodexed build (as promised)

Changelog 2015-11-10
 - Cyanogen sources updated
 - Kernel updated
 - Row scheduler updated
 - BlueZ 5.36
 - Enabled art small mode
 - Other performance related fix

Changelog 2015-10-17
 - Cyanogen sources updated
 - Kernel updated
 - Reverted back to row as default scheduler

Changelog 2015-09-30
 - Cyanogen sources updated
 - Kernel updated
 - Added BFQ scheduler and enabled it by default
 - BlueZ 5.35
 - Added in-call volume patch from golden-guy
 - LowMemoryKiller source updated
 - Some other performance related change

Changelog 2015-09-16
 - 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

Changelog 2015-08-30
 - Cyanogen source updated
 - BlueZ 5.33

Changelog 2015-07-04
 - Cyanogen source updated
 - Kernel updated
 - Updated interactive governer
 - TWRP 2.8.7.0
 - Added PowerHAL from CM
 - Improved performance

Changelog 2015-06-21
 - 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

Changelog 2015-06-06
 - Cyanogen source updated
 - Kernel & recovery updated
 - zRAM source updated to latest 4.1 kernel from mainline
 - Enabled lz4 compressor in zram for better performance

Changelog 2015-05-28
 - Cyanogen source updated
 - Android updated to 5.1.1_r3
 - Kernel updated
 - New F2FS build (enabled for data, cache partition)

Changelog 2015-05-14
 - Cyanogen source updated
 - Kernel updated
 - Fixed some SELinux denial, thanks to HandyMenny
 - Added dialer crash fix, many thanks to golden-guy

Changelog 2015-05-06
 - 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

Changelog 2015-04-26
 - 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

Changelog 2015-04-18
 - Cyanogen source updated
 - Enabled SELinux thanks to HandyMenny
 - Added illumination bar support
 - Enabled usb otg options in storage settings

Changelog 2015-04-07
 - Initial CM 12.1 build
 - BlueZ 5.30
 - TWRP 2.8.6.0
 - Kernel updated
 - New block filesystem based build
CyanogenMod 12 Changelog

Code:
Changelog 2015-03-30
 - Cyanogen source updated
 - Kernel updated
 - Bluetooth improved (added support for sending any files)
 - Fixed Bluetooth tethering
 - Tweaked KSM values
 - Tweaked HWUI values

Changelog 2015-03-18
 - Cyanogen source updated
 - Kernel updated
 - BlueZ 5.29
 - Source cleanup
 - Fixed root access issue
 - Disabled atlas service to save memory

Changelog 2015-03-03
 - Cyanogen source updated
 - Kernel updated
 - Increased background services so that they don't restart frequently
 - Enabled ADB secure
 - Patches updated

Changelog 2015-02-19
 - 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 HandyMenny
 - Sources updated

Changelog 2015-02-10
 - Cyanogen source updated
 - Kernel updated
 - Fixed wifi sleep bug
 - Fixed offline charging
 - Enabled KSM deferred timer for better power consumption

Changelog 2015-02-02
 - Cyanogen source updated
 - New Cyanogen bootanimation
 - Patches updated
 - Wifi sleep bug should be fixed now. Please let me know.

Changelog 2015-01-24
 - TWRP 2.8.4.0
 - Cyanogen source updated
 - New Cyanogen bootanimation
 - Cyanogen Theme Engine
 - Cyanogen Account

Changelog 2015-01-13
 - Cyanogen source updated
 - Kernel updated
 - Enabled KSM for better performance

Changelog 2015-01-06
 - TWRP 2.8.3.0
 - Fixed youtube video streaming
 - Updated kernel
 - Enabled zRAM
 - odexed build
 - Fixed mtp crash during copying files

Changelog 2014-12-28 (after AOSP 5.0 beta)
 - Initial build
 - Fixed video playback
 - Fixed audio recording
 - Fixed audio in voice call
The Following 52 Users Say Thank You to AGONTUK For This Useful Post: [ View ] Gift AGONTUK Ad-Free
28th December 2014, 04:33 PM |#3  
AGONTUK's Avatar
OP Senior Member
Flag Dhaka
Thanks Meter: 2,649
 
Donate to Me
More
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..
Attached Files
File Type: xml local_manifest.xml - [Click for QR Code] (6.4 KB, 298 views)
The Following 30 Users Say Thank You to AGONTUK For This Useful Post: [ View ] Gift AGONTUK Ad-Free
28th December 2014, 04:40 PM |#4  
Senior Member
Thanks Meter: 233
 
More
OMX not working means no hardware accelerated video decoding ?

Sent from my Xperia U using XDA Free mobile app
28th December 2014, 06:35 PM |#5  
Member
Thanks Meter: 10
 
More
Quote:
Originally Posted by areshinakya

OMX not working means no hardware accelerated video decoding ?

Sent from my Xperia U using XDA Free mobile app

As far as I know, it means we have no 3d acceleration, but I could be wrong.
However, as usual, thank you very much AGONTUK, you made it! Get this, sony software engineers, those who abandoned us!
The Following 2 Users Say Thank You to Pagos1988 For This Useful Post: [ View ] Gift Pagos1988 Ad-Free
28th December 2014, 08:16 PM |#6  
Kobalto07's Avatar
Senior Member
Thanks Meter: 169
 
More
Code:
WORKING
 - Wifi
 - Bluetooth
 - RIL (sms, data, voicecall)
 - Audio, recording
 - SDCard
 - Camera (still have some issue)
 - HW acceleration (should be working)
 - Video playback
confirmed
The Following 6 Users Say Thank You to Kobalto07 For This Useful Post: [ View ] Gift Kobalto07 Ad-Free
29th December 2014, 02:35 AM |#7  
DaniPhii's Avatar
Senior Member
Thanks Meter: 393
 
Donate to Me
More
Thanks a lot, @AGONTUK! If I had my secondary partitions created I would be testing it right now. I'll wait for more stable releases.
Well done! Your work is awesome!
29th December 2014, 07:31 AM |#8  
Member
Flag Hà Nội
Thanks Meter: 14
 
More
Wink
It looks nice. But app always reload when i open another apps. I can make phone call, message received.
Some screenshots
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-12-29-14-27-38.jpg
Views:	5374
Size:	37.0 KB
ID:	3087067   Click image for larger version

Name:	Screenshot_2014-12-29-14-27-51.png
Views:	5280
Size:	32.3 KB
ID:	3087068   Click image for larger version

Name:	Screenshot_2014-12-29-14-28-02.png
Views:	5152
Size:	45.6 KB
ID:	3087069   Click image for larger version

Name:	Screenshot_2014-12-29-14-28-34.jpg
Views:	5174
Size:	38.4 KB
ID:	3087070  
The Following 2 Users Say Thank You to hung_dhsp For This Useful Post: [ View ] Gift hung_dhsp Ad-Free
29th December 2014, 11:41 AM |#9  
corphish's Avatar
Recognized Developer / Recognized Contributor
Flag Durgapur
Thanks Meter: 2,432
 
Donate to Me
More
Is the files in zip in regular format or in *.dat format? I am interested in extracting some files.
The Following User Says Thank You to corphish For This Useful Post: [ View ]
29th December 2014, 12:00 PM |#10  
corphish's Avatar
Recognized Developer / Recognized Contributor
Flag Durgapur
Thanks Meter: 2,432
 
Donate to Me
More
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.
Attached Files
File Type: apk Launcher3_1.0.apk - [Click for QR Code] (2.40 MB, 1488 views)
The Following 2 Users Say Thank You to corphish For This Useful Post: [ View ]
29th December 2014, 02:05 PM |#11  
dwaipayanray95's Avatar
Recognized Contributor
Flag Bangalore
Thanks Meter: 2,417
 
More
Make a release for Xperia Sola as well please?
Post Reply Subscribe to Thread

Tags
cm-12.0, cm-12.1, cyanogemmod, lollipop, xperia u

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes