Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adb command to check if the device is encrypted

I would like to check directly from ADB (on a non-rooted device) if the encryption is enabled or not.

Do you know if there is a command returning this kind of result?

Thanks!

like image 560
g123k Avatar asked Dec 19 '22 05:12

g123k


1 Answers

As simple as adb shell getprop ro.crypto.state

like image 125
Alex P. Avatar answered Jan 14 '23 09:01

Alex P.