yashsingh1/xdaforums huggingface dataset:
[Razer Phone 2 Guides, News, & Discussion] Quantumrabbit:
I may have done these steps wrong. It's possible I formatted user data too early... Now I can't boot, I can't boot into recovery, and fastboot doesn't seem to do anything. Have I bricked this, or is there something I'm missing?
[Razer Phone 2 Guides, News, & Discussion] JDBarlow:
Can you boot into bootloader or the fastboot commands don't work?
[Razer Phone 2 Guides, News, & Discussion] Quantumrabbit:
I can get into bootloader yes. But adb devices lists nothing, and fastboot commands don't seem to do respond.

I'm fairly sure the adb setup on the computer is still working, as I can adb and fastboot my current daily phone. I just wanted to see if I could GSI to Android 10... as that is the primary reason I stopped using the Razer Phone 2. I was able to adb reboot bootloader before starting this... so I feel comfortable saying the drivers were working before this.

So my first attempt I did the wipe data without reformat, and it wouldn't boot, was stuck long. Re-reading some instructions it looked like I was supposed to format data, so I did that, then did an install of the GSI. Now, it only boots to bootloader or attempts to load recovery, but I get a bunch of errors about missing /data and other stuff from TWRP.
[Razer Phone 2 Guides, News, & Discussion] JDBarlow:
Try this tool and see if your fastboot starts working again. I've used it and works perfect!

https://xdaforums.com/android/general/tool-adb-fastboot-installer-tool-windows-t3999445
[Razer Phone 2 Guides, News, & Discussion] Quantumrabbit:
Wow... this has gotten me back and going. I got TWRP fixed now. And it supports -u flag. I must have been out of date of something. It at least thinks it was successful at formatting and flashing quack-phh.

Thank you
[Razer Phone 2 Guides, News, & Discussion] Quantumrabbit:
So, setup seems to be going well.

Are there any gotchas I need to be aware of? Like for instance setuping up magisk, and all that?
[Razer Phone 2 Guides, News, & Discussion] JDBarlow:
Good I'm glad it worked out for you. Depending on which GSi you're running some bugs can be present. I'm on AT&T and generally have bugs with my SMS not being able to receive texts with the fix having to remove the Sim card every time you reboot. There's a possibility of BT audio not working properly as well. Good luck ?
[Razer Phone 2 Guides, News, & Discussion] Generic123.:
Is anyone able to get this build of HavocOS 3.1 to boot? I can't seem to get this build to boot up no matter what I do.
[Razer Phone 2 Guides, News, & Discussion] JDBarlow:
I finally had time to try and install this and was able to get the 01112020 Havoc image installed but the latest 01212020 would not boot.

01112020 I had data issues BIG time. Connection was crap not stable at all. Plus I couldn't receive text messages no matter what I tried. I received 1 text out of 10 I sent and pulled my sim card numerous times...with NO Dev help this really sucks because I love this phone BUT will continue to go back to stock
[Razer Phone 2 Guides, News, & Discussion] Generic123.:
Yeah; for the Android Q GSIs, I think the only way around the messaging issues is just to use 3G. It's stable as long as it's on 3G.
[Razer Phone 2 Guides, News, & Discussion] LSS4181:
I think I'll try this early 20200111 build clean flash. I couldn't get 20200121 build to work both clean and dirty flash, and dirty flash (from 3.0/20191225) did not work on 20200111 build either.

By the way, did you install the ims.apk? It seems that apk is needed in order to properly receive SMS (install as user app will do). It was also the case with early GSIs such as Havoc 2.9 (Pie).

However, at this point VoLTE is still not properly supported as far as I've tested. If you want the VoLTE icon to appear in case it gets supported in the future, you need to install it to priv-app (system or systemless).

EDIT: Clean flash of 20200111 booted.

As for IMS: I think you might also need to flash the enableVoLTE-twrp.zip (I forgot where it was) which contains some overlays needed to get LTE working in overall for /vendor partition, if you haven't flashed it yet. You only to flash this once, until you flash a newer /vendor (after which you'll have to flash it again).

EDIT 2: It seems you're right about the issues with LTE. Will test a bit further to see whether IMS works on Havoc 3.1 (it worked on 3.0 anyway). IMS does work... it's just that some apps don't seem to be able to send messages to my phone anyway.
[Razer Phone 2 Guides, News, & Discussion] Generic123.:
Nothing seems to be working right now. Installing the APK does nothing, and flashing that zip(which I found here) to activate VoLTE also does nothing. For now, it seems like switching to 3G is the best solution for now for stable messaging.
[Razer Phone 2 Guides, News, & Discussion] JDBarlow:
I'm spoiled and can't go without LTE :silly::silly:

Yes I did install the ims.apk and changed the apn settings, rebooted, tried removing sim card, rebooted some more lol

I really do like experimenting with this phone and so hate we can't find a dev that would get us a stable rom for at least lineage and/or GSI's of the like...keeping my fingers crossed :laugh::good:

I knew nothing of the volte apk or i would have tried that too.

You guys are awesome have a great weekend!!
[Razer Phone 2 Guides, News, & Discussion] Generic123.:
For anyone is still having trouble with receiving messages on Pie GSIs(installed ims apk but still not working):

1. Download and install this apk

2. Rename the apk into "org.codeaurora.ims"(this is optional; I don't know if this changes anything).

3. Move the apk to /vendor/overlay

4. Reboot

5. Switch network to LTE

6. Done

This works on the Pie GSIs I have tested(HavocOS and ArrowOS). This fix only works partially on android Q GSIs(it does work, but you have to reinsert your SIM card every time you restart the phone or it will stop working).
[Razer Phone 2 Guides, News, & Discussion] ScottishPikachu:
Bootloop

I am stuck on a bootloop when installing resurrection remix for the first time. I don't know how to resize the partition and I have tried a new fresh install to no luck if anyone could give me a clear step by step guide on how to do this or how to fix my issue it would be very appreciated. Thanks
[Razer Phone 2 Guides, News, & Discussion] hackthis02:
When moving to Pie, do you still have the option to control the screen's refresh rate or Dolby Atmos?
[Razer Phone 2 Guides, News, & Discussion] EMJI79:
Why would you want to use Android Pie when you have Android 10?

(Just a question)
[Razer Phone 2 Guides, News, & Discussion] hackthis02:
That's what I meant, Android 10. Sorry.
[Razer Phone 2 Guides, News, & Discussion] RKBD:
Booted erfan android R gsi on Razer Phone 2

Instructions:

flash arter kernel

flash f2fs fstab

reboot again to recovery

factory reset in wipe settings

type "yes" (you will loose all photos etc)

flash Erfan android R gsi

and reboot to system

(it's in unusable stage)

bugs:

-no webview app (and you can't choose any)

-you have to wait to "system update" to finish to get sim working (but it's barely working)

-many soft reboots

-crashing systemui

-no nfc

-camera open really slowly

-random things are not working.
[Razer Phone 2 Guides, News, & Discussion] carbon271:
Would love to get some instructions on flashing a GSi on this phone since the instructions are a bit different in every Rom I've seen in the last 26 pages I'm looking to flash Havoc 2.9 which should be Android 9 I don't care too much for Android 10 at that moment since it seems that in GSi form we still have some unpleasant bugs is why I want to flash Android 9 my focus is more of getting rid of the horrendous Issue of green theme and substratum mix plus not to mention only like 40% of the phone is themed I also need working Bluetooth since I use my jungle Cat controllers a lot for Emulating Games and I also listen to a lot of music. I just want some pointers towards the right direction since I always have bad luck with AandB partitions Hated it on the Essential hated it On my Oneplus 6t and 7 Pro. Also If this version of Havoc isn't good what Android 9 Roms are the most Stable that you guys have tried and havent had any issue daily driving.
[Razer Phone 2 Guides, News, & Discussion] jessejamesd2i:
Bricked Help

I followed all guidelines including fastboot flashing unlock_critical. Everything was flashing fine & it got to a point where it rebooted & now all i have is a black screen it will not turn on or go to fastboot at all screen is completely black. If I am hooked up to my pc and try the combo buttons for fastboot my computer makes a sound as it would with any device attached. Please tell me i didnt totally brick my phone. I would appreciate any help!

The phone shows up in the device manager as qualcom hs-usb qdloader 9008 (com 8). Theres gotta be something i can do.
[Razer Phone 2 Guides, News, & Discussion] TechX1991:
I've followed so many different sets of steps on this thread, and nothing boots as far as GSI's. It just sits at the Razer "Powered By Android" logo initial startup screen. If I'm plugged in, ADB connects and I can run commands from here, get to recovery and such, but system never boots. I've tried Google's instructions, stuff from here, have the correct kernel, etc.

Would be cool if we finally got some good concrete instructions
[Razer Phone 2 Guides, News, & Discussion] RKBD:
you can't change display resolution, refresh rate and color logo without mods.

for me every gsi rom based on phh-aosp works perfectly
[Razer Phone 2 Guides, News, & Discussion] th3cavalry:
What mods do you use?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
I don't use any tbh i might make one soon to port at Least chroma to gsi roms (not sure if it's possible)
[Razer Phone 2 Guides, News, & Discussion] th3cavalry:
I wonder what the screen runs at with the GSI roms
[Razer Phone 2 Guides, News, & Discussion] kirschdog1:
Can you help possibly

What steps did you go through to get resurrection remix working on your razer 2?

Man that looks dope!
[Razer Phone 2 Guides, News, & Discussion] Warrior1988:
Flash with the following commands.

1. adb reboot bootloader or boot into recovery and factory reset then select reboot bootloader

2. fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

3. fastboot flash boot_a boot.img

4. fastboot flash boot_b boot.img

5. fastboot -w flash system_a system-arm64-ab-gapps-su.img

6. fastboot -w flash system_b system-arm64-ab-gapps-su.img

You need stock vbmeta.img and boot.img

system.img name might be different from other GSI
[Razer Phone 2 Guides, News, & Discussion] RKBD:
is boot_a/b important? i can flash gsi without changing boot.img
[Razer Phone 2 Guides, News, & Discussion] Warrior1988:
I just followed other guides and looked at razer flashing script and it does the same. Oh I really like the magisk gboard themes you did.
[Razer Phone 2 Guides, News, & Discussion] kirschdog1:
Where did you locate the reserection gsi ? I don't see a step where you flashed the gsi? Sorry new to flashing GSI's. Also, can you point me to the gapps you used.. Please
[Razer Phone 2 Guides, News, & Discussion] Warrior1988:
system_a system-arm64-ab-gapps-su.img

The .img name may differ from .imgs depends on how it's name.

Here is the link. https://xdaforums.com/project-treble/trebleenabled-device-development/resurrection-remix-phh-treble-t3767688
[Razer Phone 2 Guides, News, & Discussion] RKBD:
you can't flash gapps

you need gsi with gapps preinstalled

many rr mods doesn't even work so it's useless to flash it

better install lineage os or aosp
[Razer Phone 2 Guides, News, & Discussion] Warrior1988:
Agree on this. I tried AOSP and was good. I went back to Razer official firmware.
[Razer Phone 2 Guides, News, & Discussion] kirschdog1:
So you guys are both saying that this GSI is not worth it? You guys are back on official firmware rooted?

Anyway to change to a dark theme on official firmware the white is killing me!
[Razer Phone 2 Guides, News, & Discussion] RKBD:
I'm using phh-aosp GSI with substratum. sadly I can't use any magisk module because that cause gsi to crash. (I'm putting it manually)

EDIT: you can change theme without substratum with lineage os
[Razer Phone 2 Guides, News, & Discussion] popeye2468:
Ok guys just wanted to share my experience with resurrection remix

Install arter97 kernel first to get TWRP

First download the latest build here

https://get.resurrectionremix.com/?dir=gsi

Download the Pico version of open gapps

https://opengapps.org

Download a stock image of pie, I used the global you need this for the vbmeta

https://developer.razer.com/razer-phone-dev-tools/factory-images/

1) Extract the stock image of pie to the same folder as adb

2) Download arter97 kernel and rename to boot.img

3) Copy and replace to the adblink folder

4) Rename the resurrection remix image to system.img

5) copy and replace to the adb folder

6) Boot to recovery and wipe everything go to advanced wipe select everything then wipe, and the select format data and type yes

7) now reboot to bootloader

8) execute all these commands without restarting

9) fastboot flash boot_a boot.img

10) fastboot flash boot_b boot.img

11) fastboot flash system_a system.img

12) fastboot flash system_b system.img

13) fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

14) fastboot reboot

15) wait for boot the boot back to recovery

16) now select advanced wipe

17) slide to factory data reset

18) select advanced wipe select repair file system

19) select increase partition size

20) then flash gapps

21) boot the phone

22) download magisk manager

23) and download latest magisk the flash in recovery

24) I have not had any issues with any modules so far
[Razer Phone 2 Guides, News, & Discussion] RKBD:
You don't need to disable vbmeta because it works fine without it

mine instruction for rr, omni, nitrogen and aosip (because other doesn't need that much)

1 do factory reset from settings

2 after factory reset screen hold vol-

3 connect to pc (install drivers and adb fastboot from above)

4 flash downloaded system fastboot flash system_a (system) fastboot flash system_b (system)

5 flash arter kernel

6 increase system partition in twrp

7 flash gapps

8 flash magisk

9 reboot system
[Razer Phone 2 Guides, News, & Discussion] popeye2468:
Could you link to the roms please

---------- Post added at 10:20 PM ---------- Previous post was at 10:09 PM ----------

Hi could you link to

nitrogen

Omni

Aosip

Please
[Razer Phone 2 Guides, News, & Discussion] RKBD:
https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list

from other like efran androidq etc doesn't work for me

try only a/b ROMs a-only doesn't work
[Razer Phone 2 Guides, News, & Discussion] popeye2468:
Thank you which is the best you found so far?
[Razer Phone 2 Guides, News, & Discussion] popeye2468:
have you managed to get bluetooth working on any rom?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
bt is working in any rom
[Razer Phone 2 Guides, News, & Discussion] popeye2468:
i have been flashing all day but the bluetooth audio just doesnt work

i cant seem to find the rom you have and all the oreo roms ive tried dont boot

its begining to drive me mental lol
[Razer Phone 2 Guides, News, & Discussion] RKBD:
i have no problems with mine Bluetooth jbl and bt stereo on rr and aosp (all running same base so all ROMs have working bt)
[Razer Phone 2 Guides, News, & Discussion] popeye2468:
are you on a razer phone 2?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
of course I'm

and i have no problems with bt. flash stock vbmeta without doing anything to it, factory reset + reflash rom
[Razer Phone 2 Guides, News, & Discussion] CCF_100:
Has anyone had issues with detecting Verizon SIMs?

Because I'm having problems with Pie ROMS, going to try an Oreo ROM...
[Razer Phone 2 Guides, News, & Discussion] popeye2468:
nope im telling you bluetooth does not work for media audio or calls on these roms
[Razer Phone 2 Guides, News, & Discussion] popeye2468:
Just thought I would let you all know resurrection remix phh trebble is working perfectly on Android 9

Bluetooth works etc
[Razer Phone 2 Guides, News, & Discussion] Ventigo:
So I'm totally new to GSI flashing I have a question:

If I'm already on arter's kernel can I go ahead and flash those images with TWRP or will this overwrite the boot partion ?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
yes i did it yesterday with lineageos
[Razer Phone 2 Guides, News, & Discussion] Ventigo:
Ok thanks ! One last question some says you should be unrooted before flashing a GSI ROM is this valid?

Edit: yes you should be unrooted ?
[Razer Phone 2 Guides, News, & Discussion] popeye2468:
As long as you do the factory reset first you will be fine
[Razer Phone 2 Guides, News, & Discussion] Ventigo:
It's me again I stumped over a new issue I have with all those GSI ROMs I tried so far: my phone refuses to go to deep sleep...some say this is a visual bug some say it's not...so I wanted to hear your experience with this issue
[Razer Phone 2 Guides, News, & Discussion] Nomyth:
Do GSI ROMs have any control over display refresh rate? I feel like that might be an important part of running one on the RP2....
[Razer Phone 2 Guides, News, & Discussion] RKBD:
I don't know any rom that changes refresh rate to 90 or 60 but you can still enjoy 120hz on gsi
[Razer Phone 2 Guides, News, & Discussion] Nomyth:
Is it a normal Settings > Display menu item? I'm curious about what level the ROM is aware of the hardware on
[Razer Phone 2 Guides, News, & Discussion] RKBD:
nope they don't have that option
[Razer Phone 2 Guides, News, & Discussion] Tredah212:
THANK YOU!!! i have finally got at least 3 of GSi to boot
[Razer Phone 2 Guides, News, & Discussion] popeye2468:
They have all booted for me just a couple of things to point out that I learnt

With after kernel ensure f2fs has been installed or the treble ROM will try to encrypt the storage then it will report it's corrupted and will not boot

And step 13 is also important
[Razer Phone 2 Guides, News, & Discussion] RKBD:
step 13 isn't important because i have any problems without that.

are you running r8b kernel? because i have no problems with f2fs on r7
[Razer Phone 2 Guides, News, & Discussion] basic086:
Anyone having issues not receiving text messages ?

I have installed Pixel Dust GSI with no problems at all, 4G LTE working, Wifi working, everything is working, but just realized this morning that I am not getting any text messages at all :crying:

Strange because I can send out text messages and it works just fine.

My carrier is Optus in Australia if anyone else is experiencing the same problem

EDIT : NVM seems to be working just fine on Resurrection Remix, could just be that particular Pixel Dust GSI
[Razer Phone 2 Guides, News, & Discussion] CalebQ42:
https://xdaforums.com/razer-phone-2/how-to/gsi-lte-fix-t3925151
[Razer Phone 2 Guides, News, & Discussion] basic086:
Thanks for the link, works great :)

Just one thing I did notice, tried to look around, but couldn't find anyone mentioning it, is regarding the fingerprint sensor.

It's working just fine but seems to stop working on the lock screen every now and then.

From my testing, seems to happen whenever you wake up the phone from deep sleep.

If you turn off the screen and turn it back on after a couple of seconds, works just fine. After 10 seconds, fingerprint doesn't work.

I'll look around to see if there's a way to keep the FP service active.
[Razer Phone 2 Guides, News, & Discussion] hendibudi:
My bluetooth audio not working how you managed it to working properly thanks
[Razer Phone 2 Guides, News, & Discussion] mps105:
I followed this exact guide, but when I boot I see a flashing blue screen. Apon rebooting, I was left stuck at the boot screen with the razer logo. Do you have any ideas what could be going on?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
you entered glitchy charging mode. you need to hold vol-
[Razer Phone 2 Guides, News, & Discussion] raze5115:
I'm kinda a noob on GSI rom flashing. The first phone I tried flashing a GSI rom on was the Razer Phone 1 and I never could get it to work. But how or where do I get the vbmeta img from?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
you don't need it to be honest

just flash system.img and clear data

everything works for me
[Razer Phone 2 Guides, News, & Discussion] raze5115:
This is what happens when I try to install a GSI rom. It stays on the screen in the pic or the same screen for whatever GSI rom I'm trying to install forever or until I put the phone back into TWRP. My question is what could be causing this to happen? It was happening on the original version of the Razer Phone as well when I had it and tried to install a GSI rom on it too. & now it's happening again on my Razer Phone 2.

The pic is of the boot screen on the Flyme GSI rom

[IMG="boot screen of the Flyme GSI rom"]https://i1225.photobucket.com/albums/ee397/newraze/IMG_20190622_1827091762.jpg[/IMG]
[Razer Phone 2 Guides, News, & Discussion] RKBD:
you can't boot any erfan gsi

edit: you are not able to flash any other gsi than phh-aosp based ones like lineageos, aosip etc
[Razer Phone 2 Guides, News, & Discussion] raze5115:
where do I go to find the phh-aosp based gsi's for the rp2?
[Razer Phone 2 Guides, News, & Discussion] RKBD:
https://xdaforums.com/project-treble/trebleenabled-device-development

if you want lineageos you need to download bvN version
[Razer Phone 2 Guides, News, & Discussion] raze5115:
I get this on my Razer Phone 2 when I try to boot up any of the phh custom gsi roms after install. I did a factory reset and even tried to do a full factory reset which included wiping data, davlik, and internal storage and still get it. I even flashed permissive v2 and still get it.
[Razer Phone 2 Guides, News, & Discussion] RKBD:
reflash rom and factory reset from twrp should help
[Razer Phone 2 Guides, News, & Discussion] raze5115:
I flashed rom to system through twrp and did a factory reset through twrp as well and still get it.
[Razer Phone 2 Guides, News, & Discussion] RKBD:
use different rom because this one doesn't support encryption or something like that
[Razer Phone 2 Guides, News, & Discussion] raze5115:
Like I said it happens on all the phh gsi roms I try to flash. Which I was told only phh based gsi roms work on the Razer Phone 2.
[Razer Phone 2 Guides, News, & Discussion] RKBD:
try to reflash stock again using flashall.bat in system images section

flash twrp r9 by arter97

flash system (and gapps) (sometimes ROMs need resize in wipe options to flash gapps)

factory reset in twrp

flash magisk

and reboot to system

it's all what i do when i have some problems with gsi

no problems so far on aosip and lineageos
[Razer Phone 2 Guides, News, & Discussion] raze5115:
I tried all that and still get that password thing and I get error code 70 when I try to install gapps. And I don't know how to do the resizing thing.
[Razer Phone 2 Guides, News, & Discussion] RKBD:
this is why you need resize system in twrp like i said before

---------- Post added at 01:34 PM ---------- Previous post was at 01:33 PM ----------

wipe>advanced wipe>system resize partition
[Razer Phone 2 Guides, News, & Discussion] raze5115:
I just tried again what you suggested "try to reflash stock again using flashall.bat in system images section

flash twrp r9 by arter97

flash system (and gapps) (sometimes ROMs need resize in wipe options to flash gapps)

factory reset in twrp

flash magisk

and reboot to system"

And I still get that password thing the only difference is that gapps installed successfully after the resize. It was the first thing I tried before posting here about that password thing but I tried it again and still get it. And lineageos won't install at all.

I actually got lineageos to boot but even on that I get the password screen.
[Razer Phone 2 Guides, News, & Discussion] hendibudi:
You missed to flash this: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img