Android /system/build.prop from official ROMs.
Include both raw build.prop and JSON format props.json for easy to use.
props/<Vendor>/<Device Model>/<Android Version>/<Build ID>/build.prop
<Device Model>, <Build ID> (or Build number) can be found in Settings -> About phone.
<Build ID> also inside build.prop, the key is ro.build.id. e.g.
ro.build.id=QP1A.191005.007.A3
e.g.
Pixel-XL/10.0.0/QP1A.191005.007.A3/build.prop
-
Download OTA image from Factory Images for Nexus and Pixel Devices
-
Unpack OTA image with android-ota-extractor. For example, The following command extract "marlin" for Pixel XL version 10.0.0 (QP1A.191005.007.A3, Dec 2019):
$ android-ota-extractor marlin-ota-qp1a.191005.007.a3-23002a57.zipYou will get system.img, it is a Linux ext2 image file.
$ file system.img
system.img: Linux rev 1.0 ext2 filesystem data, UUID=4729639d-b5f2-5cc1-a120-9ac5f788683c (extents) (large files) (huge files)- Mount
system.imgunder Linux:
$ sudo mount -o loop,ro system.img /mnt
$ sudo cp /mnt/system/build.prop /tmp/build.propNow you get a copy of build.prop in /tmp/build.prop. Feel feel to fork this repo and send a PR to add your build.prop.