Commit Graph

8 Commits

Author SHA1 Message Date
Bruno Martins
583ba0b070 sdm845-common: Move back to TZ version assertions
Since Xiaomi stopped providing developer builds, this now looks
a more generic and at the same time accurate way of checking
if the needed firmware is installed in the target devices.

Change-Id: Ia057ae1a34746a5cc47bd29d1bac5fb7013a1004
2020-04-04 23:27:40 +02:00
palaych
aa4f192e4d sdm845-common: releasetools: Readd common import
Removed in 79d111f0bf, this is needed for perseus.

Change-Id: I53711c2417449ca4109894292b9d6b015b10c752
2020-03-26 18:59:50 -04:00
Akhil Narang
8988c0a4f9 sdm845-common: releasetools: be more clear about firmware image patching
This looks very odd on most of the devices using this tree
because nothing is being patched. Just mention which image
is being flashed and only when it actually is.

Change-Id: Ib6c35e08aee0f1c102da28ca37434093a92f7045
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
2019-09-23 16:31:16 +02:00
Akhil Narang
79d111f0bf sdm845-common: releasetools: remove unused or unnecessary imports
Change-Id: Ib6b164182733ccd2ea1d5c885d3746cf14bff397
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
2019-09-23 16:30:49 +02:00
Bruno Martins
2aefff1da8 sdm845-common: Drop vendor image asserts
Change-Id: I5c4434cb1568ea34101e786e2ec680d4ea7f71eb
2019-08-01 00:35:48 +01:00
XiNGRZ
aa005919e3 sdm845-common: releasetools: Add dtbo image to the output zip if present
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
2019-05-10 23:31:23 +01:00
Akhil Narang
9c4a6ca5ec sdm845-common: Additionally assert on vendor build date and VNDK version
This adds vendor image version assertions, so that the OTA package
is not installed unless the recommended vendor (and matching firmware)
or newer is present in the device.

The checks that are now in place are: modem timestamp, vendor build date
(in UTC format) and corresponding VNDK version.

Change-Id: I1aef57d03ee86040f2eb3a02f79cc3f00ae9cda3
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
2018-11-18 16:20:47 +01:00
TheScarastic
efc832d629 sdm845-common: Add assertions on modem version
* Based off android_device_xiaomi_msm8996-common

Change-Id: Ib578c77492cc3060915b12fad10d023b3ab38875
2018-11-18 15:01:07 +00:00