How can I check that the mobile device that I am using has not been altered after leaving the factory?
By this I mean no changes whatsoever have been made to the device. Whether it's the whole OS (firmware)or just a single malicious app installed on system partition.
Is there some way I can check the md5 or sha256sum of the device? And if the firmware for my phone is available on the internet I could compare. Would this work? How could I do this on ubuntu?
Or is there some other way?