diff --git a/.config b/.config index b6e428ffbc1035ed4c82cfb3b4d5cc30804f7c92..8772ac2b41b73d90429f14326cc8484ed3f4591a 100644 --- a/.config +++ b/.config @@ -58,16 +58,16 @@ __flash_device() if [ -z $1 ]; then $FASTBOOT erase cache && $FASTBOOT erase userdata && - $FASTBOOT flash userdata out/target/product/$DEVICE/2kpagenand_images/userdata.2knand.img && - $FASTBOOT flash boot out/target/product/$DEVICE/2kpagenand_images/boot.2knand.img && - $FASTBOOT flash recovery out/target/product/$DEVICE/2kpagenand_images/recovery.2knand.img && - $FASTBOOT flash system out/target/product/$DEVICE/2kpagenand_images/system.2knand.img && - $FASTBOOT flash persist out/target/product/$DEVICE/2kpagenand_images/persist.2knand.img && + $FASTBOOT flash userdata out/target/product/$DEVICE/userdata.img && + $FASTBOOT flash boot out/target/product/$DEVICE/boot.img && + $FASTBOOT flash recovery out/target/product/$DEVICE/recovery.img && + $FASTBOOT flash system out/target/product/$DEVICE/system.img && + $FASTBOOT flash persist out/target/product/$DEVICE/persist.img && $FASTBOOT reboot else case $1 in "system" | "boot" | "recovery" | "userdata" | "persist") - $FASTBOOT flash $1 out/target/product/$DEVICE/2kpagenand_images/$1.2knand.img && + $FASTBOOT flash $1 out/target/product/$DEVICE/$1.img && $FASTBOOT reboot ;; *)