I installed Ubuntu alongside Windows (can be run also from trial mode directly from bootable USB or disc) and ran the scripts. I will write a tutorial about this. The correct partition size depends on the device being targeted (i.e. 512M, 768M or 1024M). Then it packs correctly for flashing.