Simple note for factory reset Android via ADB.
Preface
Factory Reset from the GUI settings of my ASUS ZenFone 2 (ZE551ML) with CynagenMod 14 installed didn't work.
Steps
Before doing this:
- Make sure your computer had already installed
adb
.- For Arch Linux users:
$ sudo pacman -S android-tools
- For Arch Linux users:
- Make sure your Android phone had already enable the
Developer Options
and enable the USB Debugging via ADB.
Let's go:
- Connect your Android phone to your computer.
$ adb devices
make sure your phone is listed.$ adb reboot bootloader
to reboot the Android to bootloader.- Wait until it reboot to bootloader.
$ sudo fastboot erase userdata
to wipe all user data.$ sudo fastboot erase cache
to wipe all cache.$ sudo fastboot reboot
to reboot your phone.
And that's it, it works for me.
$ adb --version
Android Debug Bridge version 1.0.36
Revision 7.1.2_r6
Share
Donation
如果覺得這篇文章對你有幫助, 除了留言讓我知道外, 或許也可以考慮請我喝杯咖啡, 不論金額多寡我都會非常感激且能鼓勵我繼續寫出對你有幫助的文章。
If this blog post happens to be helpful to you, besides of leaving a reply, you may consider buy me a cup of coffee to support me. It would help me write more articles helpful to you in the future and I would really appreciate it.
Related Posts
- Y2016W27
- Y2017W19
- SNTT week8 - Android App 入門
- SITCON 2015 - Android Repackaged App Detection System
- Y2016W28