Search code examples
javaandroidversionhardware

Can the "Hardware Version" of an Android phone be changed?


When you go to Settings > About Phone on an Android device, it will give you the kernel, software, hardware version, etc.

I'm curious if the Hardware Version will ever actually change on any given phone. I know from prior experience with rooting my phone and updating the ROM/Kernel/Modem that all the other numbers and versions have the ability to change, but i'm fairly confident that the Hardware version tends to stay the same, just need confirmation.

I'm asking because I'm curious about making an app, and then adding specific features to that app for certain phone types, ie a phone that will only display some data to all variants of the galaxy s2 (d710.10) and grabbing this data from android.os.Build.MODEL (or Build.PRODUCT)

Thanks!


Solution

  • Those fields are part of the build.prop. The build.prop can be edited on a rooted phone, but otherwise not.