I downloaded the 11.5.0-38E_ctrtransfer_o3ds.bin image and used GodMode9 v1.8.0 to mount to drive 7. Browsed to the path you gave and tried to build legit CIA but I just get an error saying "Legit ticket not found".
I tried a few times and also tried building CIAs for all the .tmd files as you previously suggested. All appeared to build fine apart from 0004009B00014002
Ah, that means your own SYSNAND CTRNAND does not have installed a legit copy of that ticket. No worries.
While the 11.5.0-38E_ctrtransfer_o3ds.bin image is still mounted.
- 7:/dbs/ticket.db → Copy to 0:/gm9/out.
- Back out with (B) button. Go to [0:] SDCARD ()/gm9/out/ticket.db → Ticket.db options... → Mount image to drive.
- T:/system/0004009B00014002.00000000.tik → Copy to 0:/gm9/out.
- Press (START) to boot to HOME Menu.
- FBI → SD/gm9/out/0004009B00014002.00000000.tik → Install ticket.
- Reboot back to GodMode9 and try legit CIA building that system title again.