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.

Developer @DarkAri@lemmy.blahaj.zone

  • CubitOom@infosec.pub
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    Google is a company I try to avoid at all costs, for many reasons which we can get into later if you want. Google drive can be used to share a file but it’s not meant for development work. That’s where git comes in.

    Git is super helpful for development work, hosting documentation, sharing releases, and collecting issues and feature requests from the community that uses your code.

    Git is not github. GitHub is just a Microsoft owned host and client for git. Git can be used in the command line or using a web gui, and there are a lot of tutorials and documentation for how to use it. I found gitlab’s documentation to be really helpful when I first started using git.

    Here is a nice writeup on git

    And you might want to look into foss alternatives to github (Microsoft) like Codeberg which I believe is using forgeo which you could self host if desired.

    You should give it a shot, and set up a repository for this project.