Sorry for bad focus in writing, it was 5am+ and I was very desperate...
I had unlocked the bootloader without first doing a backup, thus the unlocking process wiped my data.
I had it unlocked so that I could flash twrp and root, which I then succeeded in doing so.
Now, I hope to recover the wiped data. As Moto X only has internal storage, I can't mount it as a drive in windows and do recovery that way.
The thread I found had a particular method of imaging the whole internal storage so that recovery could be done by loading the image in windows.
But by using that method, I can't get adb (of cygwin) to connect to my phone properly. It lists the phone but says device is offline.
Does anyone know how I can get adb (cygwin) to connect to my phone properly?
Or is there another method of recovering wiped data in internal storage?
Thanks for any help!