already i did it,
i didi all modification on rom, then created an image from my phone.
su
make_ext4fs -s -l 1500M -a system /sdcard/system.img /system
1500MB is for S4mini 9192
i installed system.img alone from odin, shall i install all images at the same time? (e.g. kernel, recovery, modem...