How do I backup and restore a Moto X to a replacement Moto X? (Apps, icons, and SMS)
Your best bet would probably be to backup using adb backup and restore it to the new device. The command you would use is:


  adb backup -all -f C:\backup.ab
  
  Or substitute the path of your choice in place of C:.


The full process and entire list of options (which you could use to backup and restore specific apps and settings, like your homescreen) can be found here.