Connect to Xiaomi phone 2 in ubuntu

Source: Internet
Author: User
Tags ftp connection
Connect to Xiaomi mobile phone 2 under ubuntu, just start with Xiaomi 2, usb connection to the computer under ubuntu shows a Xiaomi folder, which contains the installation control file under windows, linux can basically be useless. Www.2cto.com via usb debugging help, follow the tips on Xiaomi, come up... connect to Xiaomi mobile phone 2 under ubuntu, just start with Xiaomi 2, usb connection to the computer under ubuntu shows a Xiaomi folder, which contains the installation control file under windows, linux can basically be useless. Www.2cto.com via usb debugging help, follow the prompts on Xiaomi to make an error when it comes up, and I do not know whether the linux computer used by Xiaomi developers is bare metal, I still tested it after I installed a lot of things. my development machine is wrong anyway (maybe I have not installed some libraries on the machine by Xiaomi testers, however, Xiaomi did not explain what needs to be installed ). The following is a successful method: www.2cto.com Method 1: 1. connect the mobile phone to the PC 2. if this is the first time you use an MTP device, install the following software. otherwise, skip this step: $ sudo apt-get install mtpfs libfuse-dev libmad0-dev (millet prompts sudo aptitude install mtpfs libfuse-dev libmad0-dev, but if you do not install aptitude, it will show that the command is not found, most people do not have aptitude.) 3. create a mount point $ sudo mkdir/media/mtp4. modify the permission (this step is missing in Xiaomi's description, so it cannot be opened) $ sudo chmod 775/media/mtp5. mount the MTP device $ sudo mtpfs-o allow_other/media/mtp after mounting the device, you can use the file browser to view the file like a local disk, you can also use commands to transfer files, such as $ cp video.mp4/media/mtp/Movies/6. uninstall the device $ sudo umount/media/mtp method 2 (this is from the Xiaomi Forum ): open "file management" --- select "remote management" --- "start service" --- "see an ftp connection" ---- open a folder on your computer ---- press "ctrl + l "---- enter the ftp Link ----- wait for one or two seconds ---- you can perform the operation ----- (do not open it in a web browser, because it cannot be operated in that case)
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.