yashsingh1/xdaforums huggingface dataset:
[Razer Phone 2 Guides, News, & Discussion] raze5115:
when do I flash that disable verity command? the link for those flashing instructions in op is dead and doesn't go anywhere.

I tried doing the disable verity fastboot command every which way I could think of and I still get that password screen from my earlier pic.
[Razer Phone 2 Guides, News, & Discussion] hendibudi:
You missed to flash this one: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
[Razer Phone 2 Guides, News, & Discussion] raze5115:
I tried doing the disable verity fastboot command every which way I could think of and I still get that password screen from my earlier pic.

But I don't know when I'm supposed to do that disable verity fastboot command though since that link in the op for the instructions is dead and doesn't go anywhere.
[Razer Phone 2 Guides, News, & Discussion] hendibudi:
Change data partition to ext4
[Razer Phone 2 Guides, News, & Discussion] raze5115:
I just tried that changing data partition to ext4 even though I think it was already in ext4 and I still get that password screen.

When do I do that disable verity fastboot command?
[Razer Phone 2 Guides, News, & Discussion] hendibudi:
You can do after flashing custom boot image don't soon running to enter recovery first but flash with disable verity when finished both fashing you can enter to recovery
[Razer Phone 2 Guides, News, & Discussion] raze5115:
So am I supposed to flash the gsi's through fastboot mode and not through twrp cause I don't think you can run that command in twrp am I wrong?
[Razer Phone 2 Guides, News, & Discussion] _Sherrif:
Flash through fastboot mode.

Also, If you keep getting the encryption problem, you may have to FORMAT data, the format where you type "yes". Also, i always after every wipe, format, etc, prior to flashing anything i always reboot to recovery after each one. Not saying it is required it is just what i do, it allows the partitions to refresh and reload.

I am still learning this phone and the A-B setup it uses, so i may be wrong with the FORMAT Data stuff.... just a thought

. But I will say on other phones i have had and when running into encryption problems, Formatting data always fixed it.

_______________________________________________________________________________________

---------- Post added at 05:46 ---------- Previous post was at 05:43 ----------

All,

curious if anyone on VZW network has got a PHH-GSI ROM or GSI ROM to work. When i try a PHH-GSI ROM it will boot but i have no cell "SIM Problems" says SIM not inserted or SIM not found, can't remember for sure now. Tried the LTE fix, tried no GAPPS, tried no MAGISK and nothing seems to work. Tried to change phone settings in *#*#46363#*#* and set to LTE or LTE/CDMA, no luck. Any advice????
[Razer Phone 2 Guides, News, & Discussion] hendibudi:
Paste statement from arter97:

This kernel fully supports f2fs for /data and I encourage everyone to use f2fs with my kernel for better performance.

See here as to why you might want f2fs.

Use the integrated TWRP to format /data to f2fs.

It is crucial to use my kernel's TWRP as it includes an older version of mkfs.f2fs and passes an incorrect parameter to mkfs.f2fs.

1. Boot to the integrated TWRP and flash f2fs_fstab.zip

2. Reboot to recovery again

3. Wipe /data by entering Wipe > Format data > "yes"

After formatting, or flashing a new ROM or an OTA, /vendor’s fstab needs to be changed.

Flash f2fs_fstab.zip to convert fstab to f2fs again. f2fs_fstab.zip won’t format your /data partition.
[Razer Phone 2 Guides, News, & Discussion] nh5:
Anyone have VoLTE properly working on a GSI? Been bouncing around trying different fixes. Google Phone app hangs on answer/hangup of calls. Don't get any further without a reboot. Tried the ims.apk floating around along with a flashable fix to /vendor. No go on either. Running on AT&T.
[Razer Phone 2 Guides, News, & Discussion] RKBD:
btw Quickswitch doesn't work on razer phone 2 + gsi so you should use lawnstep instead.

sadly it's limited only to lawnchair (you can get it from their telegram CI or apkmirror.com)

https://drive.google.com/file/d/1NVo5m3i0pNQqApfZNiaxvxVhOAPXIcnY/view?usp=drivesdk
[Razer Phone 2 Guides, News, & Discussion] DeathToy:
Have you tried copying the VzwOmaTrigger folder and apk from a stock ROM to /system/priv-app? Always worth a shot.
[Razer Phone 2 Guides, News, & Discussion] _Sherrif:
NO i have not. Are you on VZW? Did that work for you? Curious is why i ask, will give it a try regardless. Thank you!!
[Razer Phone 2 Guides, News, & Discussion] DeathToy:
AT&T for me. I have had some success with getting AT&T phones recognizing Vzw Sims using similar methods in the past. Specifically the Atrix HD using a Vzw apk from a Photon, although I wasn't able to get service (AT&T Atrix HD didn't have any bands supported by Vzw so that was as far as I got).

What exactly are the added benefits of using a GSI ROM? Better performance/battery life? Kernel settings not being overwritten by some mysterious force in the stock software? I'm assuming exfat works on GSI ROMs.

What GSI ROMs would you all recommend?

Sorry for the somewhat off-topic questions!
[Razer Phone 2 Guides, News, & Discussion] blyndfyre:
So has it been confirmed that the display still refreshes at 120hz with GSI ROMs?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
yes
[Razer Phone 2 Guides, News, & Discussion] blyndfyre:
Perfect, I just bought one from the Amazon Prime sale. Was nervous due to the lack of updates from Razer but that shouldn't be as much of an issue if I run a GSI ROM?

Do you have a sort of Pros and Cons list for using GSI versus Stock?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
cons

-Bluetooth audio not working

-sometimes you can't unlock with fingerprint (you have to wait until fingerprint service will work or camera)

-quickswitch doesn't work so you have to flash lawnstep instead (only for lawnchair)

-while charging with power off screen sometimes turning on with no reason

-you can't have game booster and can't control fps (40,60,90,120)

pros

-custom rom goodies

-more battery

-working substratum (systemui on stock doesn't let you change overlays)

-not bloated

-smoother

---------- Post added at 08:53 PM ---------- Previous post was at 08:51 PM ----------

imo stock is good enough because part of aospa team worked there
[Razer Phone 2 Guides, News, & Discussion] nh5:
Bluetooth audio works with the Magisk patch for it on CAF based PIE's. Honestly haven't had any issues with AOSIP and the patch. Doesn't work on AOSP though.

Trying to still get VoLTE working. I've tried absolutely everything. 845 and VoLTE on GSI seems to be a no go. :( For me here in the states, it's not a killer, but I really want it working. Stock P on this phone is missing too much that I'm missing on my Essential and Pixel.
[Razer Phone 2 Guides, News, & Discussion] RKBD:
where to get that audio patch i really need it!
[Razer Phone 2 Guides, News, & Discussion] dgourd:
I'm running Resurrection Remix and my battery life is significantly worse compared to stock. Only difference is that I'm using the r9 kernel and have Magisk installed. Mind sharing your setup? I might be missing something obvious.
[Razer Phone 2 Guides, News, & Discussion] hobjob:
Assuming you're on an unlocked model this is what I did using system-arm64-ab-gapps-su.img.xz from phhusson.

Bluetooth call audio and music works. I also installed AptX using Craftingmod's instructions which are included below. Camera2 is "Full", not Level3

Flash latest factory image to start from clean slate and do not lock bootloader

After first boot completes to setup screen, reboot into bootloader

fastboot flash system_a treblesystem.img

fastboot flash boot_a arterkernel.img

fastboot reboot-bootloader

select boot to recovery

format data

flash Magisk

mount vendor

remove /vendor/overlay/BluetoothResCommon.apk

remove /vendor/overlay/RazerAuraBluetoothRes.apk

boot rom, complete setup

In Magisk, install busybox and "Bluetooth stack audio bitrate changer for SBC + aptX & aptX-HD enabler"

find & update in build.prop: persist.vendor.bt.a2dp_offload_cap=sbc-aac-aptx-aptXHD

Reboot

I also installed MagiskHide Props Config and used what is present in vendor (follow the wizard).

I did some extra cleanup as well (removed his SuperUser app and anything redundant with the apps I was getting off PlayStore)
[Razer Phone 2 Guides, News, & Discussion] jal3223:
Are you using Verizon by chance? Also, have you tried just flashing through TWRP?
[Razer Phone 2 Guides, News, & Discussion] santimaster2000:
Hi, I followed this steps, Bluetooth works both for media and calls, but I'm not able to properly install the "Bluetooth stack audio bitrate changer for SBC + aptX & aptX-HD enabler" module, when I have to either push the "+" or "-" volume button to select the final option, the text kinda flickers and it doesn't register when I press neither of the buttons.

On LineageOS (Treble based, latest phhusson patch), I'm able to install the Magisk module, but I don't get Bluetooth on calls.

Anyway, if you have any pointers, it would be really helpful.
[Razer Phone 2 Guides, News, & Discussion] hobjob:
I'm not. Flash what?

Try the module installation again. I had this happen a couple times eventually it just worked. This was the only treble image I've tested, so not sure what's going on with the LineageOS image you're trying. Maybe double check that the recent Bluetooth fixes are actually included if it's based off of his AOSP.
[Razer Phone 2 Guides, News, & Discussion] jal3223:
Oh okay. I heard that Verizon users have issues with signal on the treble images. I think I read somewhere that some of the signal issues even persisted after stock was flashed back. It has me hesitant to even give it a try. Has anyone on Verizon gotten a treble image to work with signal??

As far as flashing, I was wondering if you have tried just flashing the treble images through TWRP instead of manually flashing it.
[Razer Phone 2 Guides, News, & Discussion] santimaster2000:
Thanks ! I'll try it again later, and I'll also contact the Dev that mantains that version of LineageOS to ask if he properly merged the BT fixes.
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Were you ever able to get a GSI to recognize your VZW SIM? I'm having no luck here.
[Razer Phone 2 Guides, News, & Discussion] jal3223:
I never even tried after hearing all of the failed attempts. I’m guessing AOSP has to be built specifically for our device. Unfortunately, it doesn’t seem like anyone is going to work on it. The Razer phone 1 just had an AOSP build though from what I read. Maybe they will feel sorry for us and build one for us as well. Lol
[Razer Phone 2 Guides, News, & Discussion] peixeskim:
Hi guys so we can't flash this roms through twrp only fastboot?

Thank you
[Razer Phone 2 Guides, News, & Discussion] RKBD:
we can flash them via twrp and fastboot
[Razer Phone 2 Guides, News, & Discussion] peixeskim:
I tried to flash RR through twrp didn't boot take me back to the bootloader screen any help can any tell me the steps to flash through twrp I did like normal do to flash a rom factory wipe, and flash
[Razer Phone 2 Guides, News, & Discussion] peixeskim:
Help anyone???
[Razer Phone 2 Guides, News, & Discussion] Kickazz080:
Hey mate, can I just flash ANY GSI rom to my razer phone 2? Just unlocked bootloader and flashed magisk on android pie. Do I need to pay any attention beforehand? What is this "treble" all about? Do you need to flash something inbetween or can I just start goin for flashing GSI roms?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
only flash gsis based on phh-treble (almost any is based on it) i recommend aosip
[Razer Phone 2 Guides, News, & Discussion] RKBD:
if anyone wants to know phh android 10 works much better than pie one
[Razer Phone 2 Guides, News, & Discussion] fromeister2016:
How did you install this

How did you get Android 10 GSI to install? Which GSI rom did you user, official phh or unofficial?
[Razer Phone 2 Guides, News, & Discussion] tard24:
I used Havoc for Pie and I heard there's an Android 10 version of Havoc as well.
[Razer Phone 2 Guides, News, & Discussion] JDBarlow:
Just installed this GSI ROM..DOT its so damn smooth..
[Razer Phone 2 Guides, News, & Discussion] RKBD:
phh one but its not released one

---------- Post added at 02:11 PM ---------- Previous post was at 02:10 PM ----------

all gsis are the same

but less features=faster
[Razer Phone 2 Guides, News, & Discussion] JDBarlow:
Went back to stock..could send texts but wouldn't receive them??

I haven't searched for a resolution yet
[Razer Phone 2 Guides, News, & Discussion] jal3223:
What carrier are you? Also, what partitions did you restore?

---------- Post added at 03:41 PM ---------- Previous post was at 03:39 PM ----------

Does Volte work on these GSI ROMs by the way? I know that we don't have cdma, so o was just curious for those that have Verizon.
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
I've never been able to get voice, let alone Volte working on any GSI. I'm on Verizon back on stock again.
[Razer Phone 2 Guides, News, & Discussion] tard24:
I had the same issue with Havoc, but used this APK and all is good.

https://xdaforums.com/razer-phone-2/how-to/gsi-lte-fix-t3925151
[Razer Phone 2 Guides, News, & Discussion] DarkestSpawn:
Anyone have luck installing AOSP 10.0 v200.c from phh and get it to boot?
[Razer Phone 2 Guides, News, & Discussion] jal3223:
I think there is an IMS.apk to fix data as well as a volte fix in Phhusson’s thread. I may give it a try when I get some time.
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
I tried both with no luck. Let me know if you figure it out.
[Razer Phone 2 Guides, News, & Discussion] jal3223:
Ah, bummer. I wish someone would help us out on it. It would be awesome to be on a GSI with no problems.
[Razer Phone 2 Guides, News, & Discussion] fromeister2016:
Android 10

I tried to flash AOSP 10 v200 v200.a and v200.c after wiping from an Android 9 GSI rom and just got a boot loop. Tried flashing v200 then v200.a on top of that then v200.c on top of that and nothing. Tried flashing v200 them v200.c and nothing. Also tried just flash v200.c and nothing.
[Razer Phone 2 Guides, News, & Discussion] fromeister2016:
Android 10

I tried flashing all of the AOSP v200 and got stuck on boot loop and had to reflash arter97 kernel. Not sure if I was flashing it wrong though
[Razer Phone 2 Guides, News, & Discussion] tard24:
Did you do the 200.c file named 'system-quack-arm64-ab.img.xz'. Also make sure you don't have any exposed modules active, as they don't work on Android 10.
[Razer Phone 2 Guides, News, & Discussion] RKBD:
all quack doesn't work. I've booted unreleased one called "unusable" with f2fs (ex4 =bootloop)
[Razer Phone 2 Guides, News, & Discussion] fromeister2016:
Android 10

That's the one I used. Started work v200, then v200.a then v200.c. But I also will started with Android 9 GSI rom and then did factory reset then formatted the partition and then flashed each of the roms. So I'm not sure if the format data was part was a step I shouldn't have done.
[Razer Phone 2 Guides, News, & Discussion] tard24:
These are the directions I followed when I installed Havoc 2.9 (yes I know this isn't Android 10):

Boot into TWRP

Full Backup to external SD card (optional, but recommended)

Flash ROM (image)

Resized system partition

Format data partition

Reboot TWRP

Flashed GApps

Flashed Magisk

Restart

Once phone starts:

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/razer-phone-2/how-to/gsi-lte-fix-t3925151 so you're able to receive texts
[Razer Phone 2 Guides, News, & Discussion] EMJI79:
Is it stable enough to use as a daily driver?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
its much better than any other!

finally first (pixel one too but have many fc so i prefer generic over it) Erfan gsi is booting with android 10.

https://mirrors.lolinet.com/firmware/gsi/Generic/Generic-AB-10-20190925-ErfanGSI.img.7z

1. install arter kernel

2. format with f2fs

3 install this gsi

5 install magisk

4 install open gapps from here (the inbuilt one wont let you pass setup wizard

5 install PIXELARITY to get props from google pixel to pass safetynet

(soon) 6 i'll do module that will allow you have gestures because the generic one doesn't have them.

enjoy
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
I'm trying to install Havoc 2.9 and then the arm64 Open Gapps, but Open GApps is telling me that my correct version should be arm. Has anyone else run into this problem? I even flash back to stock before trying.
[Razer Phone 2 Guides, News, & Discussion] RKBD:
are you sure you have flashed arm64 version of gsi?
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Yes. Havoc-OS-v2.9-20190914-phhgsi_arm64_ab-Official

It's driving me crazy.

Edit: Finally figured it out! Today's GApps release is bugged.
[Razer Phone 2 Guides, News, & Discussion] EMJI79:
For gestures I always use "Fluid Navigations Gestures". It works flawlessly and is very customizable.
[Razer Phone 2 Guides, News, & Discussion] RKBD:
New firmware update fixes booting phhusson GSI v200.d

works on ext4.

gapps

enjoy 10 on razer phone 2
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
But does the Bluetooth media problem still exist on a GSI?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
yup and i have fix for that

ill post here fix soon

---------- Post added at 08:57 PM ---------- Previous post was at 08:36 PM ----------

download audio_policy_configuration.xml

(right click raw and save file as)

and move it to vendor/etc/audio/ and replace
[Razer Phone 2 Guides, News, & Discussion] EMJI79:
Did you try this one?

https://developer.android.com/topic/generic-system-image/releases
[Razer Phone 2 Guides, News, & Discussion] RKBD:
yup

any of these wont boot on razer phone 2
[Razer Phone 2 Guides, News, & Discussion] EMJI79:
Oh sad...

---------- Post added at 08:51 PM ---------- Previous post was at 08:49 PM ----------

In that link it says Gapps "are out of scope", so you're doing without?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
go to wipe settings

toggle system and click resize partition
[Razer Phone 2 Guides, News, & Discussion] tard24:
I don't show this file in vendor/etc/audio. Is it supposed to be in vendor/etc?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
in vendor/etc/audio/
[Razer Phone 2 Guides, News, & Discussion] jal3223:
How is it running so far? Any major bugs to speak of?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
no bugs so far

only safetynet basic integration doesn't work
[Razer Phone 2 Guides, News, & Discussion] tard24:
Does the Arter97 kernel work on 10?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
without any problems
[Razer Phone 2 Guides, News, & Discussion] jal3223:
Have you tried running f2fs?
[Razer Phone 2 Guides, News, & Discussion] EMJI79:
Do we loose all data every time we switch between different GSIs ROM?
[Razer Phone 2 Guides, News, & Discussion] tard24:
So I downloaded the xml file and moved it to vendor/etc/audio (moved, not replaced, as the folder is empty) and Bluetooth audio still isn't working. Running Havoc OS 2.9 (build 9/12).
[Razer Phone 2 Guides, News, & Discussion] RKBD:
yes both are working

---------- Post added at 12:19 AM ---------- Previous post was at 12:18 AM ----------

no if you use migrate app from play store and wipe only data and cache
[Razer Phone 2 Guides, News, & Discussion] jal3223:
Awesome! Did you have it working when you were on MR1? I haven’t updated to MR2 yet due to the fingerprint bug, but would like to try out a GSI system.
[Razer Phone 2 Guides, News, & Discussion] RKBD:
an fingerprint bug? i don't think so it's system bug. it's hardware problem. you probably need to get new razer. and no gsi won't boot without mr2 vendor
[Razer Phone 2 Guides, News, & Discussion] jal3223:
Oh, I haven’t had any issues. I have just read that a few people on Reddit had issues with the fingerprint scanner not allowing new fingers after the update. Mine is working perfect on MR1. Thank you for the info though man. I may just update and see how it goes.
[Razer Phone 2 Guides, News, & Discussion] RKBD:
tell these people on Reddit to call razer service

i just got mine razer back month ago because of dead fingerprint. the dev of logo+ have same issue.
[Razer Phone 2 Guides, News, & Discussion] DarkestSpawn:
I've tried everything to get SMS to work (Only WCDMA Preferred works for me so no LTE. I also tried AospExtended v7.0 ALPHA which I couldnt get SMS to work at all. Both GSIs I tried with the IMS.apk posted a few pages back and no success. What did you do to fix SMS?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
i just have working sms
[Razer Phone 2 Guides, News, & Discussion] EMJI79:
Delete.
[Razer Phone 2 Guides, News, & Discussion] tard24:
I was just curious if anyone had any clarification on this? Or any other solution to Bluetooth media not working?
[Razer Phone 2 Guides, News, & Discussion] EMJI79:
With Phhusson latest 201, is it possible to flash the version with gapps included or do we have to go for the vanilla one and flash gapps afterwards?

Also which Magisk version work as of now for the device (MR2)? Magisk v20.0?

And a last question, how much time is it reasonable to wait booting after installing GSI and after flashing Magisk?
[Razer Phone 2 Guides, News, & Discussion] Davidistheboss21:
step 2 has a broken link
[Razer Phone 2 Guides, News, & Discussion] EMJI79:
So I successfully installed Phhusson Android 10 v201 over Arter r12 kernel. I was on MR2.

Here's how I proceeded:

1. In fastboot mode:

fastboot flash boot_b arterr12kernel.img

fastboot flash boot_a arterr12kernel.img

2. Booted recovery, flashed arter kernel .zip

Rebooted to recovery

3. Flash f2fs zip that's in the Arter kernel thread and wiped like it is described in that thread

Rebooted to recovery

4. Flash Android 10 GSI ROM v201 from Phusson github. I used the gapps ab ROM.

Rebooted to recovery.

5. Flashed Magisk 20

It may be redundant but it worked.
[Razer Phone 2 Guides, News, & Discussion] EMJI79:
The device didn't pass Safety net check though.

Anybody could suggest what I should try?
[Razer Phone 2 Guides, News, & Discussion] kountry83:
[MENTION=6022857]EMJI79[/MENTION] Did you turn on magisk hide?

Have you cleared data from play services and play store then rebooted?
[Razer Phone 2 Guides, News, & Discussion] EMJI79:
Just tried, didn't work.
[Razer Phone 2 Guides, News, & Discussion] kountry83:
Probably going to have to switch to a different fingerprint.
[Razer Phone 2 Guides, News, & Discussion] EMJI79:
Also is there a way to set refresh rate to 90Hz?

It's on 120Hz and I can't find option to change it in Phusson's GSi.

---------- Post added at 07:13 PM ---------- Previous post was at 06:48 PM ----------

I don't understand what you mean?
[Razer Phone 2 Guides, News, & Discussion] kountry83:
[MENTION=6022857]EMJI79[/MENTION] you have to modify that on the kernel side bud. Pretty difficult sometimes.

The fingerprint you can change by installing the magiskhide props config mod. The fingerprint is what the system sees what your device is called and you can spoof it to be another device to get it to pass.
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Has anyone gotten a GSI to work on Verizon yet? I can get data no problem, but voice service has been problematic.
[Razer Phone 2 Guides, News, & Discussion] DarkestSpawn:
For ATT, I can't get messaging to work properly with any Radio settings that enable LTE. That includes the IMS.apk from another thread that supposedly fixes SMS issues.
[Razer Phone 2 Guides, News, & Discussion] fromeister2016:
Android 10 GSI

I have Android 10 working perfectly on my Razer 2. I also have text messages and picture messages working as well as RCS enabled and working.
[Razer Phone 2 Guides, News, & Discussion] Reznor7:
Who is your provider?

Edit: Never mind. I didn't see it at first.