Difference between revisions of "Troubleshooting Reinstall Duo"

From MOD Wiki
Jump to navigation Jump to search
 
(30 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:Duo-fel-button.jpg|450px|thumb|Location of the FEL button on the MOD Duo]]
 
 
[[File:Duo-models.png|450px|thumb|Different MOD Duo models<br>LEFT: older model with nand flash; RIGHT: newer model with eMMC]]
 
[[File:Duo-models.png|450px|thumb|Different MOD Duo models<br>LEFT: older model with nand flash; RIGHT: newer model with eMMC]]
  
Troubleshooting section dedicated to the MOD Duo.
+
Troubleshooting section dedicated to the reinstall the MOD Duo software.
 
 
== A note on different models ==
 
  
 
Please note that there are 2 different kinds of MOD Duo units - older ones with nand flash and newer ones with eMMC.<br/>
 
Please note that there are 2 different kinds of MOD Duo units - older ones with nand flash and newer ones with eMMC.<br/>
The new unit models have their name (like "MOD Duo") written and engraved above the right display.<br/>
+
The new unit models have "MOD Duo" written and engraved above the right display. (see 1st picture on the right)
Knowing which type of unit you have is important as the re-installation/reset procedure is not the same for each one.<br/>
 
(MOD Duo X units are always of the newer eMMC type)
 
 
 
'''For older Duo models:'''<br/>
 
You can first try to reinstall the bootloader, which will keep all data intact, but if the issue is somewhere else the MOD will continue to not boot.<br/>
 
This is the best option, if it works. (and applies to your unit, of course)<br/>
 
If that does not work, you can perform a factory reset, which will erase all your data.
 
 
 
'''For all Duo models:'''<br/>
 
You can reinstalling the OS over USB, optionally formatting/reset the user data partition as well.<br/>
 
This method only works on Linux at the moment.
 
 
 
== Reinstall bootloader ==
 
'''NOTE: Only for older MOD Duo units with nand flash'''
 
 
 
Requirements: Linux or macOS, basic command-line knowledge<br>
 
 
 
To begin:
 
# 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 https://github.com/moddevices/CT_NandBoot/archive/master.zip and extract it
 
# Open a terminal and 'cd' to the directory where master.zip was extracted, ie:
 
<code language="console">cd ~/Downloads/CT_NandBoot-master/</code>
 
 
 
If you're running '''macOS''', run:<br/>
 
<code language="console">./bootfix.osx</code><br/>
 
 
 
If you're running '''Linux''' 64bit, run:<br/>
 
<code language="console">./bootfix</code><br/>
 
(sudo will likely be needed here)
 
 
 
For non-64bit Linux systems, run 'make clean' and 'make' beforehand.
 
 
 
After the command finishes running, just power the MOD off and on again.<br/>
 
If it still doesn't boot after 2 minutes, a factory reset or OS reinstall via USB is needed.
 
  
 
== MOD Duo Factory Reset ==
 
== MOD Duo Factory Reset ==
'''NOTE: Only for older MOD Duo units with nand flash'''
 
 
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:
 
# 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: http://download.moddevices.com/releases/modduo/reset/modduo-latest-reset-image.raw
 
# Download https://github.com/moddevices/CT_NandBoot/archive/master.zip and extract it
 
# Open a terminal and 'cd' to the directory where master.zip was extracted, ie:
 
<code language="console">cd ~/Downloads/CT_NandBoot-master/</code>
 
 
If you're running '''macOS''', run:<br/>
 
<code language="console">./bootfix.osx -w ~/Downloads/modduo-latest-reset-image.raw</code><br/>
 
(adjust the path to 'modduo-latest-reset-image.raw' as needed)
 
 
If you're running '''Linux''' 64bit, run:<br/>
 
<code language="console">./bootfix -w ~/Downloads/modduo-latest-reset-image.raw</code><br/>
 
(adjust the path to 'modduo-latest-reset-image.raw' as needed, sudo will likely be needed here)
 
 
For non-64bit Linux systems, run 'make clean' and 'make' beforehand.
 
 
Continuing:
 
# Wait until the 'bootfix' process finishes
 
# Power off and on the MOD Duo (by replugging the power cable)
 
# Wait until its LEDs turn blue, after around 30 seconds. If the LEDs don't light up after one minute, replug the power cable once again
 
# Wait until the LEDs turn red, then green. This should take around 10 minutes.
 
 
Once the LEDs are green, the MOD Duo has finished its factory reset.<br/>
 
Power it off and on again one last time, and it will be good as new :)
 
 
If the LEDs are still blue for too long (actually they go to red and then return to blue) or the display shows the message "copy file, eject and unplug", please execute all this process again starting from the bootfix command.
 
 
== Reinstall via USB boot ==
 
 
Requirements: Linux, basic command-line usage
 
 
To begin:
 
# 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 http://download.moddevices.com/releases/modduo/tools/mod-boot-fel-restore-v2.tar.gz and extract it
 
# Open a terminal and 'cd' to the directory where mod-boot-fel-restore.zip was extracted, ie:
 
<code language="console">cd ~/Downloads/mod-boot-fel-restore/</code>
 
 
If not you're running 64bit, install sunxi-tools from your Linux distribution, and copy /usr/bin/sunxi-fel to the current directory, overriding the existing file there.<br/>
 
 
Continuing, we will run a command with different environment variables depending on the target unit.
 
 
For the new MOD Duo units with eMMC, run:<br/>
 
<code language="console">EMMC=1 ./boot-fel-restore.sh</code>
 
 
For non-kickstarter units, run:<br/>
 
<code language="console">MARS=1 ./boot-fel-restore.sh</code>
 
 
For kickstarter units, run:<br/>
 
<code language="console">./boot-fel-restore.sh</code>
 
 
''(NOTE: it might be possible that kickstarter units have the "MARS" model, and a non-kickstarter one not.''<br/>
 
''It is not possible to tell which kinda unit it is just by looking at it externally, so if the command with "MARS" does not work for you, try the one without and vice-versa.)''
 
  
# After the script finishes, wait for around 2 minutes and the MOD Duo will boot into recovery mode.
+
For a factory reset using Windows, see [[Troubleshooting Reinstall via LiveSuit]]. (applies only to older MOD Duo units with nand flash)
# Install a MOD OS release as usual.
 
  
Note: You can find all MOD OS software releases in the [[Releases]] section.
+
For a factory reset using Linux or macOS see [[Troubleshooting Reinstall via CommandLine]].

Latest revision as of 13:55, 15 March 2023

Different MOD Duo models
LEFT: older model with nand flash; RIGHT: newer model with eMMC

Troubleshooting section dedicated to the reinstall the MOD Duo software.

Please note that there are 2 different kinds of MOD Duo units - older ones with nand flash and newer ones with eMMC.
The new unit models have "MOD Duo" written and engraved above the right display. (see 1st picture on the right)

MOD Duo Factory Reset

For a factory reset using Windows, see Troubleshooting Reinstall via LiveSuit. (applies only to older MOD Duo units with nand flash)

For a factory reset using Linux or macOS see Troubleshooting Reinstall via CommandLine.