Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 1186858 - Add scorpion device r=mwu #463

Merged
merged 1 commit into from
Jul 24, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 11 additions & 4 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@ case "$1" in
repo_sync $1
;;

"scorpion-l")
echo PRODUCT_NAME=scorpion >> .tmp-config &&
repo_sync $1
;;

*)
echo "Usage: $0 [-cdflnq] (device name)"
echo "Flags are passed through to |./repo sync|."
Expand Down Expand Up @@ -217,10 +222,6 @@ case "$1" in
echo - flame-kk
echo - flame-l
echo - rpi "(Revision B)"
echo - leo-kk "(Z3 KK)"
echo - leo-l "(Z3 L)"
echo - aries "(Z3C KK)"
echo - aries-l "(Z3C L)"
echo - emulator
echo - emulator-jb
echo - emulator-kk
Expand All @@ -229,6 +230,12 @@ case "$1" in
echo - emulator-x86-jb
echo - emulator-x86-kk
echo - emulator-x86-l
echo "> Sony Xperia devices"
echo - aries "(Z3 Compact KK)"
echo - aries-l "(Z3 Compact L)"
echo - leo-kk "(Z3 KK)"
echo - leo-l "(Z3 L)"
echo - scorpion-l "(Z3 Tablet Compact L)"
exit -1
;;
esac
Expand Down
6 changes: 3 additions & 3 deletions flash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fastboot_flash_image()
PARTITION="data"
fi
if [ "$PARTITION" == "recovery" ]; then
if [ "$DEVICE" == "aries" ] || [ "$DEVICE" == "leo" ]; then
if [ "$DEVICE" == "aries" ] || [ "$DEVICE" == "leo" ] || [ "$DEVICE" == "scorpion" ]; then
PARTITION="FOTAKernel"
fi
fi
Expand Down Expand Up @@ -153,7 +153,7 @@ flash_fastboot()
return $?
fi
fi
if [ "$DEVICE" == "aries" ] || [ "$DEVICE" == "leo" ]; then
if [ "$DEVICE" == "aries" ] || [ "$DEVICE" == "leo" ] || [ "$DEVICE" == "scorpion" ]; then
fastboot_flash_image recovery
fi
fastboot_flash_image userdata &&
Expand Down Expand Up @@ -391,7 +391,7 @@ case "$DEVICE" in
exit $?
;;

"flame"|"otoro"|"unagi"|"keon"|"peak"|"inari"|"wasabi"|"flatfish"|"leo"|"aries"|"scx15_sp7715"*)
"flame"|"otoro"|"unagi"|"keon"|"peak"|"inari"|"wasabi"|"flatfish"|"aries"|"leo"|"scorpion"|"scx15_sp7715"*)
flash_fastboot nounlock $PROJECT
;;

Expand Down