[Galaxy S 4 Mini General] Oriceles:
I had the i9195XXSCQAF modem and I'm flashing MJ7 to try a sim unlock, currently having problems with network not working on 3G properly and 4G is not picking up at all... Followed the guide and at first boot my phone turned off... then I waited a while, went to boot again and I got some color points on boot logo which I didn't had before (guess new modem is related?), now I'm stuck at bootloop... currently running LOS 14.1... decided to turn off, went recovery, tried cleaning dalvik, and boot to system but then boot logo screen got messed followed by a blue screen to off. Now I'm doing a factory reset to see if I can boot. I at least can boot to download and recovery with no problem.

Edit: Lineage managed to boot after factory reset but now it's not detecting the sim card and I get baseband uknown :(... gonna try to flash to stock with a firmware that has same baseband as before or google how to fix

Edit: stock rom is okey but still no baseband and still getting a blue screen after the boot logo, I can't turn on wi-fi either. I'm thinking that I should flash the modem of this rom with the method described on OP but I don't know how to create the flashable, I can provide the files by extracting those from the rom I got.

Edit: tried to flash files via heimdall with command "heimdall flash --modem NON-HLOS.bin --RPM rpm.mbn --TZ tz.mbn --verbose --no-reboot" but now I get a ERROR: Failed to send data: "ODIN".

C:\Users\Alvaro\Documents\android\Heimdall Suite>heimdall flash --modem NON-HLOS
.bin --RPM rpm.mbn --TZ tz.mbn --verbose --no-reboot
Heimdall v1.4.0

Copyright (c) 2010-2013, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
Manufacturer: "Sasmsung"
Product: "MSM8960"

length: 18
device class: 2
S/N: 0
VID:PID: 04E8:685D
bcdDevice: 0100
iMan:iProd:iSer: 1:2:0
nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 82
max packet size: 0010
polling interval: 09

interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 01
max packet size: 0200
polling interval: 00
Claiming interface...
Setting up interface...

Initialising protocol...
WARNING: Control transfer #1 failed. Result: -9
WARNING: Control transfer #2 failed. Result: -9
WARNING: Control transfer #3 failed. Result: -9
WARNING: Control transfer #4 failed. Result: -9
WARNING: Control transfer #5 failed. Result: -9
WARNING: Control transfer #6 failed. Result: -9
libusbx: error [windows_transfer_callback] detected I/O error 87: [87] The param
eter is incorrect.
ERROR: Failed to send data: "ODIN"
Releasing device interface...

Final Edit on my adventure: I decided to flash the stock rom 2 more times, and after that everything reverted to normal, just shame that now I need to go back to LOS 14.1 lmao. I still wish I could know how to flash this without much hassle because I'm pretty sure I will still struggle with signal.