A reminder to devs about this mod showing it's possible. I hope you can find it and/or port, develop and improve it in a near future.
EDIT: I did an small tool to unpack dtbo.img and repack again with framerate and clockrate modified. I tried many configurations and only 66hz was working for me but unstable. just flash the new dtbo.img in TWRP and reboot. Here you have the instructions to run it:
- Write the amount of Hz that you want in info.txt file
- Place dtbo.img inside the folder (with exact name "dtbo.img")
- Install VirtualBox and a Linux image, latest Ubuntu version.
- Login in ubuntu and open Terminal
- If you want unpack and check only the dtbo.img files after unpack run Extract.sh file ("sh Extract.sh" in Terminal)
- If you want unpack, modify hz amount in dtbo.img files by the amount in info.txt file and repack again run Patch.sh file ("sh Patch.sh" in Terminal).
Feel free to modify Patch.sh code if you want improve it and/or test it. I dont know exactly what parameters we need in "qcom,mdss-dsi-panel-clockrate" and "qcom,mdss-dsi-panel-framerate" use hexadecimal code. You can check also another parameters if it's needed but I dont understand how these parameters works.
EDIT2: I uploaded an improved version from my extractor, thanks to @Saratoga79
HiiraKernel dev confirmed he will add screen OC refresh in future versions, thanks to @alk3p
https://www.akr-developers.com/d/362/9
EDIT: I did an small tool to unpack dtbo.img and repack again with framerate and clockrate modified. I tried many configurations and only 66hz was working for me but unstable. just flash the new dtbo.img in TWRP and reboot. Here you have the instructions to run it:
- Write the amount of Hz that you want in info.txt file
- Place dtbo.img inside the folder (with exact name "dtbo.img")
- Install VirtualBox and a Linux image, latest Ubuntu version.
- Login in ubuntu and open Terminal
- If you want unpack and check only the dtbo.img files after unpack run Extract.sh file ("sh Extract.sh" in Terminal)
- If you want unpack, modify hz amount in dtbo.img files by the amount in info.txt file and repack again run Patch.sh file ("sh Patch.sh" in Terminal).
Feel free to modify Patch.sh code if you want improve it and/or test it. I dont know exactly what parameters we need in "qcom,mdss-dsi-panel-clockrate" and "qcom,mdss-dsi-panel-framerate" use hexadecimal code. You can check also another parameters if it's needed but I dont understand how these parameters works.
EDIT2: I uploaded an improved version from my extractor, thanks to @Saratoga79
HiiraKernel dev confirmed he will add screen OC refresh in future versions, thanks to @alk3p

https://www.akr-developers.com/d/362/9
Attachments
Last edited: