Category Archives: Troubleshooting

Quick Fix: Natty, Ubuntu Classic and Compiz

If you’re reading this, you must be a Unity reject: the ones who upgraded to Natty and are now left in the cold after being told their hardware’s just too yesterday. If you’re beginning to miss your wobbly windows and other frills on Ubuntu Classic, give this quick hack a try:
Continue reading

The Samsung Galaxy 3, Android, USB and Linux

This is a hack to get the Samsung Galaxy 3 to mount as a USB drive on Linux. For some reason, it doesn’t react to being plugged in to my computer, apart from a meek beep and an indication that it’s slyly sucking power from the USB port.

  1. Disconnect your phone from the computer.
  2. Settings -> About Phone -> USB Settings -> Ask on connection
  3. Settings -> Applications -> Development: Check both USB debugging and Stay awake.
  4. Dial *#7284# to open PhoneUtils.
  5. Set both the UART and USB modes to PDA instead of Modem.
  6. Connect the phone to the computer.
  7. You should now receive some sort of USB notification on your phone; you know what to do from here.

This worked for me! Do post in your comments if it worked for you too, or not.

You may need to change the PhoneUtils settings back to the old ones when using your phone as a USB modem.

Getting Android Sources Behind A Restrictive Proxy

I’ll have to assume you’re suffocated by both the following bottlenecks in getting the Android Open Source Project code:

  • Blocked git:// protocol and port
  • A limit on the amount you’re allowed to download

The Android sources amount to around 6GB in total, so anonymous proxy programs like Your-Freedom will choke up after a fixed time limit; and repo sync (git) does not resume downloads between projects; though you may resume from the last project you downloaded. To smoothen out the rough edges, do this:

  1. Set your git proxy using this command, replacing what’s necessary: git config –global http.proxy 10.1.8.30:8080
  2. Follow the steps here until you reach Getting The Files: this is the part that won’t work behind a restrictive proxyy.
  3. Switch to the directory where you initially ran repo init -u on the command line and then type in ls -a; you should be able to see a .repo folder. If you don’t, it means your repo init -u failed for some reason.
  4. Type in gedit .repo/manifest.xml and change line 4 to read: fetch=”https://android.git.kernel.org/”
  5. Type in gedit .repo/repo/repo and change line 5 to read: REPO_URL=’http://android.git.kernel.org/tools/repo.git’
  6. Download the modified repo script here and replace your old repo script with the modified one.
  7. Continue with Getting The Files at the Android Open Source Project website and things should be working fine.

Image Credits: Android Stickers

Windows Eats Grub

This is a common problem that surfaces when you install a Windows OS after you install Ubuntu; Windows conveniently wipes out the GRUB bootloader (the Linux equivalent of NTLDR, the “Choose Operating System menu”), locking you out from booting into Ubuntu. The fix for this is quick and easy in the typical case:

Continue reading

Tux: The Dark Side (Part I)

devil tux

CTRL – ALT – DELETE!

It’s pretty routine to see the flustered Linux user feverishly banging on CTRL – ALT – DELETE, trying to get his misbehaving Linux box to do something familiar. And then finally giving up and pulling the plug, probably frying his motherboard or corrupting his hard drive in the process. If you ever see yourself (or anyone else) in this pitiful situation, you need to be nice to your Linux box, stop treating it like a Windows one and key in this combination:

ALT – PRINTSCREEN – R – E – I – S – U – B

Note that REISUB is BUSIER in reverse!

Then sit back and watch your system gracefully log itself off and proceed to restart!

This is the first of a series of posts directed to the n00b Linux user just shifted over from Windows.

Image Credit: Izaak