I am preparing a stock image for version 8901.2.A.0096.20191001 (September 2019, v. A.0096). I am following k4y0z instructions:
Right now I have generated sparse images and corresponding dat-files for the system partition (nothing is produced by img2sdat for the other partitions). The truth is that I don’t even understand what are and why dat-files are required, it was my impression that sparse images alone were enough…
So of course I could also mimic k4y0z’s images for META-INF/com/google/android/updater-script
, but I don’t know what to put in META-INF/com/android/metadata
. Some fields are obvious, but what should be written exactly in post-build
and post-build-incremental
? I assume the other fields can be taken to be the same as in the other images.
I suspect on the one hand that all this is intended for diff-images, but on the other hand my understanding was that k4y0z was publishing full stock images… the image I am preparing comes from the initial ROM of my FP3, that was even pre-ordered before it was on ther market, so it will probably be the eldest ROM available, and therefore a full stock image (not a patch).
Could someone clarify these missing elements so that I can finalize this image?