[GUIDE] Root and/or install a GSI on razer phone 2 and pass safety net (For Windows)

Search This thread

Reznor7

Senior Member
Apr 27, 2013
348
79
Has anyone solved the low volume game music issue with GSIs? It's the only bug I can't squash. In some games, the music fades in and out at levels below half volume.
 

ATAC_2000

Member
May 13, 2015
13
0
Ulysses i flashed the boot.img in both boot_a and boot_b and twrp is saying this (photo). Obviously I'm screwing the boot.img part of the process and probably even more...twrp is not loading my storage. I'm a novice at best...i hope the info is enough...if you need more please let me know
 

Attachments

  • 20201219_182437.jpg
    20201219_182437.jpg
    890.4 KB · Views: 21

Usyless

Senior Member
Oct 6, 2019
120
48
Razer Phone 2
OPPO Find X2 Pro
Ulysses i flashed the boot.img in both boot_a and boot_b and twrp is saying this (photo). Obviously I'm screwing the boot.img part of the process and probably even more...twrp is not loading my storage. I'm a novice at best...i hope the info is enough...if you need more please let me know
Okay so what are you trying to do? just install TWRP? install a GSI etc...

also can if you can boot back to system tell me
 

ATAC_2000

Member
May 13, 2015
13
0
Okay so what are you trying to do? just install TWRP? install a GSI etc...

also can if you can boot back to system tell me

It attempts to boot into system then after maybe 2 min...it takes me back to twrp but with this msg
 

Attachments

  • 16084253750165294094651324368889.jpg
    16084253750165294094651324368889.jpg
    2.5 MB · Views: 11
  • 16084255852573092804178387349786.jpg
    16084255852573092804178387349786.jpg
    846.9 KB · Views: 12
  • 16084256975744329131899111866954.jpg
    16084256975744329131899111866954.jpg
    903.4 KB · Views: 10

ATAC_2000

Member
May 13, 2015
13
0
did you do anything else to the phone? or just install arters kernel?

I'd probably recommed reflashign stock then starting over (you will lose your data)

No this was my first flashing anything on it...so was I supposed to just pull the boot.img out of the arters97.zip...cuz I extracted it down to a folder from the zip...was i supposed rename that entire zip boot.img?
 

Usyless

Senior Member
Oct 6, 2019
120
48
Razer Phone 2
OPPO Find X2 Pro
No this was my first flashing anything on it...so was I supposed to just pull the boot.img out of the arters97.zip...cuz I extracted it down to a folder from the zip...was i supposed rename that entire zip boot.img?
you were meant to download the .IMG file from arters website, flash THAT file with your computer, then enter the recovery and flash the ZIP file inside TWRP

you did the wrong thing...
 

ATAC_2000

Member
May 13, 2015
13
0
Good luck, just remember

the IMG file is flashed on pc, the ZIP file on the phone
Okay Ulysses so the problem seems to be that that around 90% of the paths couldn't be located or "doesn't exist" and even if they are there just not recognized by the flash_all script once Its activated...I tried to simply to reflash the correct img files this time around before I tried the stock firmware
 

Usyless

Senior Member
Oct 6, 2019
120
48
Razer Phone 2
OPPO Find X2 Pro
Okay Ulysses so the problem seems to be that that around 90% of the paths couldn't be located or "doesn't exist" and even if they are there just not recognized by the flash_all script once Its activated...I tried to simply to reflash the correct img files this time around before I tried the stock firmware
Did you unlock your bootloader correctly?

both critical and normal partition?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    YOUR WARRANTY IS NOW VOID! I am not responsible for anything that could happen, dead sd card, bricked phones, you name it. You chose to install this software and you face the risk of any bugs that may affect you. This is just a warning incase anything goes wrong :)

    ISSUE: FASTBOOT Might not work on windows 10 version 2004, a solution is to use a Linux virtual machine to use fastboot commands. Test it out first as you might be lucky and it could work for you.

    A complete guide on how to either just root the razer phone 2 and/or install a gsi with everything working.
    The sections are: Basics - Installing TWRP - Rooting - Installing a GSI + Root - Passing safety net to use baking apps, certain games etc.

    Basics: (You will have to factory reset if you have not unlocked your bootloader before)
    1. Download this and this file, un zip them both and move them to a known directory such as C:\ADB
    2. Then on your phone, go into developer options and enable OEM/Bootloader unlocking, and after that reboot into the bootloader by holding POWER + VOL DOWN and plug the phone into your pc (I recommend you connect it to a USB 2.0 port, as USB 3.0 might give you issues with the fastboot commands)
    3. Then we need to install bootloader drivers onto our phone, so open device manager, click the drop down menu next to Android Device, right click on Android and select Update Driver, then select Browse my computer for driver software, Let me pick from a list of available drivers on my computer, Show all devices, Have disk and navigate to your folder where you extracted the .zips (in my case C:\ADB) and open the usb_driver folder and select android_winusb.inf. In the next menu select Android Bootloader Interface, proceed through the warning and install it.
    4. To unlock the bootloader open a cmd window in the directory of your platform-tools folder, which in my case would be C:\ADB\platform-tools (type cd C:\ADB\platform-tools in cmd) and run two commands: fastboot flashing unlock (after each one select yes on your phone and let it reboot - it might take a while) and fastboot flashing unlock_critical

    To install the arter97 kernel/TWRP: (keep your phone in the Bootloader and plugged into the pc)
    1. Download both the .zip and .img file from this link (i am using r12 intentionally as it causes less issues) and download this zip file as well
    2. Move both .zip files onto your phones SD CARD (important) and rename the .img file on your PC to Boot.img and place it into your platform-tools folder (C:\ADB\platform-tools in my case)
    3. Open a command prompt window and like before change the directory to the platform-tools folder, then run two commands: fastboot flash boot_a boot.img and fastboot flash boot_b boot.img
    4. Now using the volume keys select the Recovery Mode option in the bootloader and press the power key to select it, if it asks for a decryption password cancel it, and if it asks to allow system modifications swipe to allow it
    5. Go to the Install section and navigate to external_sd and navigate to the arter-r12.zip you installed, then click it and swipe to flash, after that flash the f2fs zip and after it's complete back out to the main menu, click reboot and select recovery
    6. Once you are back in recovery, go to Wipe and select Format Data (this will not erase your sd card if it is set as external storage) and type yes
    7. If you don't want to root then to reboot to system go into Reboot and select System, TWRP will ask you if you want to install their special app, DO NOT INSTALL IT, CLICK ON DO NOT INSTALL.
    8. Now you are ready to proceed to the next step(s) (these are short now don't worry)

    To just root and stay on the stock ROM:
    1. Download magisk 20.1 (works better) from here and move it onto your phone sd card by going to the main TWRP menu, selecting Mount then SD card and you should be able to transfer the file onto the sd card directly from your PC
    2. Then simply flash the magisk 20.1 zip in TWRP as we did before and you can now reboot system (make sure to not install the TWRP app)
    3. Magisk Manager will prompt you to update magisk, DONT do it. You can however install the latest magisk manager update

    To install a GSI and Root: (lineageOS is what i have linked here, however this is not the only one you can use, make sure you NEED gapps before flashing it incase they are included anywhere)
    1. Firstly, to have bluetooth working go to Mount and select Vendor, go back, select Advanced then File Manager then navigate to /vendor/overlay/ and delete both BluetoothResCommon.apk and RazerAuraBluetoothRes.apk
    2. Then download the latest arm-64-bvN .img file from here, unzip it on your computer and move the .img file to your phone. If you also want gapps (google apps) download this file and move it onto your SD card as well
    3. Now, head to the TWRP Install section, at the bottom select Install Image, select the downloaded lineageOS (or your own gsi) .img file, in the next screen select System Image and swipe to flash it.
    4. Once it has flashed back out to the main screen and click on Wipe, then select Advanced Wipe, then select System, Repair or change file system, and finally press Resize and swipe to do it, if it fails then re do this step
    5. Then go back into the Install section and flash the opengapps zip file and after that the magisk zip file
    6. Now you can reboot to system (might take a couple minutes) and set up the phone.
    7. If you notice it is running slowly go into settings > Phh treble settings (might have to force close app once for it to appear) > Misc Settings > Force FPS > and select the 120.00001 at the bottom (top numbers are 1080p and bottom numbers are 1440p)

    Finally, to pass safetynet:
    1. Head into magisk manager, go to its settings and enable Hide Magisk, then call it Manager and allow it to reinstall itself, after that enable Magisk Hide in the settings aswell (hide your banking apps with this or any game that wont boot due to ROOT)
    2. Then go into the magisk downloads section and search for the ArCore module, install this, reboot and your safetynet will pass on a gsi


    This is my first xda post so my formatting may be bad but i hope it can help some people :) if you have any questions drop a comment and please like the post if it helped you for more people to see it.

    Have a good day :D
    1
    YOUR WARRANTY IS NOW VOID! I am not responsible for anything that could happen, dead sd card, bricked phones, you name it. You chose to install this software and you face the risk of any bugs that may affect you. This is just a warning incase anything goes wrong :)

    A complete guide on how to either just root the razer phone 2 and/or install a gsi with everything working.
    The sections are: Basics - Installing TWRP - Rooting - Installing a GSI + Root - Passing safety net to use baking apps, certain games etc.

    Basics: (You will have to factory reset if you have not unlocked your bootloader before)
    Download this and this file, un zip them both and move them to a known directory such as C:\ADB
    Then on your phone, go into developer options and enable OEM/Bootloader unlocking, and after that reboot into the bootloader by holding POWER + VOL DOWN and plug the phone into your pc (I recommend you connect it to a USB 2.0 port)
    Then we need to install bootloader drivers onto our phone, so open device manager, click the drop down menu next to Android Device, right click on Android and select Update Driver, then select Browse my computer for driver software, Let me pick from a list of available drivers on my computer, Show all devices, Have disk and navigate to your folder where you extracted the .zips (in my case C:\ADB) and open the usb_driver folder and select android_winusb.inf. In the next menu select Android Bootloader Interface, proceed through the warning and install it.
    To unlock the bootloader open a cmd window in the directory of your platform-tools folder, which in my case would be C:\ADB\platform-tools (type cd C:\ADB\platform-tools in cmd) and run two commands: fastboot flashing unlock (after each one select yes on your phone and let it reboot - it might take a while) and fastboot flashing unlock_critical


    To install the arter97 kernel/TWRP: (keep your phone in the Bootloader and plugged into the pc)
    Download both the .zip and .img file from this link (i am using r12 intentionally as it causes less issues) and download this zip file as well
    Move both .zip files onto your phones SD CARD (important) and rename the .img file on your PC to Boot.img and place it into your platform-tools folder (C:\ADB\platform-tools in my case)
    Open a command prompt window and like before change the directory to the platform-tools folder, then run two commands: fastboot flash boot_a boot.img and fastboot flash boot_b boot.img

    Now using the volume keys select the Recovery Mode option in the bootloader and press the power key to select it, if it asks for a decryption password cancel it, and if it asks to allow system modifications swipe to allow it
    Go to the Install section and navigate to external_sd and navigate to the arter-r12.zip you installed, then click it and swipe to flash, after that flash the f2fs zip and after it's complete back out to the main menu, click reboot and select recovery
    Once you are back in recovery, go to Wipe and select Format Data (this will not erase your sd card if it is set as external storage) and type yes
    If you don't want to root then to reboot to system go into Reboot and select System, TWRP will ask you if you want to install their special app, DO NOT INSTALL IT, CLICK ON DO NOT INSTALL.
    Now you are ready to proceed to the next step(s) (these are short now don't worry)


    To just root and stay on the stock ROM:
    Download magisk 20.1 (works better) from here and move it onto your phone sd card by going to the main TWRP menu, selecting Mount then SD card and you should be able to transfer the file onto the sd card directly from your PC
    Then simply flash the magisk 20.1 zip in TWRP as we did before and you can now reboot system (make sure to not install the TWRP app)
    Magisk Manager will prompt you to update magisk, DONT do it. You can however install the latest magisk manager update


    To install a GSI and Root: (lineageOS is what i have linked here, however this is not the only one you can use, make sure you NEED gapps before flashing it incase they are included anywhere)
    Firstly, to have bluetooth working go to Mount and select Vendor, go back, select Advanced then File Manager then navigate to /vendor/overlay/ and delete both BluetoothResCommon.apk and RazerAuraBluetoothRes.apk
    Then download the latest arm-64-bvN .img file from here, unzip it on your computer and move the .img file to your phone. If you also want gapps (google apps) download this file and move it onto your SD card as well
    Now, head to the TWRP Install section, at the bottom select Install Image, select the downloaded lineageOS (or your own gsi) .img file, in the next screen select System Image and swipe to flash it.
    Once it has flashed back out to the main screen and click on Wipe, then select Advanced Wipe, then select System, Repair or change file system, and finally press Resize and swipe to do it, if it fails then re do this step
    Then go back into the Install section and flash the opengapps zip file and after that the magisk zip file
    Now you can reboot to system (might take a couple minutes) and set up the phone.
    If you notice it is running slowly go into settings > Phh treble settings (might have to force close app once for it to appear) > Misc Settings > Force FPS > and select the 120.00001 at the bottom (top numbers are 1080p and bottom numbers are 1440p)


    Finally, to pass safetynet:
    Head into magisk manager, go to its settings and enable Hide Magisk, then call it Manager and allow it to reinstall itself, after that enable Magisk Hide in the settings aswell (hide your banking apps with this or any game that wont boot due to ROOT)
    Then go into the magisk downloads section and search for the ArCore module, install this, reboot and your safetynet will pass on a gsi


    This is my first xda post so my formatting may be bad but i hope it can help some people :) if you have any questions drop a comment and please like the post if it helped you for more people to see it.

    Have a good day :D


    Thank you excellent post just what I needed.
    1
    Thank you excellent post just what I needed.
    :D I'm glad it helped you
    1
    :D I'm glad it helped you

    If you don't mind what other GSI ROMs have you tried that worked well with this phone I am particularly interested in the Google pixel Android 11. Thanks again you have extended the life of this phone for me.
    1
    you might be able to use this fix (it's a magisk module) as it is made for AT&T https://t.me/razer_phone/14202

    its called a volte fix but it should help with sms, if it doesn't work you can just remove the module, reboot then delete some qualcomm.ims app (should be shown in your app list)