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
2. Write Cyberpunk Edition flag
3. flash param partition
or you can use fastboot flash param partition
3. reboot
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 ./
Code:
➜ python op8t_param.py write -f param.bin -o param2.bin 4 8
Code:
➜ adb push ./param2.bin /sdcard/
➜ adb shell
OnePlus8T:/ $ su
OnePlus8T:/ # dd if=/sdcard/param2.bin of=/dev/block/by-name/param
Code:
➜ adb reboot bootloader
➜ fastboot flash param param2.bin