README: document supported.versions

This commit is contained in:
osm0sis committed 2018-12-16 18:37:15 -04:00
1 parent ddf0e59256
commit 614be6510b
1 file changed
+3
+3
View File
@@ -19,6 +19,7 @@ do.cleanuponabort=0
device.name1=maguro
device.name2=toro
device.name3=toroplus
supported.versions=6.0 - 7.1.2
block=/dev/block/platform/omap/omap_hsmmc.0/by-name/boot;
is_slot_device=0;
@@ -33,6 +34,8 @@ __do.cleanup=0__ will keep the zip from removing it's working directory in /tmp/
__do.cleanuponabort=0__ will keep the zip from removing it's working directory in /tmp/anykernel in case of installation abort.
__supported.versions__ will match against ro.build.version.release from the current ROM's build.prop. It can be set to a list or range. As a list, e.g. `7.1.1` or `7.1.2, 8.1, 9` it will look for exact matches, as a range, e.g. `7.1.2 - 9` it will check to make sure the current version falls within those limits. Whitespace optional, and supplied version values should be in the same number format they are in build.prop value for that Android version.
`block=auto` instead of a direct block filepath enables detection of the device boot partition for use with broad, device non-specific zips. Also accepts specifically `boot` or `recovery`.
`is_slot_device=1` enables detection of the suffix for the active boot partition on slot-based devices and will add this to the end of the supplied `block=` path. Also accepts `auto` for use with broad, device non-specific zips.