summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2016-03-01 20:34:38 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2016-03-01 20:34:58 +0530
commit4f223680576323d85a8ce8c8081773aada2844ec (patch)
treed5f6b1966445008258af0eba1a91f2866afb4d8a
parent100a8295af1bab7aa7bcce84e2c04e67234ed60d (diff)
downloadandroid-patchsets-4f223680576323d85a8ce8c8081773aada2844ec.tar.gz
add nexus5x workaround
Change-Id: Ia5c3f7cac07a9e2e73909f046393b10119368413 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xnexus5x-workarounds23
1 files changed, 23 insertions, 0 deletions
diff --git a/nexus5x-workarounds b/nexus5x-workarounds
new file mode 100755
index 0000000..24c0882
--- /dev/null
+++ b/nexus5x-workarounds
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+. $(dirname $0)/functions
+
+PATCHES=0
+if [ -n "$1" ]; then
+ AOSP="$1"
+else
+ AOSP="`pwd`"
+fi
+
+if ! [ -d "$AOSP" ] && ! [ -d "$AOSP/bionic" ] && [ -d "$AOSP"/build ]; then
+ echo "This script must be run from the AOSP source directory"
+ echo "or with the AOSP source directory as its first parameter."
+ exit 1
+fi
+
+
+##################################################
+################ Linaro hack ###################
+##################################################
+# get adb working at bootup
+apply --linaro device/lge/bullhead 16637/2