Guest glossywhite Posted April 11, 2013 Report Posted April 11, 2013 (edited) Just wrote and tested this shell script: #!/bin/bash if [ ! -f imeilog ] then touch imeilog echo "~~~~ IMEI LOGGING BEGAN: ~~~~" >> imeilog date >> imeilog echo "############################" >> imeilog echo >> imeilog echo >> imeilog echo >> imeilog fi ./adb shell dumpsys iphonesubinfo >> imeilog echo >> imeilog echo "~~~~ DEVICE INFO ~~~~" >> imeilog ./adb devices >> imeilog echo >> imeilog date >> imeilog echo "~~~~~~~~ END OF LOG ENTRY ~~~~~~~~" >> imeilog echo >> imeilog echo >> imeilog exit I thought it could be useful for logging how many times a device has been rooted/un-rooted, unlocked etc. I hope this will save someone some time, if wanting to log the devices that were attached when X operation was executed. It logs the date that logging began, then dumps the type (EG: GSM) of handset and its' IMEI, and when the last operation was carried out with date/timestamps. Just thought I may as well submit it, since I've written it :) Edited April 11, 2013 by glossywhite
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now