Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which properties of android.os.Build are fixed?

I require the list of fixed properties of android.os.Build class. I've obtained the list from here I bold those that I know are fixed. By fix I mean no change by firmware update, reset factory, ...

  1. android.os.Build.VERSION.RELEASE //The current development codename, or the string "REL" if this is a release build.

  2. android.os.Build.BOARD //The name of the underlying board, like "goldfish".

  3. android.os.Build.BOOTLOADER // The system bootloader version number.

  4. android.os.Build.BRAND //The brand (e.g., carrier) the software is customized for, if any.

  5. android.os.Build.CPU_ABI //The name of the instruction set (CPU type + ABI convention) of native code.

  6. android.os.Build.CPU_ABI2 // The name of the second instruction set (CPU type + ABI convention) of native code.

  7. android.os.Build.DEVICE // The name of the industrial design.

  8. android.os.Build.DISPLAY //A build ID string meant for displaying to the user

  9. android.os.Build.FINGERPRINT //A string that uniquely identifies this build.

  10. android.os.Build.HARDWARE //The name of the hardware (from the kernel command line or /proc).

  11. android.os.Build.HOST

  12. android.os.Build.ID //Either a changelist number, or a label like "M4-rc20".

  13. android.os.Build.MANUFACTURER //The manufacturer of the product/hardware.

  14. android.os.Build.MODEL //The end-user-visible name for the end product.

  15. android.os.Build.PRODUCT //The name of the overall product.

  16. android.os.Build.TAGS //Comma-separated tags describing the build, like "unsigned,debug".

  17. android.os.Build.TYPE //The type of build, like "user" or "eng".

  18. android.os.Build.USER

Please help me complete the list

like image 578
Mohsen Afshin Avatar asked Nov 30 '22 22:11

Mohsen Afshin


1 Answers

If you look at the source code to Build, you will see that all of these values -- including those you have in bold -- come from system properties files. Hence, any of these values can be modified by ROM modders or the original device manufacturer as they see fit.

like image 186
CommonsWare Avatar answered Jan 10 '23 05:01

CommonsWare