Refactored code
Tweaking partition alignment
Added script to copy SD Card image on a real device