Is `Serial` field in `/proc/cpuinfo` unique for each Android device?

▼魔方 西西 提交于 2019-12-13 01:58:10

问题


My question is in subject: when we read /proc/cpuinfo virtual file on Android, it contains Serial field. What is the value? Is it the same for all devices that use the same CPU model, or it is unique for each CPU instance? I have GT-I9500 (Samsung Galaxy S4) phone, and its serial last 8 characters are 4d00a804 (revision is 000a). Maybe anyone can write his last 8 characters for the same model to check if they are unique?


回答1:


Serial is some number optionally passed by the bootloader and has nothing to do with the CPU. If set, the kernel treats it as unique for the device.

I have several devices with unset serial number (0000000000000000) and ARM64 and non-ARM devices do not have Serial at all.



来源:https://stackoverflow.com/questions/29560841/is-serial-field-in-proc-cpuinfo-unique-for-each-android-device

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!