• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.release=$PLATFORM_VERSION"
12echo "ro.build.date=`date`"
13echo "ro.build.date.utc=`date +%s`"
14echo "ro.build.type=$TARGET_BUILD_TYPE"
15echo "ro.build.user=$USER"
16echo "ro.build.host=`hostname`"
17echo "ro.build.tags=$BUILD_VERSION_TAGS"
18echo "ro.product.model=$PRODUCT_MODEL"
19echo "ro.product.brand=$PRODUCT_BRAND"
20echo "ro.product.name=$PRODUCT_NAME"
21echo "ro.product.device=$TARGET_DEVICE"
22echo "ro.product.board=$TARGET_BOOTLOADER_BOARD_NAME"
23echo "ro.product.cpu.abi=$TARGET_CPU_ABI"
24if [ -n "$TARGET_CPU_ABI2" ] ; then
25  echo "ro.product.cpu.abi2=$TARGET_CPU_ABI2"
26fi
27echo "ro.product.manufacturer=$PRODUCT_MANUFACTURER"
28if [ -n "$PRODUCT_DEFAULT_LANGUAGE" ] ; then
29  echo "ro.product.locale.language=$PRODUCT_DEFAULT_LANGUAGE"
30fi
31if [ -n "$PRODUCT_DEFAULT_REGION" ] ; then
32  echo "ro.product.locale.region=$PRODUCT_DEFAULT_REGION"
33fi
34echo "ro.wifi.channels=$PRODUCT_DEFAULT_WIFI_CHANNELS"
35echo "ro.board.platform=$TARGET_BOARD_PLATFORM"
36
37echo "# ro.build.product is obsolete; use ro.product.device"
38echo "ro.build.product=$TARGET_DEVICE"
39
40echo "# Do not try to parse ro.build.description or .fingerprint"
41echo "ro.build.description=$PRIVATE_BUILD_DESC"
42echo "ro.build.fingerprint=$BUILD_FINGERPRINT"
43echo "ro.build.characteristics=$TARGET_AAPT_CHARACTERISTICS"
44
45echo "# end build properties"
46