{All 2011}[DEV][Lollipop 5.1.1][LegacyXperia] unofficial CyanogenMod 12.1 builds

Search This thread

mikeioannina

Recognized Developer
Mar 22, 2011
1,969
27,129
Ioannina
Lenovo P2
Xiaomi Mi Mix 2
KusEc7M.png


Code:
[COLOR="Purple"]#include <std_disclaimer.h>[/COLOR]
[COLOR="Navy"]/*
 * 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.
 */[/COLOR]

Not developed actively anymore. You can update to cm-13.0.

This is an unofficial build of CM12.1.
This is an attempt to stay close to official cm12.1 and not make crazy hacks to make things working.

This is a pure CM build, only contains official CM features. I will not add any other external feature/app/etc.


For an up-to date working/not working list, bug tracker, useful guides & FAQ, visit our website:
http://legacyxperia.github.io


Want to contribute? Visit the brand new msm7x30 gerrit:
http://review.msm7x30.org


WARNING: This ROM uses a modified internal memory layout.
Our /system partition is originally 400MB but this space is not enough for a fluid experience and a full installation with proper google apps.
The internal storage has been repartitioned to give the whole space to /system & /cache. You will need a secondary partition on your SD card to be used as the /data partition.

If you want to use this ROM you will always have to use the included kernel or use a kernel that includes the layour changes. Bug reports with non-standard kernels will be ignored.
You will have to wipe the device and make a clean install.
You cannot restore nandroid backups from previous android versions or restore backups from this ROM to other ROMs that don't use the new partition layout since you risk corrupting the data.
I suggest to use Titanium Backup, Helium or any other similar app to backup your data if you really need to.


Requirements:
* Have the stock ICS 4.1.B.0.587 full ftf flashed (doesn't matter if you have flashed it in the past or if you flash it before installing cm12.1, it will work both ways)
* LT15i (Arc) users need to flash LT18i (Arc S) ftf
* MT15i (Neo) users need to flash MT11i (Neo V) ftf
* Minimum 2GB secondary ext4 partition for /data on class 10 SD card.

Steps required for correct installation (order is important):
1: Flash boot.img in fastboot & reboot into recovery
2 (optional): If the device is not booting, reboot to bootloader again and run:
fastboot erase system
3: Enter recovery
4: Format /system using System-Formating-Tool_signed.zip (can be found here) , then /data and then /cache (Important step!)
5: Flash update zip
6: Flash gapps

Steps 2, 4, 6 are not needed when you install new LX build on top of an older one in the future

If you want to return to a ROM that doesn't use the new partition layout, you need to follow the above steps again (only replace boot.img & update zip with the ones you want to use).

FAQ/Q&A/Discussion thread:
{All 2011}[FAQ][Q&A][CM12.1] LegacyXperia discussion

How to make your own test builds:
{All 2011}[GUIDE][DEV] How to build CyanogenMod 12.1

Changelog:
Release changes

Working/Non-working list
Lollipop status

Downloads:
https://s.basketbuild.com/devs/LegacyXperia
PLEASE DON'T MIRROR OUR UPLOADS

Recommended Google Apps:
Google Apps packaged by Mardon

NOTE:
Following xda's rule #12 spirit: If you are developing something that is based on my work, you MUST first seek my permission, you must add my name in the credits and you must add links pointing to my original thread and to my github sources.
Breaking this rule will lead me to report the thread to the moderators.


BUG Tracker
If you want to help fixing those bugs, please report the bugs in the bug tracker. Thanks!
Logs are needed (logcat/dmesg/last_kmsg), not just "got FC" or "+1" useless replies.
For more detailed instructions check the bug reporting guide in the FAQ.


XDA:DevDB Information
LegacyXperia, ROM for the Sony Ericsson Xperia Arc

Contributors
mikeioannina, Blefish, Mardon, pcfighter, mikegapinski, Men_in_black007, Rrreutel, nobodyAtall
Source Code: http://github.com/LegacyXperia

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
ROM Firmware Required: Latest version of official ICS firmware: 4.1.B.0.587 or the latest supported baseband: 8x55A-AAABQOAZM-203028G-77
Based On: CyanogenMod

Version Information
Status: No Longer Updated
Current Beta Version: 20150513
Beta Release Date: 2015-05-13

Created 2015-03-13
Last Updated 2016-02-26
 

Attachments

  • Screenshot_2015-03-13-22-20-21.jpg
    Screenshot_2015-03-13-22-20-21.jpg
    25.7 KB · Views: 43,178
  • Screenshot_2015-03-13-22-21-44.png
    Screenshot_2015-03-13-22-21-44.png
    60.2 KB · Views: 42,297
  • Screenshot_2015-03-13-22-21-55.png
    Screenshot_2015-03-13-22-21-55.png
    37 KB · Views: 41,093
  • Screenshot_2015-03-13-22-22-06.png
    Screenshot_2015-03-13-22-22-06.png
    56.6 KB · Views: 40,325
  • Screenshot_2015-03-13-22-22-58.png
    Screenshot_2015-03-13-22-22-58.png
    143.8 KB · Views: 41,024
  • Screenshot_2015-03-13-22-23-27.png
    Screenshot_2015-03-13-22-23-27.png
    52.6 KB · Views: 40,423
  • Screenshot_2015-03-13-22-24-30.png
    Screenshot_2015-03-13-22-24-30.png
    37.1 KB · Views: 37,983
  • Screenshot_2015-03-13-22-24-50.png
    Screenshot_2015-03-13-22-24-50.png
    19 KB · Views: 35,635
  • Screenshot_2015-03-13-22-25-04.png
    Screenshot_2015-03-13-22-25-04.png
    25 KB · Views: 34,457
  • Screenshot_2015-03-13-22-25-18.png
    Screenshot_2015-03-13-22-25-18.png
    177.9 KB · Views: 34,636
  • Screenshot_2015-03-13-22-26-25.png
    Screenshot_2015-03-13-22-26-25.png
    15.4 KB · Views: 33,451
  • Screenshot_2015-03-13-22-25-33.png
    Screenshot_2015-03-13-22-25-33.png
    21.3 KB · Views: 32,668
  • Screenshot_2015-03-13-22-25-45.png
    Screenshot_2015-03-13-22-25-45.png
    31.9 KB · Views: 31,316
  • Screenshot_2015-03-13-22-26-56.png
    Screenshot_2015-03-13-22-26-56.png
    55.5 KB · Views: 30,642
  • Screenshot_2015-03-13-22-27-22.png
    Screenshot_2015-03-13-22-27-22.png
    95.8 KB · Views: 30,235
  • Screenshot_2015-03-13-22-26-09.png
    Screenshot_2015-03-13-22-26-09.png
    42.9 KB · Views: 29,342
  • Screenshot_2015-03-13-22-27-35.png
    Screenshot_2015-03-13-22-27-35.png
    19.2 KB · Views: 28,046
  • Screenshot_2015-03-13-22-28-25.png
    Screenshot_2015-03-13-22-28-25.png
    29.9 KB · Views: 27,596
  • Screenshot_2015-03-13-22-28-41.png
    Screenshot_2015-03-13-22-28-41.png
    27.6 KB · Views: 27,583
  • Screenshot_2015-03-13-22-37-15.png
    Screenshot_2015-03-13-22-37-15.png
    45.6 KB · Views: 28,654
Last edited:

vipinrahul

Senior Member
May 9, 2012
421
59
am unable to flash the ine2ext file...it fails as the package cannot be loaded. i have use the same file many times before..and when the phone reboots :android is upgrading" takes a long time to complete.....there is lot of over heating too.

am sorry but is this ROM not prerooted? i cannot find superuser app and titanium backup won't work if ROM is not rooted
 
Last edited:

L3RAT

Senior Member
Dec 6, 2012
97
57
am unable to flash the ine2ext file...it fails as the package cannot be loaded. i have use the same file many times before..and when the phone reboots :android is upgrading" takes a long time to complete.....there is lot of over heating too.

am sorry but is this ROM not prerooted? i cannot find superuser app and titanium backup won't work if ROM is not rooted

Guys, please read new instructions... There is no need to use int2ext or link2sd, while 2nd partition is automatically mounted as /data and any app you install and all their files, go directly to SD ;)

To use root you have to enable Developer options and set root access for "apps and ADB"
 

trueno2k

Senior Member
May 29, 2011
261
28
Can anyone here perhaps help me with installing the usb drivers for my Xperia Arc please?.. The flashtool drivers aren't installing right, they keep giving back failed responses!.. Plus, I don't wanna go through that signature malarky crap!.. Is there any other way I can get the drivers installed on Windows 8.1 so that I can flash this ROM, PLEASE!!!

Thanks...
 

L3RAT

Senior Member
Dec 6, 2012
97
57
To set a real dev discussion:

I was supposed to so something else, so I started reading through my kmsg.log and of course I found "ti_st_open: st_register failed -22" which is followed by 2 min of suspend (being stuck at boot logo). I googled it and found out it is related to bluetooth driver. Those codes from our kernel sends that error:

https://github.com/LegacyXperia/and...c2dac8e3446a7695/drivers/misc/ti-st/tty_hci.c
https://github.com/LegacyXperia/and...c2dac8e3446a7695/drivers/bluetooth/btwilink.c

But why I'm mentioning it after all. After some research, I have found on TI Support page some thread related to wl1271 with the same issue in log:

http://e2e.ti.com/support/wireless_connectivity/f/307/t/237355

According to it, problem is related to GPIO BT_EN suspend/power down sequence, which have bad effect on next power up.

GPIO is handled by:
https://github.com/LegacyXperia/and...2c2dac8e3446a7695/drivers/misc/ti-st/st_kim.c

@mikeioannina is it helpful?

More links:
http://e2e.ti.com/support/wireless_connectivity/f/307/t/340453#pi239031348=1
+ commands for terminal:
http://processors.wiki.ti.com/index.php/NLCP_Bluetooth_Command_Lines
 

keibak

Member
Aug 31, 2012
28
2
Hi,

how does the partiontable of the sd card need to look?

I mean is it enough if there's any ext4 partition or can the whole card be formatted as ext4?
Which filesystem should the default? part be?
 

SurajH

Senior Member
Sep 4, 2012
1,213
966
Awesome CM12

Successfully Booted up CM12 on coconut:p
Thanks Dev:good::good::good::good::good:
 
  • Like
Reactions: Akcadem

Langes

Senior Member
Sep 23, 2012
1,713
2,731
51
Sweet Spot
Hi,

how does the partiontable of the sd card need to look?

I mean is it enough if there's any ext4 partition or can the whole card be formatted as ext4?
Which filesystem should the default? part be?
The install script will mount your second partition as ext4, my suggestion:
  1. first partition fat/fat32 for "external SD" in the ROM
  2. second partition ext4 for the /data partition
Both partitions should be primary partitions
 

Top Liked Posts

  • There are no posts matching your filters.
  • 169
    KusEc7M.png


    Code:
    [COLOR="Purple"]#include <std_disclaimer.h>[/COLOR]
    [COLOR="Navy"]/*
     * 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.
     */[/COLOR]

    Not developed actively anymore. You can update to cm-13.0.

    This is an unofficial build of CM12.1.
    This is an attempt to stay close to official cm12.1 and not make crazy hacks to make things working.

    This is a pure CM build, only contains official CM features. I will not add any other external feature/app/etc.


    For an up-to date working/not working list, bug tracker, useful guides & FAQ, visit our website:
    http://legacyxperia.github.io


    Want to contribute? Visit the brand new msm7x30 gerrit:
    http://review.msm7x30.org


    WARNING: This ROM uses a modified internal memory layout.
    Our /system partition is originally 400MB but this space is not enough for a fluid experience and a full installation with proper google apps.
    The internal storage has been repartitioned to give the whole space to /system & /cache. You will need a secondary partition on your SD card to be used as the /data partition.

    If you want to use this ROM you will always have to use the included kernel or use a kernel that includes the layour changes. Bug reports with non-standard kernels will be ignored.
    You will have to wipe the device and make a clean install.
    You cannot restore nandroid backups from previous android versions or restore backups from this ROM to other ROMs that don't use the new partition layout since you risk corrupting the data.
    I suggest to use Titanium Backup, Helium or any other similar app to backup your data if you really need to.


    Requirements:
    * Have the stock ICS 4.1.B.0.587 full ftf flashed (doesn't matter if you have flashed it in the past or if you flash it before installing cm12.1, it will work both ways)
    * LT15i (Arc) users need to flash LT18i (Arc S) ftf
    * MT15i (Neo) users need to flash MT11i (Neo V) ftf
    * Minimum 2GB secondary ext4 partition for /data on class 10 SD card.

    Steps required for correct installation (order is important):
    1: Flash boot.img in fastboot & reboot into recovery
    2 (optional): If the device is not booting, reboot to bootloader again and run:
    fastboot erase system
    3: Enter recovery
    4: Format /system using System-Formating-Tool_signed.zip (can be found here) , then /data and then /cache (Important step!)
    5: Flash update zip
    6: Flash gapps

    Steps 2, 4, 6 are not needed when you install new LX build on top of an older one in the future

    If you want to return to a ROM that doesn't use the new partition layout, you need to follow the above steps again (only replace boot.img & update zip with the ones you want to use).

    FAQ/Q&A/Discussion thread:
    {All 2011}[FAQ][Q&A][CM12.1] LegacyXperia discussion

    How to make your own test builds:
    {All 2011}[GUIDE][DEV] How to build CyanogenMod 12.1

    Changelog:
    Release changes

    Working/Non-working list
    Lollipop status

    Downloads:
    https://s.basketbuild.com/devs/LegacyXperia
    PLEASE DON'T MIRROR OUR UPLOADS

    Recommended Google Apps:
    Google Apps packaged by Mardon

    NOTE:
    Following xda's rule #12 spirit: If you are developing something that is based on my work, you MUST first seek my permission, you must add my name in the credits and you must add links pointing to my original thread and to my github sources.
    Breaking this rule will lead me to report the thread to the moderators.


    BUG Tracker
    If you want to help fixing those bugs, please report the bugs in the bug tracker. Thanks!
    Logs are needed (logcat/dmesg/last_kmsg), not just "got FC" or "+1" useless replies.
    For more detailed instructions check the bug reporting guide in the FAQ.


    XDA:DevDB Information
    LegacyXperia, ROM for the Sony Ericsson Xperia Arc

    Contributors
    mikeioannina, Blefish, Mardon, pcfighter, mikegapinski, Men_in_black007, Rrreutel, nobodyAtall
    Source Code: http://github.com/LegacyXperia

    ROM OS Version: 5.1.x Lollipop
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: Latest version of official ICS firmware: 4.1.B.0.587 or the latest supported baseband: 8x55A-AAABQOAZM-203028G-77
    Based On: CyanogenMod

    Version Information
    Status: No Longer Updated
    Current Beta Version: 20150513
    Beta Release Date: 2015-05-13

    Created 2015-03-13
    Last Updated 2016-02-26
    38
    31
    We are very close to release, just need to figure out some bugs and write proper instructions for new unified partition layout.
    There is no point of unofficial releases on xda, since I am sure many people will flash it and then complain it's broken.

    You are free to build from the sources yourselves but releasing unfinished stuff on xda can lead to noob soft-bricking their devices or 'help plzzzzzzzzzzzz!!!!!!!111!' messages

    cm-12.1 support will stop after the next release, so we can concentrate on cm-13.0.
    30
    New builds

    Hi guys, after long time some new builds are coming.
    I have included some improvements for LPA, you should be able to use it now to get rid of music stuttering.
    You can test it by adding lpa.decode=true in build.prop. It is known that LPA breaks a2dp streaming, we are trying to fix it.
    You might also notice that the headset volume is louder than usual and audio effects might distort the sound.

    ## Nightly build 20150723 - cm-12.1
    * Latest cm12.1 changes
    * Use upstream gp2a proximity sensor kernel driver (zeus)
    * Fixed CVE-2015-5366
    * Decreased zRAM size to 128MB
    * Added support for DM9601 based USB ethernet
    * Fixed mounting of non-FAT formatted SD cards
    * Set FIOPS as default IO scheduler instead of ROW
    * Updates & fixes for LPA
    * Testing lowmemorykiller changes to improve zRAM OOM issues

    Builds will roll for all devices tomorrow, after the cm-11.0 builds are up.
    30
    New builds incoming

    ## Nightly build 20150513 - cm-12.1
    * Latest cm12.1 changes
    * Initial public build
    * Rebased kernel on top of CAF LA.AF.1.1-02510-8064.0
    * Fix CVE-2014-9715, CVE-2015-2922, CVE-2015-2041, CVE-2015-1863 & CVE-2015-3636
    * Use -O2 instead of -Os for faster zram and disk performance
    * Updated libril to v11 (for 5.1)
    * Re-enabled MDP composition
    * Enabled ART small mode
    * Disabled dex2oat watchdog

    Builds will be up for all devices until tomorrow.
    Support for LX cm-12.0 has been dropped.