[Guide] Convert OnePlus 8T Cyberpunk Edition

Search This thread

xiofee

New member
Nov 18, 2020
3
11
OnePlus 8T Cyberpunk Edition use a flag in param partition to identify.
If the flag is 8, HydrogenOS will mount the cyberpunk oem partition and enable it.
OTA and 9008 will not lost it!
So we can dump the param partition, change the flag and flash it to enable.
I write a simple python decrypt script to read/write the params.

This operation is very dangerous, please make sure to back up your data just in case!

Get the script from here
https://github.com/xiofee/op8t_param

Convert to Cyberpunk Edition
1. dump param partition
Code:
➜  adb shell
OnePlus8T:/ $ su
OnePlus8T:/ #
OnePlus8T:/ # dd if=/dev/block/by-name/param of=/sdcard/param.bin
OnePlus8T:/ # exit
OnePlus8T:/ $ exit
➜  adb pull /sdcard/param.bin ./
2. Write Cyberpunk Edition flag
Code:
➜  python op8t_param.py write -f param.bin -o param2.bin 4 8
3. flash param partition
Code:
➜  adb push ./param2.bin /sdcard/
➜  adb shell
OnePlus8T:/ $ su
OnePlus8T:/ # dd if=/sdcard/param2.bin of=/dev/block/by-name/param
or you can use fastboot flash param partition
Code:
➜  adb reboot bootloader
➜  fastboot flash param param2.bin
3. reboot
 

xiofee

New member
Nov 18, 2020
3
11
So to revert the change, we'll have to make it to 4 again? or reflash the backed up param?

edit: so I tried it on my 8T Global AA variant.
theme UI works, has camera effects too

cyberpunk FOD logo and animation does not work (still on stock)
No cyberpunk sounds
will test horizon light

I only tested on HydrogenOS, it has cyberpunk oem partition.

If you want restore, use your backup param or set the flag to 0 and reflash it.
Code:
python op8t_param.py write -f param.bin -o param2.bin 4 0

And the flag maybe 3 place
  • not prmec
  • prmec primary block
  • prmec backup block

The Cyberpunk flag now only use prmec primary block, if the prmec primary block is incorrect, system will use backup block restore the primary block.
If you have some problem, you can modify all place with follow step

  • modify not prmec block
Code:
python op8t_param.py write -f param.bin -o param2.bin 4 0 -ne
  • modify prmec primary block
Code:
python op8t_param.py write -f param.bin -o param2.bin 4 0
  • modify prmec backup block
Code:
python op8t_param.py write -f param.bin -o param2.bin 4 0 -np
 
  • Love
Reactions: Abaddon

Phreaker8

Member
  • Aug 13, 2015
    42
    14
    work like a charm 🔥🔥🔥🔥. i tried with 11.5.6 AA. But fod animation,ringtone,live wallpaper,icon pack,boot animation didnt change and for that reason i flashed boot animation via magisk and installed wallpaper and icon pack port.
     

    Attachments

    • Screenshot_20201205-013257.jpg
      Screenshot_20201205-013257.jpg
      437.5 KB · Views: 310
    • Screenshot_20201205-003017.jpg
      Screenshot_20201205-003017.jpg
      920.5 KB · Views: 328
    • Screenshot_20201205-003024.jpg
      Screenshot_20201205-003024.jpg
      484.5 KB · Views: 319

    Steve0007

    Inactive Recognized Developer / Retired Forum Mode
    May 10, 2009
    5,463
    8,634
    Paris
    OnePlus 8T
    OnePlus 9 Pro
    work like a charm 🔥🔥🔥🔥. i tried with 11.5.6 AA. But fod animation,ringtone,live wallpaper,icon pack,boot animation didnt change and for that reason i flashed boot animation via magisk and installed wallpaper and icon pack port.

    About the phone shows 8T or Cyberpunked 8T ?
    Your phone iw KB2000 that came with H2OS initially?

    od animation,ringtone,live wallpaper,icon pack,boot animation didnt change because OEM cyberpunk comes only H2OS Rom.
     
    • Like
    Reactions: Abaddon

    Hot-Proton

    Senior Member
  • May 11, 2019
    338
    43
    I only tested on HydrogenOS, it has cyberpunk oem partition.

    If you want restore, use your backup param or set the flag to 0 and reflash it.
    Code:
    python op8t_param.py write -f param.bin -o param2.bin 4 0

    And the flag maybe 3 place
    • not prmec
    • prmec primary block
    • prmec backup block

    The Cyberpunk flag now only use prmec primary block, if the prmec primary block is incorrect, system will use backup block restore the primary block.
    If you have some problem, you can modify all place with follow step

    • modify not prmec block
    Code:
    python op8t_param.py write -f param.bin -o param2.bin 4 0 -ne
    • modify prmec primary block
    Code:
    python op8t_param.py write -f param.bin -o param2.bin 4 0
    • modify prmec backup block
    Code:
    python op8t_param.py write -f param.bin -o param2.bin 4 0 -np

    With this i come complete back to a 8T EU what i have? i flash the param.bin from a 8T EU but msm download also a cyberpunk partition and i dont know why.
     

    Exathi

    Senior Member
    Nov 4, 2018
    303
    48
    Salem
    Keep in mind that if you need to MSN back to T-Mobile stock it wont work because the param.bin fiile has been edited should you ever need to go back to tmobile use this file first
     

    Attachments

    • param.bin
      1 MB · Views: 18

    Scott

    Retired Recognized Developer
    Keep in mind that if you need to MSN back to T-Mobile stock it wont work because the param.bin fiile has been edited should you ever need to go back to tmobile use this file first
    I was just going to ask about that. Also, I wonder, if we have a T-Mobile branded device could we change the param.bin to be the standard North American Unlocked variant and such we could start using the MSM tool for that variant?
     

    theincognito

    Senior Member
  • Feb 26, 2015
    557
    487
    OnePlus 8T
    Working fine here :) Flashed the latest H2OS first, then flashed the modified param via fastboot. Had to go to "Customization" to enable the icon pack and accent color - It was already present, just needed to enable it. Same with wallpaper. But everything works :D
     

    AGNBSL

    Member
    Sep 27, 2014
    43
    5
    Ulaanbaatar
    www.facebook.com
    Well i did this and convert done full to Cyberpunk.
    Lately i received 11.0.8.11 OTA and now cyberpunk addition is messed up. I need to install full OTA (not 300mb, full 2gb) to restore cyberpunk addition. I can't find any link, so returning back to older version. Also Thank you OP for posting this guide :D
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 10
      OnePlus 8T Cyberpunk Edition use a flag in param partition to identify.
      If the flag is 8, HydrogenOS will mount the cyberpunk oem partition and enable it.
      OTA and 9008 will not lost it!
      So we can dump the param partition, change the flag and flash it to enable.
      I write a simple python decrypt script to read/write the params.

      This operation is very dangerous, please make sure to back up your data just in case!

      Get the script from here
      https://github.com/xiofee/op8t_param

      Convert to Cyberpunk Edition
      1. dump param partition
      Code:
      ➜  adb shell
      OnePlus8T:/ $ su
      OnePlus8T:/ #
      OnePlus8T:/ # dd if=/dev/block/by-name/param of=/sdcard/param.bin
      OnePlus8T:/ # exit
      OnePlus8T:/ $ exit
      ➜  adb pull /sdcard/param.bin ./
      2. Write Cyberpunk Edition flag
      Code:
      ➜  python op8t_param.py write -f param.bin -o param2.bin 4 8
      3. flash param partition
      Code:
      ➜  adb push ./param2.bin /sdcard/
      ➜  adb shell
      OnePlus8T:/ $ su
      OnePlus8T:/ # dd if=/sdcard/param2.bin of=/dev/block/by-name/param
      or you can use fastboot flash param partition
      Code:
      ➜  adb reboot bootloader
      ➜  fastboot flash param param2.bin
      3. reboot
      1
      So to revert the change, we'll have to make it to 4 again? or reflash the backed up param?

      edit: so I tried it on my 8T Global AA variant.
      theme UI works, has camera effects too

      cyberpunk FOD logo and animation does not work (still on stock)
      No cyberpunk sounds
      will test horizon light

      I only tested on HydrogenOS, it has cyberpunk oem partition.

      If you want restore, use your backup param or set the flag to 0 and reflash it.
      Code:
      python op8t_param.py write -f param.bin -o param2.bin 4 0

      And the flag maybe 3 place
      • not prmec
      • prmec primary block
      • prmec backup block

      The Cyberpunk flag now only use prmec primary block, if the prmec primary block is incorrect, system will use backup block restore the primary block.
      If you have some problem, you can modify all place with follow step

      • modify not prmec block
      Code:
      python op8t_param.py write -f param.bin -o param2.bin 4 0 -ne
      • modify prmec primary block
      Code:
      python op8t_param.py write -f param.bin -o param2.bin 4 0
      • modify prmec backup block
      Code:
      python op8t_param.py write -f param.bin -o param2.bin 4 0 -np
      1
      work like a charm 🔥🔥🔥🔥. i tried with 11.5.6 AA. But fod animation,ringtone,live wallpaper,icon pack,boot animation didnt change and for that reason i flashed boot animation via magisk and installed wallpaper and icon pack port.

      About the phone shows 8T or Cyberpunked 8T ?
      Your phone iw KB2000 that came with H2OS initially?

      od animation,ringtone,live wallpaper,icon pack,boot animation didnt change because OEM cyberpunk comes only H2OS Rom.
      1
      About the phone shows 8T or Cyberpunked 8T ?
      Your phone iw KB2000 that came with H2OS initially?

      od animation,ringtone,live wallpaper,icon pack,boot animation didnt change because OEM cyberpunk comes only H2OS Rom.
      kb2001
    Our Apps
    Get our official app!
    The best way to access XDA on your phone
    Nav Gestures
    Add swipe gestures to any Android
    One Handed Mode
    Eases uses one hand with your phone