2009-03-04 04:28:42 +01: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-08 21:06:17 +02:00
|
|
|
echo "ro.build.version.codename=$PLATFORM_VERSION_CODENAME"
|
2009-03-04 04:28:42 +01:00
|
|
|
echo "ro.build.version.release=$PLATFORM_VERSION"
|
|
|
|
echo "ro.build.date=`date`"
|
|
|
|
echo "ro.build.date.utc=`date +%s`"
|
|
|
|
echo "ro.build.type=$TARGET_BUILD_TYPE"
|
|
|
|
echo "ro.build.user=$USER"
|
|
|
|
echo "ro.build.host=`hostname`"
|
|
|
|
echo "ro.build.tags=$BUILD_VERSION_TAGS"
|
|
|
|
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"
|
2009-05-22 00:45:30 +02:00
|
|
|
echo "ro.product.cpu.abi=$TARGET_CPU_ABI"
|
2009-11-07 00:12:00 +01:00
|
|
|
if [ -n "$TARGET_CPU_ABI2" ] ; then
|
|
|
|
echo "ro.product.cpu.abi2=$TARGET_CPU_ABI2"
|
|
|
|
fi
|
2009-03-04 04:28:42 +01:00
|
|
|
echo "ro.product.manufacturer=$PRODUCT_MANUFACTURER"
|
2010-04-28 00:45:35 +02:00
|
|
|
if [ -n "$PRODUCT_DEFAULT_LANGUAGE" ] ; then
|
|
|
|
echo "ro.product.locale.language=$PRODUCT_DEFAULT_LANGUAGE"
|
|
|
|
fi
|
|
|
|
if [ -n "$PRODUCT_DEFAULT_REGION" ] ; then
|
|
|
|
echo "ro.product.locale.region=$PRODUCT_DEFAULT_REGION"
|
|
|
|
fi
|
2009-05-20 22:37:35 +02:00
|
|
|
echo "ro.wifi.channels=$PRODUCT_DEFAULT_WIFI_CHANNELS"
|
2009-03-04 04:28:42 +01:00
|
|
|
echo "ro.board.platform=$TARGET_BOARD_PLATFORM"
|
|
|
|
|
|
|
|
echo "# ro.build.product is obsolete; use ro.product.device"
|
|
|
|
echo "ro.build.product=$TARGET_DEVICE"
|
|
|
|
|
|
|
|
echo "# Do not try to parse ro.build.description or .fingerprint"
|
|
|
|
echo "ro.build.description=$PRIVATE_BUILD_DESC"
|
|
|
|
echo "ro.build.fingerprint=$BUILD_FINGERPRINT"
|
|
|
|
|
|
|
|
echo "# end build properties"
|