Unable to access Redmi Note 5 Pro from Ubuntu 18.10

I'm using Ubuntu 18.10 (Cosmic Cuttlefish), and I've Redmi Note 5 Pro on MIUI Global 10.0 ROM. When I connect my device and try to access the drive, I get the following error :

Unable to access "SDM636 MTP SN:E5BA4F65"

Couldn't find matching udev device.

I asked the same question here about 20 days ago, but didn't get any response.

Output of some useful commands :

$ lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 0bda:b006 Realtek Semiconductor Corp. 
Bus 001 Device 017: ID 2717:ff48  
Bus 001 Device 006: ID 04f2:b50d Chicony Electronics Co., Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

$ mtp-filetree

Device 0 (VID=2717 and PID=ff48) is a Xiaomi Mi-2s (MTP).
Attempting to connect device(s)
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Device: (NULL)
LIBMTP_Get_Storage(): Resource temporarily unavailable

I also tried to install android-udev-rules and followed the steps as described here. But still no progress.

I noticed something unusual, when I try to install an App from Android Studio, it worked (Only the installation, I'm still not able to access anything else). I don't why, but the app is there in my phone but I'm unable to get the Logcat.

PS: I also asked the same question here as well.