[Asus ROG Phone Guides, News, & Discussion] Rocky7842:
Your warranty is now void.

I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this ROM
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.

Introduction​

ROG Phone 1 is no longer receiving any update since android 9 and no custom rom were made, which is sad since s845 is still a well performed CPU even now. However, by the help of Project Treble, we're able to install the latest android 13 (and so on) on this device.

The guide requires some basic knowledges of using SDK Platform Tools and recovery. But feel free to ask if you don't understand anything.

Hardware support​

Component	Comment
Camera	Works
Speaker / Mic	Works
Bluetooth	Works (Bluetooth in call, all Bluetooth codec supported by the hardware) *(No A2DP)

(Update: All bluetooth functions was now fixed on A13 and above)
WiFi	Works
SIM / Mobile Data / Voice	Works
VoLTE	Works (see #23)
Fingerprint	Works (see "workarounds and recommendations" to enable fingerprint wakeup)
NFC	Works
Offline Charging	Broken
90Hz Refresh Rate	Works
Auto-brightness	Works
Proximity sensor	Works
Vibration	Broken
RGB backlight on the logo	Works* (Basic functions with an app on google play) *(Will need to set the light again whenever restart the phone)
HDR content playback	Broken (Have some wired lines on the screen)

Steps to install​

We have 2 ways to install, either through Fastboot or with TWRP. For data safety, I do not recommend break the force encryption whatsoever.

Make sure to Unlock Bootloader before proceeding any further!

A. Install through fastboot:

1. Extract vbmeta.img from the offical rom you're running.​

File attached is from version "WW-16.0420.2009.39", so upgrade to this version if you dont know how to extract vbmeta.img.

2. To disable dm-verity, do "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img".​

3. Flash the gsi you choose in fastboot. Do "fastboot flash system (system image name.img)" .​

4. (Optional but recommended) Do "fastboot boot twrp-3.4.0-0-Z01Q-16.0410.2003.24.img". Now flash the `Z01QD_FBEv1_enabler_Rocky7842.zip` to enable FBEv1 encryption.​

Without this step, your device will run without encryption, since newer android versions do not support our stock encryption method.

5. Reboot to offical recovery and do a factory reset.​

6. You are good to go!​

If you wish to use Magisk (I recommend Lygisk over Magisk since these gsi are force encryped), patch the boot image extract from the offical rom and flash it through Fastboot.

You can also boot to TWRP without flash it onto the device and use adb sideload to install zips, not recommend if you don't know what I'm talking about!

B. Install through TWRP:

1. Extract vbmeta.img from the offical rom you're running.​

File attached is from version "WW-16.0420.2009.39", so upgrade to this version if you dont know how to extract vbmeta.img.

2. To disable dm-verity, do "fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img".​

3. Flash the TWRP(attached) in fastboot. Do "fastboot flash boot twrp-3.4.0-0-Z01Q-16.0410.2003.24.img" .​

4. Reboot to TWRP. Do "fastboot oem reboot-recovery".​

5. Format data, cache and system parition in recovery.​

6. Flash the gsi you choose in recovery. (flash the "image" into "system partition").​

7. (Optional but recommended) Flash the `Z01QD_FBEv1_enabler_Rocky7842.zip` to enable FBEv1 encryption.​

Without this step, your device will run without encryption, since newer android versions do not support our stock encryption method.

8. Flash any modification zips now.​

9. You are good to go!​

Workarounds and Recommendations​

To fix Bluetooth not opening or other Bluetooth related issue, refer to this guide I made. You will need Magisk to enable Aptx. This should NOT be needed anymore, since A13 builds have fix this.

If you have any problem with mobile network/phone call, try to install and enable the ims apk in "phh/IMS features".

With a new option inside phh-settings got submitted and merged, VoLTE is now working. See #23.

Most builds based on phh's build(which were listed on the wiki page) have a working safetynet, and the Universal Safetynet Fix will work with Magisk installed.

However some of them are still broken. So make sure the safety net is working without Magisk, then install Magisk.

RGB backlight of the ROG logo in the back can be control with this app found in google play. It's not made for this device, but basic functions will work.

My personal recommendation of gsi is crDroid maintain by Nazim. It have working safetynet and lots of customizable features I like. (Especially it can get rid of the search bar and at a glance which I HATE A LOT)

If you do want to enable fingerprint sensor while screen is off, set these two props using adb. (Update: Including in phh settings from now on!)

If you do want to use bottom usb port rather than the one on the side, set this prop. Also, to go back to the bottom one, set it to a600000.dwc3. (Update: Including in phh settings from now on!)

If you do want to use double tab to wake, enable related settings in the GSI you use (also settings in "phh treble settings") if needed, and set this prop (Update: Including in phh settings from now on!)

If you do want to use glove mode, enable it in phh settings.

Credits​

Rocky7842​

xspx for testing the device with me​

Numerous people and threads on the forum for some workaround or inspiration

And all the other devs for creating these wonderful modules/ROMs​