Difference between revisions of "Troubleshooting Reinstall via CommandLine"

From MOD Wiki
Jump to navigation Jump to search
(Created page with "Troubleshooting Reinstall via Command Line")
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Troubleshooting Reinstall via Command Line
+
[[File:Duo-fel-button.jpg|450px|thumb|Location of the FEL button on the MOD Duo]]
 +
 
 +
This page describes how to do a "factory reset" of the MOD Duo via Command Line.<br>
 +
 
 +
These instructions are only valid for Linux or macOS. For reinstallations 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-v3.tar.gz and extract it
 +
# Open a terminal and 'cd' to the directory where duo-nand-mainline-factory-reset-v3.tar.gz was extracted, ie:
 +
<code language="console">cd ~/Downloads/duo-nand-mainline-factory-reset-v3</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, replace and 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.

Latest revision as of 09:53, 24 July 2023

Location of the FEL button on the MOD Duo

This page describes how to do a "factory reset" of the MOD Duo via Command Line.

These instructions are only valid for Linux or macOS. For reinstallations under Windows, see Troubleshooting Reinstall via LiveSuit. (applies only to older MOD Duo units with nand flash)

To begin:

  1. Make a backup of your MOD Duo
  2. Click and hold down the FEL button on the back of the MOD Duo (in tiny hole), while you power it on.
  3. Hold it for 2 seconds, then release (The screens will freeze with the MOD logo and name)
  4. Connect the MOD Duo to your computer via USB cable
  5. Download this file: https://download.moddevices.com/releases/modduo/tools/duo-nand-mainline-factory-reset-v3.tar.gz and extract it
  6. Open a terminal and 'cd' to the directory where duo-nand-mainline-factory-reset-v3.tar.gz was extracted, ie:

cd ~/Downloads/duo-nand-mainline-factory-reset-v3

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, replace and use the sunxi-fel binary from your distribution.

Continuing:

  1. 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)
  2. Install a MOD OS factory reset image.
  3. 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.