How To Enable Qualcomm Diagnostics Port To Add Lte B20


pilililo2

Members
Nov 29, 2016
117
28
Hello, I own a Xiaomi Redmi 4 Prime on the Xiaomi.eu 6.12.1 Build. I was interested in enable the B20 band since it is disabled by default and can be done on the device, people on en.miui.com forums have already done it. The problem is that to do that I need to enable the Qualcomm Diagnostics Port, which can be enabled on the china developer version but I cant get it to work on the Xiaomi.eu rom neither by the *#*#717717#*#* comand or by the adb ''setprop usb.sys.config diag,adb'' command, as neither of them do anything. I know there is a way to enable it at least on cyanogenmod roms that would work on this rom too, however for this method I need to enable the /sys/ partition as RW, and for that issue the ADB disable-verity command but this command outputs an error saying this can only be done on ''userdebug'' versions.

Please any tip on how to get this done would be appreciated as returning to China Dev I think would lock my bootloader again.
 
Nevermind, figured out the hardway.

adb shell
su
setprop sys.usb.config rndis,diag,adb
setprop sys.usb.configfs 0 <---thats a zero, not an O