Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
buihien224 committed Oct 5, 2021
1 parent 64de48f commit b22fa92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hungsvvl.sh → gsi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ user=$(whoami)
cd ~/
cd "$user"
pwd=$(pwd)
echo "Working dir : "$pwd""
echo ""
echo -e "\e[1;33mGenerate GSI Flashing Template @bhlnk \e[0m"
sleep 0.5
echo -e "\e[1;33mFor Dynamic Partition Device \e[0m"
Expand Down Expand Up @@ -41,9 +43,8 @@ then
sed -i "s/160600/$systemsize/g" tmp/dynamic_partitions_op_list
echo -e "\e[1;33mDONE........\e[0m"
for dir in tmp; do
( cd "$dir" && zip -r ../"$codename"_flashable_"$rd".zip . )
( cd "$dir" && zip -r ../"$gsi"_"$codename".zip . )
done
rm -r tmp
echo -e "\e[1;32mDone Flash "$gsi"_"$codename".zip\e[0m"
echo -e "\e[1;32mIn Custom Recovery\e[0m"

Expand Down

0 comments on commit b22fa92

Please sign in to comment.