yashsingh1/xdaforums huggingface dataset:
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] MobileJAD:
I've been staring at that OTA update notification for awhile now, everything has been running smoothly with my Razer 2 and I'm using it as my daily driver so I'm not in a big hurry to go and run the update.

Anyone know if the update has anything to be excited about?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] MisfitPanda01:
Not much, but I've read on another thread that it broke the fingerprint scanner so I'm sure razer will have to do another OTA to fix that
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] jim380:
Couldn't get root to work after the latest OTA. Flashing boot image patched by magisk simply gives the phone bootloops.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] S1thh@ck3r:
one question (i didnt knew where to ask) can i use stock on slot a and a gsi on slot b?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LSS4181:
That's what I'm doing now. I'm using GSI (as well as other modifications) on slot A, while leaving slot B completely untouched.

It's working fine, with only some known issues such as Bluetooth media audio not working (possibly overlay-related), as well as SELinux cannot be toggled to permissive (it's always enforcing).
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] liammc83:
Nope, I wouldn't. You'll end up with problems eventually.

I flashed both slots a/b identically.

Repeat the process on both slots the same and all should work well.

I know it seems overkill, But it works for me.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] EMJI79:
What GSI do you guys use?

Which ones have tried and worked?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] keaheng:
Havos 2.9
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] EMJI79:
Is there any bugs with it?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] tard24:
Same.

---------- Post added at 12:54 PM ---------- Previous post was at 12:48 PM ----------

Just the same as all the other GSI ROMs. Bluetooth media doesn't work. It also starts w/o 4G and unable to receive texts, but just do this to fix those issues:

Enter in *#*#4636#*#* into the Phone Dialer, then Phone Information, switch 'Set Preferred Network Type' to LTE/TD-SCDMA/UMTS

Toggle Airplane mode

Installed the apk from this thread https://xdaforums.com/raz...e-fix-t3925151 so you're able to receive texts

For Bluetooth, you're able to connect to Bluetooth speakers, but sound still plays through the phone instead of the speaker. Everything else seems to work just fine though. Really great ROM.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] JDubbed:
I keep getting System UI not responding randomly and phone has to be forced shutdown. To remove Arter97 do I just fastboot the boot.img from below? Or what boot.img do I need to flash?

https://xdaforums.com/razer-phone-2/development/root-pie-update-unlocked-devices-t3905454
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] liammc83:
I've tried them all, But went back and stuck with havoc.

If havoc 3.0 isn't released soon. I'll end up jumping back to aosp 10.

I like to have the most recent, But also like stability.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] _Sherrif:
APOLOGIZE FOR GOING OFF-TOPIC

But I am seeing a lot of folks commenting on BT media not working in this thread. Go to and follow the instructions in this thread https://xdaforums.com/razer-phone-2/how-to/fix-bluetooth-audio-pie-gsi-t3918763 to get BT Media working. Be sure to read the whole first page of the thread and follow the instructions to the letter, including re-flashing the system.img as the last step. The first 10 posts in this thread give you the basic steps to get it working.

It does work for Havoc 2.9

i have been using BT media for 2 months now, BT media to my truck using poweramp , spotify and slacker and BT calls to my truck, as well as BT headphones and speakers with little issue. The issue i run into time to time is calls do not work every time to my headphones or external BT speaker, but i can live with that. Any questions can be found or asked in the linked thread.

.

Keep in mind you may have to going into your BT settings for the device connected and toggle HD audio on or off. Sometimes it works with HD audio on and other times it doesn't, no idea why.

.

NOW - this is working for Havoc for sure. I DO NOT KNOW ABOUT OTHER ROMS....i run Havoc.

Also, for those on the latest update (MR2) and finally rooted, i do not know if this will run right, i am still on MR1.

Hope this helps....
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LSS4181:
I already tried that. See my reply there for some details.

Deleting BluetoothResCommon.apk overlay prevents Bluetooth from turning on completely. I even reflashed the GSI (as well as other necessary stuffs) and wiped cache, but it did not fix the issue. Unfortunately I cannot do too much at the moment as I haven't made a proper backup yet. I fear that the nandroid backup may not be bootable (which was the case of my previous phone, XZ Premium, with most recent ROMs and recovery), and I also need to look for a Titanium Backup alternative that really works.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Reznor7:
It came out today: https://sourceforge.net/projects/developerluke-roms/files/GSIs/
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] liammc83:
Doesn't boot for me.

Tried a/b on this, and a only version on mi max 2.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Reznor7:
Booted for me on my RP2, but didn't recognize my Verizon SIM.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Reznor7:
Okay, something odd is going on with my phone. I flashed the system image back to MR1. I flashed Arter's kernel to boot a/b. I installed Magisk, but when I try to modify the system partition in Android, I'm unable to make any changes. Solid Explorer can't copy files to it. Titanium Backup can't uninstall any system apps. This has worked many times before. I've re-flashed multiple times today with the same result. Any ideas?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LSS4181:
It's possible that might be due to SELinux being Enforcing. With this kernel (probably stock also) there's no way to toggle SELinux to Permissive. Normal methods do not work.

I was also considering using Migrate to get my apps from my old phone to this one before, and the restore failed with all kinds of errors namely permission-related. Titanium Backup still worked for user apps, though.

By the way, from this thread I read that the kernel's DIAG driver has been disabled. As I intend to use SnoopSnitch (which requires the driver to work), keeping the driver may allow it to work at least on stock (not sure about GSI).
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Reznor7:
Yup, you're correct. It'd been a while since I had re-imaged. Arter, any chance of getting a new update for MR2?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] arter97:
r12 is up.

r12

LA.UM.8.3.r1-06300-sdm845.0 merged

Linux v4.9.196 merged

Wi-Fi drivers updated to 5.1.1.74O

Latest f2fs-stable merged

Diag USB interface enabled for QPST
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] RKBD:
btw r12 is working finally on mr2
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] oRAZY:
When I flash the latest kernel r12 over my r11 it then asks me for the password in twrp to decrypt. Had to restore boot partition to gain access again. Any advice?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LSS4181:
Flashed r12. Still working on MR1, but SELinux still cannot be set to permissive by any means on Havoc 2.9. Not sure which side caused it.

I don't have encryption enabled so I don't know if decryption in TWRP is still MR1-compatible. From my own experience, the encryption can break from time to time if not everything (ROM, kernel/TWRP) were updated at the same time.

EDIT: On Havoc GSI thread I saw this post.

If he could toggle SELinux to permissive on his device (not Razer Phone 2) on the GSI without issues, then it rules out the possibility that the GSI (Havoc 2.9) is responsible for the inability to toggle SELinux to permissive.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Davidistheboss21:
Soft-bricked my phone lol should I flash oreo or pie? what's the best MR version to flash? Do I flash the kernel then the os? Which should I flash first vold_mod or f2fs?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] EMJI79:
I use Phhusons Android 10 and it works great although I can't pass Safety Net. Was wondering if the SELinux Magisk module you're quoting could fix that?

I would try but what if it doesn't work and causes bootloop. What should I do in that case?

---------- Post added at 05:49 PM ---------- Previous post was at 05:47 PM ----------

You should flash pie MR1 and lock the Bootloader to take the OTA update to MR2.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] kountry83:
[MENTION=8907574]Davidistheboss21[/MENTION]

Make sure bootloader is unlocked

Flash Mr1 pie stock firmware then you should get Mr2 it's update after setup. Update to MR2.

Flash r12 boot img to slot_b

Reboot into twrp recovery.

Make sure to mount internal storage system, data, and vendor

Flash fstab then reboot back to TWRP

Format data then reboot to setup screen

Then reboot to TWRP and flash vold mod.

Reboot to setup screen then reboot back to TWRP and flash Magisk v20 if you want root.

Good luck
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LSS4181:
It's impossible to toggle SELinux to permissive. You can try those known methods (SElinux permissive Magisk Module, setenforce 0, SELinuxModeChanger, etc.), but SELinux will remain Enforcing.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] gorast358:
Does people that had Wi-Fi reboot problem on older kernel have the same problem on the latest kernel ?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] arter97:
It shouldn't as it's recently fixed by Qualcomm.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] EMJI79:
Could you offer 90hz and/or 60Hz option to your kernel?

:confused:
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] RKBD:
wait what

you have it in display settings options
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] EMJI79:
That's the options I have:
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] DarkestSpawn:
That looks like a GSI, not the stock ROM...
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] EMJI79:
It's Phhusson Android 10. In another thread someone said it was on the kernel side to offer fps options.

Then maybe with a kernel manager it could be tweaked I thought...
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Reznor7:
I'm running Havoc OS with this kernel and trying to theme using Swift Installer. I'm getting segmentation faults when trying to install any overlays. I suspect the kernel is the issue. Anyone else experienced something similar?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Rooster1982:
[MENTION=3756725]kountry83[/MENTION]

Make sure to mount internal storage system, data, and vendor

Flash fstab then reboot back to TWRP

Can I do this step without SD Card?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] kountry83:
You need to have the fstab mod on your external sd card because you need to format data for the mod to work.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Renovatio33:
On swift installer group they stated that latest Magisk broke themes. Can you check what magisk version you are running (I'm on stock MR1, Magisk 20.0 and arter97 r11 with swift installer working properly) .
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Gamesoul Master:
Been using this kernel for a while now, love it. Decided to make the jump to GSI, and I figured while I'm doing that, I'd give F2FS a try too. So I backed up my stock rooted information, did the F2FS conversion, installed GSI, no problem.

Well, turns out GSI sucks if you like having fully working SMS, fingerprint scanner, and proper sound playback in certain games. So I wanna go back to stock.

The question is... Because I did the F2FS conversion, does that mean I'd have to convert back (and thus, wipe again) the whole data partition if I want to restore that old backed up data partition?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] _Sherrif:
I would say yes since the saved data was EXT or whatever you were using. I may be wrong, but i'm sure i read somewhere at one time about different file systems and backups.

Keep in mind though, once you flash back to Razers stock os, using the RAZER flash-all.bat OR WHATEVER IT's CALLED, then you flash arters kernel, it will put you back were you were the last time on the stock OS. RIGHT??? This is my understanding currently of where the nandroid back up is from, the stock OS before the GSI flash and you WANT TO GO BACK TO THE STOCK OS not a GSI because it sucks???

Now if you converted, changed to F2FS that is, then did a nandroid after flashing the GSI, just flash arters kernel after installing stock OS, convert to F2FS then restore.

Otherwise, start fresh on either the Stock OS or GSI of choice, flash arters kernel, get the file system you want to restore on the DATA partition, formatted to EXT or F2FS or whatever you nandroided from. After you convert to the right file system, then restore.

Otherwise if i am missing your point, which i may be, you could always try to restore from one file type to another, doubt it will work. If all fails, you will have to wipe and start fresh as you are thinking. Honestly i just don't know for sure, but i know i would try it if it was me. This is my opinion and mine only about trying that is.

Hope this helps....
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Reznor7:
I tried going back to 20.0, but still got the same error with Swift Installer. Oddly enough, I found that Substratum works just fine.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] M1cky:
Yeah, I have this. Had to revert back to r11.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] gorast358:
But the problem is started with r11 kernel .
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] gboybama:
This is why I decided to skip F2FS on my latest wipe and update round. I forgot about the file system difference one time, tried to restore a backup of the wrong type and ended up corrupting my device. Performance is good enough for me on EXT to not want to risk making the same mistake again.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] ringowu1234:
Totally noob to whole TWRP thing, just wanted to thank Arter97 for making this so easy for kinds like me. I now have a perfect phone with exFAT SD card support.

One thing to add is that I discovered changing system fonts with FontFix app will cause several Google apps crash instantly, such as GBoard, GCam, Google Play Games. It will occasionally cause the whole system to reboot by itself.

I had to spend hours from going back to MR1, update to MR2 and do the whole kernal flash for 3 times to figure out what the issue was.

This might be a known issue to some of the more experienced users already (though I didn't find anything related with search) but I just wanted to give the newbs like me a headsup.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] ringowu1234:
To continue on the one post above, the system has been running well for a day, until I tried to get CarStream to work for Android Auto. Once I clicked "Unlock [root]" botton in the app, the same Google apps crashed again.

Again, I'm just a noob. I'm just wondering, is it safe to assume that some of these apps that require root have system modifications that are incompatible with this kernal, and I should avoid installing such apps in the future?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Renovatio33:
The general idea is that root is dangerous and you can easly brick your device. If you are not 100% sure about what you are doing, chances of breaking something are very high.

With that said, a good idea is to always perform a nandroid backup before any root modification
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] M1cky:
R11 is fine for me. R12 caused WiFi and mobile signal to continuously drop. Can't connect to some WiFi networks etc.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LSS4181:
Can't boot to TWRP with r12 kernel. With r11 kernel TWRP worked fine.

Tried to go to recovery via either "adb reboot recovery", or holding volume button while powering up then selecting "Recovery Mode".

In both cases I ended up in the bootloader menu and cannot proceed any further. I can only choose "Power Off" then power back on to return to the system.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] EMJI79:
Well, I don't have this issue.

Did you follow the indications in the OP?

I think you are bound to flash Magisk too for it to work.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LSS4181:
I already have Magisk Canary.

Now come to think of it, maybe I need to reflash the kernel and Magisk again, as it appears there might be some issues with some versions of Magisk.

I'm currently on Magisk 20.1-5c7b5952 (20003) and for some reasons I couldn't upgrade to the latest Magisk build (20.2-474cc7d5, 20107). When I tried to go to TWRP to flash the new Magisk build I discovered this issue that I cannot boot to TWRP anymore.

I'll check if there are any issues reported on the Magisk side that might be related to my problem.

EDIT: I suspect the latest canary (20.2-474cc7d5, 20107) might be bugged. Reflashing the kernel with that build resulted in a non-bootable system. Reflashed the kernel with the 20.1 stable Magisk build and everything (including recovery) is working again. For the time being I suggest not flashing Magisk updates using Direct Install method and always update Magisk from TWRP.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Pyr0ball:
I'm running into an issue where I tried adding an sdcard as internal storage, and I keep getting the same behavior as this thread: https://github.com/omnirom/android_device_motorola_athene/issues/3

Literally exact same behavior. Gets to 40%, then throws an error and storage is unavailable. I tried this on two different sdcards
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] DeathToy:
Put your card in your computer and format it. Then pop it back in yo pbone and it should work.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] PinkEmbers:
GPS floats errors in GPS status

I bought this phone over Black Friday weekend and it's a fairly new build, came with Pie installed from the factory. Build number says MR2. Bought it unlocked from Amazon, activated on Straight Talk with a Verizon sim card. I tried to root with the original MR1 img from the first thread I found and got stuck in a bootloop, tried to img back to a stock MR1 img because that was the newest stock rom I could find online, still bootloop, and then I tried this img and I was able to get out of the bootloop thankfully and root the phone. I installed all the optional zips in the instructions just like a good girl and installed Magisk. I discovered like many of you that LTE did not work until going into the settings and switching it on, but seem to have that figured out. Today I tried to use the GPS to get somewhere and the dot on the map was floating around all over the place and I got pretty lost. Pulled over and tried to enable the precise location but it was enabled and downloaded some apps to look at GPS data to see I have some GPS errors coming up. Proximity and Step Counter are all giving errors. Hopefully this can be fixed easily but I did not find anything by searching through the forums.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] popeye2468:
How do you set as Linux to permissive? Please
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] rrusek:
Decryption Issue with TWRP 3.2.3arter97 & AT&T P-R2R-ATT-RLS009

TWRP cannot decrypt the /data partition. Followed the usual steps at setup to format data then go back into recovery. That works until you boot up the system then data get encrypted again.

Try all different lock methods, PIN, PASSWORD, PATTERN but it does not work. Just gets a error message, failed to decrypt data.

This worked fine in the Global MR1.

Please help..

RJR
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] edison:
MR2, r12, vold, exFAT, Magisk v20.1, & stock firmware

[MENTION=4898097]arter97[/MENTION], thanks for the dedication and hard work. From all the comments, this sounds like a fantastic kernel. I just don't have it fully working quite yet. I'm looking forward to getting there.

I'm having problems using my 64GB Samsung SD as internal storage with MR2, r12, f2fs, vold, Magisk v20.1, and stock firmware. When I try to format the card from within the phone, it gets partway (40% IIRC), then dies.

When I format the phone as exFAT on my PC, the card isn't recognized in the phone. Additionally, Settings->Storage silently crashes.

For reference, I used the same install method as kountry83 summarized here.

Can anyone confirm this combination works? In the mean time, I'm going to re-flash MR1, update MR2 & try to get some logs.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] rrusek:
Houston, we have a problem..

After man hours of hell...

Seems like AT&T P-RZR-ATT-RLS009 is not comparable with R12.

The decryption does not seem to work..

When going back to stock things work.

What is the best way of troubleshooting this?

Thanks,

RJR
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] jonchance_84:
I have att variant. What you need to do (easiest):

Unlock bootloader fully. It'll wipe everything so backup your stuff.

Flash global pie mr1. Download is on Razer Dev site. Put ADB and fastboot in directory with the flashall.bat. Make sure drivers installed from instructions on Razer Dev site. Make sure driver is installed while in fastboot too.

Let it update to mr2.

Flash arter r12 from ADB to a and b partitions.

Immediately boot to TWRP.

Flash magisk 20.1 zip.

Now you're rooted and on global pie mr2 with TWRP.

I got tired of doing everything with att firmware cause it makes you a little different from everyone else. Kinda a lonely place to be.

Always remember rom then kernel then root.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] edison:
Any reason why I wouldn't be able to flash r12 on MR1? I kept getting boot loops after re-flashing stock. I then completed setup and upgraded to MR2 (like I was doing originally), and the kernel & Magisk took.

Still can't use the 64G as internal memory, though...
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] AlDollaz:
Can someone direct me on how to properly flash this?

C:\adb>adb devices
List of devices attached
181913V01503298 device

C:\adb>adb reboot bootloader

C:\adb>fastboot flash boot arter97-kernel-r12-20191028.img
< waiting for device >

And it just sits in download mode. Help?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] PinkEmbers:
I had this problem, check your device manager when you boot in fastboot and see if the devices change. I had to reinstall drivers again once in fastboot to a different device in my device manager.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] AlDollaz:
Did that, installed Android bootloader interface and it still hangs.

[Edit] Got it! Old version of Fastboot/adb
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Pyr0ball:
I did this twice with two different cards and the same result
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] edison:
I was able to format both of the cards I tried as internal memory on my HTC 10, although I had to try multiple times on the older of the two before it "took". The 10 was complaining that the older card was too slow.

I tried moving the internal-formatted cards to my RP2, but they weren't recognized and I was prompted to set them up. I'm assuming there's a signature or something on them that locks them to the device on which they were formatted.

I can format both cards as external storage in the RP2, but can't convert them to internal storage after that.

Is the updated vold required to format internal-use cards ? [MENTION=3562224]Pyr0ball[/MENTION], did you install the vold update as well?