Razer Phone 2 - phhusson/treble_experimentations GitHub Wiki
Razer Phone 2 generally works fine with this Android 11.0.
Things that may (not) be working:
- SIM Card/VoLTE (on certain carries such as Verizon)
- Bluetooth (moving or deleting BluetoothResCommon.apk from /vendor/overlay fixes it)
- Compass
-
Step 1: Unlock bootloader
Follow Razer's instructions -
Step 2: Download firmwares
Phone 2 Stock Firmware and phhusson's AOSP Android 11.0 v300.i -
Step 3: Enter fastboot
Hold down volume button while powering on
Connect to computer via USB -
Step 4: Flash phone to factory settings
Windows:flash_all.bat
Linux:sudo ./flash_all.sh
Once complete, reboot the phone into fastboot again by holding volume down as the phone turns on.
For the following commands, removesudo
if you are using Windows. -
Step 5: Erase active system partition
sudo fastboot erase system
- Step 6: Flash GSI on system partition
sudo fastboot flash system system-roar-arm64-ab-floss.img
- Step 7: Check active slot you're running on
sudo fastboot getvar all
Look for (bootloader) current-slot
text, it should have an 'a' or a 'b' as the slot.
- Step 8: Disable Android Verified Boot using the vbmeta.img from the Original Razer firmware posted above. Replace the @ symbol below with the proper letter for the slot you are on and run the command below to disable verified boot
sudo fastboot --disable-verity --disable-verification flash vbmeta_@ vbmeta.img
- Step 9: Cross your fingers, and tell the phone to reboot! It should boot into AOSP Android 11. It may take some time for its maiden boot though.
sudo fastboot reboot
Component | Status | Comment |
---|---|---|
Camera | ✔️ | |
Speaker / Mic | ✔️ | |
Bluetooth | Remove /vendor/overlayBluetoothResCommon.apk to make it work | |
WiFi | ✔️ | |
SIM / Mobile Data / Voice | ✔️ SmarTone; ❌ Verizon | |
VoLTE | ||
Fingerprint | ✔️ | |
NFC | ✔️ | |
Offline Charging | ❌ | |
GPS | ✔️ | |
Compass | Might (not) work on some Phone 2's |
Tested By:
- translucentfocus - Phone 2 (Global), Android Version: P-SMR5-RC002-RZR-200910.3195 - Date tested: 11/10/2020
- haruki-taka8 - Phone 2 (Global), Android Version: P-SMR6-RC001-RZR-201022 - Date tested: 10th March, 2021
Template created by @zguithues and @hackintosh5