changes
This commit is contained in:
1 parent
e7320fbf12
commit
6509fc9ee4
1 file changed
+2
-2
@@ -27,7 +27,7 @@ read_path() {
|
||||
mkdir -p saved
|
||||
|
||||
# Backup important partitions
|
||||
for n in fsc fsg modemst1 modemst2; do
|
||||
for n in fsc fsg modemst1 modemst2 modem persist sec; do
|
||||
echo "Backing up partition $n ..."
|
||||
edl r "$n" "saved/$n.bin" || { echo "Error backing up $n"; exit 1; }
|
||||
done
|
||||
@@ -60,7 +60,7 @@ echo "Rebooting to EDL mode..."
|
||||
fastboot oem reboot-edl || { echo "Error rebooting to EDL"; exit 1; }
|
||||
|
||||
# Restore original partitions
|
||||
for n in fsc fsg modemst1 modemst2; do
|
||||
for n in fsc fsg modemst1 modemst2 modem persist sec; do
|
||||
echo "Restoring partition $n ..."
|
||||
edl w "$n" "saved/$n.bin" || { echo "Error restoring $n"; exit 1; }
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user