Hi,
Warning: Pure cosmetic detail inside!
In Flame's v18D base image, FOTA animation assets are FWVGA-sized.
In Flame's v18D_nightly_v{4|5} base image, FOTA animation assets are 320x480 pixels in size.
v18D base image was built by T²Mobile.
v18D_nightly_v{4|5} base image was built by Mozilla.
FOTA animation assets come from platform_bootable_recovery repository [1]. Well, not exactly, in fact ;-) Per bug #803549 [2], it was decided to symlink FOTA assets there to librecovery repository [3] one's.
Original 320x480 pixels artwork was pushed in librecovery repository in commit e1bd900 [4] four years ago. Nothing's changed since then. All private builds of B2G OS devices relying upon librecovery will thus end up with 320x480 pixels assets.
Question is thus: What's a clean way to embed high-res FOTA assets in private builds? For example for Flame device, does it mean that T²Mobile forked librecovery repository, replacing the original 320x480 pixels artwork with FWVGA one? Isn't there a less invasive way to do this, maybe using some magic in each device repository? Using the TARGET_RECOVERY_UI_LIB thing?
The only device that seems to play with FOTA assets is unagi [5]. But its BoardConfig.mk doesn't enable librecovery build, so unagi seems to rely on its own librecovery fork. Looking at bug #803549 again, it appears that unagi device was ready before librecovery landed. unagi configuration should have been updated following the landing of librecovery [6], but this wasn't the case in the end.
So, the question is still open ;-)
Émeric
[1]
https://github.com/mozilla-b2g/platform_bootable_recovery
[2]
https://bugzilla.mozilla.org/show_bug.cgi?id=803549
[3]
https://github.com/mozilla-b2g/librecovery
[4]
https://github.com/mozilla-b2g/librecovery/commit/e1bd90051c9e937221eb1f91c94e3cde747311a7
[5]
https://github.com/mozilla-b2g/android-device-unagi
[6]
https://bugzilla.mozilla.org/show_bug.cgi?id=803549#c20