Hi Tao, > Normally I would prefer not to check IKconfig if there are other > methods available. However IMHO the linux_banner doesn't give more > advancements than IKconfig. Does the string "android12-9" represent > android-12-GKI? How would you check if your version is higher than > android-12-GKI? E.g. to compare the version "Linux version > x.x.x-android13-10" higher than "Linux version 5.10.209-android12-9"? > I guess extra code needs to be introduced to parse the version string, > and it doesn't seem nice because the extra code can only serve the > android version parsing. > The GKI version rule can refer to link: https://source.android.com/docs/core/architecture/kernel/gki-versioning 5.10.209-android12-9 is the KMI version named by Kernel Version - Android release version - KMI generation The GKI version after android12-5.10 which meets the following condition: Kernel Version >= 5.10 && Android release version >= 12 I will post the patch to parse the two version string in v2. Thanks -- Crash-utility mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxxxxxx https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/ Contribution Guidelines: https://github.com/crash-utility/crash/wiki