yashsingh1/xdaforums huggingface dataset:
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Anonymous11289:
I was really just messing around with magisk not really knowing what I was doing.. so proceed with these 'instructions' with caution.

These instructions assume you are on the 12/15 build of the pixelexperience rom, using a stock kernel.

Part 1: Installing Magisk, rooting your phone

On your razer phone 2, download and install magisk.

On your PC, download the magisk apk, but rename the apk file to zip. Save to where ever folder.

Connect your Razer Phone 2 to your PC using a USB cable.

Access the Razer Phone 2's recovery menu.

Open a command prompt on your PC, verify that your PC can recognize it by typing "adb devices". It should return something. If not, follow this guide. If still unable to be recognized, follow this as well.

Once your PC recognizes the phone on the command prompt, type adb sideload *magisk.zip you downloaded earlier*. (Drag and drop the magisk zip file you downloaded/renamed on step 2 into the command prompt. Hit enter.

Razer phone 2 should start sideloading magisk. Reboot device when complete.

Verify root status on your phone. The remaining instructions are done on the phone and doesn't need to be connected to the PC.

Part 2: Configuring Magisk

Open the magisk app on your phone. You should see in the Magisk section, Installed should say "23.0" or whatever version magisk is on.

Press the gear icon on top right.

Enable MagiskHide.

Rename the magisk APK into something like "Gamsik" or something not magisk

Go back to magisk main menu.

On the bottom there's 4 buttons. Home, Superuser, Logs, and Modules.

Access Superuser > magiskhide.

Click the search icon on bottom right, check the 'show system apps' box.

Check the following:

Google play protect service

google play services

google play store

google services framework

On your phone, download the universal safetynet fix v2.1.2

Back on your phone's magisk app, access the modules tab.

Search and install the following modules (no need to reboot after each, can wait after youre done with everything)

Riru

Magiskhide props config

Click "install from storage" on top of the modules tab. Install the universal safetynet fix you downloaded earlier.

Reboot device.

Part 3: Configuring device props using Termux

On your device, download and install Termux.

Open Termux.

Type "su", hit enter

Accept the root/superuser request prompt.

Type "props", hit enter. Magiskhide promps config should load.

Type "2", hit enter to force BASIC key attestation

Type "y", hit enter, continue the prompts to reboot device.

Verification:

find the Google play store app icon. Longpress it and access its info. Clear data and cache on it.

Open magisk, on the home tab, click "check safetynet". It should pass.

Open google play store, click your profile on top right corner, click settings > about. Play protect certification status should say "device is certified"
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Diegolgo:
o thanks (so fast) i just do it with this

long story short: install magisk, patch this thread boot.img, fastboot flash boot that img, and then follow the video ( install 3 packages, lua, riru and lsposed) instruction, and safety.net pass....

but still my bank say you phone is rooted XD (is somenthing, before even show on playstore that app jajajaj)

thank!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] s2601d:
Stuped question, is there any ways to install Razer Phone original boot logo, via magisk or any other ways?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Anonymous11289:
I followed the same video but Xprivacylua and lsposed did nothing for me but disable my gps function, so i removed them.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Diegolgo:
gps is indisposable for me (to work), now i have safety pass, on playstore but really nothing different for me (cause i still can't use my bank app, is the same, only now with magisk installed (so i can install ad aware ) and safety net pass (maybe worth for something in future).
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] yyds-666:
Can you build a version without Gapps? Google is completely useless in China
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Cylow333:
I also want this that logo is cool as heck
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] gomiole:
I flashed the 20211221 rom and I can't seem to get the mobile network to show up. I'm on Verizon if it matters. Any ideas what can be done to fix it?

Otherwise - this is a pretty amazing rom. Thanks for putting it together!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Anonymous11289:
Using stock kernel. Dirty flashed the 12/21 version on top of the 12/15 version. SD Card works for internal storage.

Fingerprint bug still persist. Option for fingerprint unlock in security menu is unavailable from the security settings. Finger unlock still works *sometimes* from waking the device from sleep, but it's not consistent. Maybe 3/4 of the time.

Audio bug (speakers) on some games still persist; if volume is less than half on some games, the sound will cut off intermittently. Work around: Increase volume to over 50%, or use a headset/earbuds. Tried disabling dolby atmos, didn't do anything.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Yeenosaurus:
I am also experiencing the Fingerprint bug (sometimes it works, sometimes it doesn't) and the speaker bug.

If I try to add a new fingerprint while the fingerprint scanner doesn't work, it will show "Enrolment not completed". Navigating to the fingerprint screen in settings usually fixes the scanner temporarily; it might have something to do with the fingerprint scanner process being killed in the background.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Alcatraz323:
PE Stable annnounced. Known issue wrote on thread fixed
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] pigjr:
Thank you. Just finished dirty flashing 20211224-0141 (from 1221) - everything seems good so far. One of my app that was saying "device is rooted" don't display it anymore.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] payypalmm:
OTA Update or Flash New Rom 1221 to 1224
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Alcatraz323:
No built-in ota but adb sideload to dirty flash is available
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] payypalmm:
Can you install it on top?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Anonymous11289:
yes, that's what dirty flash implies
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] w7jin7y9@outlook.com:
Physical requirements, can you transplant the brush face unlocking of other ROMs? Fingerprint unlocking is not easy to use
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Alcatraz323:
Pe will addw this later, it's useless and hard from maintainer side
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] GuitarGuy96:
It's fantastic! Thank you for your effort, love the fact that it passes saftey net without any extra effort. Been using it since a couple hours now, just a few things to point out I'm not sure if I'm the only one facing these:

- The battery saver quick tile is not updating to reflect the battery saver status. Tapping it will activate battery saver without having its tile UI update. Tapping it again doesn't disable battery saver though.

- Fingerprint Unlock will at times not activate. It's like the lockscreen forgets it has a fingerprint to detect. Fingerprint shows up in the settings and I've added it, but for whatever reason there are instances when you wake up the phone and the lockscreen just isn't going to detect a fingerprint.

- Dolby Atmos though present doesn't seem to be making any changes to the audio. The demo has no audio either.

- The refresh rate seems to be locked at 120, even if the minimum refresh rate is set to 60 or 30. Is there a way to have it scale down to 60/30 when the screen's static without any motion and then bring it back to 120 when there is motion? Could help the battery life.

And just as a question, any gcam or similar camera application that could pair well with this rom? The included one works but I'm missing the fidelity gcam offered.

I'm so glad this exists though. It's the first rom I've flashed on the RP2 and I'm really happy about breathing new life into it after two years. Thank you for your work on this!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Anonymous11289:
Gcam 7.4 works fine (8 is broken)

Razer Phone 2 Google Camera – GCam 8.0 Download

www.cyanogenmods.org
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] GuitarGuy96:
Thanks for this!

I installed it but the viewfinder had inaccurate colours. The pictures it would take were fine though.

I saw in the link you provided someone mentioned the same thing and so I tried out 8.1 instead here: https://www.cyanogenmods.org/downloads/bsg-gcam-8-1/ - Version:8.1.101_a9_GVv.

This one works with the viewfinder fine for me!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Anonymous11289:
oh cool. Yeah i got the same discoloration glitch on 7.4 as well.

BSG GCam 8.4

www.cyanogenmods.org

I tried 8.4 and it works too.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Diegolgo:
thanks for you hard work, but i have to ask:

are you editing the cpu gobernor in updates?

i think the last update (dic 24) is consuming many more battery than before...

this is why i tried to put a different kernel... the battery is drain too quickly....

reading the comments, maybe is something betwen the battery saver, or the screen hz...

if some one know how to improve the battery with this rom, im open to hear suggestions...

thanks!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] ProjectPatatoe:
I see that VoLTE image. Can anyone confirm this is working on Verizon? or at least generally working on Verizon?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] RaptorTurkey:
I personally don't see too much improvement with this rom over the lineage one, the camera still doesn't function fully (only one rear lens is usable), the battery drain is ehh, and even the chroma led requires manual toggling each time you restart the phone so it's inclusion is superficial at best. The lack of OTA QOL updates just make it a messy experience that can include some fumbling trying to find the latest version to flash. Sure it would be nice if the lineage rom prioritized the regular lens function over the telescopic and yes the flashlight function doesn't work, but the telescopic lens also isn't usable on this rom either. Biggest issue I have with it so far though is the lack of ability to control volume in applications like YouTube, Plex and etc. I'm pretty sure the media volume slider is all around completely broken and wouldn't work for music saved on an as card either
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] pigjr:
What's the point of OTA if the weekly updates don't solve anything? The flashlight/lens issue PREVENTS lineage to be a daily driver, while PE's minor issues are endurable.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] RaptorTurkey:
The inability to control volume is a huge point of contention for me that's worse than not having a flashlight on my phone, the OTA update feature is just nicer in general, updating to a new pixel experience image is cumbersome and you have to manually check here for an update, it's just not worthwhile IMO. Personally I don't take photos in the dark or require the main camera, and if I was a photographer I'd still not require it since I'd be using a DSLR camera. Not a deal breaker for me. Uncontrollable volume level is far worse from my perspective. Lineage 19.0 will hopefully have a build fairly soon too that I've seen has a fair few fixes included in it already that aren't present in 18.1, so that's something to look forward to too
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] yyds-666:
1. The inability to control the volume is the problem of your mobile phone. This problem does not exist in my case. The volume works very well.

2. My camera can work perfectly and normally

3. The power consumption is also good, the background application is optimized, and the screen can be used for 6 hours.

4. Except that the fingerprint will not work, everything else is perfect. Fingerprint failure also exists on other gsi. For the Razer phone 2, this is a common problem for most Android 11 and Android 12 systems.

5. The official los18.1 has never fixed Razer’s problems. Although it is updated every week, it is a public version, not a repair of Razer. I have no hope for him. I estimate that the official los19.1 will have to wait for half a year.

Thank you very much for this rom, which brought my Razer back to life, and I look forward to his fingerprint repair
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] waffleboi9000:
2 Feature requests: the "now playing" feature, and a version of gcam for the default camera. The default one feels pretty laggy, and not very intuitive. If it's not possible for gcam to be the default, some kind of option to set an installed version of gcam to open when double clicking the power button would be awesome. Currently, even with gcam set as the default, it requires unlocking the device, unlike with the stock app. Hope this is detailed enough, and thank you so much for this amazing rom.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] RaptorTurkey:
1. It's limited to "media" audio only. Call volume, alerts and etc all seem to function fine. My device isn't unique.

2. Your single camera works, just like everybody else. You have no telescopic lens access. Again, my device isn't unique.

3. Mileage varies, multiple factors.

4. Fingerprint works on lineage to unlock 100% of the time, this ROM, not so much. The rest of the fingerprint functionality is roughly the same though in my experience.

5. You should really check the log, there's been lots of fixes on the smaller side, hence why there's a git repo linked.

I'm glad you find this ROM useful, but I have different priorities that this ROM just doesn't fulfill. I've outlined things that are factual and explained why they didn't fit for me. Flashlights and cameras are the least of my worries for a phone. Media playback (and controlling the volume of it), ease of use (including update structure) and stability/security are probably my prime concerns. Also thank you for the creator of this ROM for putting in the time and effort to get as much working as possible.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] payypalmm:
Thank you for making this phone a new one after 3 years.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] waffleboi9000:
I am still experiencing the audio bug mentioned in games, and can confirm that it is resolved by raising the volume beyond about 50% or using bluetooth headphones. no clue about wired headphones. Using the 12/24 version.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Anonymous11289:
On the 12/24 rom, using a SD card for internal storage. Not sure if it's the razer phone or the ROM, but it's not stable, occasional app crashes, phone freezes, hard resets.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] yyds-666:
Looking forward to further updates
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] pigjr:
Maybe the card? I'm using a Samsung 64GB UHS-I U3 as phone/internal storage, putting quite a few apps and games on it and they all run fine and stable.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Anonymous11289:
i'm thinking it's the sd card/phone. This phone has a documented history of eating sd cards and eventually corrupting them.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] cs-135:
A lot of us are coming from LOS and a lot of us have had the persistent flashlight and camera problem. This ROM fixes all of that making my phone usable but also putting it on AOSP 12. Awesome!

But I guess every ROM out there has its own set of problems. The only two issues I have is:

1 - Fingerprint sensor goes to sleep when the device is idle. It doesn't seem to be a problem when you lock the device, and within a minute or so try to unlock it with the sensor. This works fine. But when you lock the device, leave it for a while (5 min or so) and then try to unlock it, the sensor or the OS seems not to bring it back to full power. You have to enter the PIN and only after that does the sensor work again. It gets quite annoying at times.

2 - You should really consider maybe having a mailing list or something where we can subscribe to get notifications when a new build is available. It's just a thought.

Other than that, f'n great job!! The RP2 maintainer for LOS can certainly get some lessons from you!

As a side note to others: The built in Chroma controller works on a basic level but I find that the light doesn't always go out when the device is in standby. Also, it doesn't persist its on and off setting. My recommendation is to get magisk running and functioning and then have a look at Logo+ here on XDA.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LarryBoyG:
Does anyone have an issue where the phone randomly freezes and force restarting is the only way to get passed it?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] greencartim:
Yes. I was able to recreate the bug by doing this. Have a fullscreen app open, like YouTube or Snapchat. Then send an email to yourself or have someone text you. When the notification comes in is when the phone will "freeze". The phone still works since I can feel it vibrate, didn't test if the sound works while it is frozen. Also the bug will only happen after the device goes to sleep at least once. You will know when the phone went to sleep if the fingerprint stopped working. Couldn't get a logcat for the dev sadly, too busy during the holidays. Hopefully someone can help the dev out with a logcat.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] RaptorTurkey:
Anything that has video playback can make it crash, I've had it happen in discord watching a random video
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] AuroraXDA:
I think not all apps playback making phone freeze.

from what I experience are youtube apps, google files manager, google photos.

for youtube I use firefox.

for media playback I use karasawa player.

for discord idk
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] AuroraXDA:
fyi stock camera v 2.7 is working, but no for v 2.8 on "photos" mode only, app will crash when saving pic.

v 2.7 is working fine on all mode.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Diegolgo:
when playing youtube (video) in front others apps, o in some ocassional and especial times, it freeze (sound like is working,... but the screen dont respond).

i have an ask:

is possible the this room "leak" some data ... i have a breach in my accounts.... and searching and searching.... there's some dates that make me think ... is possible the this rom (or other) leak your passwords, data, or something like that? ) like a keylogger, o trojans, similars stuff like in desktops happens couple years ago....?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] yyds-666:
I tried a lot of ROMs, and the problems on the Razer phone 2 seem to be the same. All Android 11 and 12 fingerprints have problems and do not work after being left for a period of time (except the official LOS 18.1). All Android 9 and 10 do not have this fingerprint problem
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Marcos8760:
Bug: simulating a different color space bricks the phone until you factory reset from recovery.

Other than that, great ROM. :)
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Neutronflux:
Yup, just got it today when I started playing a YouTube video in WhatsApp and then received another message. Sound will keep playing, but screen will be frozen and you can't put the screen to sleep with the power button.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LarryBoyG:
I have tried this and can confirm the bug.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] waffleboi9000:
The only way to get out seems to be forcing it off and rebooting. I've been getting this issue with gifs in discord.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] pigjr:
Uploaded version 20211221-0118 to https://ufile.io/f/r71yn as per request from the Telegram group
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Alcatraz323:
New version uploaded, please check #2 for changelog
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] waffleboi9000:
It seems that the freezing bug has been fixed, and the audio is louder in general, but it still seems to be having flickering volume in games.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] waffleboi9000:
The volume seems louder because even when muted, volume appears to be on the lowest setting. I tested this with a video playing in discord. This is also true for YouTube videos.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] muellerm30:
Definitely agree with the sound being louder. One thing I have to do to get Bluetooth audio working is by switching from AAC to SBC. When on AAC the sound gets clicky and eventually drops. Anyone else have this issue? Or is it just my headphones? My go-to headphones AAtM are Status Audio's Between Pro.

Oh also the fingerprint sensor doesn't seem like it's going to "sleep" any longer as another member mentioned.

Man this ROM keeps getting better.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] waffleboi9000:
Just to be clear, these audio issues were with the speakers, I have yet to test the Bluetooth audio.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Alcatraz323:
new version uploaded, optimizes the volume table, also fixes nfc issue
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Luminier:
Seems a lot of these issues plague Lineage and you've found a fix for them, no? Would be great to have that information shared between other ROM devs for the betterment of all custom ROMs across this phone.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] waffleboi9000:
Updated to 15th's version, volume still has flickery audio issue on speakers, can someone confirm this is still an issue, cuz I'm starting to think it might be a hardware issue on my end. In any case, the increased volume from the previous update is still there(which is good), and there is no longer any static or very low audio from the speakers when the volume is low, so thanks a ton.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] johnriper:
i just tested this rom and it is super fast, thanks for this amazing work, i have a noob question, can i now lock again my bootloader or not?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] waffleboi9000:
I don't think so, but I'm pretty new to this too. As far as I know it erases your data and won't let you boot into the rom. Someone experienced can correct me if I'm wrong.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LarryBoyG:
I've done it. It can't erase if you don't have the stock recovery. But it doesn make the unlocked bootloader message go away. The bootloader text turns red and says that the firmware has been tampered with it something like that, so not really worth it.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Anonymous11289:
Still on the 12/24 version, reporting a new bug.

If you try setting your freshrate to 60hz, it defaults back to 120hz.

Setting it to 50hz appears to work, 60 does not.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Alcatraz323:
Invalid report, this is not exist on my phone.

Do not touch the refresh rate switch in Display Setting, do it in Razerparts pls, I will remove entry in Display Setting next version
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] johnriper:
the freezing bug with videos still exists
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] JDubbed:
Following. @Alcatraz323 thank you for all your effort. I'm not pulling the trigger yet because of the fingerprint issue and how much effort it seems to take in order to open a banking app as it's been mentioned with using magisk and stuff as well as the random freezing. Here's to hoping those issues will get better.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Alcatraz323:
Never met that, how to freeze, and is it on Los too