Q: Get Samsung warranty bit programmatically I would like to get, among other things, the status of the warranty bit on Samsung devices programmatically. Much like the information that is displayed in Odin mode.
I understand that the bit is not meant for polling, but I would like to know if there is any way to get it without having to create a container or during attestation.
Much like the KNOX Status Samsung app on GP 
https://play.google.com/store/apps/details?id=com.bryancandi.knoxcheck&hl=en
Thanks!

A: You can get the warranty state like this:
adb shell getprop ro.boot.warranty_bitandadb shell getprop ro.warranty_bit
If both return 1 the warranty_bit is set 0x1
Regards,Sebastian
