Skip to content

Instantly share code, notes, and snippets.

@luk1337
Created April 2, 2021 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luk1337/6709ade8db6c96c984aa21d9b171a89e to your computer and use it in GitHub Desktop.
Save luk1337/6709ade8db6c96c984aa21d9b171a89e to your computer and use it in GitHub Desktop.
fw-update-op7t
1. Download latest stock rom from https://oneplus.com/support/softwareupgrade or oxygen updater
app ( usually has newer FW than OnePlus website ) and extract it somewhere
2. Extract payload.bin using https://github.com/ssut/payload-dumper-go
3. Execute following commands:
adb reboot fastboot
fastboot flash abl_a abl.img
fastboot flash abl_b abl.img
fastboot flash aop_a aop.img
fastboot flash aop_b aop.img
fastboot flash bluetooth_a bluetooth.img
fastboot flash bluetooth_b bluetooth.img
fastboot flash cmnlib64_a cmnlib64.img
fastboot flash cmnlib64_b cmnlib64.img
fastboot flash cmnlib_a cmnlib.img
fastboot flash cmnlib_b cmnlib.img
fastboot flash devcfg_a devcfg.img
fastboot flash devcfg_b devcfg.img
fastboot flash dsp_a dsp.img
fastboot flash dsp_b dsp.img
fastboot flash hyp_a hyp.img
fastboot flash hyp_b hyp.img
fastboot flash imagefv_a imagefv.img
fastboot flash imagefv_b imagefv.img
fastboot flash keymaster_a keymaster.img
fastboot flash keymaster_b keymaster.img
fastboot flash LOGO_a LOGO.img
fastboot flash LOGO_b LOGO.img
fastboot flash modem_a modem.img
fastboot flash modem_b modem.img
fastboot flash multiimgoem_a multiimgoem.img
fastboot flash multiimgoem_b multiimgoem.img
fastboot flash oem_stanvbk oem_stanvbk.img
fastboot flash opproduct_a opproduct.img
fastboot flash opproduct_b opproduct.img
fastboot flash qupfw_a qupfw.img
fastboot flash qupfw_b qupfw.img
fastboot flash storsec_a storsec.img
fastboot flash storsec_b storsec.img
fastboot flash tz_a tz.img
fastboot flash tz_b tz.img
fastboot flash uefisecapp_a uefisecapp.img
fastboot flash uefisecapp_b uefisecapp.img
fastboot flash xbl_config_a xbl_config.img
fastboot flash xbl_config_b xbl_config.img
fastboot flash xbl_a xbl.img
fastboot flash xbl_b xbl.img
fastboot reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment