2009-03-04 11:28:42 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
echo "# begin build properties"
|
|
|
|
echo "# autogenerated by buildinfo.sh"
|
|
|
|
|
|
|
|
echo "ro.build.id=$BUILD_ID"
|
|
|
|
echo "ro.build.display.id=$BUILD_DISPLAY_ID"
|
|
|
|
echo "ro.build.version.incremental=$BUILD_NUMBER"
|
|
|
|
echo "ro.build.version.sdk=$PLATFORM_SDK_VERSION"
|
2009-05-09 03:06:17 +08:00
|
|
|
echo "ro.build.version.codename=$PLATFORM_VERSION_CODENAME"
|
2014-04-25 07:19:14 +08:00
|
|
|
echo "ro.build.version.all_codenames=$PLATFORM_VERSION_ALL_CODENAMES"
|
2009-03-04 11:28:42 +08:00
|
|
|
echo "ro.build.version.release=$PLATFORM_VERSION"
|
2015-08-12 09:00:19 +08:00
|
|
|
echo "ro.build.date=`date`"
|
|
|
|
echo "ro.build.date.utc=`date +%s`"
|
2009-03-04 11:28:42 +08:00
|
|
|
echo "ro.build.type=$TARGET_BUILD_TYPE"
|
|
|
|
echo "ro.build.user=$USER"
|
|
|
|
echo "ro.build.host=`hostname`"
|
|
|
|
echo "ro.build.tags=$BUILD_VERSION_TAGS"
|
2014-12-05 07:19:08 +08:00
|
|
|
echo "ro.build.flavor=$TARGET_BUILD_FLAVOR"
|
2015-06-30 08:20:43 +08:00
|
|
|
if [ -n "$BOARD_BUILD_SYSTEM_ROOT_IMAGE" ] ; then
|
|
|
|
echo "ro.build.system_root_image=$BOARD_BUILD_SYSTEM_ROOT_IMAGE"
|
|
|
|
fi
|
2009-03-04 11:28:42 +08:00
|
|
|
echo "ro.product.model=$PRODUCT_MODEL"
|
|
|
|
echo "ro.product.brand=$PRODUCT_BRAND"
|
|
|
|
echo "ro.product.name=$PRODUCT_NAME"
|
|
|
|
echo "ro.product.device=$TARGET_DEVICE"
|
|
|
|
echo "ro.product.board=$TARGET_BOOTLOADER_BOARD_NAME"
|
2014-03-27 01:33:55 +08:00
|
|
|
|
|
|
|
# These values are deprecated, use "ro.product.cpu.abilist"
|
|
|
|
# instead (see below).
|
|
|
|
echo "# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete,"
|
|
|
|
echo "# use ro.product.cpu.abilist instead."
|
2014-08-06 01:54:14 +08:00
|
|
|
echo "ro.product.cpu.abi=$TARGET_CPU_ABI"
|
|
|
|
if [ -n "$TARGET_CPU_ABI2" ] ; then
|
|
|
|
echo "ro.product.cpu.abi2=$TARGET_CPU_ABI2"
|
2009-11-07 07:12:00 +08:00
|
|
|
fi
|
2014-03-27 01:33:55 +08:00
|
|
|
echo "ro.product.cpu.abilist=$TARGET_CPU_ABI_LIST"
|
2014-04-07 18:01:54 +08:00
|
|
|
echo "ro.product.cpu.abilist32=$TARGET_CPU_ABI_LIST_32_BIT"
|
|
|
|
echo "ro.product.cpu.abilist64=$TARGET_CPU_ABI_LIST_64_BIT"
|
2014-03-27 01:33:55 +08:00
|
|
|
|
2009-03-04 11:28:42 +08:00
|
|
|
echo "ro.product.manufacturer=$PRODUCT_MANUFACTURER"
|
2015-01-16 02:16:24 +08:00
|
|
|
if [ -n "$PRODUCT_DEFAULT_LOCALE" ] ; then
|
|
|
|
echo "ro.product.locale=$PRODUCT_DEFAULT_LOCALE"
|
2010-04-28 06:45:35 +08:00
|
|
|
fi
|
2009-05-21 04:37:35 +08:00
|
|
|
echo "ro.wifi.channels=$PRODUCT_DEFAULT_WIFI_CHANNELS"
|
2009-03-04 11:28:42 +08:00
|
|
|
echo "ro.board.platform=$TARGET_BOARD_PLATFORM"
|
|
|
|
|
|
|
|
echo "# ro.build.product is obsolete; use ro.product.device"
|
|
|
|
echo "ro.build.product=$TARGET_DEVICE"
|
|
|
|
|
2014-03-22 07:20:05 +08:00
|
|
|
echo "# Do not try to parse description, fingerprint, or thumbprint"
|
2009-03-04 11:28:42 +08:00
|
|
|
echo "ro.build.description=$PRIVATE_BUILD_DESC"
|
|
|
|
echo "ro.build.fingerprint=$BUILD_FINGERPRINT"
|
2014-10-08 09:42:11 +08:00
|
|
|
if [ -n "$BUILD_THUMBPRINT" ] ; then
|
|
|
|
echo "ro.build.thumbprint=$BUILD_THUMBPRINT"
|
|
|
|
fi
|
2010-11-10 00:53:01 +08:00
|
|
|
echo "ro.build.characteristics=$TARGET_AAPT_CHARACTERISTICS"
|
2009-03-04 11:28:42 +08:00
|
|
|
|
|
|
|
echo "# end build properties"
|