1

Well when I execute

   adb shell getprop ro.build.version.security_patch 

It gives me the security patch level property on android >= Lollipop only, So my question is how to get the current patch level on older android devices.

Thank you.

6
  • Take a look at this answer. Commented Jan 11, 2018 at 15:24
  • Already checked it doesn't help :|
    – M.Khouli
    Commented Jan 11, 2018 at 15:30
  • 1
    It doesn't exist so you can't get it. AFAIK, security patches were introduced in Lollipop to patch bugs without having to overhaul the entire system and incrementing the Android version. So you can't access it because it doesn't exist Commented Jan 11, 2018 at 15:34
  • whats the use case ?
    – Akhil
    Commented Jan 11, 2018 at 15:55
  • @Zoe Thank you for your answer I will check the value of "ro.build.version.incremental" property on older android versions
    – M.Khouli
    Commented Jan 11, 2018 at 16:10

0