Probably your TF card(or something related to it, likely the card reader)caused the problem,i guess,not the trimming.
These situations indicate TF card abnormal.
1 Stuck/freeze/blackscreen when loading,even with a untrimmed rom.
2 The problems could be suddenly fixed after writing the rom...