How to perfectly install Android 6.0 Marshmallow on Xperia S (LT26i)

Installing Android Marshmallow on Xperia S is a little bit complicated if you do not have basic knowledge of CMD (Command prompt) commands. But not to worry, I’m right here to help you with that.

After installing the rom on my Xperia S, it run pretty smooth. So, feel free to try it out, if you want to.

REQUIREMENTS

  1. PC
  2. Rooted Xperia S
  3. TWRP recovery installed
  4. Fastboot / ADB folder
  5. Pure AOSP Marshmallow rom [Download]
  6. (Optional) Stock ftf firmware [Download]  (if you want to revert to stock rom

 

Also read Installing TWRP 3.0.0 on Sony Xperia S LT26i (nozomi) and MIUI 7 for Sony Xperia S (Lt26i)

 

FULL INSTALLATION GUIDE

Note: Before you go about installing any custom rom to your device, you should consider making a backup of your current rom just in case you mess something up. Make a backup of your SDcard content too.

Read how to flash nAOSP Lollipop (5.0, 5.1) Rom On Xperia S LT26i

Disclaimer: your use of this guide is strictly at your own risk just in case something goes wrong and your device gets damaged. I or Leakite will not be held responsible, but you.

Step One: Reboot your device to TWRP recovery

Step Two: Go to Mount and uncheck all the checked options

Read how to flash OneOfaKind lightweight Marshmallow rom on Xperia S

Step Three: Connect the device to PC using a USB cable, then launch CMD from your ADB / Fastboot directory

Step Four: Type in the following commands

adb shell 

fdisk /dev/block/mmcblk0 

p


 
d
15
d
14



n

(First cylinder) -> You have to enter the start cylinder of partition 14 as read in partition table earlier.

(Last cylinder) -> Here, check the end cylinder of partition 15. Mine was 954240. The subtraction then looked like this: 954240-16384= 954238. So, I entered 937856 here.

p

w



exit

adb push pure_aosp_marshmallow_r1.zip /tmp/

 

Note:pure_aosp_marshmallow_r1.zip’ should be the name of your downloaded Marshmallow rom. If you renamed it, effect the change in the command above before you hit Enter button.

Now, we’re done with the hard part. Let’s go ahead and install the rom now.

To install, select the Install option in TWRP recovery to commence the installation. Once done, reboot device to system.

First boot takes a while, so be patient and wait for it.

 

IMPORTANT: To revert all the changes made to your device’s partition, you will have to flash a stock ftf firmware. After flashing, if you’re still unable to mount your sdcard, go to Settings > storage and format the sdcard. This will fix it.

To go back to previous rom, just restore the backup you made previously.

That’s all!

See screenshots below:

44 Comments

  1. Raghav March 27, 2017
    • Leakite March 28, 2017
  2. majid February 17, 2017
  3. SD January 19, 2017
    • Leakite January 20, 2017
      • SD January 20, 2017
        • Leakite January 22, 2017
  4. Collins Edim November 9, 2016
  5. lmeen Qadeer Matalam November 9, 2016
  6. Arunkumar Gunasekar August 17, 2016
  7. Arunkumar Gunasekar August 17, 2016
  8. Collins Edim August 14, 2016
  9. Arunkumar Gunasekar August 14, 2016
  10. Collins Edim August 13, 2016
  11. Arunkumar Gunasekar August 13, 2016
  12. Collins Edim July 14, 2016
  13. harikesh subramanian July 14, 2016
  14. Collins Edim June 20, 2016
  15. Anonymous June 19, 2016
  16. Collins Edim May 23, 2016
  17. karthik reddy May 21, 2016
  18. Collins Edim May 20, 2016
  19. karthik reddy May 20, 2016
  20. Collins Edim March 28, 2016
  21. Maak Kaam March 27, 2016
  22. Collins Edim March 26, 2016
  23. Maak Kaam March 25, 2016
  24. Collins Edim March 23, 2016
  25. Maak Kaam March 23, 2016
  26. Collins Edim March 14, 2016
  27. Maak Kaam March 14, 2016
  28. Collins Edim March 13, 2016
  29. Maak Kaam March 13, 2016
  30. Collins Edim March 13, 2016
  31. Maak Kaam March 13, 2016
  32. Collins Edim March 13, 2016
  33. Collins Edim March 13, 2016
  34. Maak Kaam March 13, 2016
  35. Collins Edim March 12, 2016
  36. Maak Kaam March 10, 2016
  37. Collins Edim February 10, 2016
  38. Marvellous Matthew February 10, 2016
  39. Edmar Tadeu Simon January 30, 2016

Leave a Reply