Conversation
Samsung S4 mini (i9195 -- note no x or i suffix) is nice small phone (<110g). It also seems to be well supported by PostmarketOS.

https://wiki.postmarketos.org/wiki/Samsung_Galaxy_S4_Mini_Value_Edition_(samsung-serranove)

Except that ... well.. there are apparently two or three different "S4 mini"s, and I have msm8960-based one, which is very different -- serranoltexx. I can flash lk2nd, but it will not boot when flashing @PostmarketOS.

If you have spare S4 minis, let me know, I don't have enough of them at the moment.

And this is kind of funny: typo not mine.

[131635.870585] usb 1-1.2: New USB device found, idVendor=04e8, idProduct=685d, bcdDevice= 1.00
[131635.870631] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[131635.870654] usb 1-1.2: Product: MSM8960
[131635.870672] usb 1-1.2: Manufacturer: Sasmsung
1
0
4

@pavel another msm8960 user 👀👀

samsung-expressatt is the device i work on and its supported in pmaports and mainline linux

if ur interested, the easiest way to get mainline linux running would be to copy and edit: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/device/testing/device-samsung-expressatt

make lk2nd edits: https://github.com/msm8916-mainline/lk2nd/commit/dc2382cc1fa2ec305f86271a4e4ca8b29fe482ea

and finally make a dts for the device: https://wiki.postmarketos.org/wiki/Qualcomm_S4/Krait_200_mainlining#Initial_devicetree

heres how i externally build the kernel: https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Express_SGH-I437_(samsung-expressatt)#LogicalErzor's_Brain_Dump

finally tie it all together: https://wiki.postmarketos.org/wiki/Samsung_Galaxy_Express_SGH-I437_(samsung-expressatt)#User_Quick_Start

1
0
1
@Logical_Error Wow, thanks for pointers! It looks like lk2nd works here. ... and this is certainly interesting area.

It may still be interesting area with danger of sucking a lot of time, so I may try to get s4 mini value edition (that should be supported), first.

Kernel hacking can be fun, and phones are great, but kernel hacking on phones is usually fairly hard.
1
0
2

@pavel no worries, i understand! someone recently got wifi/bluetooth working so there is active dev slowly going on. if u want to join, even as a tester, that would be a massive help :)

honestly ai helps so much with dev here, especially since i have no prior experience doing kernel dev

feel free to join https://matrix.to/#/%23linux-apq8064:matrix.org! would love to see u there and we dont bite :3

1
0
0
@Logical_Error I am not too familiar with matrix, but I managed to join.

But I believe you need developer (or ten), and not tester at the moment :-).
0
0
2