Issue
I am just wondering for a unique device identifier in android. and had a look at this adb command.
adb shell getprop ro.expect.recovery_id
Is it a unique identifier for a device? if its not, then what's its purpose? I was just googling around but coudln't found anything related to this identifier.
Solution
getprop ro.expect.recovery_id
will return the ID of a boot image.
eg: [ro.expect.recovery_id]: [0xe0d5700a6d7672e44a8e9b341f0a22b8f781e73d00000000 0000000000000000]
You can see usage here and here
Update:
recovery.id is removed from aosp/887473 onwards. Refer here for the details. But I'm not sure that this change is updated in source branch. You can find the author and commit message in the above link.
From the commit message:
Since aosp/887473 removed ro.expect.recovery_id, There is no usage of "RECOVERYIMAGE_ID_FILE" which points $(PRODUCT_OUT)/recovery.id.
Answered By - Sudheesh R
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.