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.

  • hexagonwin@lemmy.sdf.org
    link
    fedilink
    arrow-up
    5
    ·
    1 day ago

    lmao thanks. i don’t have a pinephone but this really brings back memories of my old phone that ran cm7 and later cm10

  • Robin@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 day ago

    I have no interest in overclocking my phone anymore, but I used to do this kind stuff too and I’m so glad its back

  • Grass@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    does it make switching apps bearable? I havent touched mine since even the most minimal setup lags like hell on basic browsing and texting

    • DarkAri@lemmy.blahaj.zoneOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      13 hours ago

      Yeah phosh is much better and mobian is set up better for the phone. It’s still not great though. It is on the verge of being usable. It’s still a way worse experience than android and the soc has less than 20% the power of a cheap android phone in video. That’s with my overclock. The CPU is even worse. Even with my overclock it’s looking like it has about 5% the throughout as the moto G CPU. It’s likely not quite that bad. Phosh/mobian is pretty decent though. A little laggy but sort of like using a cheap android phone.

      I can’t get older versions of Minecraft to run about 8-12 FPS, where on the stylus a $200 unlocked android phone, using vulkan and other stuff, I can’t get 40-60 FPS in the newest versions with mods, and twice the render distance.

      Everything about the hardware sucks, and it’s not the fault of the developers really because it’s extremely difficult to find stuff that will work without proprietary android drivers. Companies keep their chips extremely secretive. The pro is much better but no longer being produced. It still probably lags behind even budget android phones. It gets worse battery life.