Firefox OS/TCP/Reset: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "== Resetting the tablet == We have not discovered a hardware mechanism to enter recovery mode or otherwise fully reset the tablet (please lets us know if you discover how). F...")
 
Line 2: Line 2:


We have not discovered a hardware mechanism to enter recovery mode or otherwise fully reset the tablet (please lets us know if you discover how). For now you need to connect you tablet via USB to a PC with [https://developer.mozilla.org/en-US/Firefox_OS/Debugging/Installing_ADB Android's ADB program installed].
We have not discovered a hardware mechanism to enter recovery mode or otherwise fully reset the tablet (please lets us know if you discover how). For now you need to connect you tablet via USB to a PC with [https://developer.mozilla.org/en-US/Firefox_OS/Debugging/Installing_ADB Android's ADB program installed].
<div style="color:white; border-width: 5px; border-style: solid; padding: 10px;border-color: rgba(0, 0, 0, 0.1); background:rgba(193, 56, 50, 0.85);">Warning! Adb needs the phone's lock screen to be unlocked in order to see your phone (at least in later versions of Firefox OS). You'll probably want to disable the lock screen.</div>


<code><pre>1. run a command prompt
<code><pre>1. run a command prompt
Line 16: Line 14:


<div style="color:white; border-width: 5px; border-style: solid; padding: 10px;border-color: rgba(0, 0, 0, 0.1); background:rgba(193, 56, 50, 0.85);">Warning! do not turn off debugging or this will not work again and you'll be unable to reset.</div>
<div style="color:white; border-width: 5px; border-style: solid; padding: 10px;border-color: rgba(0, 0, 0, 0.1); background:rgba(193, 56, 50, 0.85);">Warning! do not turn off debugging or this will not work again and you'll be unable to reset.</div>
<br/>
<div style="color:white; border-width: 5px; border-style: solid; padding: 10px;border-color: rgba(0, 0, 0, 0.1); background:rgba(193, 56, 50, 0.85);">Warning! Adb needs the phone's lock screen to be unlocked in order to see your phone (at least in later versions of Firefox OS). You'll probably want to disable the lock screen.</div>

Revision as of 15:12, 30 May 2014

Resetting the tablet

We have not discovered a hardware mechanism to enter recovery mode or otherwise fully reset the tablet (please lets us know if you discover how). For now you need to connect you tablet via USB to a PC with Android's ADB program installed.

1. run a command prompt
2. adb shell     //  No need to sudo as you have root access
3. cd data
4. rm -rf .
5. exit
6. adb reboot

That will wipe **all the data**, in essence resetting the device to its default state when it first was shipped. The first time user experience will run again.

Warning! do not turn off debugging or this will not work again and you'll be unable to reset.


Warning! Adb needs the phone's lock screen to be unlocked in order to see your phone (at least in later versions of Firefox OS). You'll probably want to disable the lock screen.