This was made for mobian with phosh. Not sure if it will work on other distros. You can always install a dct tool to decompile it and hand copy the opp-tables for the CPU and GPU or something for yours if this doesn't work.
This is also overclocked from 1.15 to 1.3 ghz on the CPU, and the GPU from the stock 4xx to 540 mghz. This was stable on my device even with the undervolt. This also adds some lower steps so the CPU can drop down to 200 mghz.
This overclock is a medium undervolt so it may or may not work. I highly recommend installing towboot, so you can boot the phone in mass storage mode in case it doesn't work. Back up your old .dtc file first so if it doesn't work, you can copy the old one back. It's in the boot partition under the allwinner folder a few folders in. You will see many files and one called sun50i-a64-pinephone-1.2.dts. You need to back up this file to your PC and rename the downloaded file to this by removing everything after the last dot.
On Linux I had to use the terminal to copy since it detects the boot directory of the pinephone as a root directory. File managers don't want to copy to it.
I couldn't change the memory clocks because that requires a lot of extra work. Mobian however comes with decent memory clocks around 540 mghz.
These overclocks help out the pinephone alot. Especially the GPU. It usually doesn't thermal throttle with this setup, and probably gets better battery life. Mobian is by far the distro I like the most I tried two or three. In addition to having the memory overclock out of the box, which the pine phone really needs, the phosh UI is fairly decent on the pinephone. I get a few days of standby battery life. I will release my own fork of mobian with the overclocks when I get it Inca more complete state. Currently working on implementing hardware acceleration for video decode. The pine phone only has a couple years of life left as networks in the U.S are moving away from 4G.
If you have any issues, chatGPT can probably help. I used it to find my way around the tools and files I needed to do this. I used an online hex convertor to create the voltage tables. The GPU performance with this is not terrible.
I played Minecraft java edition 1.7.10, with the lowest settings and 3 block render distance at 8-12 FPS. I can probably do some tweaks to improve this significantly. Installing a few mods like fast craft, lowering the resolution away from native, switching the java 8 from java 21. I just haven't had the chance yet. I did this by installing prism launcher. If anyone's is interested I will make a lightweight mod pack eventually with some tweaks to hopefully get this to 24 FPS and add a lot of cool little mods to add stuff. That is my goal. I might have to use 1 chunk render distance.
Feel free to hit me up or ask any questions if you feel like doing your own pinephone overclocking.
He's already got me hooked deep lol making me watch a 3 hour video on...phones LMAO