THIS SCRIPT IS ONLY FOR WHEN YOU HAVE MIUICORE V3.4 AND MIUIGALLERY V3.1 INSTALLED ON YOUR PHONE AS A MAGISK MODULE
a script that fixes the brightness slider and cellular connection bug on (at least) the Xiaomi Redmi Note 8 Pro when running a android 12 (and maybe other versions) custom rom
#note: make sure you have adb enabled and have root on your phone and have the adb driver installed on your windows desktop/laptop
just extract the zip and run FixThing.cmd and then navigate trough the menu using the number keys