Saturday, March 5, 2016

Installing Cyanogenmod 13 Marshmallow On Xperia Arc (LT15i) and Arc S (LT18i)

Recently, Cyanogenmod released CM13 (Marshmallow) for 2011 Sony Xperia devices. The custom rom shared in this article is specifically meant for Xperia Arc and Arc S (anzu). The ROM is based on Android 6.0 Marshmallow. This rom has been tested to be fully working on Xperia Arc S (LT18i) by me. So far, it runs smoothly. The only bug in this ROM is with the Bluetooth. It sometimes refuse to enable.

Since the internal storage of this device is small, a fast SDcard is required to be used as the data partition. If you wish to install this rom on your device, read and follow the three easy steps below carefully.


  1. Cyanogenmod 13.0 for Arc and Arc S -  Download
  2. Recommended Gapps -  Download
  3. Adb/Fastboot package (Important)  -  Download - Mirror
  4. MiniTool Partition Wizard  -  Download
Note: LT15i (Arc) users need to flash LT18i (Arc S) ftf flash file (ICS 4.1.B.0.587).


Step One: Partitioning and Formatting sdcard to ext4 or F2FS
  1. Connect sdcard to PC via card reader or insert in your device and mount as mass storage
  2. Install and launch MiniTool Partition Wizard on pc
  3. From the listed drives, select your sdcard and click on Delete
  4. Now click on Create
  5. From the displayed New Partition Options, configure as below
  6.  - Create As: Primary
     - File System: Unformatted
  7. Leave every other option as is, then click Ok
  8. Now click on Apply, and select Yes from the popup.
  9. Wait for the process to complete.
  10. Done.
You can also watch this brief video guide on how to format your sdcard to F2FS for CM13 installation:

Step Two: Preparing To Flash CM13
  1. Extract the download fastboot/adb package to desktop. Should look like this C:\…\Desktop\adb
  2. Now, extract boot.img from CM13 rom package to the the adb folder on your desktop. That is: copy boot.img  to C:\…\Desktop\adb
  3. Rename the downloaded CM13 package to
  4. Rename also the download Gapps package to
  5. Renaming the downloaded packages helps you avoid making mistakes when typing the file names in cmd.
  6. Copy both files ( and to C:\…\Desktop\adb, or wherever you adb files are located.

Step Three (Final step): Flashing CM13
  1. Insert the formatted sdcard to your device and power off
  2. Connect to PC in fastboot mode (hold menu button and connect USB cable)
  3. Launch cmd from your fastboot/adb folder (Hold Shift button while right-clicking on the adb/fastboot folder, then select Open Command Window here)
  4. Type in these commands:

  5. fastboot flash boot boot.img
    fastboot reboot
  6. While the device is booting up, disconnect from pc and press the Volume down button repeatedly to boot into recovery mode.
  7. Once in recovery, perform the following
  8. - Factory reset > full factory reset
    - Wipe cache
    - Advanced > wipe system partition
  9. Now select Apply Update > Apply from ADB
  10. Connect the device back to PC via USB cable and type the following commands:
  11. adb sideload

    Wait for the loading process to complete. If it stops at 47% don’t panic, just go ahead with the remaining step.
    adb sideload

  12. Once this completes loading, disconnect from PC and reboot device to system.
  13. Done.

See some of my screenshots below…


Write replies
  1. This comment has been removed by the author.

  2. I've already have CM11 installed on my LT18i, but want to install this one.
    I tried to find 64-bit USB driver for LT18i it, but I couldn't find one. I then installed Sony PC Companion, but it would not recognize the phone. I installed Google USB driver from Android Sdk.
    I entered the fastboot mode on my phone and blue LED was lighting. When entering the commands, it always gets stuck on:
    . I'm using Windows 10.
    What am I doing wrong?

    1. Where do you get stuck? Like the command or error response you get.

    2. Google USB Driver should fix the driver problem if it's actually driver related.

      But then, just tell me the exact response you get from fastboot so I can know how to assist you fix it.

  3. c:\Users\...\Desktop\adb>fastboot flash boot boot.img
    < waiting for any devices >

    c:\Users\...\Desktop\adb> adb devices
    List of devices attached

    c:\Users\...\Desktop\adb> fastboot devices


    1. In the device manager:
      > Other devices
      S1Boot Fastboot

    2. It's driver related.

      Download Xperia USB Driver Pack here, run and install the drivers. When you arrive where you have to select the drivers to install, select flashtool, fastboot, and Sony Xperia Arc/Arc S.

      Once installation is complete, reboot PC. Connect your device once the pc is fully booted and allow your device driver to install properly.

      Now you can start running the commands.

      Note: It is recommended that you use the fastboot/adb package provided in this article to flash cm13 on your device. This is because using any adb version lower than 1.0.32 will result in errors.

  4. It worked! Just that you had to repeat the Apply update -> Update from ADB for the, too.
    Thank you !!!

    1. Well, good to know you finally got it to work. Let me know if there's any other thing I can help you with.

  5. What am i missing here?

    After i type "Fastboot reboot", wipe partition etc.
    In step 8, i got result "Error: device not found"

    1. You got that error because you skipped 7:

      Now select Apply Update > Apply from ADB

      After completing that step, you can then sideload the rom and gapps.

    2. No i'm not skipped it.
      I've completed step 1 to 7, without problems.
      But in step 8, when i plugged my phone in pc (yes, with Apply from ADB in my cyanogenmod recovery active) then type the command, the result is : "Error: device not found".

      I don't think its because driver problems, bcoz when i flash the boot.img , and do fastboot reboot, my phone interact as it should be.

    3. Vashta, I think you should consider reinstalling the drivers. Use this.

      Besides, what version of Windows is your computer running?

  6. Hello!!. I followed every single step and got everything right but I get stuck with a boot loop. Any ideas for the cause of this.
    Thank you!

  7. Hello!!. I followed every single step and got everything right but I get stuck with a boot loop. Any ideas for the cause of this.
    Thank you!

  8. Hi Tejala!

    It seems you would have to flash stock ICS 4.1.B.0.587 firmware on your device. That is, if actually you followed the steps above accurately and carefully before your device got stuck in a boot loop.

    1. I flashed lt18i ftf on my lt15i as mentioned in the instructions. Could it be something wrong with SD card?. Its a class 10 32gb sd card but I bought it from eBay and its unbranded.
      Thanks a lot!!

    2. A class 10 sdcard should run this CM13 ROM perfectly on your device. If you suspect this issue to be from the sd, try installing the firmware using a different sdcard.

      The ROM cannot load properly if the data files are fully installed. I think that's why the decive is stuck in a bootloop. Try a different sdcard, then let me know if it works!

  9. hi, I've successfully installed CM13 as your instruction above, but after installation, the play store and play services stopped working. do you have any idea how to fix it?

  10. Reset the device. If resetting doesn't fix it, flash gapps again.

  11. hi, Ibeen stock in Apply Update > Apply from ADB after this I can not conect the phone with PC for instaling the update zip where am doing wrong

    1. What error message do you see?

    2. its says cannot read
      and I cant do the last step to install

    3. its says can not read update zip
      in the comand window

    4. Are you sure the file you downloaded is not broken? I think you should redownload the file.

    5. I thing that the files are ok give me link where I can downloaded again but I thing that its ok the file

    6. Download from the link in this post- above.

  12. Replies
    1. For me to assist you properly, you need to clearly explain how you came about that error response.

      Which of the steps did you encounter that?


    3. Hi Ramce! I think there's a problem with your Adb/fastboot. Follow this link to install adb systemwide on your laptop.

      Then download the fastboot package I shared in this guide and run the commands from the directory you placed the package.

      Sorry for my late reply!

  13. download link not working

    Not Found

    The requested URL /1Xsal6 was not found on this server.
    Apache/2.2.3 (Red Hat) Server at Port 80

  14. Recommended gapps link is not found. Can you please help. Thank you

  15. Sorry about the broken link. Links updated!

  16. hi I have a problem
    when I try to update I get an error message that says cannot read

    1. Are you certain that the rom zip package downloaded properly without breaking?

  17. Hi, first thanks for such a clear post!
    Unfortunately CM13 is slow and if I install GAPPS on top of CM13 phone is extremley slow, to the point where I need to wait a whole minute sometimes more to make a call.

    Question is is there a way to downgrade?


    1. Yes!

      You can easily downgrade to any other Rom of your choice. But first, backup the data on your sdcard- if you have important files in it.

      Download the rom you wish to flash or downgrade to, extract the boot.img and flash via fastboot. Wipe cache, data, and dalvik. Then flash the rom. Your device should boot just fine to the new rom.

      Thanks for the compliment. Let me know if there's anything else I can help you with.

  18. Hello, I'm willing to try your tutorial, but before I want to ask if its updated and most important how can I backup my Arc (not Arc S) DRM keys (TA partition) before unlocking the bootloader?

    1. Follow this guide on xda-developers forum to backup your TA Partition.

  19. I found that when I searched but it says its for "Sony Xperia" and
    all Sony Ericsson Xperia models are not supported.

  20. I tried and "No compatible TA partition found on your device" I guess its not supported as I mentioned above. Any idea?

    1. The TA Partition backup tool doesn't seem to work on Sony Ericsson Xperia devices, but Sony Xperia.

      So the tool won't work on your Xperia Arc. I also doubt the availability of an alternative backup method / tool.

  21. OK thanx I unlocked it anyway. Now I'm on the final step! On Step Three (Final step): Flashing CM13, i'm on step 7 "select Apply Update > Apply from ADB", when I connect the device again there is no cmd window to type the final commands. What did I wrong?

  22. OK done, I restarted cmd. Both update and gapps stopped at 47% but I proceeded. Thanx for the tutorial. Now if I want to update the rom or try another, should I just go to Step Three (Final step)? How about changing only kernel?

    1. Yeah! You will have to change kernel too. The kernel used here is only compatible with Cyanogenmod 13 or 6.0 ROMs.

  23. Hello, I followed up your instructions but I am stuck after 'adb sideload' command. It stops on 47%. What should I do?

    Thanks in advance!

    1. Might be because i have my sdcard partition in ext4 format instead of unformatted?

    2. If you read and followed all the instructions correctly, you could've noticed this line...

      Wait for the loading process to complete. If it stops at 47% don’t panic, just go ahead with the remaining step.


    3. Dammit, I'm sorry.
      Thank you for the fast response!

      I didn't scroll down to see it and didn't notice when scrolling through comments. Gonna try it tomorrow because 5am isn't really helping me with this hah.

      Thanks again and sorry to bother ya!

    4. Hey, no problems bro. Just get it to work! :)

    5. Hey that's me again.

      So I did what you said. When it got stuck on 47% at i closed CMD and sideloaded ( got stuck on 47% on CMD and on the phone screen aka it did not complete but got stuck on 47% but finished and went back to recovery).

      Then I disconnected my phone from the PC and rebooted. Although now I'm stuck with LegacyXperia logo showing all the time (some kind of a boot loop?)

      I must say I didn't follow this step "Note: LT15i (Arc) users need to flash LT18i (Arc S) ftf flash file (ICS 4.1.B.0.587)." simply because it's quite impossible (at least I think so) to flash LT18i ftf on LT15i. I tried and got system.sin error. Can you please tell me how to do it?

      Thanks again.

    6. Flash all partitions listed in flashtool except system.sin. Now extract system.sin from the ftf firmware using 7zip.

      Flash it via fastboot, then continue with the steps here.

  24. This comment has been removed by the author.


If your comment is unrelated to this article, post the problem, request or suggestion here instead.