Categories
Android Apps

How to Fix the “Could Not Install On USB Storage Or SD Card” Error – Android

Android Market
Image via Wikipedia

The “Could Not Install On USB Storage Or SD Card” error on Android phones apparently occurs when something goes wrong with the installation of an app and temp file is left on your Android OS. There is a work around and a fix for this problem.

The Work Around:

  • Unmount your SD card
  • Install the app
  • Mount your SD card
  • Move the app to the SD card
{adinserter 3}

The Fix:
Note: I suggest you backup your sd card before you try this method. It worked perfectly on my Galaxy Ace but there is no guarantee that it might not cause any data loss.

  • Connect your phone to your PC as a mass storage device
  • Backup important data
  • Find the folder named “.android_secure”
  • Inside it, delete the file called “smdl2tmp1.asec”
  • Disconnect your phone
  • Install the App you were trying to install

Hope this helps you 🙂

Categories
Linux Solutions

Deleting those Pesky Hard to Delete files…

Sometimes we find a file in our filesystem with a weird non realistic name, which was probably created by mistake. There can be hundreds of reasons why this file got created but due to its unique uncharacteristic name its almost impossible to delete the file in the usual way(right click delete or rm on command line)

Eg,. a file with the name “??@@???@8” got created on my home drive and I cannot delete, move or rename the file.

To delete such a file we need to delete it using its inode number as the reference. You can get the inode number of the file by executing the following command in the directory containing the file

ls -il

Output:
1130895 -rw-r--r-- 1 tech tech 0 2010-07-02 15:49 ??@@???@8
1131122 drwxr-xr-x 4 tech tech 4096 2010-03-12 22:54 Bills
286834 drwxr-xr-x 5 tech tech 4096 2010-05-06 12:26 Blog
1131109 drwxr-xr-x 2 tech tech 4096 2010-05-06 12:24 Books
1139338 drwxr-xr-x 3 tech tech 4096 2010-05-06 12:26 Friends
1156511 drwxr-xr-x 3 tech tech 4096 2010-07-31 11:02 Photos

As you can see the console does not recognize the name of the file correctly, this is exactly the reason why it was failing to delete the file. The first number in the line is the inode number. To delete the file we will use the following command:
find . -inum <inode-number> -exec rm -i {} \;

Output:
tech@chandrahasa.com:~/Documents$ find . -inum 1130895 -exec rm -i {} \;
rm: remove regular empty file `./\001\223@@\360\006\v@8'? y
tech@chandrahasa.com:~/Documents$

Enhanced by Zemanta
Categories
Linux Open Source Ubuntu Web

Setting Up Simple Dropbox Integration with Ubuntu

Image representing Dropbox as depicted in Crun...
Image via CrunchBase

The default installer of Dropbox for Ubuntu works with the Nautilus file manager. But this integration is not always desireable, below is a method to install Dropbox on your Ubuntu box without installing Nautilus.