this thread here shows the most:
You have to know, that you need the extracted system.img as the system folder in your update.zip.
Then you need the boot.img unextracted.
This is a all easy. A bit complicated is the meta-inf folder.
I've used this folder from other aosp roms.
I have to learn that now, too.
Sent from my IPhone 7s
Recognized Developer "OFF-Duty" Temporarily in Retirement
Dev of FormelsMIUI Mod on Nexus One
Dev of KelLMSKing MIUI Mod on Nexus S
Themes for HTC Hero, Nexus One, Incredible S a.s.o.