How to copy files from Xiaomi Redmi 1S to PC running Linux using USB?


Are you owner of Xiaomi Redmi 1S? Not able to detect your phone in PC running Linux OS? If you are looking for alternative way to transfer files between Linux and Redmi 1S this article will help you out. Read the article below to get the easy way to transfer files.

I have Fedora in my PC which is a Linux distribution. My Redmi 1S phone's storage is not getting detected in my PC. The phone is getting detected but not showing my SDCard instead it shows a Windows installer file. When I read the Redmi 1S 'help' document for Linux I came to know that installing 'MTP' will fix the issue. I gave below command in my terminal.

# yum install mtp

Unfortunately the driver is not available for Fedora OS. The help document contains guide for installing the driver in Ubuntu Linux. So people using different Linux flavor or distributions (Distro) should follow an alternative solution.

Using ADB to transfer file from Redmi 1S to Fedora and Fedora to Redmi 1S


The ADB is Android Debug Bridge commonly used by Android application developers. Our aim is to transfer and view files that are present in Redmi 1S through Linux OS. ADB is software that comes with Android Development kit. If you already installed Android development kit in your Linux OS just skip the below step.

You need to install the whole Android development kit in your PC. The Android development kit includes Eclipse ADT, Android Platform-tools, Android system image for emulator and Android SDK. You don't need to worry about all these tools. Just follow the below steps. You can download it from below link.

Link to download Android SDK - http://developer.android.com/sdk/index.html

Using ADB in Linux OS


1. Open terminal and run the following command.

adb start-server

2. Then connect phone to the PC using USB cable.
3. The type 'adb devices' without quotes. It should display some serial number under the 'List of devices attached' heading. If not make the changes in phone mentioned in below paragraph.

Settings that need to be changed in phone


You need to make small change in settings so that ADB will recognize your device.

1. Open settings - Developer options
2. Tap on USB debugging so that the buttons turns orange color.

Once you change this settings you will get a pop up message. Click 'OK' to establish connection between PC and phone.

Using ADB Pull and ADB push command


The ADB Pull and ADB Push command can be used to transfer files between Android device and your PC. ADB Pull is used for copying files from phone to PC and ADB push is used for copying files from PC to phone. You should have knowledge of directory structure to transfer files. You should know where your file is located. Don't worry if you are not familiar with this, I will teach you the easy way.

Finding path in Android:
Download app name File Manager (Explorer) from Play Store. Using the app open the file location you want to transfer to PC. Then note down the path as shown in the image. The path refers to /mnt/sdcard/.
path android

Finding path in Linux:
Open file explorer in computer. Then open the location where you want to copy. Then note down the path in address bar.
path linux

ADB syntax:
adb pull phone_path pc_path
adb push pc_path phone_path

In the below image I have demonstrated 'adb pull' command. The first path is the location where my file is located in Android device and the second the path is the location where I have to save copied content in my PC.
Redmi 1s linux

The below image shows all files are transferred successfully.
redmi 1s fedora

If you have any doubts in path let me know in comments so that I will give you the exact command to run.


Related Articles

Xiaomi Redmi Note and Xiaomi Redmi 1S: Which stands better for you?

Xiaomi has launched both Redmi Note and Redmi 1S. Both coming from the same house of manufacturer offer some basic quality assurance, but with a few differences in their features and facilities as well as their price range. I have compared both of them from the perspectives of features, to help our readers to choose between the two.

More articles: Xiaomi Redmi 1S Linux Tutorials Android Tutorials

Comments

Guest Author: Sanjeev04 Nov 2014

In fedora android-tools can be used (instead of SDK)

Guest Author: Epsilon Phi30 Jun 2015

I have just bought REdmi 2s. When I am connecting it to my laptop with the USB cable, I am unable to copy (and paste) files from my pc to SD card of my handset and vice-versa and hence I am not able to transfer files(like videos, music etc) from my laptop to my mobile. The copy-paste option is not working there. Any simple solution?



  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name:
    Email: