How to check if a new Android phone/tablet has got no factory reset yet?
You can use ##786#. You can check RTN status of mobile. But you need to access hidden menu then you can use this code.
You can find uptime of mobile Go to setting / about phone / uptime. Compare it with date of purchase.