Root Assistance RP2 Android 9 pie, latest updates.

Cyclo_sarin

New member
Jun 21, 2019
4
0
0
Got my bootloader unlocked, but when trying to flash or unlock critical I get an error and it goes to a screen with the razer logo, "powered by android" at the bottom, and super small text in the upper left "press any key to shutdown"

and shows this in the cmd window:

Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flashing unlock_critical
< waiting for any device >
...
FAILED (command write failed (No error))
finished. total time: 0.027s

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot_a arter97-kernel-r9-20190607.img
< waiting for any device >
target didn't report max-download-size
sending 'boot_a' (30140 KB)...
FAILED (command write failed (No error))
finished. total time: 0.011s
I do have the full sdk package and used android studios sdk manager to get the latest google usb driver.
HTML:
EDIT: Also I'm on a global version (bought it on razer's website)
 
Last edited:

blackknightavalon

Senior Member
Feb 1, 2009
3,217
528
243
Somewhere in NYC
Download any version of the firmware available on the Razer developer portal then run the flash-all script. Once that's done, flash boot and system images separately on both partitions just to be on the safe side. Your phone should be able to boot normally after that. Just run setup, flash arter97's kernel, boot into TWRP and try to enter your lock code (odds are this'll fail), then reboot into TWRP, this time your password/lock code should work, then flash Magisk
 

Cyclo_sarin

New member
Jun 21, 2019
4
0
0
Download any version of the firmware available on the Razer developer portal then run the flash-all script. Once that's done, flash boot and system images separately on both partitions just to be on the safe side. Your phone should be able to boot normally after that. Just run setup, flash arter97's kernel, boot into TWRP and try to enter your lock code (odds are this'll fail), then reboot into TWRP, this time your password/lock code should work, then flash Magisk
Running the flash_all script just throws it into that shutdowns again and keeps going into it anytime I go back into fastboot mode.

also gives me this
Code:
C:\Users\zacha\Desktop\platform-tools>fastboot devices
my S/N fastboot

C:\Users\zacha\Desktop\platform-tools>flash_all

C:\Users\zacha\Desktop\platform-tools>set fastboot_cmd=fastboot

C:\Users\zacha\Desktop\platform-tools>fastboot flash partition:0 gpt_both0.bin
Sending 'partition:0' (44 KB)                      FAILED (Write to device failed (Invalid argument))
fastboot: error: Command failed.
or is just sits there likes this:


Code:
C:\Users\zacha\Desktop\platform-tools>adb reboot bootloader

C:\Users\zacha\Desktop\platform-tools>flash_all

C:\Users\zacha\Desktop\platform-tools>set fastboot_cmd=fastboot

C:\Users\zacha\Desktop\platform-tools>fastboot flash partition:0 gpt_both0.bin
 
Last edited:

xCROv

New member
Jan 21, 2020
1
0
0
Just does the exact same thing.
I'm having the exact same issue. I'm unable to get any flash to work. Tried multiple different machines. Keep getting the same errors. Did you find a solution?

Code:
c:\adb>fastboot flash partition:0 gpt_both0.bin
Sending 'partition:0' (44 KB)                      FAILED (Write to device failed (Invalid argument))
Finished. Total time: 0.005s
Then my RP2 will go to the "Powered by Android" screen with the Razer logo and say "Press any key to shutdown"

I can use "fastboot devices" and get my devices serial number back along with rebooting the bootloader so I don't think it's a driver issue. Out of options and could use some help. At this point I can't even get the factory images to flash.

RP2 - ATT
 
Last edited:

BeardKing

Senior Member
Nov 1, 2012
363
156
63
Philadelphia
I'm having the exact same issue. I'm unable to get any flash to work. Tried multiple different machines. Keep getting the same errors. Did you find a solution?

Code:
c:\adb>fastboot flash partition:0 gpt_both0.bin
Sending 'partition:0' (44 KB)                      FAILED (Write to device failed (Invalid argument))
Finished. Total time: 0.005s
Then my RP2 will go to the "Powered by Android" screen with the Razer logo and say "Press any key to shutdown"

I can use "fastboot devices" and get my devices serial number back along with rebooting the bootloader so I don't think it's a driver issue. Out of options and could use some help. At this point I can't even get the factory images to flash.

RP2 - ATT
Incorrect cord?

https://developer.razer.com/razer-phone-dev-tools/factory-images/

Razer recommends you use a USB 3 Type-A to Type-C spec-compliant cable for any device flashing.
Or old ADB/Fastboot: https://developer.android.com/studio/releases/platform-tools.html
 
Last edited:

JDBarlow

Senior Member
Aug 27, 2010
611
158
68
White Oak, TX
I'm having the exact same issue. I'm unable to get any flash to work. Tried multiple different machines. Keep getting the same errors. Did you find a solution?

Code:
c:\adb>fastboot flash partition:0 gpt_both0.bin
Sending 'partition:0' (44 KB)                      FAILED (Write to device failed (Invalid argument))
Finished. Total time: 0.005s
Then my RP2 will go to the "Powered by Android" screen with the Razer logo and say "Press any key to shutdown"

I can use "fastboot devices" and get my devices serial number back along with rebooting the bootloader so I don't think it's a driver issue. Out of options and could use some help. At this point I can't even get the factory images to flash.

RP2 - ATT
Have ya'll tried using this tool?? It works I'm telling you it'll solve any issues you have with ADB and or FASTBOOT period....

https://forum.xda-developers.com/android/general/tool-adb-fastboot-installer-tool-windows-t3999445