yashsingh1/xdaforums huggingface dataset:
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] cs-135:
I've tried to hold off flashing LineageOS for a while but I eventually did it. For the most part I'm happy with the end result except for the most obvious of bugs being mentioned over and over in this thread, i.e. the camera and flashlight bug/issue. It becomes an issue when you rely on your device to do certain things at that exact moment in time.

The camera only uses the rear telephoto lens and the front lens. The flash is not working at all. The adaptive brightness becomes "blocky" at lower levels, i.e. it has no smooth transition between the high-and-low or low-and-high points. The camera on the device is not the best, let's face it. But it sure helps me in daily life.

If you are experiencing this problem, and it really frustrates you like it does me, do a Google search to obtain the stock ROM from the Razer site. It even includes instructions. That'll leave you with old Pie, but you'll have full functionality of your device. But if you're ok with carrying a separate camera or even another phone in your pocket along with your Razer Phone and maybe a flashlight, like someone mentioned earlier, LineageOS is looking really promising!

I'll have the old Pie though.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] mikeioannina:
Hello everyone and happy new year!

It took a long time, but I finally found time to debug the issues, so next build should contain fixes for the following bugs:

* Flashlight not working

* Rear camera using telephoto lens instead of normal lens

There will also be a new setting implemented in Display settings, where you can select refresh rate (supports switching between 30/40/48/50/60/90/120 fps)

Next I'll be looking into integrating chroma RGB settings and continue working on android 12.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] 64-core CPU:
@mikeioannina, great job! Thanks for supporting this for all of us!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] yyds-666:
I come to the forum to check it out every day, it's been half a year. It's finally fixed, I want to cry happily, thank you so much!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] anon412687421876:
is there any hopes for verizon support soon? when and if support for volte happens, this rom will be preferred over stock in every way possible.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
VoLTE works on most carriers.

Not sure if anything can be done for VZW support.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] CrystalM4th:
Didn't jal3223 say they got it working by registering IMS with a stock ROM first?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] anon412687421876:
Yeah, I gotta get a in depth tutorial on how that got to work. I really wanna flash this rom but I need call/text first, before I do anything. a stock rom, but what rom? Android 11?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Anonymous11289:
what about the freezing when playing back videos on google photos
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Rhoobarb2005:
I think it's video playback in general. Mine freezes every couple of days on Vanced.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] NoSignalFound:
Update on Camera/Flash

Following the Jan 9th update, camera and flash have been restored, and are functioning well within Lineage's camera app. However, when using the Razer camera app, I experience a crash when NOT using the flash. Anyone have a similar issue? Big thanks to the device maintainers! We appreciate your support!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] unsponsoredgeek:
Awesome. Downloaded the update and turned on the flashlight in celebration!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Hammerfest:
Can confirm, did turn on light in celebration and took a photo using flash as well.

I saw the Refresh rate selection as well.

Thank you again for the release, I was on the edge due to work use needs on switching back to stock.

Only issues I can see that remain:

Auto Brightness

Visual Voicemail

Dolby stuff

Performance options
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] thokkiano:
And Chroma.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Rhoobarb2005:
Updated. Fantastic job!!

Flashlight works, woohoo. Camera works properly, woohoo.

Videos still softlock the phone though.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] 64-core CPU:
Today I ran into a problem that has been described many times with the topic - the screen freezes when playing a video. The phone itself continues to work, the picture on the display remains static in spite of any actions. Before that, there were no such problems on my phone. It started after the last update.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Truelan:
Volume does not stable in some game or video playback.

Under 50~60%, audio distortion occured.

Tested on Genshin Impact.

Already tested Audio API Compatible option, but not worked.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] rrusek:
Can someone try out Google maps location sharing and report back if it is working.

Seems like Google Maps Is having intermittent GPS issues with the 1/9/22 build.

Thanks,

RJR
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] rrusek:
Issue resolved by wiping phone and doing a complete reinstall :)
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] hackthis02:
@jal3223 were you ever able to reproduce your process for getting a custom ROM working on Verizon? If so could you do a write up?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Luminier:
I've been patiently watching and waiting for this. Michael you are the best(as)! I've been wanting to DeGoogle my phone and the Razer Phone 2 definitely has the power and specs to be my daily driver for the next 5 or so years. Thanks to you and everyone who's contributed, it's breathed life into a phone left to rot. Many kudos to you guys.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Reznor7:
Yes, it does.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] hackthis02:
Any hope this ROM works with Verizon?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] 8bp:
No chance?

nvm i'm so exited
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LSS4181:
Some additional questions:

1. Does this use stock vendor or the ROM has its own?

2. How's the audio policy? Back then with GSI some bluetooth audio devices only work when "alternate audio policy" is turned on, while some other devices only work when it's turned off, with no way to keep all of them working at the same time.

3. Since this device has recovery included in the kernel image, is there a way to use TWRP (like arter97's) with this ROM? From what I know LOS uses the good-old CWM-like Lineage Recovery by default.

4. Again, is f2fs/exFAT support included in LOS? exFAT appers to work out-of-box on GSIs, and f2fs works once the correct fstab is flashed.

5. Does VoLTE/IMS work natively on LOS? With GSI it doesn't work out-of-box, but as of Android 11 GSIs getting it working is much more straightforward than before.

No ROM build has been released at the time of writing, but I'm really looking forward to it.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] jal3223:
I sure hope so. There were unofficial builds floating around that came from the same source code that did not though. I'm ready to check and see.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] sako_1930:
First thing first thank you for the rom its great, no hiccups, no reboot, nothing beside the bugs you mention in your first post I just want to add one more :)

- Can't switch FPS (defaults to 120)

- Can't switch screen resolution (defaults to 2560x1440)

- Chroma RGB LEDs are not implemented yet

- Camera uses the secondary lanes only

P.S.

Flash didnt turn on (flashlight camera in use)
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] shmaki:
こんにちは。このRomにはFaceUnlockが実装されていますか？
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] shmaki:
現在、ANDROID11にGSIROMを使用しています。Stockromに戻ってから、このROMをインストールする必要がありますか？
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] 歪比歪比:
Compass sensor does not work
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] RKBD:
BS! it works

the only problem is camera
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] RKBD:
This rom does't have prebuilt stuff like face unlock from motorola like all ghetto roms does

Use Google translate next time at least
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] sako_1930:
no just follow the installation guide provided.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] 歪比歪比:
The game sound is also a bit problematic.:cry:
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] payypalmm:
I can't open location gps
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Rox598:
if you're going to post issues guys please detail the steps to reproduce and a logcat for Mike to take a look at
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
As far as I've heard from testers, yeah I think so?

1. We build it from source, only notable variance is we use prebuilt audio to get in-call volume control working.

2. Stock audio policy, with hacked up a2dp/bluetooth handling, I never tried stock, but it doesn't cut at all for me here with default settings on my Jaybird Tarah Pro's (which use SBC codec).

3. Not easily. You can boot TWRP via fastboot, but Lineage Recovery is awesome! We've put a lot of work into it, and it's worth a shot - should be a seamless experience.

4. If stock supports the filesystem, we do. As for the type being declared in fstab for f2fs, no. You can adb root && adb remount, then edit the fstab in `/vendor/etc` and make ti f2fs, format as that, and it should probably work?

5. Yes! All functions too - VoLTE, ViLTE (Carrier Video Calling), and WFC (Wi-Fi Calling),

As far as I've heard from testers, yeah I think so?

English only, please - but, no, we don't support face unlock, and won't, its proprietary and semi-illegal.

Again, english only, but no, just follow the wiki instructions, we flash all the firmware in the zip.

It works here?

What is your issue with Camera?

It works here -- what app are you using?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Reznor7:
Thanks for the detailed response! As for the camera, every release since the 5/6 unofficial has the camera misconfigured. It only accesses the telefoto lens (everything is very zoomed in) with no ability to change it. Also, torch is disabled because it indicates that the camera is in use. It worked perfectly on the 5/6 unofficial, and I've heard that it's good on the 6/9 unofficial.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
What apps? The Snap camera app we ship works fine...
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Reznor7:
All camera apps. It functions, but is accessing the wrong lens.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] jal3223:
On an earlier build it was working for me. I just flashed the latest stock build provided by Razer, went through the setup, then preceded to install Lineage. Nothing special. I haven't tried any of the latest builds though. I have moved on with my primary device.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Hammerfest:
Just noticed this, I normally dont take more then one photo, but after the 2nd the Razer Camera app crash's and the last picture taken isnt saved, I wanna say this didnt use to happen.

Anyone use a different camera and have this issue?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] rrusek:
Not an issue with gcam 7.3.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] finixs:
Anyone can use call recording feature? I already tried default call app and Google dialer (forced enable call recording), both told me recording failed.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] rrusek:
Boldbeast Recorder
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] cs-135:
I've been on the 09/01 build for a while. Everything works as expected with no real problems. I haven't had a chance to update my installation even though 2 updates were available (16/01 and 23/01).

Yesterday morning on my way to work, I've had the device playing audio with no problems. A few hours after that I started experiencing audio failure on my device. Let me explain, the audio works but freezes the device.

I would playback a voice message and it would first freeze for a second or two when the play button is pressed, thereafter it would play 2 seconds, freeze, play 2 seconds, freeze. I initially thought it may be a problem with WhatsApp, but this clearly extended far beyond that. My audio player did the same thing. I received a call from my boss, and there it did the exact same thing. This leads me to believe that something caused my audio drivers/hardware to just come crashing down.

I have no funny business going on on my device. All apps come through the Play Store, and those with root (su) access are extremely limited. I haven't installed any apps or modules that could directly be responsible for this. I'm a software dev by trade so I am extremely wary of where my apps come from.

I reflashed the 23/01 build and so far so good. Has anyone else experienced an episode like this?

I'm just scared that in a week or two it starts doing it again. It seems the issue is related to audio only and when you go to Settings -> Sounds, it takes a few seconds to open the menu. I'm worried that this is a compacting issue where something goes wrong and it builds up and builds up until this happens.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Hammerfest:
Tried auto-brightness again, still broken.

As for other posts I have seen about the screen freezing until a force restart on VIDEO, I had that happen yesterday, but not on "video" as it normally is, I was scrolling Discord and there where 2 GIF's, froze on that screen and refused to respond until force power off and restart, THAT is an interesting bug
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Nak254:
Can someone tell me what the widevine level is for this ROM?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] finixs:
I tried many option, but it still failed. If u can make it work, plz tell me which option ur using.

And I found the default call app and Google dialer both don't use write storage permission after I test. Wonder why they intend to record but don't request write permission to write files....
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] yellowlemons:
This works very well. But it really needs exfat support for SD Cards. This is a gaming phone and with the new AetherSX2 app I want to have PS2 iso on the SD Card.

Any hope in the future?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] x0xDJSx0x:
I am having some really weird battery problems on the latest update 18.1 android doesn't recognize its charging so I don't get fast charging or the charging sign at the top right but my percentage will go up. If it's plugged in it will show in the app ampere that it is in fact charging just really slow. My battery has been stuck at 44% like its the max it will go.

If you know any fixes that would be great.

Thank you.

--edit I tried resetting the rom through in the lineage Recovery thinking maybe it just needed a refresh and now there is absolutely no connection from fast boot and the rom is taking so long it's killing the battery while it's plugged into a fast charger. I have all the drivers and it doesn't show up in device manager, not in lsusb I wanted to try the flash all to get back to stock razer but nothing just doesn't recognize the connection.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] yellowlemons:
AetherSX2 app crashes with the latest update. Not sure what the issue is. All other games and emulators work fine. This seems like a problem on Lineage OS. Stock and Pixel Experience run the app just fine.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] IngwiePhoenix:
Hello!

Installed this just yestarday and found a small issue: When enabling color inversion in the accessibility menu, or changing the "Colors" setting under Display, the phone will seemingly soft-reboot forever. My estimate is that the compositor can not handle something. Either that, or something else... Luckily, Android 11 has system wide dark mode, so most apps will work without color inversion. Still, it was odd to find this one out.

Also there does not seem to be TWRP available... that's unfortunate.

Thank you very much for your work, this phone is amazing and I even had found a deal with the Junglecat controller for a mini-switch. Aside from that one bug, everything runs smoothly as it should!

Kind regards,

Ingwie
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] yellowlemons:
Yes I can replicate the above colour option reboot loop. I just tired changing the colour profile and got the bootloop. I was unable to get out of it and had to do a full re-install.

Also the PS2 emulator (AetherSX2) still crash when opening a game even with the latest update. Can it please get looked at. I really only need to use this phone for gaming so I would like to know why the app suddenly started crashing. Otherwise great work.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] SpunkMcKullins:
Any chance we could get an update on the freezing on video and gif playback? This is a pretty critical issue, and I know it was stated previously that it was a dead end, but I'm optimistic something can be done eventually. I appreciate everything you guys do, thanks a ton to every contributor.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] runuts:
Is anyone using a VoIP app on this ROM? If so, any issues? Currently using Pixel Experience and when using either Streams UC (our phone service provider) or Signal there is an issue with inbound calls. I can call out and the other party can hear me and I can hear them, but if I answer an inbound call the person on the other end can't hear me. Seems to be an issue with the mic being called or activated.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] mase123987:
Thanks for the work on this. I've been using it for a couple weeks now. Just now, I changed the colors option in the settings to saturated and the device immediately rebooted into a bootloop. Is there any way to fix this without wiping everything?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] ElitLuna:
in settings\display when I change the color setting to saturated it starts to reboot until I factory reset it by recovery :cry:
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] IngwiePhoenix:
Having the same issue and also made a post about it here. It also effectively blocks the color inversion accessibility option, sadly... still hoping for this to be adressed. Everything else seems to work fine. Got Magisk and microG working. :) So this really *is* the only bug that I know of right now. Also protip, Logo+ works!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] :
I have figured out a solution that does not require a factory reset.

Execute the following commands:

adb shell
su
settings put --user 0 system display_color_mode 0

su should be optional, but just in case.

--user 0 should refer to your main account, which is most likely 0.

display_color_mode 0 - the 0 refers to the zeroth option on the colors list (aka natural). It can be any value from 0, 1 or 3 (since 2 = saturated!)

Note that you might need to execute the settings command multiple times because the settings command-line tool isn't initialized until the end of the bootloop.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] IngwiePhoenix:
You, sir, are a life saver! Now I can test this on every update to see if it got fixed or not.

Considering that su can take a command as argument, I would think that this could be shortened to one line as: adb shell su -c "settings put --user 0 system display_color_mode 0" but I am not 100% sure.

Still, thank you for pointing this one out! Seriously a HUGE help!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] :
Glad I could help.

I realized that settings does not require superuser permission. So, as minimal as it can get:

adb shell settings put --user 0 system display_color_mode 0
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Lordhappypants:
This freezing glitch can happen with almost any video or gif it would seem. And regardless of what app you're using. I have noticed though, it seems to happen especially often with ads in chrome. Idk why. It's happening a lot more often than it used to feels like.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Hammerfest:
Ya, any moving picture video (video/gif/slideshow).

Truly random as far as I have experienced, as far as how often, it comes and goes :X
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] SpunkMcKullins:
Bizarrely, I don't think I have this problem with non-browser apps. YouTube seems to work fine, as does most media apps, and viewing gifs or videos in my gallery doesn't cause it. Hopefully a cause can be pinpointed eventually.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] edison:
Hey all, has anyone other than @jal3223 been able to get Lineage OS 18.1 official (or 19.1, for that matter) working on Verizon? I just got a replacement phone back from Razer and am trying to get this up and running. Stock works, but after flashing Lineage, then back to stock, I have to have Verizon do *something* (dunno what they actually do) to get voice working.

I've flashed Lineage after flashing stock, but I still can't get it to make calls.

The Preferred Network setting that works on stock initially was TD-SCDMA/CDMA/UMTS, although LTE/TD-SCDMA/UMTS worked as well. In both cases both the voice and data network were showed LTE.

Lineage 18.1 doesn't offer any options with UMTS. And so far none of the other network options have given me anything other than Emergency Calls Only, and of course, I can't make or receive calls.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] muellerm30:
Hey Edison, did Razer replace your device no charge? I'm guessing it was out of warranty? I have an RMA with Razer regarding my C port not being able to use as a data connection and they want to charge me $130 diagnostics + the repair fee which I'm assuming they would just RMA.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] edison:
Nah, I had to pay for the repair, but that was in part because I had cracked the screen (in addition to the defects in the unit replaced under warranty).

New one has the same problems, so I'm wondering if they didn't just swap the screen and case.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] salur:
Hello there. After making the latest update(PixelExperience for Razer Phone 2 [aura]), I can't load the Magisk img file I packed on the phone(error: boot partition is smaller than boot image). do you have a solution for this? Thanks.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] IngwiePhoenix:
Had this once too. Make a full backup, then factory reset and start over.

Basically what happened is that you might have - by accident - resized the partition yourself. This can happen during the flashing process. In my case, the connection broke while transfering a patched boot.img, causing this issue to happen. I had to start over to fix it...
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] salur:
i solved the problem. I made a usb multiplier port (usb2.0) connection and the problem was solved.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] IngwiePhoenix:
Awesome! =)

RP2's usb connection in fastboot and recovery is kinda wank. I myself use a usb3.1 certified cable and a fitting port. That has been the most stable for me. Shopping for a cable with a specific spec was a nightmare...
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] salur:
I guess this is a problem with AMD processors. indeed when I tried to flash it with a hub connection, it went smoothly.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] IngwiePhoenix:
Interesting; I do have a Ryzen 9 3900X... Well, you never stop learning I guess ^^
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] salur:
we have exactly the same processor :) absolutely. different and new things every day...