Difference between revisions of "Troubleshooting Reinstall via CommandLine"
(Created page with "Troubleshooting Reinstall via Command Line") |
|||
Line 1: | Line 1: | ||
Troubleshooting Reinstall via Command Line | Troubleshooting Reinstall via Command Line | ||
+ | |||
+ | Requirements: Linux or macOS, basic command-line knowledge<br> | ||
+ | For a factory reset under Windows, see [[Troubleshooting Reinstall via LiveSuit]]. (applies only to older MOD Duo units with nand flash) | ||
+ | |||
+ | To begin: | ||
+ | # Make a [[MOD_Web_GUI_User_Guide#Backup_.26_Restore|backup]] of your MOD Duo | ||
+ | # Click and hold down the FEL button on the back of the MOD Duo (in tiny hole), while you power it on. | ||
+ | # Hold it for 2 seconds, then release (The screens will freeze with the MOD logo and name) | ||
+ | # Connect the MOD Duo to your computer via USB cable | ||
+ | # Download this file: https://download.moddevices.com/releases/modduo/tools/duo-nand-mainline-factory-reset-v2.tar.gz and extract it | ||
+ | # Open a terminal and 'cd' to the directory where duo-nand-mainline-factory-reset-v2.tar.gz was extracted, ie: | ||
+ | <code language="console">cd ~/Downloads/duo-nand-mainline-factory-reset-v2</code> | ||
+ | |||
+ | Now simply run:<br/> | ||
+ | <code language="console">./boot-fel-factory-reset.sh</code><br/> | ||
+ | (sudo will likely be needed here) | ||
+ | |||
+ | If the above command fails with "USB FEL device not found", try a different usb port of the computer. | ||
+ | It might not work with usb hubs or usb-type-c/thunderbolt adapters, so connecting directly to a USB port is preferred.. | ||
+ | |||
+ | For non-64bit Linux systems, use the sunxi-fel binary from your distribution. | ||
+ | |||
+ | Continuing: | ||
+ | # After the script finishes, wait for around 1 minute and the MOD Duo will boot into recovery mode. (confirmed by LEDs turning blue. '''note that sometimes the display does not change''') | ||
+ | # Install a [[Factory Reset Images|MOD OS factory reset image]]. | ||
+ | # Wait for the installation to complete (the unit will restart automatically). | ||
+ | |||
+ | Note: You can find MOD factory reset images in the [[Factory Reset Images]] section. |
Revision as of 13:29, 15 March 2023
Troubleshooting Reinstall via Command Line
Requirements: Linux or macOS, basic command-line knowledge
For a factory reset under Windows, see Troubleshooting Reinstall via LiveSuit. (applies only to older MOD Duo units with nand flash)
To begin:
- Make a backup of your MOD Duo
- Click and hold down the FEL button on the back of the MOD Duo (in tiny hole), while you power it on.
- Hold it for 2 seconds, then release (The screens will freeze with the MOD logo and name)
- Connect the MOD Duo to your computer via USB cable
- Download this file: https://download.moddevices.com/releases/modduo/tools/duo-nand-mainline-factory-reset-v2.tar.gz and extract it
- Open a terminal and 'cd' to the directory where duo-nand-mainline-factory-reset-v2.tar.gz was extracted, ie:
cd ~/Downloads/duo-nand-mainline-factory-reset-v2
Now simply run:
./boot-fel-factory-reset.sh
(sudo will likely be needed here)
If the above command fails with "USB FEL device not found", try a different usb port of the computer. It might not work with usb hubs or usb-type-c/thunderbolt adapters, so connecting directly to a USB port is preferred..
For non-64bit Linux systems, use the sunxi-fel binary from your distribution.
Continuing:
- After the script finishes, wait for around 1 minute and the MOD Duo will boot into recovery mode. (confirmed by LEDs turning blue. note that sometimes the display does not change)
- Install a MOD OS factory reset image.
- Wait for the installation to complete (the unit will restart automatically).
Note: You can find MOD factory reset images in the Factory Reset Images section.