The purpose of this operation is to restore the factory settings and clear all user data, including but not limited to the installed browser plug-ins, Android programs, data in the download folder, and browser cache files and historical records. The result of this operation is irreversible after successful execution, please think twice.
Refer to to enter the Bash Shell environment.
echo 'clobber' | sudo tee /mnt/stateful_partition/.update_available sudo reboot
And enter the password after the prompt, the default is
After the system restarts, it will automatically complete the data clearing and automatically enter the OOBE (unpacking experience) link.