Theo <
theom...@chiark.greenend.org.uk> wrote
> In a Windows analogy the GSI is the Windows DVD from Microsoft and the VNDK
> is the CD of drivers that comes with your motherboard.
This VNDK stuff is confusing to me, but mainly because I never heard of it
until this thread, so I don't have _any_ background whatsoever on it.
But I'm always trying to figure out how "Android hardware" updates itself.
So it's important for me to figure out how this VNDK stuff updates itself.
Thanks for that analogy, which I'll go with for now that the GSI is the
generic system image (which every phone hardware must be able to run) and
then the VNDK "system image" which is the OEM's driver-like-stuff.
I think there's a chance that the VNDK is universal though - as it might be
more what the vendor is "allowed to play with" as the GSI is inviolate.
Thanks for that link, which says the alogorithm is this...
If BOARD_VNDK_VERSION is not equal to current, use BOARD_VNDK_VERSION.
If BOARD_VNDK_VERSION is equal to current:
If PLATFORM_VERSION_CODENAME is REL, use PLATFORM_SDK_VERSION (e.g. 28).
Otherwise, use PLATFORM_VERSION_CODENAME (e.g. P).
It appears to be "either" the board version or SDK version from that, which
is very confusing because the board version is hard coded (isn't it?) and
the SDK version is not hard coded (right?).
So if the VNDK version is the board version, it won't change, right?
If the VNDK version can take the SDK version, it can change, right?
That's confusing to me but maybe I'm mis-interpreting the algorithm?
> I'd guess your phone was originally released with 12 and Samsung have
> shipped an upgrade to 13, but not upgraded the VNDK.
This is close. The Samsung A32-5G (SM-A326U) shipped in January 2021 with
Android 11 but it was upgraded to 12 and then 13 (mine was given to me for
free from T-Mobile so the carrier bloatware is theirs but I don't think the
carrier can have any effect on the VNDK version, can it?).
> The Pixel 4s and 5s use Qualcomm SoCs while the Galaxy A32 5G uses a
> MediaTek MT6853 SoC; MTK are notorious for not providing updates. It seems
> possible that Samsung have just upgraded the Android OS after Mediatek
> didn't ship a new VNDK.
I fully believe everything you said, which is that MediaTek needs to supply
the VNDK update from VNDK 31 to 33 or 34 while Samsung provided the Android
OS updates from Android 11 to 12 to 13 (meanwhile Google supplied the
Mainline updates to September 2023).
One thing about Android is that I do NOT understand _how_ it updates.
This VNDK stuff was new to me this week - but you helped me a bit.
Thanks for trying to help me understand VNDK updates - much appreciated.
I'm still not sure if the VNDK is hard coded or if it can be changed,
but if we look at a few phones before/after an update, we can tell.