05-24-2021, 11:21 AM
(05-24-2021, 06:29 AM)dsimic Wrote: Sounds like a plan. Please, keep us updated.Thank you for the instructions, that made everything a lot easier than I had anticipated. I changed the patch and rebuilt the package on the Pinephone itself (took about 2:15 h in case anybody wonders). I increased the time to wait for the firmware to start to 10 times as much (2.5 seconds), but still the same problem unfortunately. So maybe it is faulty hardware. I will eventually order another camera module, but it'll take a while. I will report back if I have any news.
As a suggestion, you may want to use the PKGBUILD and the associated files provided by Manjaro ARM. Just clone the linux-pinephone repository, alter the autofocus patch, bump up the value of "pkgrel" in the PKGBUILD file to 10 or so (which will allow you to easily revert back to the stock kernel packages), and use makepkg to build the patched kernel packages. After the build is complete, install the new packages as usual.