Files
device_google_wahoo/init.qcom.devstart.sh
Erik Staats 44f0902691 Add sys.slpi.firmware.version property.
Bug: 38240024
Test: Verified value of sys.spli.firmware.version property.  See details in
testing done comment in
https://googleplex-android-review.git.corp.google.com/2442584 .
Change-Id: Ief04cbfac4efd71c8ff22057fc286645fbadf44d
2017-06-23 10:49:48 -07:00

11 lines
337 B
Bash

#! /vendor/bin/sh
echo 1 > /sys/kernel/boot_adsp/boot
echo 1 > /sys/kernel/boot_slpi/boot
setprop sys.qcom.devup 1
version=`grep -ao "OEM_IMAGE_VERSION_STRING[ -~]*" \
/vendor/firmware/slpi_v2.b04 | \
sed -e s/OEM_IMAGE_VERSION_STRING=SLPI.version.// -e s/\(.*\).//`
setprop sys.slpi.firmware.version "$version"