• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

mirhl

Senior Member
Oct 15, 2012
3,081
1,153
Getting that released in the first place wouldn't hurt /s
Then once that is.. workable, and you also get 3.4 working, I guess like everything else will come smooth :)
 

Haxk20

Senior Member
Aug 18, 2015
494
554
Getting that released in the first place wouldn't hurt /s
Then once that is.. workable, and you also get 3.4 working, I guess like everything else will come smooth :)
Few people have it already for testing reasons. I guess you dont want ROM with nothing working. No RIL no wifi, bt, sound, sensors. But yeah i guess i could release a pre-alpha build
 

dana.marivani

Senior Member
Sep 26, 2016
182
269
Marivan
Samsung Galaxy A51
Have you installed the drivers? Have you disabled driver verification? What is your problem exactly? Have you any error messages?

yeah i've installed drivers and i'm trying to install twrp with fastboot in cmd it says waiting for device and nothing happens even though i've connected the phone correctly
it does not recognize the phone and exits fastboot then it turns on
whats the reason?!
thanks
 

Trandaa

Senior Member
Jul 1, 2014
362
198
yeah i've installed drivers and i'm trying to install twrp with fastboot in cmd it says waiting for device and nothing happens even though i've connected the phone correctly
it does not recognize the phone and exits fastboot then it turns on
whats the reason?!
thanks
Have you connected your phone in fastboot mode? If I remember correctly you have to hold volume down and connect the phone. If I remember incorrectly, then you have to hold volume up instead.
 
  • Like
Reactions: dana.marivani

dana.marivani

Senior Member
Sep 26, 2016
182
269
Marivan
Samsung Galaxy A51
Have you connected your phone in fastboot mode? If I remember correctly you have to hold volume down and connect the phone. If I remember incorrectly, then you have to hold volume up instead.



thanks
now I've installed CWM recovery and I want to install a cm11 or cm12.1 with CWM
it gives me error status code 7
even i can't install twrp in CWM
its says error in sdcard/ twrp-xxxxxxx.zip
(status 7) installation aborted

every time i see error status 7 . what does it means?!
 

Haxk20

Senior Member
Aug 18, 2015
494
554
thanks
now I've installed CWM recovery and I want to install a cm11 or cm12.1 with CWM
it gives me error status code 7
even i can't install twrp in CWM
its says error in sdcard/ twrp-xxxxxxx.zip
(status 7) installation aborted

every time i see error status 7 . what does it means?!
Twrp isnt flashed by zip. You need the boot image and flash that. The bootimage contains TWRP.
Just download the rom you want and open it with some software for zip. There will be boot image. Extract that. Now just flash it with fastboot.
 
  • Like
Reactions: dana.marivani

dana.marivani

Senior Member
Sep 26, 2016
182
269
Marivan
Samsung Galaxy A51
Twrp isnt flashed by zip. You need the boot image and flash that. The bootimage contains TWRP.
Just download the rom you want and open it with some software for zip. There will be boot image. Extract that. Now just flash it with fastboot.

Unfortunately I've tried a lot without any success .even the TWRP .img file won't install in CWM or ADB_Fastboot or any possible solution
I've also tried flashify andriod app!
I've got into totally mad!

even I can't install any rom in CWM it give error status code 7
 

DaniPhii

Senior Member
May 13, 2013
888
417
Ciudad Real
daniphii.keybase.pub
Thanks for telling me, now I have updated to LineageOS 12.1! Without GApps, it works flawlessly. :)

Anyone interested?

DKiSEq5XUAA-j9k.jpg:small

Sorry that I didn't share this build before, but here it is in case anyone want to test it.

I would've compiled LineageOS for microG but if you want that you'll have to use NanoMod to install it and support signature spoofing.

I've been compiling for bq Aquaris M5 and Samsung Galaxy SL, maybe I'll download the source code again and test what @Haxk20 has been doing. By the way, Android security patches are being backported to LineageOS 11, I compiled LineageOS for microG 11 for Galaxy SL and then I noticed community keeps updating it, that's lovely.

I would like to compile LineageOS for microG 11 for this little device as well, but I think I would have more work, too many repos to update...
 

Haxk20

Senior Member
Aug 18, 2015
494
554
Sorry that I didn't share this build before, but here it is in case anyone want to test it.

I would've compiled LineageOS for microG but if you want that you'll have to use NanoMod to install it and support signature spoofing.

I've been compiling for bq Aquaris M5 and Samsung Galaxy SL, maybe I'll download the source code again and test what @Haxk20 has been doing. By the way, Android security patches are being backported to LineageOS 11, I compiled LineageOS for microG 11 for Galaxy SL and then I noticed community keeps updating it, that's lovely.

I would like to compile LineageOS for microG 11 for this little device as well, but I think I would have more work, too many repos to update...

You mean the tasty oreo i ported ? Yeah would be great if your could compile it for U. Kernel is in the right shape and common device tree is OK too. Just look at my github and Nypon device tree and you will surely see what is needed. From there just compile and take chronoMonochrome Lineage15.1 patches as the errors come. Dont apply all of them and apply only the ones you need.
 

dana.marivani

Senior Member
Sep 26, 2016
182
269
Marivan
Samsung Galaxy A51
You must flash the boot.img in the rom zip !!
fastboot flash boot boot.img

Please guide me:
It is strange, It's easy to get into the recovery CWM environment,But unfortunately I can not install anything there,I encounter the same error as I said before
I still could not TWRP I will install ,The file TWRP is likely to be defective for unknown reasons
As well as on the site xda-developers and TeamWin
I can not find the file that I can get to the recovery environment
Please file TWRP download link here
Question: Watch it kernel There is I can get it to the recovery environment
Tnx
 

andys73

New member
Oct 12, 2019
3
0
Failed to flash the rom

Hi to all!
Sorry if I'm late with this task but I took my old Xperia U (branded but without sim lock) out of the drawer and, since the battery is always in good condition, I would like to install a newer version of Android to give it to my son as his first phone.

I make step by step the procedure to enable the ROOT of the phone through Sonymobile site and after all it says my device was already rooted; also I check through the Service Info and it confirm that the device is rooted.

I follow these step:
1) Flash the boot.img taken from the rom zip to the phone with Fastboot
2) Copied the rom zip files (i found online these: cm-12.1-20150407-UNOFFICIAL-kumquat.zip and gapps-5.1.x-20150404-minimal-edition-signed.zip) into internal memory card (i tryed in the root and in the recovery directory).
3) Turn on the phone into TWRP 2.8.6.0
4) Wipe data, system, cache and dalwik cache
5) Convert data and cache to F2FS.
6) Wipe again data, system, cache and dalwik cache
7) Flash the room. During the procedure it gave this error:

mount: Failed to mount /dev/block/mmcblk0p11 at /data : invalid argument
unmount of /data failed no such volume
result was [0.200000]

When the procedure is finished I reboot and 3-5 seconds after it display the CG logo the phone reboot and repeat this continuously.

After some tries I re-converted the data and cache partition to EXT4 and try to flash the Cyanogenmod 11.0 https://forum.xda-developers.com/xperia-u/u-development/rom-cyanogenmod-11-0-t2528466
and it start fine with gapps installed.

I will very appreciate if anyone can help me to flash this rom version :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 121
    logo-cid.png

    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
    52
    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
    31
    New BUILD is out. This is also the first stable build. Link's in the OP.

    Changelog 2015-03-03
    - Cyanogen source updated
    - Kernel updated
    - Increased background services so that they don't restart frequently
    - Enabled ADB secure
    - Patches updated
    29
    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..
    27
    New BUILD is up. Link's in the OP.

    Changelog 2015-05-06
    - Cyanogen source updated
    - Kernel updated
    - Added Sio-Plus scheduler
    - Removed performance profiles to bring back governer settings
    - Enable HighEndGfx mode
    - Added workaround for dialer crash, should be ok now