yashsingh1/xdaforums huggingface dataset:
[Razer Phone 2 Guides, News, & Discussion] Dt4lok:
Any help with sim issues? Had no issues getting things running everything went well other than Bluetooth which was an easy fix.

Verizon No Sim
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
Have you managed to flash magisk because it doesn't install for me. It says failed to mount /system .
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
https://xdaforums.com/t/gsi-11-lineageos-18-x-gsi-all-archs.4205461/page-4#post-84298181
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
What boot.img file did you use, (arter97? trinity? stock?)

what gsi did you use,

and what version of magisk did you use?
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Arter97 r14, Lineage 18.1, Magisk 21.4
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
How did you boot (into recovery/os) with the patched boot.img? its not working for me. could you possibly upload your boot.img?
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
I've since gone back to stock; I can't get past that game music bug. Here are my exact steps:

1. Flash_all back to stock MR6.

2. Reboot to bootloader

3. Flash the arter97 r14 kernel to boot_a and boot_b

4. Reboot to recovery

5. Flash LOS 18.1 to system partition

6. Wipe --> Advanced --> Resize system partition

7. Flash GAPPS (I used FlameGAPPS full)

8. Install Magisk

9. Connect computer to phone and go through the steps in the post I linked (Don't forget to mount the system partition before pulling/pushing via ADB)

10. Reboot, make sure Magisk Manager is installed, and run securize

11. After that reboot, everything should be good to go. Turn on Magisk hide and you'll pass SafetyNet.
[Razer Phone 2 Guides, News, & Discussion] Coblenugget:
So I have followed your tutorial and so far everything is working except the double tap and fingerprint not always working. But I thought I would let you know that phone and text also works
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
yea the fingerprint is a bit... touchy. i dont know if this is a security thing or a GSI thing. ill see if i can find a fix.
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
Thanks! this worked great.
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
Fixed the audio issue FINALLY!!! Go to settings > phh treble settings > Qualcomm features > use alternate audio policy. Fixed instantly.
[Razer Phone 2 Guides, News, & Discussion] Coblenugget:
So did you switch to LOS 18.1
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
yea.
[Razer Phone 2 Guides, News, & Discussion] Coblenugget:
Does it work any better or is it the fact to have magisk
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
you also get the black theme, 3, 2 button navigation along with gesture navigation, magisk (which is my main reason for getting it) and that's about it. downsides (in my opinion) include you need to download GApps manually, and if you are using GApps, you need to download a root uninstaller to delete/disable the open source apps. The app drawer doesn't have an app search, the discover page doesn't have the google search anymore. instead, its on the home screen. That's everything!
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Which audio issue are you referring to?
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
the one where it cuts out and stuff with low volumes in games with more complex audio. AKA all the games you listed. i play games like Alto's Odyssey, "Ok?", and I tried SimCity buildlt. none of them have issues anymore
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Seriously!? The fix was that easy? Oh, the number of hours I spent trying to solve that one, and it's in the stupid settings! :P Thanks for the info.
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
I spent a long time just digging in the settings and trying to maybe find a magisk module or SOMETHING. I was also really surprised the fix was that easy aswell.
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Well, I confirmed it myself. Ticking that one box fixed all of my audio issues. I guess you can remove that warning from your guide.
[Razer Phone 2 Guides, News, & Discussion] Coblenugget:
so I am trying to go back to stock i should just have to run flash_all script right
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Yes
[Razer Phone 2 Guides, News, & Discussion] Coblenugget:
So when I try flash_all script it says waiting on device any clue how to fix that
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
After testing the alternative audio policy, I do have one caveat. With that option checked, it disables bluetooth audio, at least media in my vehicle. I haven't had an opportunity to test a call yet.
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Have to use a USB 2.0 port or hub.
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
Yeah. I tested it with my headphones and all that happens is the speaker volume gets louder. :/
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
If you have some free time do you think you will be able to make a video on how you flashed magisk on lineage os, similar to your android 11 guide?
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
i was thinking about doing this...

so i will. :D
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
Haha mate, i appreciate it!
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Android 11 still isn't perfect for our devices yet. The biggest problem right now is that NFC crashes at some point. It comes back after a reboot, but will eventual crash each time.
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
I've just found that NFC just doesn't work and occasionally the phone just stops working occasionally after charging (with lineageos) and sometimes the phone thinks its not charging, then it starts charging again then stops and then all of the sudden when it reaches 70% everything goes back to normal.
[Razer Phone 2 Guides, News, & Discussion] ravirake1342:
Thanks @Marcos8760 for the detailed steps, I was able to flash the rom, but the mobile network doesn't work ( fails to detect sim). Have the same issue with LOS 18.1.
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
I think that's more of a carrier restriction as my phone works fine on either with O2 in the U.K with an unlocked phone...
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
I keep getting stuck on the lineage is boot animation with no hope. I've restarted the device many times and even used the wipe feature in twrp. Do you have any ideas how to get past this?
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Try doing all of the steps except for 8, 9 & 10. That'll at least eliminate Magisk as the issue.
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
Worked perfectly first time!

Can i flash superuser root onto this ROM or should i not? (Don' fully understand how to flash magisk using your guide)
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
It comes with su already installed, so you have root. The only problem is that you won't pass Safetynet. If that isn't a problem for you, you're good to go. If you want to pass Safetynet, you'll have to download the Magisk install zip, flash it in TWRP, and do steps 9 & 10. The securize option is in teh phh-settings under Misc.
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
On the lineage os ROM, superuser is not preinstalled. I'm just asking if it's ok to flash superuser on this version of lineage os or if it'll brick it...
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
The su binary IS installed, but yes, I think you have to install the SuperSU app to take advantage of it. I've done it before.
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
Ahh, I get what you mean now (sorry).

I flashed download.chainfire.eu/1115/SuperSU/SR2-SuperSU-v2.82-SR2-20170808115921.zip using twrp yet still don't have root and tried installing the su app from apkmirror. What have I done wrong?
[Razer Phone 2 Guides, News, & Discussion] SimonFoxcoon:
Is there a fix for magisk not working?
[Razer Phone 2 Guides, News, & Discussion] SimonFoxcoon:
I've went through the process... It worked out, I'm in Android 11 and it's great. Only problem is my model, it changed it from "Phone 2" to "Phh-Treble with GApps" how can I change this?

EDIT: Can't install some apps/games without a proper model. iirc magiskpropsconfig could solve it but it doesn't work right?
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
if you want to try the lineageos thing, you can, (some instructions in the video comments) that will fix the model number and get you magisk.
[Razer Phone 2 Guides, News, & Discussion] hackthis02:
Anyone having an issue with LTE? I'm on Verizon and it's says Verizon on the lock screen but when I unlock the phone it says no sim card installed.

I've tried the ims.apk, the LTEFIX zip, and the *#*#4636#*#*. And nothing works.
[Razer Phone 2 Guides, News, & Discussion] SimonFoxcoon:
neat. does it fix bluetooth or does the bluetooth fix work on it as well? also for 120fps, is there a toggle or is it constantly at 120?

EDIT: i found this... it looks useful https://xdaforums.com/t/unofficial-lineageos-r-mod-lir.4237683/
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
everything is the same. same bluetooth fix, same 120hz fix.
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
Have you tried this ROM?
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
Don't bother installing the magisk module that allows you to install apps from other OEMs. It doesn't work at all. Also don't install the pixel features one as it bootloops the phone.
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
BTW for anyone coming from the GSI to lineage, from my experience you don't have to flash back to stock, you can just dirty flash it and continue with the steps and you won't loose any of your apps, data, etc, you keep the google discover feed on the launcher, the bluetooth fix if you've done it and google's password manager works as intended on gboard. Also, does anyone know of a working module which will get trusted face unlock in smart lock since the fingerprint sensor is iffy?
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
Has anyone else experienced a quiet microphone after upgrading?
[Razer Phone 2 Guides, News, & Discussion] SimonFoxcoon:
yeah i've tried it, it works well, and i'm glad to have root access/hide although magisk doesn't work so no modules
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
Guys I've found a fix for the dodgy fingerprint sensor!

https://xdaforums.com/t/unable-to-use-fingerprint-fix-found.3862914/

Just follow the instructions and now my fingerprint works fine!
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
Just realized I don't have an option for FPS. Any ideas how I can change it?
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Gave this a shot; didn't fix it for me.
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
Strange; mine works perfectly every time. Might be because I'm using pixel experience opposed to lineage...
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Android 9, 10, or 11 version? And what kernel?
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
Android 11 and not a clue where to find what kernel it is...
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
What boot img did you use to get into TWRP? Arter or Trinity?
[Razer Phone 2 Guides, News, & Discussion] Gurcharan5:
The same TWRP linked with this guide (so trinity).
[Razer Phone 2 Guides, News, & Discussion] erax0r:
after following this tutorial I could no longer receive short code text messages. I could receive normal text though. This is with mint mobile.

I tried every apn configuration I could find with new luck as well as an alternative sms program. Anyone else have this problem?
[Razer Phone 2 Guides, News, & Discussion] Frisbee6:
Amazing work! I had given up any hope of updating this device, appreciate all your work to revive this! I ended up using the more up-to-date files that you've posted, and everything works perfectly!
[Razer Phone 2 Guides, News, & Discussion] BigCustomROMFan:
I briefly seemed to have a problem texting myself to see if texting worked and I had to reset the phone to get my text messages (and also, seemingly all INBOUND texts from everyone it turned out) ...but the problem went away. Resetting the phone a few times is what seemed to work.
[Razer Phone 2 Guides, News, & Discussion] BigCustomROMFan:
Hi. Where did you get the updated GSI for Android 11? Could you provide a link? Thanks. =)
[Razer Phone 2 Guides, News, & Discussion] ǀcey:
With phone in twrp, i couldn't do the part below:

"Go back to your computer and open file explorer.

Put the last zip file that I was talking about earlier (the f2fs thing) on the razer phone 2's internal storage. Head back to your phone, and press install.

Scroll down until you find the zip file and press it and install it. (ignore the errors that may or may not be there) After that, go back to the TWRP home screen (with the 8 options)

Go to the reboot menu, then reboot into recovery

Tap on format data and type in "yes" and tap ok. click on "don't install" because you don't need the TWRP app on your phone.

The phone will shut down. Turn it on normally and everything will work!"

It booted fine without it! TYG! 11 on RP2! WooT!!

Thanks!

Edit: Does fail playstore certification
[Razer Phone 2 Guides, News, & Discussion] BigCustomROMFan:
Try to set up the phone through the notifications when it asks to set up your device. I did that and I was able to log into Play Store. Before setting up the phone, going directly to Play Store to log in for the first time, led nowhere because it wouldn't pass certification. Unless that was just me and that zip file is for Play Store certification. I tried manually registering my device and it said it was already registered. I was getting nowhere until I set the phone up.
[Razer Phone 2 Guides, News, & Discussion] ryulien:
Has anyone gotten it to pass play store certification?
[Razer Phone 2 Guides, News, & Discussion] Frisbee6:
All of links that Marcos has posted, I grabbed the more updated files and everything still works perfectly.
[Razer Phone 2 Guides, News, & Discussion] The Distressed:
I got this installed and working, all except my mobile data. I get a "No sim card detected" error. Has anyone else run into this and been able to solve it?

I'm happy to provide more information if it will help, I'm new to all this.
[Razer Phone 2 Guides, News, & Discussion] aximil7:
Are you on Verizon? I've not seen any GSI that works with Verizon sim cards yet unfortunately. Been trying for a year now.
[Razer Phone 2 Guides, News, & Discussion] The Distressed:
I am on Verizon. This is disappointing to hear. Are they any non GSI roms that would work for this phone?
[Razer Phone 2 Guides, News, & Discussion] SimonFoxcoon:
i've been switching gsis for a bit to find a good one, and the one that i want to boot, corvus, doesnt want to boot so i'm returning to my main custom rom, and i've followed the steps correctly every time, multiple times and the gsi just doesnt want to boot

i have a feeling it might be the kernel, it says v2 in your post, but only v4 is available

can't find v2
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
Can you send me a download to the pixel experience gsi?
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
i got magisk working ;) LES GOOOO!!! (fails safteynet but modules work just fine?? I've gotten some modules that make the play store not scream at you and it works just fine.) (new section in the guide btw.)
[Razer Phone 2 Guides, News, & Discussion] YesiamNovas:
Thank you for the Magisk update; been waiting patiently for it! :D

Not sure if others are running into this issue, but after flashing back to stock, then to either 'system-roar-arm64-ab-vndklite-floss/gapps.img', and after flashing the Trinity kernel (in that order according to the guide), TWRP cannot load as it cannot mount the /data directory. All non-vndklite GSI roms work with no problems. After the error below, the phone just boot loops.

Have I missed something, maybe?

The phone: Razer Phone 2

Any help is greatly appreciated, and thank you for your hard work so far!
[Razer Phone 2 Guides, News, & Discussion] YesiamNovas:
Ahh, OK. It looks like I've found a way around the issue. I flashed arter97's r14 kernel (boot.img) for the Razer Phone 2 instead of Trinity's, and everything works as expected with the vndklite GSI builds!

I can also confirm that Magisk works, but all I had to do was select 'Securize' from the Phh Treble Settings>Misc features>Securize. Running the ADB commands resulted in the directories not found, and the shell script not being found as well.

Once it finished that, I rebooted to Recovery, and installed the magisk.zip from the guide (you can update Magisk from the OS afterwards, and all still works).

Hope this helps anyone else with the same issue with the Razer Phone 2 ;)
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
Sometimes, flashing back to stock and going into the stock recovery mode, then going back to the bootloader and flashing twrp first fixes the problem.
[Razer Phone 2 Guides, News, & Discussion] YesiamNovas:
Yeah, I did that a few times, but it wouldn't change the outcome. Maybe I was just unlucky.

Anyway, the arter97 kernel and Magisk are working perfectly with the vndklite image. I chose to use the 'Floss' flavour, so I was fully away from the Google apps. I've come across a few Razer Magisk modules that seem to work well, and bring the image as close to the Razer experience as possible.

Thanks again! :)
[Razer Phone 2 Guides, News, & Discussion] HumerousGorgon:
Hey there! I'm looking at grabbing a Razer Phone 2 for a cheap 120hz phone. How is the battery life on GSI? Does 120hz still work, anything super broken? I'm a day-to-day user. I usually need about 5 and a half hours of screen on time. Will I get that with this?
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
The battery life is great, don't plan on using it if you have Verizon. Worst case scenario with the battery life, ya turn on battery saver.

the best option tho is to steer clear of the razer phone 2.
[Razer Phone 2 Guides, News, & Discussion] BACATCHER:
When rooting the phone and you say that superuser shouldn't be there, are we supposed to remove it manually? or is it just supposed to automatically get uninstalled with the installation of magisk?
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
It is supposed to be removed when running phh-securize.sh
[Razer Phone 2 Guides, News, & Discussion] BACATCHER:
Duhh, I didn't even put 2 and 2 together. Anyway if it doesn't pass SafteyNet, would I just reflash magisk? Or do I have to start all over and reflash the stock firmware? Whats the next step? I'm a noob sorry :LOL:
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
you do nothing if it doesnt pass safteynet. i've never gotten this to pass safteynet LOL!
[Razer Phone 2 Guides, News, & Discussion] starlighttonight:
I accidentally skipped the last part about formatting the data, will this cause any trouble that i'd need go to back thru it or will i be fine?

Edit: it was not fine. the android 11 logo came up and I just thought it was updating, so i left it there for about 2 hrs, and it didn't do anything, then got stuck in a bootloop, so im having to do everything over again, hopefully i wont skip anything XD
[Razer Phone 2 Guides, News, & Discussion] BACATCHER:
It should have been fine. Just boot back into TWRP and wipe it, and format it if you want. And then reflash the ROM.
[Razer Phone 2 Guides, News, & Discussion] starlighttonight:
Yes this is what I did, it worked, but now I'm having trouble with other things. My mobile network isn't being recognized and my google services framework id is inaccessible so I can't access anything from google.
[Razer Phone 2 Guides, News, & Discussion] BACATCHER:
Open the PHH treble settings, go to IMS features, and install the APK, restart and it should fix your mobile network. As for the Google framework, you have to manually register your phone now that it's running a custom ROM. Google has a guide online, it takes 5 minutes. It will stay registered, even if you flash a new ROM.
[Razer Phone 2 Guides, News, & Discussion] starlighttonight:
I've tried installing the apk and restarting about 10 times and it's still not working. My mobile network option is grayed out, and my mobile data option says "unknown SIM operator" :(
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
What carrier are you using?
[Razer Phone 2 Guides, News, & Discussion] starlighttonight:
Verizon, but I'm deleting everything and starting over from scratch, so I'll let u kno how it goes.
[Razer Phone 2 Guides, News, & Discussion] starlighttonight:
Yep, it's still not working. Should I get a new sim card?

Edit: i found another post that someone replied to that said for Verizon you should do an A image only, i'm not really sure what that means or how to do that. If u think that might work could u explain it to me?
[Razer Phone 2 Guides, News, & Discussion] Marcos8760:
Version doesn't work at all on this os. Sorry!
[Razer Phone 2 Guides, News, & Discussion] starlighttonight:
Oh man thats really a bummer. Damn lol. thank you though now I don't have to keep trying or worrying.
[Razer Phone 2 Guides, News, & Discussion] starlighttonight:
I have a question, does t-mobile work with this os? My sim is unlocked so i was just thinking about switching carriers to be able to use android 11, and i was thinking about tmobile because they have the highest data speeds and pretty much full coverage in my area.
[Razer Phone 2 Guides, News, & Discussion] BACATCHER:
Yes it does. I personally use T-Mobile, and it works fine no problem. I have heard of problems with Verizon on any GSI roms, but it should be able to be solved. Do me a favor, could you open your phone dialer, and type in this exactly *#*#4636#*#* it brings up your phone information. Go into Phone Information and make sure your perfered network type is for a CDMA carrier, there's a couple different options for CDMA (Verizon) so it might take some trial and error to figure out which one might work. Also change your default connection type to LTE, you can do this in the default settings drawer. Good luck.
[Razer Phone 2 Guides, News, & Discussion] starlighttonight:
I did do that, and I couldn't dial it because I had no mobile service, so i couldn't get to that setting. However, all is well, i just switched to tmobile and its working perfectly! However, I am having trouble getting bluetooth to work but i'll mess around with it. Thank you for sharing your experience though!
[Razer Phone 2 Guides, News, & Discussion] BACATCHER:
The original post on this thread has a small guide to get Bluetooth working again near the top. I'm glad it's all working now brother. Take care!
[Razer Phone 2 Guides, News, & Discussion] starlighttonight:
I'm trying to install Magisk so I can get play protect certified, so i can factory reset and be able to log into my google account to restore my backup i made before i flashed to android 11 because apparently that is the only way to do it. Whenever i run the mv /bin/resetprop etc command i get mv: bad "..." device or resource busy. Any thoughts on this?

Edit: I realized that i am directed to two different shell directories. one i'm in is just ~#, thats when i'm in the twrp recovery mod, the other is like phh_arm64 somthing. when i do the command in ~# it just says the file doesn't exist or is missing, what I posted above is what it says in the phh shell directory. I did get it to work once but i have no clue how to make it work again.

Edit 2: I figured that the only way I could get this to work was to run those cmd's while the phone was on, so i did so before i did anything with starting up. it all went thru and rebooted, and sure thing, it has the certification, so i got my backup and i can enjoy the ever loving **** out of android 11 now!
[Razer Phone 2 Guides, News, & Discussion] starlighttonight:
I am shamefully admittedly still having trouble with bluetooth. I did what it said and it just won't stay on or discover any devices.