for us here who uses root,custom roms etc
don't click the notification of software update after reset, so it will not result in modified.
after that if anyone here is like me who backs up using titanium backup, if you install titanium backup immediately then when you use screen mirroring it won't work. even if you haven't restored any apps yet.
uninstall titanium backup app and screen mirroring will work again.