[Sony Xperia M] Godlydevils:
Guys here's how I installed my rom

and it works perfectly as of now

if you're from any 6.0 version & is working then format your sd card as portable and make sure to copy all flashable zips into sd card so that it can work & can get detected to use with the new rom, else you might have to format again and copy again if it was adopted

1. flash stock rom i.e. 4.3 using flashtool

2. start ur mobile, just do next, accept, done and all, after that enable unknown source from security and enable usb debugging, poweroff

3. obtain latest twrp

https://cucumber.fnya.ru/TWRP/twrp-01-28-16.img

fotakernel(normally flashing this zip won't work on cm recover so just extract and copy the "FOTAKernel.img" to your sd card's root directory)

https://cucumber.fnya.ru/TWRP/twrp-01-28-16.zip

flash that twrp using flashtool fastboot(voldown+connect usb)

4. obtain latest nightliy

http://download.cyanogenmod.org/?device=nicki&type=nightly

gapps

http://opengapps.org/

select arm->6.0->aroma and download (aroma has more size, but in that you can install only the selected apps, as well as you can remove bloatware like live wallpapers, and most of the things you do not use)

Obtain xposed from here(working for me, as on feb 03 rom)

http://xdaforums.com/showthread.php?t=3034811

(download the apk and xposed-v80-sdk23-arm.zip, in future if you're flashing for 6.0 then prefer the third one from last)

copy everything to sd card if you've formatted from previous 6.0 roms then you wont have to format again after first boot

insert sd -> boot to recovery(first time will show you black screen for few secs)

perform default clean format, then go to install, flash cm13 and then flash opengapps

in open gapps, untick load choice, tick exclude selected, and select the apps you don't want to install, after that you may select the stock apps you don't want to remove(you may keep them alongside), and on next screen select the stock apps you want to remove includes those live wallpapers, Most of people don't use FM radio so you can select that aswell, after installing tick reboot device now>next

reboot to device, first boot takes time, just make sure to enable unknown source & enable dev options, usb deugging if you need, enable terminal & root+adb from dev options

make sure you've got your sd in & detected, and it has fotakernel.img in it

you can install xposed app now if you want

(optional) obtain nui kernel from here if you're interested in overclocking

https://play.google.com/store/apps/d...com.nui.kernel

install and open the app, let it download the recent nuikernel.zip

open file manager

note down your path to sd card's root directory

something like /storage/AB12-34YX/

open terminal

enter these commands

su

dd if=<path-to*your-sd-card i.e. "/storage/AB12-34YZ" you noted from file manager>/FOTAKernel.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel

if successful, would say that it copied some data in just 3-4 lines, it's casesensitive and should be as it's written above

reboot to recovery

flash xposed zip from your sd card if you wanted to install it

flash nui kernel's zip if you wanted to overclock, it's there in root of internal storage

so now you have a latest working TWRP recovery that can flash any zips, will detect otg, and sd card

if you did not wanted to flash xposed/nui, just reboot to system

that's it, you can even format your sd card as internal, after it formats, it may crash/softreboot (idk if that's crash or reboot) but after reboot it works

for MTP, just connect your device to pc, select MTP, wait 10 secs, maybe your mobile may hide from exporer, then switch back to charging and then to MTP again quickly, and it will detect in MTP, wheather it's internal or portable storage

incase if you did installed xposed, then do make sure to intall

Xposed GEL Settings [ROOT] for removing the google search on swiping from left edge to right

NetworkSpeedIndicator if you want to see your download/upload speed

NetStrength if you want to see the signal strength in db, rather than those tower bars

20MP SuperiorAuto, although it's not made for our device, but I noticed quite better photos after installing and configuring this

IF YOU HAVE INSTALLED XPOSED, THEN DON'T FLASH/UPDATE THE CM13 ROM RELEASED THE NEXT DAY, AS THAT WILL SOFT BRICK YOUR DEVICE

applied only if you have xposed installed

also, please try to stay on one single rom/version, it's not necessary to flash new rom as soon as they are out, they do bring new features & bug fixes, but sometimes they do bring new bugs, after all it's nightly

everything works normally, no quicktiles bug, adopted storage works, just battery consumption is high when you switch to performance, but that's obvious

tried to explain everything in a noob's way

gj pecan & cm