Since various build.prop editor apps didnt work for me on Lineage 17.x, here the way I managed to edit build.prop:
- via Termux/Terminal:
mount -o remount,rw /
nano /system/build.prop
-
edit to your hearts content - I usually bring down media vol steps:
ro.config.media_vol_steps=15
-
mount -o remount,ro /
-
Reboot device
Editing build.props got more and more painful over the android versions - I'm no longer doing it myself.
But, from what I recall, on android 9, setting props with whatever build.prop editor app worked fine for me.
If it doesnt for you - a quick search implies
magisk resetprop
to be the go-to solution nowadays, maybe that'll help.