just flashed my Xperia Z2.
First unlocked, then flashed boot.img, then installed cyanogenmod and gapps.
Now the phone restarts but stays an boot screen. Since about 10 minutes.
I'm afraid of having an empty accu in the end.
What to do?
You probably forgot to wipe your data and cache before you installed Cyanogenmod.
I went through this same thing and even though I remembered to wipe data and cache before I installed Cyanogenmod, I didn't notice that during the wipe, CWM gave me an error mounting /data
What I had to end up doing to fix it all was:
1. FTF flash the original D6502 ROM to my device again.
2. Flash the boot.img for CWM.
3. Boot into CWM.
4. Wipe data and cache. (This time it worked no problem.)
5. Install Cyanogenmod
6. Install Gapps
8. Enjoy the device.
See here: http://forum.xda-developers.com/show....php?t=2759934
You have to do this to recover from when you turn your phone into a brick.
EDIT: Oops, I just noticed I made a mistake up there. I actually flashed the D6503. NOT THE D6502. I have a D6503 device.