From 5ac68f8df813cafa1c7ef4154681e14edc124c02 Mon Sep 17 00:00:00 2001 From: Drgravy Date: Thu, 9 Feb 2017 20:39:59 -0600 Subject: [PATCH] fix up bump support for LG g2/g3 devices --- scripts/flash_script.sh | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/scripts/flash_script.sh b/scripts/flash_script.sh index 9dd3ff1e7..46e1cd7e2 100644 --- a/scripts/flash_script.sh +++ b/scripts/flash_script.sh @@ -273,10 +273,19 @@ LGE_G=false RBRAND=$(grep_prop ro.product.brand) RMODEL=$(grep_prop ro.product.device) if [ "$RBRAND" = "lge" ] || [ "$RBRAND" = "LGE" ]; then - if [ "$RMODEL" = "*D80*" ] || - [ "$RMODEL" = "*S98*" ] || - [ "$RMODEL" = "*D85*" ] || - [ "$RMODEL" = "*F40*" ]; then + if [ "$RMODEL" = "d800" ] || + [ "$RMODEL" = "d801" ] || + [ "$RMODEL" = "d802" ] || + [ "$RMODEL" = "d803" ] || + [ "$RMODEL" = "ls980" ] || + [ "$RMODEL" = "vs980" ] || + [ "$RMODEL" = "l01f" ] || + [ "$RMODEL" = "d850" ] || + [ "$RMODEL" = "d852" ] || + [ "$RMODEL" = "d855" ] || + [ "$RMODEL" = "ls990" ] || + [ "$RMODEL" = "vs985" ] || + [ "$RMODEL" = "f400" ]; then LGE_G=true ui_print "! Bump device detected" fi