-
Notifications
You must be signed in to change notification settings - Fork 9
Installing LegacyXperia for Dummies
This page steps you through everything you need to install LegacyXperia (LX).
The first time, this will take a while, about 2-3 hours.
Once you've done that, installing other Android versions is a lot easier.
You need basic skills with Windows or Linux.
IF YOU HAVE QUESTIONS
Go to the right Q&A thread:
LX 12.1: http://forum.xda-developers.com/xperia-mini/help/faq-2011-legacyxperia-discussion-t3053947
LX 11.0: http://forum.xda-developers.com/showthread.php?t=2543426
LX 10.2: http://forum.xda-developers.com/showthread.php?t=2466097
LX 10.1: http://forum.xda-developers.com/showthread.php?t=2464859
LX AOSP 5.1.1: http://forum.xda-developers.com/xperia-arc/general/faq-2011-legacyxperiaaosp-discussion-t3053181
NEVER ASK FOR HELP ON DEV THREADS
Only if you have one of the following phones:
- Xperia Active [Satsuma]
- Xperia Arc [Anzu]
- Xperia Arc S [Ayame, but uses Anzu's files]
- Xperia Mini [Smultron]
- Xperia Mini Pro [Mango]
- Xperia Neo [Hallon]
- Xperia Neo V [Haida]
- Xperia Pro [Iyokan]
- Xperia Ray [Urushi]
- Live with Walkman [Coconut]
These two phones were supported, but not as well as the others:
- Xperia Neo L [Phoenix]
- Xperia Play [Zeus]
If your phone is not on the list, you can NOT install LX.
Remember the [codename] for your phone !
Linux works (when in doubt, Ubuntu LTS is the best tested).
Windows XP (32 bit) is the easiest to work with.
Windows Vista, 7 works.
Windows 8 can be used after disabling Driver Signature Enforcement (this is the only way to install flashtool/adb drivers). See http://www.nextofwindows.com/how-to-install-an-un-signed-3rd-party-driver-in-windows-8/
Windows 8.1 and Windows 10: Microsoft has released the new update for Sony Driver. Install this to remedy the problem http://support.microsoft.com/kb/2917929
OSX doesn't work, but you can run another OS in a VM.
If you value trouble-free reliability over everything else, better stay with stock Android.
If you want the latest Android, more control over your phone, and you are willing to tinker with your phone and live with some bugs, try LX. You can always go back to stock if you don't like it.
- Unlock the bootloader
(this gives you more boot options than "load Android", for example, boot to fastboot mode or recovery. This is like the Windows F8 boot menu) - Install the Android SDK on your PC
(this gives you the required drivers and tools to talk to your phone via USB, on a low level) - Install an LX kernel
(this is required for LX Android. It also provides a Recovery kernel, which lets you do low-level admin on the phone) - Install an LX Android ROM
(this is the actual Android system running on top of the Linux kernel. ROM basically means "Android system image")
INFO What about Root?
Rooting makes you an administrator, so you can do (and damage) anything.
The LX Rom is already rooted; you never need to root the phone yourself.
If you run into problems, you can try
- CyanogenMod: http://wiki.cyanogenmod.org/w/Devices
- Mike's post: http://forum.xda-developers.com/showthread.php?t=2545359&page=2
- remember the "fastboot button": if you have a physical Menu button, that is the fastboot button; otherwise it is Volume-Up.
- follow the Sony unlock guide: http://unlockbootloader.sonymobile.com/unlocking-boot-loader
INFO
During the Sony guide, you install the Android SDK. This gives you the adb and fastboot tools, and (hopefully) installs the required adb and fastboot drivers.
Now you have low-level access to your phone, and you can also use the SDK to write Android apps. If you know Java, check the examples; it's quite easy to do a Hello World.
- unreleased: LX 13 based on CM 13 based on AOSP 6 (Marshmallow)
- LX 12.1 based on CM 12.1 based on AOSP 5.1 (Lollipop)
- LX 11.0 based on CM 11.0 based on AOSP 4.4 (KitKat)
No longer maintained:
- LX 12 based on CM 12 based on AOSP 5.0 (Lollipop)
- LX 10.2 based on CM 10.2 based on AOSP 4.3 (Jellybean)
- LX 10.1 based on CM 10.1 based on AOSP 4.2 (Jellybean)
- LX 5.1.1 based on AOSP 5.1.1 (Lollipop, plain AOSP without CyanogenMod)
You can check the "Working/Not Working" lists on the LX project page: http://legacyxperia.github.io
LX 13 has big new features and a lot of changes every day, but still has some problems. At the current stage it is only recommended for experienced users.
LX 12 is quite stable and reasonably fast. It automatically uses the SD card to extend the internal storage. I recommend LX12 if you want to experience shiny new Android.
LX 11 is currently the fastest and most reliable version. You must use link2sd or similar tools to move apps to the SD card. I recommend LX11 if you install LX on your only phone and want it to 'just run' after it settled down.
If you're not sure, I would start with 12.
INFO
AOSP is the official Google Android ("Android Open Source Project") that runs on Nexus phones.
CM (www.CyanogenMod.org) builds on top of AOSP, adds features and bugs, and supports more phones.
LX builds on top of CM, to support the 2011 Xperias (official CM support for our phones ends with v4.1).
- Go to the LX Project page: http://legacyxperia.github.io
- Clicking on "Downloads" will take you to the BasketBuild download page
- Click on your phone's codename
- Choose an Android version
- Pick the newest build for your desired Android version. Nightlies/Release doesn't really make sense today. Go to the newer one. The date is within the file's name.
- If the ROM has just been released, CHECK THE SIZE OF THE FILE! If the file is smaller then the older builds, the upload is not finished. Wait until the file size does not change before you download!
- Open the ROM .zip and extract the kernel (boot.img) to your PC
- Download the Google Apps, also know as GApps (this is Google apps like the Play store).
- For CM10.1 and CM10.2: The respective GApps files have been added to the BasketBuild download page and can be found inside the gapps folder.
- For CM11: Get Mardon's GApps. This is a lite version because the full GApps package does not fit on our phones. You can install missing apps like Gmail later from the Play store. Download from XDA-Developers
- For CM12: Get Mardon's GApps for 5.1.1: XDA-Developers
Assume that the following steps will erase all data on your phone, including the SD card if things go wrong.
Save everything you will still need, like pictures, local contacts and local documents.
To store app settings like game progress, use a backup tool. Titanium Backup is an XDA favorite.
Personally, I don't do that. I like to start from scratch, and install everything from the Play store; my data is on Dropbox and Google.
This step is only needed when you flash KitKat for the first time.
If you have installed other custom ROMs before, follow these instructions How to Go Back to Stock to install a stock ICS .587 image on your phone.
- Copy the ROM .zip and the GApps .zip to the root directory of your SD card
- Connect the phone in fastboot mode
- Shut down the phone
- Press and hold the fastboot button (Menu or Vol-Up)
- Connect USB
- Release the fastboot button
- The status LED should turn blue. If not, try again.
- Find fastboot.exe on your PC (...\Android-SDK\platform-tools)
- Open a command prompt as an administrator and navigate to your fastboot.exe directory using cd command
- Enter
fastboot devices
to check if fastboot is working. This command should print something like:
123ABC456 fastboot
If the result is an empty line, troubleshoot fastboot. - Move the kernel you extracted earlier to the fastboot.exe directory
- Enter
fastboot flash boot boot.img
Flashing the kernel takes a few seconds. - Enter
fastboot reboot
- When the boot image appears, press Vol-Down or Back every second.
The LED turns blue and you enter the Recovery tool.
If the phone is not booting at all
- Reboot to bootloader again
- Enter
fastboot erase system
- Enter
fastboot erase userdata
This will erase all data and settings.
Note: You must install the kernel every time you install a new ROM version.
- Boot into the Recovery tool
Navigate the menus with Vol-Up/Down to choose, Home to confirm, Back to go back.
If the buttons don't work, try Menu and Power. - Only if you install KitKat for the first time:
- Go to mounts and storage
- Format /system, then /data, then /cache
- Select Wipe Data / Factory Reset
This will erase all your data, apps and settings. Usually, you only have to do that when you switch to other ROMs; when you only install a newer build of the same ROM (like LX11 build 5 to LX11 build 7), only do a factory reset when the developer says so, or when you don't care about losing data. - Flash the ROM .zip that you have put on your SD card before
- Select Install .zip
- Select Choose .zip from /Storage/SDcard0
- Select the ROM .zip ("cm-11-20140101-...zip")
- Repeat the last step to flash the GApps .zip
Flashing GApps is optional; it is required for the Play store, which you probably want. - Return to the main menu and Reboot system now
- Show Developer settings:
Go to Settings > About phone and press Build number seven times. - Give root to adb:
Settings > Developer options > Root access : apps and adb
This lets you access the file system from your PC