[Sony Xperia XA2 ROMs, Kernels, Recoveries, & Other] Rookie117:
Hello everyone,

first of all, thanks for providing and maintaining official LineageOS for XA2, I have been using it for years on Z5c and for me it has become a must on a phone.

On the problem now, I'm setting up the phone, H3113 IT ulocked version, and I've got some issues.

First I've unlocked the bootloader without problems from sony instruction.

Then I've followed guide on #2, but similarly to #635, in XperiFirm for Market:Italy/Operator:Customized IT the build is 50.2.A.0.352/R1B, and with this build flashed, without prior erasing of any of the files, fastboot booting twrp3.2.3-2 result in a black screen.

So, after seeing 50.1.A.13.123 mentioned in #634, I've flashed, on both slots and erasing the file list in #2, the build with Market:Italy/Operator:TIM IT, that is 50.1.A.13.123/R14A. Mind that my phone is no carrier branded.

With this build twrp boot correctly and I could flash Lineage 04-08 build, reboot twrp, sideload openGapps-arm64-nano. Done that and rebooted all worked but Wifi. at this point i've done this tests:

1 - with 50.2.A.0.352/R1B clean WiFi works.

2 - with 50.1.A.13.123/R14A filelist of #2 erased, Wifi works.

3 - with sideloaded Lineage build 04-08 and opengapps-arm64-nano WiFi don't work

4 - with sideloaded Lineage build 04-08 and MindTheGapps-arm64 WiFi don't work

Below you can find last 100 row of logcat of test 4 in wich I tried to enable WiFi:

04-08 08:38:45.393 749 749 I tftp_server: pid=749 tid=749 tftp-server : INF :[tftp_server.c, 524] rcvd request [1] [73] [2] [0] [30970]
04-08 08:38:45.394 749 3525 I tftp_server: pid=749 tid=3525 tftp-server : INF :[tftp_server_utils.c, 113] file [readwrite/server_check.txt] : [/vendor/rfs/msm/mpss/readwrite/server_check.txt]
04-08 08:38:45.394 749 3525 I tftp_server: pid=749 tid=3525 tftp-server : INF :[tftp_server.c, 1044] OACK options : [7680, 1000, 10, 0, 0, 0, 0, 0]
04-08 08:38:45.395 749 3525 I tftp_server: pid=749 tid=3525 tftp-server : INF :[tftp_os_la.c, 184] unlink failed: [13] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] [Permission denied]
04-08 08:38:45.395 749 3525 I tftp_server: pid=749 tid=3525 tftp-server : INF :[tftp_server.c, 722] Using temp file[/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] for atomic put
04-08 08:38:45.396 749 3525 I tftp_server: pid=749 tid=3525 tftp-server : INF :[tftp_os_la.c, 59] open : [-1] [-1] [384] [577] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.396 749 3525 E tftp_server: pid=749 tid=3525 tftp-server : ERR :[tftp_os_la.c, 65] open failed: [13] [Permission denied]
04-08 08:38:45.396 749 3525 I tftp_server: pid=749 tid=3525 tftp-server : INF :[tftp_server.c, 756] open failed2: [-13] [Permission denied] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.397 749 3525 E tftp_server: pid=749 tid=3525 tftp-server : ERR :[tftp_server.c, 1519] open failed : [-13] [Unknown error -13]
04-08 08:38:45.398 749 3525 E tftp_server: pid=749 tid=3525 tftp-server : ERR :[tftp_protocol.c, 1146] sending error-pkt. Code = 2, Msg = Err=13 String=Permission denied
04-08 08:38:45.401 749 749 I tftp_server: pid=749 tid=749 tftp-server : INF :[tftp_server.c, 524] rcvd request [1] [73] [2] [0] [30971]
04-08 08:38:45.402 749 3526 I tftp_server: pid=749 tid=3526 tftp-server : INF :[tftp_server_utils.c, 113] file [readwrite/server_check.txt] : [/vendor/rfs/msm/mpss/readwrite/server_check.txt]
04-08 08:38:45.403 749 3526 I tftp_server: pid=749 tid=3526 tftp-server : INF :[tftp_server.c, 1044] OACK options : [7680, 1000, 10, 0, 0, 0, 0, 0]
04-08 08:38:45.404 749 3526 I tftp_server: pid=749 tid=3526 tftp-server : INF :[tftp_os_la.c, 184] unlink failed: [13] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] [Permission denied]
04-08 08:38:45.405 749 3526 I tftp_server: pid=749 tid=3526 tftp-server : INF :[tftp_server.c, 722] Using temp file[/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] for atomic put
04-08 08:38:45.405 749 3526 I tftp_server: pid=749 tid=3526 tftp-server : INF :[tftp_os_la.c, 59] open : [-1] [-1] [384] [577] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.406 749 3526 E tftp_server: pid=749 tid=3526 tftp-server : ERR :[tftp_os_la.c, 65] open failed: [13] [Permission denied]
04-08 08:38:45.406 749 3526 I tftp_server: pid=749 tid=3526 tftp-server : INF :[tftp_server.c, 756] open failed2: [-13] [Permission denied] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.407 749 3526 E tftp_server: pid=749 tid=3526 tftp-server : ERR :[tftp_server.c, 1519] open failed : [-13] [Unknown error -13]
04-08 08:38:45.407 749 3526 E tftp_server: pid=749 tid=3526 tftp-server : ERR :[tftp_protocol.c, 1146] sending error-pkt. Code = 2, Msg = Err=13 String=Permission denied
04-08 08:38:45.413 749 749 I tftp_server: pid=749 tid=749 tftp-server : INF :[tftp_server.c, 524] rcvd request [1] [73] [2] [0] [30972]
04-08 08:38:45.414 749 3527 I tftp_server: pid=749 tid=3527 tftp-server : INF :[tftp_server_utils.c, 113] file [readwrite/server_check.txt] : [/vendor/rfs/msm/mpss/readwrite/server_check.txt]
04-08 08:38:45.414 749 3527 I tftp_server: pid=749 tid=3527 tftp-server : INF :[tftp_server.c, 1044] OACK options : [7680, 1000, 10, 0, 0, 0, 0, 0]
04-08 08:38:45.415 749 3527 I tftp_server: pid=749 tid=3527 tftp-server : INF :[tftp_os_la.c, 184] unlink failed: [13] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] [Permission denied]
04-08 08:38:45.416 749 3527 I tftp_server: pid=749 tid=3527 tftp-server : INF :[tftp_server.c, 722] Using temp file[/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] for atomic put
04-08 08:38:45.416 749 3527 I tftp_server: pid=749 tid=3527 tftp-server : INF :[tftp_os_la.c, 59] open : [-1] [-1] [384] [577] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.417 749 3527 E tftp_server: pid=749 tid=3527 tftp-server : ERR :[tftp_os_la.c, 65] open failed: [13] [Permission denied]
04-08 08:38:45.417 749 3527 I tftp_server: pid=749 tid=3527 tftp-server : INF :[tftp_server.c, 756] open failed2: [-13] [Permission denied] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.418 749 3527 E tftp_server: pid=749 tid=3527 tftp-server : ERR :[tftp_server.c, 1519] open failed : [-13] [Unknown error -13]
04-08 08:38:45.418 749 3527 E tftp_server: pid=749 tid=3527 tftp-server : ERR :[tftp_protocol.c, 1146] sending error-pkt. Code = 2, Msg = Err=13 String=Permission denied
04-08 08:38:45.422 749 749 I tftp_server: pid=749 tid=749 tftp-server : INF :[tftp_server.c, 524] rcvd request [1] [73] [2] [0] [30973]
04-08 08:38:45.423 749 3528 I tftp_server: pid=749 tid=3528 tftp-server : INF :[tftp_server_utils.c, 113] file [readwrite/server_check.txt] : [/vendor/rfs/msm/mpss/readwrite/server_check.txt]
04-08 08:38:45.424 749 3528 I tftp_server: pid=749 tid=3528 tftp-server : INF :[tftp_server.c, 1044] OACK options : [7680, 1000, 10, 0, 0, 0, 0, 0]
04-08 08:38:45.425 749 3528 I tftp_server: pid=749 tid=3528 tftp-server : INF :[tftp_os_la.c, 184] unlink failed: [13] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] [Permission denied]
04-08 08:38:45.425 749 3528 I tftp_server: pid=749 tid=3528 tftp-server : INF :[tftp_server.c, 722] Using temp file[/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] for atomic put
04-08 08:38:45.426 749 3528 I tftp_server: pid=749 tid=3528 tftp-server : INF :[tftp_os_la.c, 59] open : [-1] [-1] [384] [577] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.426 749 3528 E tftp_server: pid=749 tid=3528 tftp-server : ERR :[tftp_os_la.c, 65] open failed: [13] [Permission denied]
04-08 08:38:45.427 749 3528 I tftp_server: pid=749 tid=3528 tftp-server : INF :[tftp_server.c, 756] open failed2: [-13] [Permission denied] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.427 749 3528 E tftp_server: pid=749 tid=3528 tftp-server : ERR :[tftp_server.c, 1519] open failed : [-13] [Unknown error -13]
04-08 08:38:45.428 749 3528 E tftp_server: pid=749 tid=3528 tftp-server : ERR :[tftp_protocol.c, 1146] sending error-pkt. Code = 2, Msg = Err=13 String=Permission denied
04-08 08:38:45.431 749 749 I tftp_server: pid=749 tid=749 tftp-server : INF :[tftp_server.c, 524] rcvd request [1] [73] [2] [0] [30974]
04-08 08:38:45.432 749 3529 I tftp_server: pid=749 tid=3529 tftp-server : INF :[tftp_server_utils.c, 113] file [readwrite/server_check.txt] : [/vendor/rfs/msm/mpss/readwrite/server_check.txt]
04-08 08:38:45.433 749 3529 I tftp_server: pid=749 tid=3529 tftp-server : INF :[tftp_server.c, 1044] OACK options : [7680, 1000, 10, 0, 0, 0, 0, 0]
04-08 08:38:45.434 749 3529 I tftp_server: pid=749 tid=3529 tftp-server : INF :[tftp_os_la.c, 184] unlink failed: [13] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] [Permission denied]
04-08 08:38:45.434 749 3529 I tftp_server: pid=749 tid=3529 tftp-server : INF :[tftp_server.c, 722] Using temp file[/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] for atomic put
04-08 08:38:45.435 749 3529 I tftp_server: pid=749 tid=3529 tftp-server : INF :[tftp_os_la.c, 59] open : [-1] [-1] [384] [577] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.436 749 3529 E tftp_server: pid=749 tid=3529 tftp-server : ERR :[tftp_os_la.c, 65] open failed: [13] [Permission denied]
04-08 08:38:45.437 749 3529 I tftp_server: pid=749 tid=3529 tftp-server : INF :[tftp_server.c, 756] open failed2: [-13] [Permission denied] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.438 749 3529 E tftp_server: pid=749 tid=3529 tftp-server : ERR :[tftp_server.c, 1519] open failed : [-13] [Unknown error -13]
04-08 08:38:45.439 749 3529 E tftp_server: pid=749 tid=3529 tftp-server : ERR :[tftp_protocol.c, 1146] sending error-pkt. Code = 2, Msg = Err=13 String=Permission denied
04-08 08:38:45.442 749 749 I tftp_server: pid=749 tid=749 tftp-server : INF :[tftp_server.c, 524] rcvd request [1] [73] [2] [0] [30975]
04-08 08:38:45.443 749 3530 I tftp_server: pid=749 tid=3530 tftp-server : INF :[tftp_server_utils.c, 113] file [readwrite/server_check.txt] : [/vendor/rfs/msm/mpss/readwrite/server_check.txt]
04-08 08:38:45.444 749 3530 I tftp_server: pid=749 tid=3530 tftp-server : INF :[tftp_server.c, 1044] OACK options : [7680, 1000, 10, 0, 0, 0, 0, 0]
04-08 08:38:45.445 749 3530 I tftp_server: pid=749 tid=3530 tftp-server : INF :[tftp_os_la.c, 184] unlink failed: [13] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] [Permission denied]
04-08 08:38:45.446 749 3530 I tftp_server: pid=749 tid=3530 tftp-server : INF :[tftp_server.c, 722] Using temp file[/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] for atomic put
04-08 08:38:45.447 749 3530 I tftp_server: pid=749 tid=3530 tftp-server : INF :[tftp_os_la.c, 59] open : [-1] [-1] [384] [577] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.447 749 3530 E tftp_server: pid=749 tid=3530 tftp-server : ERR :[tftp_os_la.c, 65] open failed: [13] [Permission denied]
04-08 08:38:45.448 749 3530 I tftp_server: pid=749 tid=3530 tftp-server : INF :[tftp_server.c, 756] open failed2: [-13] [Permission denied] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.449 749 3530 E tftp_server: pid=749 tid=3530 tftp-server : ERR :[tftp_server.c, 1519] open failed : [-13] [Unknown error -13]
04-08 08:38:45.450 749 3530 E tftp_server: pid=749 tid=3530 tftp-server : ERR :[tftp_protocol.c, 1146] sending error-pkt. Code = 2, Msg = Err=13 String=Permission denied
04-08 08:38:45.454 749 749 I tftp_server: pid=749 tid=749 tftp-server : INF :[tftp_server.c, 524] rcvd request [1] [73] [2] [0] [30976]
04-08 08:38:45.455 749 3531 I tftp_server: pid=749 tid=3531 tftp-server : INF :[tftp_server_utils.c, 113] file [readwrite/server_check.txt] : [/vendor/rfs/msm/mpss/readwrite/server_check.txt]
04-08 08:38:45.456 749 3531 I tftp_server: pid=749 tid=3531 tftp-server : INF :[tftp_server.c, 1044] OACK options : [7680, 1000, 10, 0, 0, 0, 0, 0]
04-08 08:38:45.456 749 3531 I tftp_server: pid=749 tid=3531 tftp-server : INF :[tftp_os_la.c, 184] unlink failed: [13] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] [Permission denied]
04-08 08:38:45.457 749 3531 I tftp_server: pid=749 tid=3531 tftp-server : INF :[tftp_server.c, 722] Using temp file[/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] for atomic put
04-08 08:38:45.457 749 3531 I tftp_server: pid=749 tid=3531 tftp-server : INF :[tftp_os_la.c, 59] open : [-1] [-1] [384] [577] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.458 749 3531 E tftp_server: pid=749 tid=3531 tftp-server : ERR :[tftp_os_la.c, 65] open failed: [13] [Permission denied]
04-08 08:38:45.458 749 3531 I tftp_server: pid=749 tid=3531 tftp-server : INF :[tftp_server.c, 756] open failed2: [-13] [Permission denied] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.459 749 3531 E tftp_server: pid=749 tid=3531 tftp-server : ERR :[tftp_server.c, 1519] open failed : [-13] [Unknown error -13]
04-08 08:38:45.460 749 3531 E tftp_server: pid=749 tid=3531 tftp-server : ERR :[tftp_protocol.c, 1146] sending error-pkt. Code = 2, Msg = Err=13 String=Permission denied
04-08 08:38:45.466 749 749 I tftp_server: pid=749 tid=749 tftp-server : INF :[tftp_server.c, 524] rcvd request [1] [73] [2] [0] [30977]
04-08 08:38:45.467 749 3532 I tftp_server: pid=749 tid=3532 tftp-server : INF :[tftp_server_utils.c, 113] file [readwrite/server_check.txt] : [/vendor/rfs/msm/mpss/readwrite/server_check.txt]
04-08 08:38:45.468 749 3532 I tftp_server: pid=749 tid=3532 tftp-server : INF :[tftp_server.c, 1044] OACK options : [7680, 1000, 10, 0, 0, 0, 0, 0]
04-08 08:38:45.468 749 3532 I tftp_server: pid=749 tid=3532 tftp-server : INF :[tftp_os_la.c, 184] unlink failed: [13] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] [Permission denied]
04-08 08:38:45.469 749 3532 I tftp_server: pid=749 tid=3532 tftp-server : INF :[tftp_server.c, 722] Using temp file[/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] for atomic put
04-08 08:38:45.470 749 3532 I tftp_server: pid=749 tid=3532 tftp-server : INF :[tftp_os_la.c, 59] open : [-1] [-1] [384] [577] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.471 749 3532 E tftp_server: pid=749 tid=3532 tftp-server : ERR :[tftp_os_la.c, 65] open failed: [13] [Permission denied]
04-08 08:38:45.471 749 3532 I tftp_server: pid=749 tid=3532 tftp-server : INF :[tftp_server.c, 756] open failed2: [-13] [Permission denied] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.472 749 3532 E tftp_server: pid=749 tid=3532 tftp-server : ERR :[tftp_server.c, 1519] open failed : [-13] [Unknown error -13]
04-08 08:38:45.472 749 3532 E tftp_server: pid=749 tid=3532 tftp-server : ERR :[tftp_protocol.c, 1146] sending error-pkt. Code = 2, Msg = Err=13 String=Permission denied
04-08 08:38:45.478 749 749 I tftp_server: pid=749 tid=749 tftp-server : INF :[tftp_server.c, 524] rcvd request [1] [73] [2] [0] [30978]
04-08 08:38:45.479 749 3533 I tftp_server: pid=749 tid=3533 tftp-server : INF :[tftp_server_utils.c, 113] file [readwrite/server_check.txt] : [/vendor/rfs/msm/mpss/readwrite/server_check.txt]
04-08 08:38:45.481 749 3533 I tftp_server: pid=749 tid=3533 tftp-server : INF :[tftp_server.c, 1044] OACK options : [7680, 1000, 10, 0, 0, 0, 0, 0]
04-08 08:38:45.482 749 3533 I tftp_server: pid=749 tid=3533 tftp-server : INF :[tftp_os_la.c, 184] unlink failed: [13] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] [Permission denied]
04-08 08:38:45.483 749 3533 I tftp_server: pid=749 tid=3533 tftp-server : INF :[tftp_server.c, 722] Using temp file[/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] for atomic put
04-08 08:38:45.483 749 3533 I tftp_server: pid=749 tid=3533 tftp-server : INF :[tftp_os_la.c, 59] open : [-1] [-1] [384] [577] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.484 749 3533 E tftp_server: pid=749 tid=3533 tftp-server : ERR :[tftp_os_la.c, 65] open failed: [13] [Permission denied]
04-08 08:38:45.485 749 3533 I tftp_server: pid=749 tid=3533 tftp-server : INF :[tftp_server.c, 756] open failed2: [-13] [Permission denied] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.485 749 3533 E tftp_server: pid=749 tid=3533 tftp-server : ERR :[tftp_server.c, 1519] open failed : [-13] [Unknown error -13]
04-08 08:38:45.486 749 3533 E tftp_server: pid=749 tid=3533 tftp-server : ERR :[tftp_protocol.c, 1146] sending error-pkt. Code = 2, Msg = Err=13 String=Permission denied
04-08 08:38:45.491 749 749 I tftp_server: pid=749 tid=749 tftp-server : INF :[tftp_server.c, 524] rcvd request [1] [73] [2] [0] [30979]
04-08 08:38:45.492 749 3534 I tftp_server: pid=749 tid=3534 tftp-server : INF :[tftp_server_utils.c, 113] file [readwrite/server_check.txt] : [/vendor/rfs/msm/mpss/readwrite/server_check.txt]
04-08 08:38:45.493 749 3534 I tftp_server: pid=749 tid=3534 tftp-server : INF :[tftp_server.c, 1044] OACK options : [7680, 1000, 10, 0, 0, 0, 0, 0]
04-08 08:38:45.494 749 3534 I tftp_server: pid=749 tid=3534 tftp-server : INF :[tftp_os_la.c, 184] unlink failed: [13] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] [Permission denied]
04-08 08:38:45.495 749 3534 I tftp_server: pid=749 tid=3534 tftp-server : INF :[tftp_server.c, 722] Using temp file[/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp] for atomic put
04-08 08:38:45.496 749 3534 I tftp_server: pid=749 tid=3534 tftp-server : INF :[tftp_os_la.c, 59] open : [-1] [-1] [384] [577] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.496 749 3534 E tftp_server: pid=749 tid=3534 tftp-server : ERR :[tftp_os_la.c, 65] open failed: [13] [Permission denied]
04-08 08:38:45.498 749 3534 I tftp_server: pid=749 tid=3534 tftp-server : INF :[tftp_server.c, 756] open failed2: [-13] [Permission denied] [/vendor/rfs/msm/mpss/readwrite/server_check.txt.rfs_tmp]
04-08 08:38:45.498 749 3534 E tftp_server: pid=749 tid=3534 tftp-server : ERR :[tftp_server.c, 1519] open failed : [-13] [Unknown error -13]
04-08 08:38:45.499 749 3534 E tftp_server: pid=749 tid=3534 tftp-server : ERR :[tftp_protocol.c, 1146] sending error-pkt. Code = 2, Msg = Err=13 String=Permission denied
04-08 08:38:45.502 749 749 I tftp_server: pid=749 tid=749 tftp-server : INF :[tftp_server.c, 524] rcvd request [1] [73] [2] [0] [30980]

I guess the problem stems from using 50.1.A.13.123/R14A while having a unbranded phone, how I can proceed?

Many thanks for the help.