yashsingh1/xdaforums huggingface dataset:
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] P650SE:
Does anyone still have a link to download the final build of Lineage 18.1 for RP2? It is no longer available to download from the official Lineage website as it has been replaced by newer builds based on Android 12.

This is the file I am looking for:

lineage-18.1-20220425-nightly-aura-signed.zip

SHA1: 4ba361492aeb2c8572bdb986a7ef4024228ac02d

SHA256: a4526621390d8c0a3d40c7f89612582530315432eb1714c8d9cbe9bd2c34db19
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] runuts:
Is this the one you need?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] P650SE:
Thank you so much! Yes, that's exactly the one I was looking for! I appreciate your help and the time taken to upload this!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] IngwiePhoenix:
It should still be avilable in the build artifacts - I don't think they are fully purged all the time? o.o

That said, why this version in particular @P650SE ?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] P650SE:
Oh interesting! For future reference, are you able to link me to the page where I'd be able to download these older builds?

The reason I asked for the latest Lineage 18.1 is just because I really dislike the new rounded UI in Android 12. I know it might seem fussy but I just can't stand the rounded oversized look of everything in A12 and the amount of space it wastes. I hate how even the picture-in-picture video player has rounded corners. To me, that just feels stupid. So I would rather run the older version even if it does have more bugs.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] IngwiePhoenix:
So apparently, LineageOS truely does not store old versions due to bandwidth and storage. Makes sense...

So I went and looked around:

- Archive.org has a few useful links:

* https://archive.org/details/lineage-16.0-20200325-nightly-beryllium-signed

* https://web.archive.org/web/20210708061619/https://download.lineageos.org/aura (adjust the date)

* https://archive.org/details/lineageos171-20220217

*

https://www.reddit.com/r/LineageOS/comments/kajf5m/_/gfbjrpt

The aforementioned FAQ: https://wiki.lineageos.org/faq.html...s-droppedits-lineageos-version-was-deprecated

Hot take: LineageOS' FAQ is worded quite rudely... O.o Anyway, I hope these help!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] P650SE:
Thank you @IngwiePhoenix

I appreciate you sharing your research and findings! The only other thing I would like now is to find the latest Lineage 18.1 for RP1 (cheryl) as well, but I will ask for that in the appropriate forum as it is off-topic here.

For context: I actually don't have a Razer Phone for myself (yet) but I am planning on buying one soon if I can find one in good condition. Of course it will be better for me to purchase the newer RP2 but I may end up with RP1 if I happen to find a better deal. Which is why I wanted to achieve the latest Lineage 18.1 builds for both devices whilst there are still people who can re-upload them.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] jal3223:
Thank you for uploading this! I also hate Android 12+. Do you happen to also have the recovery/kernel?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] edison:
Sorry for the necro-reply. Trying to make my RP2 usable with a modern OS.

@jal3223 , Did you use the flash_all.bat from the Razer factory images?

If so, @npjohnson , what could be making that work? The factory images have over a dozen .img files. Could it be the modem.img or something similar?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] dizgustipated:
Thanks for your hard work!

Also, if you put it on battery saver, it will lock display at/around/below 60fps. For those of you that want it.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
in my most recent build, I can focus up close and far away just fine - quality seems correct, how do you know it's telephoto? (eg how can I tell? - sorry, not very camera type literate).
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
Really? Interesting!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] dizgustipated:
As reported by Cortex app.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Reznor7:
No worries. I can tell after using the stock OS for quite a while. The first time I loaded up the camera app in Lineage, I could immediately tell that things were much larger than they should be. The field of vision was much reduced. I've verified it with others in the Telegram channel as well. The phone has a second lens dedicated to zooming in. On stock, when you zoom using the Razer camera app, it switches from the wide lens to the secondary telefoto one. The default view upon loading any camera app in Lineage seems to be using it by default. Hope that makes some sense! 🙂
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] sako_1930:
just cover the lenses with something and you will see :)
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] sako_1930:
the Bluetooth audio have hiccups when using HD audio AAC codec, I don't know how to collect logcat for this sorry :(
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
does your headset support SBC? can you try that?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] jal3223:
Unfortunately I am not getting VOLTE with Verizon. It says that IMS isn't registered in phone info. Has anyone had any luck with a fix? It recognizes Verizon as well as the sim. There is even an APN that automatically sets on first boot for Verizon. Just no IMS registration. @npjohnson

On stock, the default Preferred Network Type is TD_SCDMA/CDMA/UMTS. This option is not available on Lineage for some reason. When trying GSI's in the past, the only ones that I could get IMS registered with are the ones that at least had UMTS available. I'm not sure if it is something that can be implemented or not.

The ROM runs great through. You guys did an awesome job. Thank you!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Porroe:
I had the same issue and SBC makes the sound not cut off. Both AAC and SBC have the lag while in-game. This is a very impressive rom regardless!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LSS4181:
Okay... if possible I could give it a try. But given from the answers 3 and 4 I think it won't be easy as I'll have to back up the entire phone and SD card and start from scratch.

The main reason would be that, both f2fs and exFAT are NOT supported on stock, so if the answer 4 is true then they're probably not supported on Lineage either, but from the gerrit reviews I did notice some exFAT-related commits. I just hope I don't have to use FAT32 as my SD card is very large and I may need to store files larger than 4GB which FAT32 cannot.

By the way, when I was trying custom ROMs on an older device of mine I recall setting the filesystem type to `auto` in fstab allows either f2fs or ext4 to work, but as I'm not using encryption (they're still very problematic with TWRP) I don't know if encryption would work with this setting. I'm currently not using encryption mainly because getting TWRP to work with it can be problematic, and it makes clean flashing ROMs more difficult.

I know a bit about Lineage Recovery but it seems to lack the ability to backup and I don't know if it'll still work with flashing Magisk and some Magisk modules that require it to be flashed from recovery instead of from the Manager.

And finally, does Camera work at least to the point that I can scan QR code and do face logins on certain apps? I know that there are problems with cameras at present, but QR code scanning is a must.

I think the lag is natural for bluetooth audio. aptX does not really solve the latency problem (I've been under a false impression that it does for a while). aptX LL (low latency) is the one that supposedly does, but only few devices support it and especially, no current phones support it at all. There were technical reasons behind this like interference from antennae and so on, and it seems to have been superseded by something called aptX Adaptive.

Some high-end TWS earbuds offer a "gaming mode" which seemingly reduces latency to less than 100ms, by increasing bandwidth throughput, but for this particular phone I saw no noticeable difference. I still get a latency of about ~300ms which I believe is the norm for bluetooth audio.

After many years looking for an answer for the latency issue with bluetooth audio I've reached the conclusion that it is impossible to get rid of it.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] sako_1930:
Yes sbc works fine
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
Okay, so, you don't need to wipe your SD Card if you selected to use it as portable storage (you most likely did).

f2fs is supported as an fs, but exfat is not, as it's not licensed from Microsoft by Razer - a LineageOS legal requirement to ship support for it.

You'll need to use FAT32 for your sdcard - it's what Android wants, and our vold currently doesn't support other fs's for sdcards.

I'd really recommend encrypting - just don't mount data in recovery, use SeedVault in the OS to backup your stuff.

Lineage Recovery can flash Magisk, it works fine. It doesn't back up your data, because it doesn't mount it, recovery was never designed to do that on Android - like I said above, userspace backups via SeedVault would work just as well. It won't cover /sdcard contents, but you should be backing that up elsewhere as well.

The camera works fine, used QR scanner today.

I don't see any lag in my setup, but varies per codec and per headset ofc.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] 8bp:
Fat 32 doesn't support files more than 4gb, that I wanted to keep on my 400gb flash
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Luminier:
Hey guys, just flashed it. Works great. I just noticed though that SMS aren't sending. Any advice?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LSS4181:
Glad to hear that camera works for the purposes I need.

I'm yet to know how SeedVault would work and whether the backup/restore would be as seamless as with TWRP, Migrate, or the outdated Titanium Backup. I'll take a look first.

I always make backups with TWRP whenever I'm about to do something potentially destructive, and it saved me countless of times in case things did break after it. As for Migrate, it's a good backup utility for moving from one custom ROM to another (clean-flashing in the progress).

Again, since Lineage Recovery normally doesn't mount `/data` (considering encryption), I don't know how it would work for Magisk, and Magisk modules that requires flashing from Recovery instead of from Manager, since Magisk stuffs are placed exclusively in `/data/adb` and it certainly wouldn't be possible if `/data` couldn't be mounted in the first place.

I understand the legal requirements for exFAT, but if I need to carry files larger than 4GB on the card then FAT32 would be out of question. Don't know if there are any other workarounds for this, as according to some threads made many years ago, Android vold used to be able to support other filesystems like ext4 as external/portable storage (not anymore now).
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Liminality:
After a little while w/ the new ROM:

Telephoto lens for the camera being used inside all apps as default

SafetyNet check fails at CTS profile match (this hasn't prevented me from using Snapchat or JPMorgan Chase banking app)

Wireless charging is slower (haven't used wired charging to check that) using the official RP2 wireless charger
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
Yeah, maybe try ext4?

But I mean, you can try flashing Magisk on Lineage Recovery - it works fine.

1. Working on it.

2. Expected, Magisk will probably fix it - we can't fix it officially 0 SnapChap, Chase, and JP Morgan do basic tests, not CTS profile, so as long as you don't have root or XPosed you're fine.

3. That doesn't make much sense, we changed nothing there...
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Porroe:
I fixed safetynet by intalling magisk with lineage recovery and changing my build.prop. Was able to log into chase, download netflix and use google pay in store.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Liminality:
Yee, I was just reiterating some of the issue for verifiability. Camera will be fixed.

The CTS profile issue is fixed indeed by sideloading Magisk thru Lineage Recovery + installing ARcore module

The charging difference made no sense to me either. I probably need to do some actual testing on it, but I was sight testing using the phone propped up on the wireless stand as I usually do & just noticed it sat at each % for much longer than previous on stock (SMR7). Wondering if it's just a difference in charge calculation (?). I'm not very affluent in Android version changes to be fair
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] diosicario:
First off, thank you so much for the ROM! I thought this device was gonna be stuck on Android 9/10 forever, even though it deserved so much more!

Quick question regarding Bluetooth though - Does this ROM enable LDAC/Aptx? If so, can anyone who've used those codecs let me know if they're working properly? The lack of any other codec besides SBC has annoyed me for a really long time with this phone.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Porroe:
Only SBC so far. You can use AAC but it stutters
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
let me know - but you did mean SMR6 right? Not 7?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Liminality:
No sir. There was a Razer OFW security patch for February 2021 that was available, I want to say, early March. This was SMR7. I don't believe there was any significant changes aside from a security patch

It should be listed here in the reddit update thread:

https://www.reddit.com/r/razerphone/comments/iyb47z
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Luminier:
Okay, so here's some details about this. I'm using Net10 as my carrier, which uses Verizon's network. I'm still unable to access the data, and I've tried inputting many recommended APN settings to no avail. My network also says it's disconnected. Since I'm probably one of the only ones to use Net10 on this specific phone and OS, am I just screwed and need to stay with stock? I really hope not...
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
Interesting! I'll go back to stock, OTA, dump the files, and update our blobs/firmware from it!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] jal3223:
On Verizon I can get data, but no Volte. It's a Volte only phone, so I'm right there with you man.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Luminier:
Interesting, I wonder if this is something that can be fixed in future releases?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LSS4181:
Okay, so how to get ext4 working as portable storage? I did find a few posts about it, but they were made many years ago and only applicable to very old Android versions (like 4.x). I'm not going for adoptable storage because it doesn't appear to be portable that I would probably need to back everything up and recreate it in case of clean-flashing (which I might need to do once in a while to keep system responsive).

Anyway, will keep looking at the development progress and I'll definitely try when I get everything backed up and ready.

aptX is not officially supported. Also, stock Razer vendor has overlays that explicitly disables aptX and also breaks some other capabilities, which must be deleted to restore them (not to mention the overlays made Bluetooth not work at all with GSIs). I don't know if the LOS vendor somehow carries them over, but given how LineageOS respects licensed capabilities on stock FW (which covers things like aptX, exFAT), this is very likely and you probably need to do the same.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
Sad to hear.

maybe?

should just be format as ext4 and insert, if it doesn't work, our vold doesn't support it. That simple. And yeah, we disable aptx - all good.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Luminier:
Okay final update until I get more major news. When I have connection to my data, it can be used to browse the internet and other functions like so. But calling and texting does not work whatsoever.

Very strange.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
Yeah, not a surprise, VoLTE is reported above not working, and this is a VoLTE only phone on VZW - texting has to be through RCS - and our stock app doesn't support RCS - I fully suspect if you get Google Messages, it will work?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Luminier:
Alright, I tried Google messages but they still will not send.

EDIT: UNLESS I misunderstood you and you meant that I have to use Google messages through a Google number. I simply sent a text through the Google Messages app from the Aurora Store.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] mikeioannina:
It does support LDAC which works fine, but not AptX
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
Try "Chat Features" in Settings of Google Messages.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] jal3223:
Did you happen to see the previous message that I posted regarding UMTS? Like I said before, the only GSI images that I could get Volte on had either TD_SCDMA or UMTS available in the preferred network type in the *#*#4636#*#* menu. After selecting one, IMS would immediately register and Volte would work. There were only a few that had it as an option though. Do you know what determines these options to be available by chance?

@mikeioannina
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] dizgustipated:
There is a bug for me, where while using Google maps app, it jitters a bunch, then shrinks the window the far top left and is basically impossible to use.

The screenshot below appears to show app using full screen, but in fact is not. Notice how big the icons get. Could someone give maps a shot, and verify?

It did the samething, for me, on the early test builds also.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] jazkid03:
First off, thank you so much, this is really awesome work! I tried installing it last night and everything went smooth as butter except the MindTheGapps install, for some reason no matter how I install it I don't get anything Google related in the setup and I have no Google apps, did you run into this while testing or is there something I missed? Any help would be greatly appreciated. Thank you again, you're freaking amazing!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Porroe:
Is anyone else's phone freezing up when watching a video? It has happened to me 3 times on different apps, about once a day. The screen freezes, however, the phone is detected through ADB but adb reboot does not work and the phone wont unfreeze until a hard reset.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] N_otori0us_:
yupp happens to me often, especially when using snapchat. I'll try and see if I can get a logcat when it happens. So far the only bugs I've noticed are the zoomed in camera and the video freezing glitch. Other than that, everything looks good!

Also thank you to the amazing devs for providing this ROM, I thought I'd be stuck on stock forever lol.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] N_otori0us_:
hey I followed these steps to get the gapps working

1. flash the Lineage OS in recovery

2. After you flash it, make sure you reboot BACK into recovery, I forgot this part too lol

3. once you're back in recovery, then flash the gapps

4. now reboot the phone properly and let it start up, you should see the google setup now!

hope this helps : D
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Luminier:
This is also happening to me.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] unsponsoredgeek:
It was easy to flash and booted up right out of the box. WiFi and Bluetooth worked as well.

I did find a bug: the flashlight does not work. The Flashlight icon is greyed out with the text "Camera in use". The camera is not in use and even rebooting the phone does not fix the error.

I can't delete and reinstall the Camera app, so there is no workaround for now.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] jazkid03:
Thank you so much, I didn't realize how much I relied on Gapps until I spent two days without them, I tried these steps and everything is now working great! Awesome work guys!
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] sikampang:
instalation method same with razer phone 1?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
wiki.lineageos.org - follow the guide
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] sikampang:
ok, this have flash boot a n boot b method ?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] npjohnson:
You're not reading it. You need to flash one slot, just like the guide says.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] 歪比歪比:
When playing a game, the sound will become unstable when the volume is lower than 50%.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LSS4181:
I think this is a hardware issue with the built-in speaker. I didn't test with stock but it's also the case with GSI. I need to be at least 40%-50% volume to make all frequencies audible, or the audio would be missing some frequency ranges.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] 歪比歪比:
There is no problem with the audio on the stock.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] tzukiwy:
heya, is there any official ETA in when the next nightly patch will be released?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Reznor7:
It's definitely a software issue. In a GSI, activating the "alternate audio policy" under the Qualcomm Settings fixes it, but breaks Bluetooth audio.
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] LSS4181:
Actually neither audio policy set is perfect. Answering calls on my Galaxy Watch Active2 only works with it turned on, but my TWS earbuds only work with it turned off.

Back then I left an issue about the matter as I'm not really an expert with audio policies. I need a good way to disassemble the details so as to figure out what exactly is wrong in each set of policies in order to correct them...
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] payypalmm:
I can't open location gps not working
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Liminality:
Was just released this morning, although I think there was only regular LineageOS changes, not aura device specific. You can see the changes in this build by either going to the first post and clicking "changes for aura", or inside LineageOS three dots at the top, view changelog
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] 64-core CPU:
First, I want to thank you for the work done - it's great!

Now I want to ask my questions. I installed the system exactly as described here:

Install LineageOS on aura | LineageOS Wiki

wiki.lineageos.org

Today I noticed that an update has come. In the android settings, I selected the update item and downloaded it. An error occurred while trying to install the update. The battery charge was about 70%. I ended up just reinstalling the system cleanly because I thought I had done something wrong.

I have a few questions:

1) When unlocking the bootloader, do I need to "unlock_critical"? The instructions do not indicate this, but I want to completely dispel my doubts.

2) After installing LineageOS-recovery, it logs in in a rather strange way. If I just turn on the phone with the vol+ button holding, then it boots up normally into recovery. If I boot into the recovery from the bootloader through the menu, then when I reboot, half of the screen fills with black, and the second is white. After a few seconds, the phone reboots again and boots into recovery. Is this the expected behavior or did I do something wrong?

3) Can the bootloader be locked after installing Lineage OS?
[Razer Phone 2 ROMs, Kernels, Recoveries, & Other D] Reznor7:
I agree. I was just stating that it seems to be a software configuration problem, not a hardware issue.