Skip to content

Instantly share code, notes, and snippets.

@arsho
Created August 22, 2018 14:42
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arsho/7604017eee8b07bd9a3c87c1cd167716 to your computer and use it in GitHub Desktop.
Save arsho/7604017eee8b07bd9a3c87c1cd167716 to your computer and use it in GitHub Desktop.
Connect Huawei mobile to Ubuntu 16.04. Transfer files between Huawei mobile and Ubuntu machine.

Connect Huawei Mobile to Ubuntu 16.04

Connect Huawei mobile to Ubuntu 16.04

  • Install the tool
     sudo apt-get install mtp-tools mtpfs
    
  • Create directory
     sudo mkdir /media/mtp
    
  • Modify directory rights:
     sudo chmod 755 /media/mtp
    
  • Mount your device:
     sudo mtpfs -o allow_other /media/mtp
    
  • Connect mobile using USB cable.
  • Select files mode in mobile.
  • Unmount your device:
     sudo unmount /media/mtp
    
  • N.B.: Better to use USB 3 port of the computer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment