If you can’t use your Xiaomi Redmi 4 Prime device in MTP mode and your device is not found when connected to PC, then try following the tutorial below.

How to fix MTP mode on Xiaomi Redmi 4 Prime

Here’s what you need to do. Open system/build.prop” file and add these lines and enable USB debugging:

persist.service.adb.enable=1
persist.sys.usb.config=mtp,adb

More detailed guide:

  1. Download and install BuildProp Editor from Play Market.
  2. Press the “pencil” icon on the top. Text Editor should open.
  3. Scroll down and add these lines:
    persist.service.adb.enable=1
    persist.sys.usb.config=mtp,adb
  4. Leave one empty line in the bottom of the file.
  5. Save & Exit
  6. You should see SuperSU popup, confirm root access.
  7. Go to “Settings” > “About device” > tap 7 times on “MIUI Version” until you see “You’re now a developer!”.
  8. Go back to “Settings” > “Additional Settings” > “Developer options” > Enable “Developer mode” and “USB Debugging”.
  9. Reboot yout device.