[Guide] Convert OnePlus 8T Cyberpunk Edition

Search This thread

xiofee

New member
Nov 18, 2020
3
14
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
 

Abaddon

Senior Member
Mar 17, 2011
4,277
1,095
House Avernus
Samsung Galaxy A50
POCO M3
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
 
Last edited:

xiofee

New member
Nov 18, 2020
3
14
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

Exathi

Senior Member
Nov 4, 2018
303
51
Salem
I tried to do this on the Global rom I'm assuming it only works on hydrogen os? I got a syntax error on the python op8 code
 

Phreaker8

Senior Member
Aug 13, 2015
51
20
OnePlus 8T
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: 597
  • Screenshot_20201205-003017.jpg
    Screenshot_20201205-003017.jpg
    920.5 KB · Views: 616
  • Screenshot_20201205-003024.jpg
    Screenshot_20201205-003024.jpg
    484.5 KB · Views: 607

Steve0007

Inactive Recognized Developer / Retired Forum Mod
May 10, 2009
5,657
8,928
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
507
103
OnePlus 9 Pro
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
51
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: 53
  • Like
Reactions: Diangucmau

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
618
878
Xiaomi Mi 10T Lite
Xiaomi Pad 5 Pro
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
6
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.
  • 13
    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
    1
    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