OnePlus 7 Pro 5G - phhusson/treble_experimentations GitHub Wiki

OnePlus 7 Pro 5G

Preliminary information and warnings

You will lose Widevine L1 after unlocking the bootloader, though it's pretty easy to re-flash stock firmware & re-lock the bootloader to regain the functionality.

The device is also on a different branch of OxygenOS being on GM27BA or GM25CC compared to the 4G version of the OnePlus 7 Pro which is on GM21xA.

This also means the kernel is different due to the different modem which is why it is very important you extract and use files from the OnePlus 7 Pro 5G firmware instead.

And no, it is very unlikely that the 4G OnePlus 7 Pro firmware and files will work without heavy modifications.

Hardware support

Component Comment
Speaker / Mic / Calls Works
Bluetooth calls Works
WiFi Works
SIM / Mobile Data / Voice Works
Bluetooth AAC and SBC tested, other bt accessories should work
VoLTE Untested
NFC Works, GPay tested
Camera Works*
Fingerprint Untested**
Charging Works***
USB-C Earbuds Works****
Alert Slider Works*****
DT2W Works******
90Hz Works*******
Offline Charging Works********

[*] Camera - All back cameras were tested to be working in Android 11, in Android 12 main camera only seems to work in GCam. Pop-up selfie camera does not pop up at all in the builds tested.

[**] Fingerprint - untested. The location of the fingerprint isn't defined and says to touch the back of the device.

[***] Charging - WARP Charging does not work. Using WARP Charges does but it charges slower. PD Charging also works just fine. Max current measured was 2000mA in Ampere

[****] USB-C Earbuds - works just fine if you tick Alernative Audio Policy in Qualcomm settings and Use Alernative Way to Detect Headsets in Misc settings. This may break calling in 3rd party apps though, untested.

[*****] Alert Slider - all modes but vibrate are working

[******] DT2W - enable DT2W in OnePlus Settings and Misc Settings

[*******] 90Hz - requires Force FPS in Misc Settings to [email protected]. This breaks brightness so you also have to tick Force Alternative Backlight Scale.

[********] Auto brightness and battery stats - not working due to no overlay made.

[********] Offline Charging - works but if you unplug the device, you have to force reboot (power + vol up)

Most of this was tested with PE but should also work on other phh based GSIs if the options are present


Additional Notes

Flashing procedure for OnePlus 7 Pro 5G (guacamoleg and guacamoles) Sprint 5G and EE 5G retail unit (GM1925 and GM1920) running OxygenOS 10.0.15.GM27BA

  1. Enable USB debugging and OEM unlock in Developer options (If you are using the Sprint 5G firmware as a base, don't. Use the EU 5G firmware as a base. The OEM Unlock toggle is not greyed out on the EU 5G firmware)
  2. adb reboot bootloader
  3. fastboot oem unlock
  4. fastboot flash system_a _your_gsi_path_
  5. fastboot flash system_b _your_gsi_path_
  6. fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img (stock vbmeta.img extracted from official update package using Payload Dumper)
  7. fastboot -w (Skip this step if you are wiping in in-built recovery)
  8. fastboot reboot

Tested By:

year/month/day

Template created by zguithues