Installing CyanogenMod On Android
Installing CyanogenMod On Android
InstallCMfornozomi
FromCyanogenMod ThisguidewillwalkyouthroughtheprocessoftakingtheXperiaSfromstocktohavingacustom recoveryimageandtheabilitytoflashthelatestversionofCyanogenMod.
Note:DISCLAIMER
Modifyingorreplacingyourdevice'ssoftwaremayvoidyourdevice'swarranty, leadtodataloss,hairloss,financialloss,privacyloss,securitybreaches,or otherdamage,andthereforemustbedoneentirelyatyourownrisk.Noone affiliatedwiththeCyanogenModprojectisresponsibleforyouractions.Good luck.
Contents
1UnlockyourXperiaS 1.1Whatdoes"unlocking"mean? 1.1.1InstalltheAndroidSDK 1.1.2ObtainingtheBootloaderUnlockCode 2InstallingCyanogenModonSonyDevices
UnlockyourXperiaS
Whatdoes"unlocking"mean?
ThefirststepinputtinganycustomoperatingsystemonyourXperiaSistounlockthebootloader. Abootloaderistheveryfirstprogramthatrunswhenyouturnonyourdevice.Thebootloader initializessomehardwareandthenloadsthekernelandramdisk,andgetsthebootprocessgoing. Ifthebootloaderisinlockedmode,itwillensurethatonlythestockoperatingsystemcanrun. Sinceyouwillbeinstallingyourownoperatingsystem(CyanogenMod),youneedtoturnthisoff.
wiki.cyanogenmod.org/w/Install_CM_for_nozomi
1/4
5/3/13
Note:
UnlockingthebootloaderonaSonydevicemayautomaticallywipeinternalstoragea backupofthesdcardissuggested. InordertounlockthebootloaderonyourXperiaSyouwillneedtoobtainacodefromSony.The followingprocesswillhelpyouacquirethiscodesothatyoucanflashacustomrecovery. 1. OpenthePhoneapplicationontheXperiaSandenter* # 0 6 # toobtainthedevice'sIMEI. Savethisforlateruse. 2. Putthedeviceintofastbootmode: HoldVolumeUp 3. OpenaterminalonthePCandenterf a s t b o o ti0 x 0 f c eg e t v a rv e r s i o n Ifyoureceivethemessage<waitingfordevice>fastbootisnotconfiguredproperly, pleaseseefastbootformoredetails. 4. Navigateabrowserhere(http://unlockbootloader.sonyericsson.com/instructions) Clickthe'continue'buttonatthebottomofthepage. Agreetothe'AreYouSure'and'LegalTerms'promptstocontinue. Enterthefirst14digitsofyourIMEIfromStep1,enteranameandanemailaddress. Theunlockcodeshouldnowappear,writethisdownforthenextstep. 5. InthePC'sterminal,enterthefollowingcommand:f a s t b o o ti0 x 0 f c eo e mu n l o c k0 x K E Y KEYcorrespondstotheunlockcodeyouweregiven. TheXperiaS'sbootloadershouldnowbeunlocked.
wiki.cyanogenmod.org/w/Install_CM_for_nozomi
2/4
5/3/13
InstallingCyanogenModonSonyDevices
Note:
SomedevicesdonothaveremovableSDcards.Regardless,thereshouldstillbea partitiononthedevicenamed"/ s d c a r d "thatcanbeusedforflashingpurposes,even thoughthecontentsof/ s d c a r d mayactuallybeininternalstorage. 1. Downloadtheprebuiltrelease(http://get.cm/?device=nozomi)ofCyanogenModyouwishto install.(Orifyou'vebuiltCMyourself,lookinthe$ O U T directoryforthe. z i p .) Optional:Downloadanysupplemental3rdpartyapplicationspackagesforthedevice youwishtouse.(Youhavetoinstalla3rdpartyapptogettheGoogleapps,likeGmail, PlayStore,andYoutube.) 2. PlacetheCyanogenModrom. z i p fileontherootoftheSDcard. Optional:Placeanysupplementalpackages'. z i p fileontherootoftheSDcard. 3. Extracttheboot.imgfromthezip,youwillneedthisfileforfastboot. 4. Putthephoneintofastbootmode: HoldVolumeUp 5. OpenaterminalonthePCandenterthefollowing:
f a s t b o o ti0 x f c ef l a s hb o o tb o o t . i m g f a s t b o o ti0 x f c er e b o o t
Whilethedevicereboots,presstheVolumerockersafewtimestoloadrecovery. 6. OncethedevicebootsintotheClockworkModRecovery,usethephysicalvolumebuttonsto moveupanddown.Onmostdevices,thepowerbuttonisusedtoconfirmyourselection, althoughforsomedevicesthepowerbuttonisusedasa"back"buttontogouponelevel,in whichcasethehomebuttonisusedtoconfirmtheselection. Optional/Recommended:Selectbackupandrestoretocreateabackupofthecurrent installationontheXperiaS. 7. Selecttheoptiontowipedata/factoryreset. 8. SelectInstallzipfromsdcard. 9. SelectChoosezipfromsdcard. 10. SelecttheCyanogenModfileyouplacedonthesdcard.Youwillthenneedtothenconfirm thatyoudowishtoflashthisfile. Optional:Installanyadditionalpackagesyouwishusingthesamemethod. 11. Oncetheinstallationhasfinished,returnbacktothemainmenu,andselectthereboot
wiki.cyanogenmod.org/w/Install_CM_for_nozomi
3/4
5/3/13
systemnowoption.TheXperiaSshouldnowbootintoCyanogenMod.
Note:
On2011models,thekernelwillnotupdatewhenflashedinrecovery,sothekernel mustbereflashedviafastboot.
HelpfulTip
Seesomethingwrongonthispage?Reportithere. Retrievedfrom"http://wiki.cyanogenmod.org/index.php?title=Install_CM_for_nozomi&oldid=3812" Thispagewaslastmodifiedon5January2013,at09:28. Thispagehasbeenaccessed12,746times.
wiki.cyanogenmod.org/w/Install_CM_for_nozomi
4/4