Razer Phone with no OS system

Jonlines94

Member
Apr 2, 2018
6
1
0
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
 
Last edited:
  • Like
Reactions: Raidel™

Kimbaroth

Senior Member
Apr 17, 2010
470
318
93
Monterrey
kimba.deviantart.com
Isn't it easier to just type "flash_all.bat" (without quotes) directly???

Just use cd.. to go back to a previous folder or type the name of the folder that you want to access directly on CMD, for example, asuming that your OS folder is directly placed on "C" and the name of the folder is RAZER, just type:

cd..
cd..
cd RAZER
flash_all.bat

All the instructions can be found directly on the official Razer site: https://developer.razer.com/razer-p...885.617132994.1525376764-984967671.1524497635

Thank you tho.
 

Djcall11

Member
Jun 17, 2018
27
1
0
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
my phone is just stuck in the green and white loading screen and it wont get past anything i can do
 

worom001

New member
Oct 17, 2015
2
0
0
Doesn't work

I think this is really good and all, but it doesn't work. You suggest removing the extensions such as the gpt_both0.bin and to drag the file itself into the text editor. This doesn't work at all, all it does is open the gtp_both0.bin as a text file as opposed to doing whatever it was you were doing. Am I doing something wrong?

I've tried launching the bat file with all the img and bin files in the ADB folder so that I can just double press the flash_all.bat file, but the response to that is that in the CMD it says that over majority of the things have failed with the message "FAILED (remote: 'Flashing is not allowed for Critical Partitions')".
The only ones that do work are the flash system_b system_other.img, yet system_a system.img don't.
 

Yahyoo

Member
Oct 30, 2012
37
0
0
Muscat
People says that if u want to enter Download mode just hold voulme down and plug the cable , but mine goes direct to bootloader page, phone is not working , brick and says your phone is corrupt
 

kubalolxd1

New member
Mar 17, 2019
3
0
0
People says that if u want to enter Download mode just hold voulme down and plug the cable , but mine goes direct to bootloader page, phone is not working , brick and says your phone is corrupt
HEllo I have a problem I install the firmware from razer to fix my phone but it says the file is corrupted