Managed to figure out. Finally Yoga is booting up again.
Sharing here hope can help someone else.
What I can find on internet is only QSB. Need to convert them into image files..
However the perl file won't work straight, just change to
seek(INF, DATA_START, 0) or die "Could not seek in $IMAGE_FN: $!\n";
seek(INF, 0, 0) or die "Could not seek in $IMAGE_FN: $!\n";
So you will have the image file now use adb
adb push system.img /sdcard/
dd if=/sdcard/system.img of=/your/system/partition
If you cant access adb, use CWM recovery