I asked the same question in the device specific thread, but nobody could help me, so I'm asking here ;)
I was trying to unlock a LTE band on my Redmi 4 Prime and therefore I tried to connect my phone in diag mode.
I used the usual method and typed that:
adb shell
adb shell
su
setprop...