UDID replacement for iOS 8 and iOS 7
I am looking for a UDID replacement for iOS 7 and iOS 8, I took a look at MobileGestalt.h and I found "DieID". This is readable without jailbreak and on both iOS versions. After I reinstalled the application, the number is the same. So, I think he is completely unique?
My question is, "DieID" is unique across all devices? And what is "DieID", I could not find anything.
Thanks David
source to share
DieID is the baseband chip ID and is used in both UDID and SHSH (ECID / UniqueChipID) subscription processes.
This is probably only unique to the chip manufacturer and obviously has a smaller namespace. "UDID" is actually the hexadecimal SHA1 of serial number, ECID MAC addresses (DieID), wifi and bluetooth. Specifically.
ecid = 17592186044415 #=> 0xFFFFFFFFFFF [DieID/UniqueChipID]
serial = "ZZZZZZZZZZZZ"
bluetooth = "ff:ff:ff:ff:ff:ff"
wifi = "ff:ff:ff:ff:ff:ff"
udid = Digest::SHA1.hexdigest(serial + ecid.to_s + wifi + bluetooth)
#=> 26063df5d4741b7fe668d79e0263a1bc01af3e0a
Because of this, it is not as useful for identifying a device as it does not have a large namespace and requires the use of private APIs; but it can be useful in certain corporate contexts, such as a client keeping a secret during the MDM enrollment process.
source to share