1#!/bin/bash 2 3echo "# begin build properties" 4echo "# autogenerated by buildinfo.sh" 5 6echo "ro.build.id=$BUILD_ID" 7echo "ro.build.display.id=$BUILD_DISPLAY_ID" 8echo "ro.build.version.incremental=$BUILD_NUMBER" 9echo "ro.build.version.sdk=$PLATFORM_SDK_VERSION" 10echo "ro.build.version.codename=$PLATFORM_VERSION_CODENAME" 11echo "ro.build.version.all_codenames=$PLATFORM_VERSION_ALL_CODENAMES" 12echo "ro.build.version.release=$PLATFORM_VERSION" 13echo "ro.build.date=`date`" 14echo "ro.build.date.utc=`date +%s`" 15echo "ro.build.type=$TARGET_BUILD_TYPE" 16echo "ro.build.user=$USER" 17echo "ro.build.host=`hostname`" 18echo "ro.build.tags=$BUILD_VERSION_TAGS" 19echo "ro.product.model=$PRODUCT_MODEL" 20echo "ro.product.brand=$PRODUCT_BRAND" 21echo "ro.product.name=$PRODUCT_NAME" 22echo "ro.product.device=$TARGET_DEVICE" 23echo "ro.product.board=$TARGET_BOOTLOADER_BOARD_NAME" 24 25# These values are deprecated, use "ro.product.cpu.abilist" 26# instead (see below). 27echo "# ro.product.cpu.abi and ro.product.cpu.abi2 are obsolete," 28echo "# use ro.product.cpu.abilist instead." 29echo "ro.product.cpu.abi=$TARGET_CPU_ABI" 30if [ -n "$TARGET_CPU_ABI2" ] ; then 31 echo "ro.product.cpu.abi2=$TARGET_CPU_ABI2" 32fi 33echo "ro.product.cpu.abilist=$TARGET_CPU_ABI_LIST" 34echo "ro.product.cpu.abilist32=$TARGET_CPU_ABI_LIST_32_BIT" 35echo "ro.product.cpu.abilist64=$TARGET_CPU_ABI_LIST_64_BIT" 36 37echo "ro.product.manufacturer=$PRODUCT_MANUFACTURER" 38if [ -n "$PRODUCT_DEFAULT_LANGUAGE" ] ; then 39 echo "ro.product.locale.language=$PRODUCT_DEFAULT_LANGUAGE" 40fi 41if [ -n "$PRODUCT_DEFAULT_REGION" ] ; then 42 echo "ro.product.locale.region=$PRODUCT_DEFAULT_REGION" 43fi 44echo "ro.wifi.channels=$PRODUCT_DEFAULT_WIFI_CHANNELS" 45echo "ro.board.platform=$TARGET_BOARD_PLATFORM" 46 47echo "# ro.build.product is obsolete; use ro.product.device" 48echo "ro.build.product=$TARGET_DEVICE" 49 50echo "# Do not try to parse description, fingerprint, or thumbprint" 51echo "ro.build.description=$PRIVATE_BUILD_DESC" 52echo "ro.build.fingerprint=$BUILD_FINGERPRINT" 53if [ -n "$BUILD_THUMBPRINT" ] ; then 54 echo "ro.build.thumbprint=$BUILD_THUMBPRINT" 55fi 56echo "ro.build.characteristics=$TARGET_AAPT_CHARACTERISTICS" 57 58echo "# end build properties" 59