• 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

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

mikeioannina

Recognized Developer
Mar 22, 2011
1,900
26,531
113
Ioannina


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

Last edited:

vipinrahul

Senior Member
May 9, 2012
421
52
0
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
0
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
262
27
0
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
0
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
0
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?
 

Langes

Elite Member
Sep 23, 2012
1,713
2,731
0
48
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