Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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!

like image 842
Kieran McCormick Avatar asked Feb 06 '26 03:02

Kieran McCormick


1 Answers

You can get the warranty state like this:

adb shell getprop ro.boot.warranty_bit
and
adb shell getprop ro.warranty_bit

If both return 1 the warranty_bit is set 0x1

Regards,
Sebastian

like image 97
k1ll3r8e Avatar answered Feb 12 '26 14:02

k1ll3r8e



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!