General Instructions for Flashing Razer Phone Factory Images
This page contains instructions that allow you to restore your Razer Phone’s original factory firmware. You will find these instructions useful if you have used AOSP flashed custom builds on your Phone, and wish to return to its factory state.
These files are for use only on your personal Razer Phone and may not be disassembled, decompiled, reverse engineered, modified or redistributed by you or used in any way except as specifically set forth in the license terms that came with your Phone.
Terms and Conditions
⚠ Warning: Installing this factory image will erase all data from the Razer Phone. While it may be possible to restore certain data backed up to your Google Account, apps and their associated data will be uninstalled. Before proceeding, please ensure that data you would like to retain is backed up to your Google Account.
When connecting your Razer Phone to a computer for any development, it is advised by Razer to not use the in-box USB Type-C to Type-C charging cable for flashing. The supplied cable is specifically engineered for fast power delivery, not for data transfer. Razer recommends you use a USB 3 Type-A to Type-C spec-compliant cable for any device flashing.
The factory image downloaded from this page includes a script that flashes the Razer Phone, named flash_all.sh (On Windows systems, use flash_all.bat instead).
⚠ Warning: To flash the Razer Phone using one of the system images below (or one of your own), you also need the latest fastboot tool (version 23.0.1 or later). You can get it from the Android SDK Platform-Tools package.
For Windows users, please follow instructions to install fastboot drivers here.
Once you have the fastboot tool, add it to your PATH environment variable (the flash_all script below must be able to find it).
Also, be certain that you’ve set up USB access for your Phone, as described in Run Apps on a Hardware Device.
⚠ Caution: Flashing a new system image deletes all user data. Be certain to first backup any personal data such as photos.