Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 558
Wael Abo-Aishah Avatar asked Oct 15 '17 16:10

Wael Abo-Aishah


2 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.

EDIT 1 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

like image 67
Niza Siwale Avatar answered Nov 15 '22 14:11

Niza Siwale


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.

like image 28
Nesan Mano Avatar answered Nov 15 '22 16:11

Nesan Mano