Posts
2034
Following
95
Followers
189
Riding horses, hacking computers, phones and smartwatch.

🎉 Now focus works fine with main camera.

Thanks to cool cats from sdm845 mainlining for camera, c-phy and other stuff
😻

I will clean up my changes and push it in a few days
⬆️

@postmarketOS@social.treehouse.systems

3
12
1
To build Megapixels on #postmarketos, do sudo apk add mg g++ libconfig-dev git meson libconfig-dev ninja-build
libraw-dev libexif-dev ninja

sudo apk add opencv-dev
# sudo apk add scdoc -- not really needed

sudo apk add gtk4.0-dev
sudo apk install feedbackd-dev
sudo apk add zbar-dev
sudo apk add pulseaudio-dev

..then proceed as usual.
1
1
2
@martijnbraam Yep, "fun". When I realized it is using mplanes with single plane, I felt kind of betrayed.

(I also believe that "secondary" back sensor is 2x zoom; as "primary" one does not work, that was another betrayal).

I tried to get clicks machine working there, but passing buffer between v4l and gpu does not work and I'm kind of stuck.
1
0
0
How to crash #oneplus6? Just do cat /dev/video0 , or attempt to get frame with yavta. Nothing works with that camera, and I now know why: it uses MPLANE mechanism. I got a lot of crashes while playing, but now I have code to get a frame. Unfortunately, I have it in git, and the repository is corrupted :-(.
1
3
6
@askihk @tymoty Tak nalezitosti asi ma, ale ja nejsem uplne fyzik kosmolog :-). Chapu ze by mohl byt nejaky problem se standartni svickou, a kdybych se do toho ponoril tak si asi behem par hodin udelam nazor, ale ja si spis pockam jestli dostanou tu nobelovu cenu :-).
1
0
1
@ppisa Compared to Librem 5: much better performance, less stability when playing with cameras, no video out, better battery life. #oneplus6 #librem5
0
0
0
@ppisa I believe I got 128GB version for 3 kkc or something like that.
0
0
0
@ppisa WIFI works for me, and I'd not expect difference between 6 and 6T to be big.

I bought it on some random bazaar near Karlak (perhaps mobilpohotovost, mp.cz?). Be sure to get suitable charger from them, this beast is 5V 4A, and they got me something not too suitable.
1
0
0
To install #postmarketos on #oneplus6, you simply go to fastboot, then open a web page. Wow! All your data are gone, but you now have system with working front camera and one of back cameras (more work todo). Easy! :-)
1
1
5
@okias @NekoCWD David is asking for libcamera autofocus. I believe you have newest version :-). I played with PDAF on Librem 5, but that's clicks machine -- https://gitlab.com/tui/tui/-/tree/master/ccam?ref_type=heads .
0
0
0
@ondrejkolin @okias It can be translated as "OnePlus 6 is now best phone to play with cameras on" or maybe "Pavel now needs to install PostmarketOS" :-).
0
0
1
@okias @pi_crew I still don't fully understand... Do both cameras on back have same focal length?
0
0
0
@pi_crew @okias AFAICT the C-PHY camera is the "main" one.
0
0
1
@okias @nekocwd David is asking for libcamera autofocus. I believe you have newest version :-). I played with PDAF on Librem 5, but that's clicks machine -- https://gitlab.com/tui/tui/-/tree/master/ccam?ref_type=heads .
0
0
0
@okias #oneplus6 Wow, this is quite big news! :-). #librem5 should have best supported camera, these days, and oneplus 6 is generation (or two) ahead, so this should be interesting.
0
0
4
@askihk @tymoty S tim clankem bych byl taky velmi opatrny :-). Jedno z varovani by melo byt, ze tam neni podepsany autor. Druhy by melo byt, ze pise ze existuje studie, ne ze si mysli ze, nebo ze existuje vedecky konsensus ze. Treti ze titulek neodpovida textu. Ctvrty uvozovnky titulku.

Ano, kosmologie ma problem, ano, jednou ho nekdo vyresi, a ne, paper jsem necetl. Je mozny, ze autori paperu dostanou nobelovku. Nebo se spis ukaze ze to byl dalsi omyl.
1
0
1
Jako Kometa byla taky vtipny letadlo, ale tohle je dobry: https://www.youtube.com/watch?v=AI_u7KjpEOA A trochu by me zajimalo, jestli je znamej autor, a jak dlouho si za to odsedel :-).
0
0
0
I'm experimenting with sensors on #librem5 (but should work on #linuxphones after tweaks). So far I have compass and step counter. github.com:pavelmachek/Espruino.git
0
2
5
Tatiana Kárová zase siri lzi o novinarich, tak jestli nevite co je Allatra/tvoriva spolecnost/Tana zac, tak kouknete sem: https://www.youtube.com/watch?v=4DDFW7hkJLs .
0
0
0
@jmlich @GOKUSHRM IIRC OnePlus 6 and 6T is pretty similar. OnePlus 6 is a tiny bit better, because it has 3.5" jack.
0
0
1
Show older