[SOLVED] Connecting LG G2 over with Linux Mint

lordsolrac2

Senior Member
Jul 6, 2012
178
17
38
Gurabo
Hello! I just got an unlocked LG G2 few days ago. I've gotten as far as enabling Tether, to work, and paritally got to mount it on my PC.

But I keep reading that libMTP is pretty much unstable on Linux. And I've only gotten to see it on banshee last night, but the moment I closed it, I never got to see it again.
I read a topic post that allows a user to mount about any android device on any unix based OS (Or at least) via SSHFS, currently I'm trying to do so. (But it keeps failing for some reason).

So in short, I'm currently unable to connect my phone to my Linux (Mint Xfce 17) PC without any major errors (MTP keeps giving me Function Not Implemented or a Input/Output Error, while I need a wifi (specifically a wifi access point, tether didn't seem to work) to connect via SSHFS), and am currently looking for a way to do so.

Anyone had any success?
 
Last edited:

lordsolrac2

Senior Member
Jul 6, 2012
178
17
38
Gurabo
Welp. I found a solution. After 3 days of searching (Days prior to the topic posting counted) I found out a way to do it.

Documentation (For anyone who might have the same issue)
You need a blank pendrive, and sshfs, a ssh server for android (I used SSHelper, if you're tethering, uncheck "Enable Wifi While Running", and the SSH IP address is the Device, though it'll say 0.0.0.0.)

1) Plug in your pendrive and if you want, mount it ( I did)
2) Go to terminal and write. You might need to allow allow_others in /etc/fuse.conf (Just remove the comment)
Code:
sshfs -o allow_other -o idmap=user [email protected]:/storage/emulated/0 -p PORT /media/$USER/PendriveName
3) Open Banshee, Ignore MTP Device (if it appears, in my case it did), and proceed to Sync Music To the new "Device"

IF The Pendrive/USB Stick doesn't appear you might need an .is_audio_player file.

Code:
name="LG G2 Drive"
audio_folders=Music/
audio_folder=Music/

Hope this helps
 
  • Like
Reactions: 4r44444