Home » Android » java – Is there a way to get the device activation date (un-boxing date)

java – Is there a way to get the device activation date (un-boxing date)

Posted by: admin May 14, 2020 Leave a comment


Is there a way to get the Android device activation DateTime?
I need to know when the android device first startup date or first-time user insert SIM card or from the hardware or the file System

I checked this link and other suggestions and it’s not working
and if this data cannot be detected, is there other possibilities to get the SIM slot first configured?

How to&Answers:

Assuming the user had their data on the first day they used their device or inserted the sim, you can use the NetworkStatsManager to get the user’s historical data usage to find the oldest date for data usage for that sim. Look at this question on how to do that. PS, you can only do this on android 23 and up. For pre-android 23 devices, your app has to be a system app in order to access the historical data.

Otherwise I don’t think there is any other way to get a close proximity of when the device was activated.

For pre-android 23 you can try and get the internet configuration messages. Carriers usually send configuration messages when a user inserts a sim on their phone for the first time. You can look at the configuration messages dates and find the oldest. I don’t whether this solution will be available as not all carriers send configuration messages


From the Service menu on your phone see the total call time which is very hard to reset. By that, you can assume how long it has been used.

With the current features of Android, that is the best you can get.

Here I assume it is your phone and a google account was created during activation of the phone, being said, I would try to go into the google account(Dashboard) and look when the device was added. This is the date when the device was registered.