I had the same problem with a Samsung Note II with custom bootloader. Using Philz y delete all partition with the option clean partition for new rom, then loaded latest samsung rom and format /data with the original recovery software several times. Finally I was able to recovery my cell and...