I'm compiling AOSP jellybean (4.1.2_r2) build for my device (GT-i9070). I was able to boot it but i can notice that my data partition is only few MBs now (original size is 2GB). Rest of the partitions are ok. df command also shows 300 MB where as cat /proc/partitions shows size of mmcblk0p5 (mounted as /data) 2GB.
I also noticed one more thing that after every reboot, my data on /data is lost so every reboot is acting like a hard reset.
Any ideas?
Am i missing anything?