yashsingh1/xdaforums huggingface dataset:
[Razer Phone 2 Guides, News, & Discussion] chpimentelpr:
The drivers are the regular ones for android nothing specific, they can be downloaded from their SDK https://developer.android.com/studio/run/win-usb
[Razer Phone 2 Guides, News, & Discussion] Bounty33:
App root detection?

If I root my Razer phone 2 using this guide, will certain apps like banking apps, and rideshare apps be able to detect root?
[Razer Phone 2 Guides, News, & Discussion] chpimentelpr:
You can use magisk to hide the root from those apps. In general banking app are not affected by root. Google pay could be affected, but I don't use it so can't be sure. And you can always unroot.
[Razer Phone 2 Guides, News, & Discussion] chpimentelpr:
Did you rooted? Anything missing on the guide? I want make it as useful as possible so feedback is welcome.
[Razer Phone 2 Guides, News, & Discussion] AbsoluteContingency:
I have not, but I've been really sick and useless. I think I'll try tonight and let you know how it goes. :) Thanks for the guide, dude.

---------- Post added at 02:50 PM ---------- Previous post was at 02:45 PM ----------

Wait, yes, I do have a question. I download the drivers, and I download the Fastboot ADB thing. What do I do with the drivers? Do they just install in Windows like anything else, and that allows me to connect to the phone?
[Razer Phone 2 Guides, News, & Discussion] chpimentelpr:
Yes, install them as any other driver.
[Razer Phone 2 Guides, News, & Discussion] ndragon798:
After rooting can you relock the boot loader or will that brick the phone?
[Razer Phone 2 Guides, News, & Discussion] chpimentelpr:
Not sure, but why you want to relock the boot.
[Razer Phone 2 Guides, News, & Discussion] ndragon798:
Mostly to get rid of the startup message
[Razer Phone 2 Guides, News, & Discussion] Gamesoul Master:
Very nice. I've rooted a ton of phones over the years, but they had more established communities and had well-explained (and tested) methods of rooting. The previous guide posted (that you referenced) was fine enough, but it was very much lacking a couple prerequisites that I was wondering/concerned about. This guide has cleared all of that up for me, and I now feel confident about rooting this phone.

Just as soon as I charge up the phone and install the OTA I've been avoiding until now... lol. Hoping somebody will make a Magisk module to move the clock back to where it belongs (if they haven't already).

EDIT: Just wanted to add my success story to this. Only thing I had to do that wasn't listed in the instructions (but makes sense) is that fastboot didn't work until I enabled USB Debugging (again, after the wipe and reboot), and I had to very manually tell the computer which driver to use (ADB) after that. Didn't have that issue for the bootloader instructions beforehand (that time, the driver worked automatically), so I figured I'd mention it.
[Razer Phone 2 Guides, News, & Discussion] ndragon798:
Also is there a way to turn back on the preboot authentication. Pretty much I just want to maintain full encryption and the built in security while having root.
[Razer Phone 2 Guides, News, & Discussion] chpimentelpr:
I don't believe encryption is supported at the moment, and I don't encourage you to try it until TWRP is fully supported since you may end up in a boot loop. I'm eagerly waiting for the full encryption capability, so I will let you know as soon as something come up.
[Razer Phone 2 Guides, News, & Discussion] ChronosTrigger:
This has to be......one of the most usefull and noob friendly guides i have ever seen.....

You sir....are a God

Thank You.
[Razer Phone 2 Guides, News, & Discussion] chpimentelpr:
i'm glad it helps.
[Razer Phone 2 Guides, News, & Discussion] xttweaponttx:
Alright so after fighting with windows for a few hours, I discovered that my ADB was severely outdated.... Lesson learned there.

After getting the new boot image installed, though, I hit another problem... WiFi refuses to work. The toggle switch in the statusbar, nor the toggle in the system settings, will bring my wifi to life. Which is weird! Because I got through setup just fine, connected to wifi and signed into google... Yet now all wifi functionality has vanished. I tried a factory reset, to no avail. I'm gonna have to restore the factory boot image and start all over... But for now, figured I'd ask if anyone else has run into this weird bug?

***update***

I've now gone and flashed the global image for 8.1.0 to the phone... and it's telling me the OS is up to date???? How do I get back to pie?? It's late here and I've got wifi back now... but I'm stumped. Any help would be so greatly appreciated!
[Razer Phone 2 Guides, News, & Discussion] chpimentelpr:
I doubt the issue with the wifi is related with the image, since it doesn't have anything to do with it. If your phone doesn't detect the update you will need to sideload it. Then try the root guide again. Let us know how it goes, it the first time I hear something wrong with WIFI after rooting.
[Razer Phone 2 Guides, News, & Discussion] xttweaponttx:
Same here, I've never had WiFi issues with rooting... it had me pretty baffled as well! As far as sideload goes, where do I get my hands on a pie image? All I can find of Razer's website is the 8.1 image.. am I missing something or is there no pie firmware release as of now?

**update**

I dug through the whole xda forum and found this. It'll be a good couple hours before it downloads (woohoo Idaho internet), but I'll letcha know what's up when I've got it installed.
[Razer Phone 2 Guides, News, & Discussion] xttweaponttx:
** update 2 **

It worked! The download was an OTA for 8.1 though, so if you're using the file in that link when doing a full reimage, you'll probably have to install 8.1 and apply the update over top of that using adb sideload.

I'll now try the root method again... this time making sure I've got a spare boot.img laying around ?

---------- Post added at 02:02 PM ---------- Previous post was at 01:42 PM ----------

** update 3 **

It works! I guess it was a freak accident..? I've never hit anything like before, especially just installing magisk!

I think I'm gonna create another post with a link to that Pie OTA so folks can find it. I'll link to it here in a few.
[Razer Phone 2 Guides, News, & Discussion] chpimentelpr:
Great!!! Yes, I think others will value if you create the post in how to upgrade to PIE.
[Razer Phone 2 Guides, News, & Discussion] xttweaponttx:
Well... I just got a notification that I have an update.... Bug fixes. Will it break my root? I'm gonna test it after work... Here's hoping ?
[Razer Phone 2 Guides, News, & Discussion] blackknightavalon:
It won't even install. It didn't for me
[Razer Phone 2 Guides, News, & Discussion] xttweaponttx:
Can you salvage the zip and apply it through adb?
[Razer Phone 2 Guides, News, & Discussion] blackknightavalon:
It automatically deletes the zip. I managed to downgrade back to Oreo and update to Pie that way
[Razer Phone 2 Guides, News, & Discussion] Trippyy Doee:
New pie boot.img

https://xdaforums.com/razer-phone-2/how-to/root-t3875237/page13

I'm fully updated with root with edxposed and everything working just fine.
[Razer Phone 2 Guides, News, & Discussion] xttweaponttx:
Nice. Is that one pre-patched?
[Razer Phone 2 Guides, News, & Discussion] Trippyy Doee:
No it isn't . sorry
[Razer Phone 2 Guides, News, & Discussion] changguangyu:
Does this work with Android Pie MR1 update?
[Razer Phone 2 Guides, News, & Discussion] chpimentelpr:
I haven't try it yet, but it should. Image is not modified as per the update.
[Razer Phone 2 Guides, News, & Discussion] xttweaponttx:
Honestly, how is your performance with edexposed? Also are you using gravitybox alongside it?

I'm curious to try it out, but this phone is my daily driver.. I'd like to avoid bricking it, even softly.
[Razer Phone 2 Guides, News, & Discussion] Trippyy Doee:
I keep it simple with the Xposed modules I use. X messenger privacy , MinMinGuard and yes Gravity box Beta 6 . I have to say i haven't had any issues with anything at all. Not even a random reboot. I am also using Arter97 kernel. He is very credible and again I haven't had any issues whatsoever . And TBH it's so easy to come back from messing up with the factory images being given to you . Especially with the flash_all.bat that razor provided in the factory image zip
[Razer Phone 2 Guides, News, & Discussion] jal3223:
Do you mind telling the steps you did to get Arte97's kernel (and TWRP) installed? I kinda see that everyone has a different method, as well as a good but if people having a lot of issues. It doesn't seem like he contributes a lot of talk in the thread. Thank you.

By the way, I'm currently running the latest update with Magisk up and running now.
[Razer Phone 2 Guides, News, & Discussion] xttweaponttx:
Rad, thank you for the heads up. Also I thought there wasn't twrp yet? And thanks J3223, I'll have to give it a shot after updating.
[Razer Phone 2 Guides, News, & Discussion] Trippyy Doee:
Simply flash the fstab , reboot back to recovery, wipe data type yes, reboot and go thru the normal setup . Then I flashed magisk , riru core , edxposed . And im good to go.
[Razer Phone 2 Guides, News, & Discussion] jal3223:
Sorry, I should have been more specific. I meant what did you do to get TWRP originally installed. I saw a couple of people with completely different methods. As well as a couple of people having issues with both of them. Lol
[Razer Phone 2 Guides, News, & Discussion] Trippyy Doee:
Assuming you don't know how to initially install the kernel . You use the .img file instead of the zip so you can fastboot and install the custom TWRP he integrated into the kernel. Fastboot command is "fastboot flash boot_a TWRP.img" (or whatever you choose to call the arter97 kernel.img file. I didn't also flash boot_b like the normal root method because it doesn't matter.
[Razer Phone 2 Guides, News, & Discussion] Lucifer6:
Every single time that I have attempted to type in fastboot flash boot_a boot.img,

it stays stuck indefinitely and does not do anything... I'm on MR1.

Someone please help!
[Razer Phone 2 Guides, News, & Discussion] xttweaponttx:
Do you mean the boot animation gets stuck, or adb?
[Razer Phone 2 Guides, News, & Discussion] Lucifer6:
The command line itself stays stuck. I can't insert any links until I have ten posts, otherwise I'd show you a picture. After typing in the command, it goes to the next line on the console and just stays there forever, nothing happens on the phone or computer after that until I disconnect
[Razer Phone 2 Guides, News, & Discussion] xttweaponttx:
Make sure your adb is updated (mine wasn't, I had a slew of issues). I use the minimal adb package, and thought my version I already had would do fine, but turned out it was severely outdated. A quick Google search for minimal adb would do the trick.

Also does the phone show in fastboot devices? If not I'd try reinstalling your drivers.

Lemme know if this works!
[Razer Phone 2 Guides, News, & Discussion] Lucifer6:
Thank you for the reply. It does show in fastboot devices, but after I call the fastboot devices command and try to call the fastboot flash boot_a patched_boot.img command, it says "failed(too many links) and then the phone show tiny white text at the top left corner: "press any key to restart". When I restart the bootloader and do the fastboot flash boot_a command again without calling fastboot devices first, then the command seems like it executes but then stays idle forever. but yeah my adb is the latest one
[Razer Phone 2 Guides, News, & Discussion] xttweaponttx:
Weird... Well I'm not sure what's up then.. in the past, switching between usb ports on the pc and rebooting has helped me.. also on Razer's site, they say specifically to avoid flashing using the charger cable that comes with the phone, and instead use a USB c to A (or a microusb with a c adapter, in my case). Sorry you're having trouble with it, hope ya figure something out!
[Razer Phone 2 Guides, News, & Discussion] animamachinae:
I'm trying to root my phone and I'm having some issues. I have the latest versions of adb and fastboot and the drivers are working, but whenever I try to do "fastboot flashing unlock_critical" the phone restarts and I get either "FAILED (Write to device failed (Too many links))" or "FAILED (Write to device failed (No such file or directory))". If I just try to flash the image "fastboot flash boot_a .\patched_boot.img" or "fastboot flash boot_b .\patched_boot.img" one of them will throw "Sending 'boot_a' (20768 KB) FAILED (Write to device failed (Invalid argument))" and the other will just sit at the command line forever doing nothing. I really don't know where to go from here.
[Razer Phone 2 Guides, News, & Discussion] JDubbed:
Ordered my Razer Phone 2 and should have it tomorrow. I got a couple questions.

1. Should I first install all OTA updates and then perform the steps on page 1 in this thread?

2. I am getting confused with the "Root Magisk Pie Update For Unlocked Devices" on the instructions on page 1 and it directs to another post with MR0 and MR1 boot.img. I am assuming I use the MR that matches the PIE version I have on the phone which I assume will be MR2 after all the OTA updates go through. However, after that I am confused. Do I open up adb and run the following commands fastboot flash boot_a boot.img, fastboot flash boot_b boot.img and fastboot reboot? And that's it? Then I continue with the install instructions on page 1? I just need some clarification there.

Thanks!
[Razer Phone 2 Guides, News, & Discussion] jonchance_84:
I would unlock bootloader (including critical) then manually flash pie mr1. Then root with modded boot.img to a and b partitions. Shortest and most fail-proof method.
[Razer Phone 2 Guides, News, & Discussion] JDubbed:
Thank you. Another question. The magisk seems to be in a .zip format and not an apk as stated on the instructions on post 1. Am I doing something wrong? How should I go about installing magisk?

Do I need to flash Magisk similar to the instructions to flashing boot.img in fastboot?
[Razer Phone 2 Guides, News, & Discussion] xttweaponttx:
Hey so just to confirm, the image from the other guys' post will work with MR2, right? Can anyone confirm success?

---------- Post added at 01:06 AM ---------- Previous post was at 01:03 AM ----------

So the apk manages the magisk framework. The zip is the framework, which you patch over the boot image. I think all the images in this post are pre-patched, so you just have to overwrite your existing boot image.
[Razer Phone 2 Guides, News, & Discussion] JDubbed:
My PIE version was MR1 so I used the MR1 boot.img. MR2 was not available to my Razer Phone 2 just a couple days ago. You may want to post your question in this thread.

I did find magisk already installed. I guess the the boot.img was already patched. Thanks for letting me know!

---------- Post added at 09:09 AM ---------- Previous post was at 09:02 AM ----------

Does anyone know how to get xposed installed using magisk? I see that xposed can be a module within magisk so it works seamlessly without triggering security issues on the phone. However, I attempted to install all the xposed frameworks located in the download section of magisk manager but they all fail stating incorrect version. Any guidance on how to get xposed on the razer phone 2 within magisk would be greatly appreciated.
[Razer Phone 2 Guides, News, & Discussion] Gamesoul Master:
I installed them manually using the files in the GravityBox thread: https://xdaforums.com/xposed/modules/app-gravitybox-v9-0-0-beta-1-android-9-t3908768
[Razer Phone 2 Guides, News, & Discussion] JDubbed:
Delete
[Razer Phone 2 Guides, News, & Discussion] gboybama:
Well darn. I was about to call my phone fully modded up with the custom TWRP kernel running, Pie with Magisk and EdXposed showing green, but my Wi-Fi is now trash. (disconnects every couple of minutes for no apparent reason)

So, I need to start over with the Pie factory image and do it all again? Does anyone have any idea what I did wrong that triggers the Wi-Fi fail? I will say that I was already running with root and Magisk installed via fastboot when I did a factory reset and installed the kernel and TWRP over top of it. I then flashed the Magisk/root zip again in TWRP and started setting all my stuff back up. Did I skip a step by not restoring the factory image before customizing the kernel?
[Razer Phone 2 Guides, News, & Discussion] MystikMan97130:
Do you have arter97 kernel? r7 or r8b1?

i think r8b1 have wifi bug.

https://xdaforums.com/showpost.php?p=79525966&postcount=101
[Razer Phone 2 Guides, News, & Discussion] gboybama:
Wow, I am on r8b1. That's a relief. Hopefully I can hold out for the next version and figure out the minimum number of hoops I have to jump through to apply the update. Thanks!
[Razer Phone 2 Guides, News, & Discussion] mattwheat:
I've unlocked the bootloader via the instructions and thru the menu in fastboot mode. I've had adb installed for years. When I type

adb devices it shows my phone ..... I type adb reboot bootloader

it reboots to bootloader but when in the bootloader menu if I type fastboot devices it doesn't show anything. Any fastboot command I type then hit "enter" only cause the my cmd prompt to react as if I never typed anything. Meaning the cursor just jumps to the next line with the same c:/ blah blah blah. As the line before.

Why? What an I doing wrong. Never experienced this. My pixel XL has no problem receiving fastboot commands. But this Razer 2 is acting as if the bootloader is not unlocked. I'm on the latest update and I do have USB debugging enabled.
[Razer Phone 2 Guides, News, & Discussion] samussamus1:
I've managed to follow the instructions, everything has gone well.

However, Dolby Atmos has stopped working and I have no audio at all. Does anyone know hot to fix this? Thanks.

Edit: Scrap this. This Root method totally broke my audio+wifi (possibly more).

The audio patch found online for Magisk as a module does not work.

Wi-Fi seemed totally doomed.

Restoring back to factory soft bricked my phone for a couple of hours.

I finally worked out that the system img file needs flashing manually.

Total nightmare, why did I bother?! - well, I bothered because I wanted to install a battery charger limiter + mods for Chroma.....
[Razer Phone 2 Guides, News, & Discussion] FellpeSoares:
Use v19.0, my wifi working fine
[Razer Phone 2 Guides, News, & Discussion] mattwheat:
Anybody? Any help please ?
[Razer Phone 2 Guides, News, & Discussion] jonchance_84:
Sounds like you don't have the fastboot drivers installed. Your PC sees a different device technically. Check Razer's site for the guide in installing the drivers. You need to install drivers for each state your phone can be in.
[Razer Phone 2 Guides, News, & Discussion] samussamus1:
What do you mean? v19.0 for what?
[Razer Phone 2 Guides, News, & Discussion] jonchance_84:
He means 19.0 of Magisk. But it's easier just to flash the latest global firmware then use the patched boot.img from this thread.

https://xdaforums.com/razer-phone-2/development/root-pie-update-unlocked-devices-t3905454/page7
[Razer Phone 2 Guides, News, & Discussion] CurtisMJ:
For future reference, this means the kernel failed to load the vendor kernel modules, among which is audio and WiFi functionality. Modules are signed, so this probably means you used the wrong stock image for your respective firmware. It would be useful to know your model (unlocked, carrier) and current firmware build(eg. MR1)
[Razer Phone 2 Guides, News, & Discussion] mattwheat:
Ok thanks. I'll try that.
[Razer Phone 2 Guides, News, & Discussion] JDubbed:
Is there an MR2 version for this guide?
[Razer Phone 2 Guides, News, & Discussion] EchtCZ:
Hi ,

thanks for this guide . But.....

I can not do this step above.I need Unlock bootloader but my wifes RP2 is locked by google account and she forgot all about google,so I can not to access to phone setting .

Is there some another way how to unlock bootloader ? For example from adb console ? I tried someting like "fastboot oem unlock" and etc.... but nothing happened .

Tahnks
[Razer Phone 2 Guides, News, & Discussion] Rhoobarb2005:
Well, I gave this a go, and it has all gone pear shaped. I think there are some steps missing and others are a bit vague in what you have to do. It was going fine until after the restart on

fastboot flash boot_a boot.img

fastboot flash boot_b boot.img

fastboot reboot

Now the wifi refuses to work, I have lost sound and I have no root.

I have tried to reflash the factory image, but it hangs on the first file.

I just am unsure what to do now.

Does anyone have any ideas?

EDIT: Ok I updated my adb and fastboot and managed to relaod the stock firmware, so all good.
[Razer Phone 2 Guides, News, & Discussion] Rhoobarb2005:
I tried the whole process again, I have got to the bit where I need to flash the boot.img file, but any time I try to use any fastboot command while I am in fastboot mode, it forces a shutdown.

The instant I click enter on the computer it shows the logo splash screen, with tiny grey text at the top left corner saying "press any key to shutdown".

For what looked like a simple process this is a complete headache :/
[Razer Phone 2 Guides, News, & Discussion] danielahl137:
Im stuck at the fastboot section. My phone is not showing up after typing "fastboot devices" while the phone is in fastboot mode. If go straight to the command to to flash boot.img is says its waiting for a device. I am lost, not sure what will fix this.
[Razer Phone 2 Guides, News, & Discussion] mattwheat:
You need the correct fastboot driver's. Look a page or two back where I said I was having the same issue. Someone responded to my question and posted the link to the right ones.
[Razer Phone 2 Guides, News, & Discussion] etsai3:
Can't fastboot, waiting for device. Not even entirely sure if it is done right.
[Razer Phone 2 Guides, News, & Discussion] xttweaponttx:
My issues were rooted in a mixture of bad usb's and driver problems. Try those first. Always do it above an 80% charge, too
[Razer Phone 2 Guides, News, & Discussion] allmanallpimp:
i can't get the drivers in the original post to work

---------- Post added at 06:58 PM ---------- Previous post was at 06:56 PM ----------

i am unable to provide links/screenshots until i have ten posts.... sorry, but i doubt you can help much without them....

---------- Post added at 07:35 PM ---------- Previous post was at 06:58 PM ----------

unable to get this to work... appears to probably be a driver issue... the drivers available in the link on the original post are not doing anything for me when trying to load them... here are some screenshots

https://drive.google.com/file/d/1gkUn_W3wkt3wpscklp40sQ7fOjEPEZ-o/view?usp=sharing

https://drive.google.com/file/d/1gkUn_W3wkt3wpscklp40sQ7fOjEPEZ-o/view?usp=sharing

https://drive.google.com/file/d/1gkUn_W3wkt3wpscklp40sQ7fOjEPEZ-o/view?usp=sharing

any ideas would be appreciative. thanks!

i was able to unlock the bootloader, but that's it...
[Razer Phone 2 Guides, News, & Discussion] kc73837:
I am having the same issue. Unlock bootloader, in developer mode. Enter fastboot, plug in USB to laptop, and see the driver issue under device manager on my laptop.

I tried both 1.3 and 1.4 ADB, updated USB driver with ADB, still cannot see device.

Tried "adb devices" and can't see anything.

Not sure what I'm doing wrong here.

I thought it was USB cable issue so I tried it with another laptop that has USB C connector and tried it with the USB C that came with the phone. Still no luck.

Thanks!
[Razer Phone 2 Guides, News, & Discussion] HKPolice:
Will OTA updates work after rooting using this method? Magisk site claims their way of rooting works with OTA..
[Razer Phone 2 Guides, News, & Discussion] Spyyyyy:
need help please :)

hello ir i appriciate your effort to help us out.

my adb says waiting for any device when i type: fastboot flash boot_a boot.img

the boot image is in the same folder as the programm itself and the phone has unlocked bootloader and is in fastboot mode but nothing happens adb just says waiting for any device