Monday, February 17, 2014

Android MTP 4.x issues with Linux Mint Petra or Olivia (Ubuntu Raring Ubuntu Saucy)


Anyone who is having problems connecting to an Android 4.x device out of the box has probably seen this post (read my whole blog before going to that link):

The huge bold letters at the top are correct. Do NOT attempt those steps if you have 13.04 or 13.10 based Linux Mint. If you already have, in order to get your device working you will have to uninstall MTP based packages mtpfs mtp-tools and gmtp . You do NOT need go-mtpfs or any other ppas or packages it works out of the box.

To get your Android 4.x device connected you must connect to a USB 3.0 port. Yes, it's dumb but that's the way it is.

Then reboot your device several times and make sure developer mode is turned on.

In other words Android 4.x should work out of the box with 13.04+ and if you have done anything else to get it to work you'll have to undo it before plugging your Android into a USB 3.0 and rebooting the Android device to get it to work.

Happy droiding.

Sunday, February 16, 2014

Linux Mint or Ubuntu Black Screen of Death on Login VirtualBox Client


I recently experienced Black Screen of Death (tm) on my Linux Mint guest after smashing my keyboard (lol). My host is also Linux Mint. I will talk about two potential causes -- incorrect terminal and incorrect login script. There are many more causes such as fsck and video card drivers but these are simple to rule out.

Incorrect Terminal

What happened was I hit Ctrl-Alt-F2. This switches to the second text console, both on the host and the guest. When I rebooted on the guest, everything appeared normal yet when I logged in it was just a Black Screen.

To fix this, change the host key in VirtualBox under File - Preferences - Virtual Machine. Make it another key than Right-Ctrl. This way the host machine won't capture the key combination.

Next login to the guest machine. Press Host-Ctrl-F7 , Host being the key you mapped above. (Hint if you are not in full screen mode the host key is displayed on the bottom right). If you see your desktop then your problem is solved.

Incorrect Login Script

The symptoms are the same -- black screen after logging in. Reboot, and on the login prompt click the gear then select MATE.

When you login, it will say that your default login is some "script". Change this to MATE. Login and you will see your desktop.

Give me Linux BSOD over Windows BSOD anyday.