I am trying to factory data reset my Oppo neo 7 (Android 5.1) using adb shell. Any ways i can try and links to adb shell? thanks
You can try the following commands:
To enter the fastboot mode:
adb reboot bootloader
Check whether the mobile phone is also in fastboot mode:
To delete the data:
fastboot erase userdata
To delete cache:
fastboot erase cache
Source and more detailed instructions click here.
- Minimal ADB & Fastboot which contains ADB executable then unzip the file
- ADB drivers and install them
- A computer
Open the folder where Minimal ADB & Fastboot, launch it.
Now on your phone, enable USB Debugging then connect to the computer.
On the terminal window, type
adb devices [press enter]
You should see something like:
xxxxxxxxx device detected
adb shell [press enter]
recovery --wipe_data [press enter] |
Or, if the above doesn't work:
wipe data[press enter]
Your phone should restart and begin the restoration process.
You can also simply boot into the recovery then perform the reset manually.
adb reboot recovery [press enter]