Before doing this, backup your ROM in TWRP, since if anything goes wrong you won't be able to boot your ROM, and you'll have to boot to TWRP and restore that nandroid.
LineageOS ROM 5-18-2017, opengapps nano 5-18. Magisk(hide)
This is the result of many tests:
Huge thanks for this.
I made a tweak.prop and put copies on both internal storage and SDcard.
I flashed 5._MOD_build_prop.zip which was in a separate folder with nothing else, in internal storage.
I had to put a carriage return(enter) after BACKUP=n as well as the extra one at the end.
It puts the mod at the end of /system/build.prop
This is my tweak.prop
remember to put an EXTRA
line feed/carriage return after BACKUP=n, and at the end.