You are on page 1of 5

Thisrepository

Search

Explore

Features

Enterprise

LegacyXperia / Wiki

Blog

Watch

Signup

Star

13

InstallingLegacyXperiaforDummies

Signin

Fork

MatthiasYzusquieditedthispage15daysago17revisions

ThispagestepsyouthrougheverythingyouneedtoinstallLegacyXperia(LX).

Pages

Ifyoualreadyknowwhatyou'redoing,seeLXInstallationinaNutshell

Home

Thefirsttime,thiswilltakeawhile,about23hours.
Onceyou'vedonethat,installingotherAndroidversionsisaloteasier.

11

BuildingLXfromsource
CommonProblems

FAQ

YouneedbasicskillswithWindowsXP/7orLinux.
Windows8canbeusedafterdisablingDriverSignatureEnforcement(thisistheonlyway
toinstallflashtool/adbdrivers).Seehttp://www.nextofwindows.com/howtoinstallanun

HowtoGoBacktoStock
InstallingLegacyXperiafor
Dummies

signed3rdpartydriverinwindows8/

LXInstallationinaNutshell

Windows8.1MicrosofthasreleasedthenewupdateforSonyDriver.Installthisto

PartitioningtheSDCardusing
ADB

remedytheproblemhttp://support.microsoft.com/kb/2917929
OSXdoesn'twork,butyoucanrunXPinaVM.
IFYOUHAVEQUESTIONS

Playground
Reportingproblems
WhatisART?

GototherightQ&Athread:
LX11.0:http://forum.xdadevelopers.com/showthread.php?t=2543426
LX10.2:http://forum.xdadevelopers.com/showthread.php?t=2466097
LX10.1:http://forum.xdadevelopers.com/showthread.php?t=2464859

Clonethiswikilocally
https://github.com/LegacyXperia/Wiki.wiki.git

CloneinDesktop
NEVERASKFORHELPONDEVTHREADS

BeforeyouStart:ChecktheBasics
CanyouinstallLegacyXperia(LX)onyourphone?
Onlyifyouhaveoneofthefollowingphones:
XperiaActive[Satsuma]
XperiaArc[Anzu]
XperiaArcS[Ayame,butusesAnzu'sfiles]
XperiaMini[Smultron]
XperiaMiniPro[Mango]
XperiaNeo[Hallon]
XperiaNeoL[Phoenix]
XperiaNeoV[Haida]
XperiaPlay[Zeus]
XperiaPro[Iyokan]
XperiaRay[Urushi]
LivewithWalkman[Coconut]
Ifyourphoneisnotonthelist,youcanNOTinstallLX.
Rememberthe[codename]foryourphone!

DoyouWANTtoinstallLX?
Ifyouvaluetroublefreereliabilityovereverythingelse,betterstaywithstockAndroid.

IfyouwantthelatestAndroid,morecontroloveryourphone,andyouarewillingtotinker
withyourphoneandlivewithsomebugs,tryLX.Youcanalwaysgobacktostockifyou
don'tlikeit.

Outline:theMajorSteps
1. Unlockthebootloader
(thisgivesyoumorebootoptionsthan"loadAndroid",forexample,boottofastboot
modeorrecovery.ThisisliketheWindowsF8bootmenu)
2. InstalltheAndroidSDKonyourPC
(thisgivesyoutherequireddriversandtoolstotalktoyourphoneviaUSB,onalow
level)
3. InstallanLXkernel
(thisisrequiredforLXAndroid.ItalsoprovidesaRecoverykernel,whichletsyoudo
lowleveladminonthephone)
4. InstallanLXAndroidROM
(thisistheactualAndroidsystemrunningontopoftheLinuxkernel.ROMbasically
means"Androidsystemimage")
INFOWhataboutRoot?
Rootingmakesyouanadministrator,soyoucando/damageanything.
TheLXRomisalreadyrootedyouneverneedtorootthephoneyourself.

OtherInstallationGuides
Ifyourunintoproblems,youcantry
CyanogenMod:http://wiki.cyanogenmod.org/w/Devices
Mike'spost:http://forum.xdadevelopers.com/showthread.php?t=2545359&page=2

UnlocktheBootloader,InstallSDK
rememberthe"fastbootbutton":ifyouhaveaphysicalMenubutton,thatisthe
fastbootbuttonotherwiseitisVolumeUp.
followtheSonyunlockguide:http://unlockbootloader.sonymobile.com/unlockingboot
loader
INFO
DuringtheSonyguide,youinstalltheAndroidSDK.Thisgivesyoutheadband
fastboottools,and(hopefully)installstherequiredadbandfastbootdrivers.
Nowyouhavelowlevelaccesstoyourphone,andyoucanalsousetheSDKtowrite
Androidapps.IfyouknowJava,checktheexamplesit'squiteeasytodoaHello
World.

Chooseyourweapon
LX11.0basedonCM11.0basedonAOSP4.4(KitKat)
LX10.2basedonCM10.2basedonAOSP4.3(Jellybean)
LX10.1basedonCM10.1basedonAOSP4.2(Jellybean)
commingsoon
LX12.xbasedonCM12.xbasedonAOSP5.x(Lollipop)
Youcancheckthe"Working/NotWorking"listsontheLXprojectpage:
http://legacyxperia.github.io
LX12.xhasbignewfeaturesandalotofchangeseveryday,butstillhassomeproblems.
Atthecurrentstageitisonlyrecomendedforexperiencedusers.

LX11istherecomendedversiontoinstall.
LX10.2isnolongersupported.
LX10.1isnolongersupported.Itmaybeslightlymorereliableorfasterthan10.2,for
somepeople.
Ifyou'renotsure,startwith11.
INFO
AOSPistheofficialGoogleAndroid("AndroidOpenSourceProject")thatrunson
Nexusphones.
CM(www.CyanogenMod.org)buildsontopofAOSP,addsfeaturesandsupports
morephones.
LXbuildsontopofCM,tosupportthe2011Xperias(CMsupportforourphones
endswithv4.1).

DownloadtheROM
1. GototheLXProjectpage:http://legacyxperia.github.io
2. Clickingon"Downloads"willtakeyoutotheBasketBuilddownloadpage
3. Clickonyourphone'scodename
4. ChooseanAndroidversion
5. PickthenewestbuildforyourdesiredAndroidversion.Nightlies/Releasedoesn't
reallymakesensetoday.Gotothenewerone.Thedateiswithinthefile'sname.
6. CHECKTHESIZEOFTHEFILE!Ifthefileissmallerthentheolderbuilds,theupload
isnotfinished.Waituntilthefilesizedoesnotchangebeforeyoudownload!
7. OpentheROM.zipandextractthekernel(boot.img)toyourPC
8. DownloadtheGoogleApps,alsoknowasGApps(thisisGoogleappslikethePlay
store).
ForCM10.1andCM10.2:TherespectiveGAppsfileshavebeenaddedtothe
BasketBuilddownloadpageandcanbefoundinsidethegappsfolder.
ForCM11:GetGAppsMinimal.ThisisaliteversionbecausethefullGApps
packagedoesnotfitonourphones.YoucaninstallmissingappslikeGmaillater
fromthePlaystore.DownloadfromXDADevelopers
9. CopytheROM.zipandtheGApps.ziptotherootdirectoryofyourSDcard

SaveallyourData
Assumethatthefollowingstepswillresetyourphonetofactorystate,includingthe
SDcardifthingsgowrong.
Saveeverythingyouwillstillneed,likepictures,localcontactsandlocaldocuments.
Tostoreappsettingslikegameprogress,useabackuptool.TitaniumBackupisanXDA
favorite.
Personally,Idon'tdothat.Iliketostartfromscratch,andinstalleverythingfromthePlay
storemydataisonDropboxandGoogle.

KitKat:ResettheInternalStoragePartitions
ThisstepisonlyneededwhenyouflashKitKatforthefirsttime.
FollowtheseinstructionsHowtoGoBacktoStocktoinstallastockICS.587imageon
yourphone.

InstalltheLXKernel
1. MakesureAndroid/USBDebuggingisenabled
2. Connectthephoneinfastbootmode
i. Shutdownthephone

ii. Pressandholdthefastbootbutton(MenuorVolUp)
iii. ConnectUSB
iv. Releasethefastbootbutton
v. ThestatusLEDshouldturnblue.Ifnot,tryagain.
3. Findfastboot.exeonyourPC(...\AndroidSDK\platformtools)
4. Openacommandpromptasanadministratorandnavigatetoyourfastboot.exe
directoryusingcdcommand
5. Enterfastbootdevicestocheckiffastbootisworking.Thiscommandshouldprint
somethinglike:
123ABC456fastboot

Iftheresultisanemptyline,troubleshootfastboot.
6. Movethekernelyouextractedearliertothefastboot.exedirectory
7. Enterfastbootflashbootboot.img
Flashingthekerneltakesafewseconds.
8. Enterfastbootreboot
9. Whenthebootimageappears,pressVolDownorBackeverysecond.
TheLEDturnsblueandyouentertheCWMClockWorkModRecoverytool.
Ifthephoneisnotbootingatall
1. Reboottobootloaderagain
2. Enterfastbooterasesystem
3. Enterfastbooteraseuserdata
Thiswillerasealldataandsettings.

InstalltheLXROM
1. BootintotheRecoverytool
NavigatethemenuswithVolUp/Downtochoose,Hometoconfirm,Backtogo
back.
Ifthebuttonsdon'twork,tryMenuandPower.
2. OnlyifyouinstallKitKatforthefirsttime:
i. Gotomountsandstorage
ii. Format/system,then/data,then/cache
3. SelectWipeData/FactoryReset
Thiswilleraseallyourdata,appsandsettings.Usually,youonlyhavetodothat
whenyouswitchtootherROMswhenyouonlyinstallanewerbuildofthesame
ROM(likeLX11build5toLX11build7),onlydoafactoryresetwhenthedeveloper
saysso,orwhenyoudon'tcareaboutlosingdata.
4. FlashtheROM.zipthatyouhaveputonyourSDcardbefore
i. SelectInstall.zip
ii. SelectChoose.zipfrom/Storage/SDcard0
iii. SelecttheROM.zip("cm1120140101...zip")
5. RepeatthelaststeptoflashtheGApps.zip
FlashingGAppsisoptionalitisrequiredforthePlaystore.
6. ReturntothemainmenuandRebootsystemnow

BasicSetup
Ifthebrightnessistoolow:gotoSettings>Display&Lights>Brightness
anddisableautobrightnessoradjusthowtheautomaticbrightnessworks.
ShowDeveloperandPerformancesettings:
GotoSettings>AboutphoneandpressBuildnumberseventimes.
Giveroottoadb:Settings>Developeroptions>Rootaccess:appsandadb
ThisletsyouaccessthesystemfromyourPC

2015GitHub,Inc. Terms Privacy Security Contact

Status API Training Shop Blog About