Hi
i wasn't able to make this a thread but thought i would try and give a hand to people who accidentally wipe their razer phone of any OS whilst trying to root
If you have got no OS you will need to switch your phone into (download mode) for the following operations.
To get to download mode, turn off device and hold volume down button and download mode will load with razer symbol, (download mode will be stated in top left corner)
You will need to have ADB and Fastboot pre installed on your PC/Mac before starting this procedure
You will need a USB C cable to connect your device to your PC/Mac
Your BOOTLOADER should be unlocked, if you have wiped your phone of an OS, you most likely have it unlocked already as you were trying to Root your phone!
You will need to obtain the Stock firmware from the Razer website, getting it from the Razer website will stop you from accidentally downloading a corrupt file.
Once file is downloaded extract the .zip file and locate the (Windows) flash_all.bat, (mac) flash_all.sh
Open the flash_all.sh or flash_all.bat as a text format, from there you can see what files will be loaded to your razor phone.
You will need to delete the end of each command line for example: ${FASTBOOT_CMD} flash partition:0 gpt_both0.bin (this is the command line in original text format), Now delete the end of the command line (gpt_both0.bin), your new line should read ${FASTBOOT_CMD} flash partition:0, after drag and drop the file (gpt_both0.bin) from the original folder into the text editor, this will apply the address for the file and update your command line.
Once you have edited each following command line, with what it states at the end of each command line, save the document to original folder.
Open up terminal or CMD (CMD run as administrator), once loaded type the command line; adb
This will allow the ADB to run in the terminal
Now check that your device is connected to your PC/Mac, type the command line; adb devices
This should show you a ID number for your phone and what state it is in.
Now drag and drop the file flash_all.sh (mac) or flash_all.bat (windows), this needs to be your edited version, from you original folder and drop into your terminal or CMD page. Now hit enter
This will start the process to re-loading your stock firmware onto your phone.
Wait until the end of the process is complete, after your phone should reboot and load to the phones guide of setting up a new phone
If this has not worked then try the process again or check that your bootloader is unlocked and try again.
After all is good you can re-lock your bootloader by putting your device into (download mode) and typing the command line; fastboot flashing lock
When the bootloader page loads click on yes by using the volume buttons and power button for accepting
Now your device should reboot to working order with stock firmware!
This is my first time trying this so if i have missed stuff out please forgive me and let me know and i will update.
I hope this helps you into getting your razer phone back to life
i wasn't able to make this a thread but thought i would try and give a hand to people who accidentally wipe their razer phone of any OS whilst trying to root
If you have got no OS you will need to switch your phone into (download mode) for the following operations.
To get to download mode, turn off device and hold volume down button and download mode will load with razer symbol, (download mode will be stated in top left corner)
You will need to have ADB and Fastboot pre installed on your PC/Mac before starting this procedure
You will need a USB C cable to connect your device to your PC/Mac
Your BOOTLOADER should be unlocked, if you have wiped your phone of an OS, you most likely have it unlocked already as you were trying to Root your phone!
You will need to obtain the Stock firmware from the Razer website, getting it from the Razer website will stop you from accidentally downloading a corrupt file.
Once file is downloaded extract the .zip file and locate the (Windows) flash_all.bat, (mac) flash_all.sh
Open the flash_all.sh or flash_all.bat as a text format, from there you can see what files will be loaded to your razor phone.
You will need to delete the end of each command line for example: ${FASTBOOT_CMD} flash partition:0 gpt_both0.bin (this is the command line in original text format), Now delete the end of the command line (gpt_both0.bin), your new line should read ${FASTBOOT_CMD} flash partition:0, after drag and drop the file (gpt_both0.bin) from the original folder into the text editor, this will apply the address for the file and update your command line.
Once you have edited each following command line, with what it states at the end of each command line, save the document to original folder.
Open up terminal or CMD (CMD run as administrator), once loaded type the command line; adb
This will allow the ADB to run in the terminal
Now check that your device is connected to your PC/Mac, type the command line; adb devices
This should show you a ID number for your phone and what state it is in.
Now drag and drop the file flash_all.sh (mac) or flash_all.bat (windows), this needs to be your edited version, from you original folder and drop into your terminal or CMD page. Now hit enter
This will start the process to re-loading your stock firmware onto your phone.
Wait until the end of the process is complete, after your phone should reboot and load to the phones guide of setting up a new phone
If this has not worked then try the process again or check that your bootloader is unlocked and try again.
After all is good you can re-lock your bootloader by putting your device into (download mode) and typing the command line; fastboot flashing lock
When the bootloader page loads click on yes by using the volume buttons and power button for accepting
Now your device should reboot to working order with stock firmware!
This is my first time trying this so if i have missed stuff out please forgive me and let me know and i will update.
I hope this helps you into getting your razer phone back to life
Last edited: