This commit is contained in:
Miguel Fuertes committed 2025-09-20 22:13:29 +02:00
1 parent e7320fbf12
commit 6509fc9ee4
1 file changed
+2 -2
+2 -2
View File
@@ -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