I got the following msm kernel branch for my Nexus 7(flo)
added some files and then built an image(zImage). I then downloaded a factory image of Nexus 7 for JB - 4.3 (JSS15R) [This said razor which I dunno why. I thought it was flo]
Anyway I took the factory image. Split the boot.img file into the ramdisk.gz and zImage. Then I got the zImage from the kernel I build and replaced it with the zImage from the factory image. The I combined the zImage and ramdsik.gz to create the boot.img and tried to flash it. But the device goes into a bootloop.
The zImage works when I build android 4.3-JB from source. But aosp seems to miss some packages I need.
I wanted to know what I'm doing wrong and why android goes into a bootloop when I combine it with the factory image