If you boot the sgs2 into recovery mode and adb shell into the phone, then you can see the files show up as being owned by the user that did the build rather than by root.
Using CONFIG_INITRAMFS_ROOT_UID=squash and CONFIG_INITRAMFS_ROOT_GID=squash will make the files be owned by root.
If you boot the sgs2 into recovery mode and adb shell into the phone, then you can see the files show up as being owned by the user that did the build rather than by root.
Using CONFIG_INITRAMFS_ROOT_UID=squash and CONFIG_INITRAMFS_ROOT_GID=squash will make the files be owned by root.