Another way is to look in the memory by removing it memory chip and check where the password is store
It only works for older phones with no wrong password count and also takes a lot of time this way
@PakoraCurry