Force install apps to SD card without ROOT
Samsung Galaxy Ace has only got 180 MBs of Internal memory. If you install a lot of apps, you are bound to run into low disk space issues. To force your new apps to install on SD card perform the following steps:
- First you have to enable USB debugging on your Android device from Settings > Applications > Development > USB debugging.
- Download and install the latest Android SDK on your computer from http://developer.android.com/sdk/.
- Install the latest Java SDK.
- Extract the package to the folder of your choice [e.g. C:/android-sdk-windows/], run SDK Manager.exe
- In the new window, click on Available Packages to the left. Uncheck all options you are prompted to download except the USB driver option. USB driver option will need an additional packages called Android SDK tools revision x(13 as of this time) & android sdk platform-tools revision x(7 as of this time) at the top of the list.
- Do not open Samsung Kies. Connect your phone to your computer with a USB-cable. Your OS will prompt you to install new drivers. Choose to install them from the android-sdk-windows/extras/google/usb_driver folder. Do not mount your device; you only need to plug-in the cable.(If you don’t see this prompt, that means you have USB drivers already installed.
- Run command prompt in administrator and execute the following command
A list of devices attached should come. Run following command
A $ sign should pop up.
pm setInstallLocation 2
And you’re done!! Close everything, disconnect phone, reboot & enjoy!!
Now the phone will be set to install all apps you install onto the SD card. However, already installed apps on phone will have to be manually moved if on phone memory.
Windows default share C$, D$ etc are recreated on machine restart or restarting the server service. To remove these share we can add a batch file which will remove the share. This batch file can be executed every time the machine is restarted by placing it in startup folder.
Create a batch file with following text
net share c$ /delete
net share d$ /delete
and save it as shareremove.bat(as an example). You can provide any name of your choice.
Copy this file in windows startup folder.
Now every time the machine is restarted the two shared drives c$ and D$ are removed from share.
To change MAC-Address for a Network card in Windows Registry:
- Click Start – Run, type “regedit”
- Navigate to
3. Under this key, you shoud see numbers in sequence as “0000″, “0001″ and so on. Click on one at a time to check the description of the device to match it with that of your Network Card. In my case (0001)
4. Once found, in the right-pane, look for “NetworkAddress” key value. If you find it, right-click and select modify. Enter the desired MAC-Address as a 12 digit number (all in one, no “space” “.” or “-”)
5. If you don’t find the key, right-click in the rightpane, select “New” – “String Value”. Enter the name as “NetworkAddress”. Now modify and set the desired value.
6. Now, disable and enable the Network card from the ControlPanel – Network Connections.
This should reflect the new MAC-Address on your NIC. Should you choose to go back to the original manufacturer set MAC-Address simply delete the key you just created/modified in the Windows Registry.
You can also use a tool like Technitium MAC Address Changer to change the MAC-Address of your NIC
Although Linux is a really stable platform, there will be some times that a program will freeze. In those cases most people are stuck on what to do.
Generally you have two choices for closing a stuck program:
Continue reading “Linux Tips – How to close a program that has frozen”
No Sound from Ubuntu linux or Mint
Searched google for possible answer to the problem but solution mentioned was not sufficient to solve my issues. I wasted couple of weekends resolving this issue.Finally I solved by removing PulseAudio and ALSA packages and installing OSS(Open Sound System)
What is OSS?
OSS provides low -level audio drivers for users and a common API(application program interface) for developers. Unbutu and Mint by default uses ALSA ( Advanced Linux Sound Architecture) to provide audio drivers.
Does OSS support my hardware?
Check the list of supported hardware from the below link.
Preparing to install OSS
1. REMOVE Pulseaudio packages
sudo apt-get purge pulseaudio gstreamer0.10-pulseaudio
2. Removing ALSA packages
sudo /etc/init.d/alsa-utils stop
sudo apt-get remove alsa-base alsa-utils
3. Blacklisting ALSA Kernel Modules
sudo dpkg-reconfigure linux-sound-base
4. Installing Prerequisite Packages
The second command contains some recommended packages.
sudo apt-get install -y binutils libgtk2.0-0 sed gcc libc6
sudo apt-get install -y libesd0 libsdl1.2debian-oss
1. Installing from DEB File
Download the OSS deb file from the 4front website(http://www.opensound.com/download.cgi). Before you install OSS, Reboot your system so that the ALSA modules will not load or interfere with it. When you log back in, use the terminal to install the OSS deb file (GDebi fails to install this .deb for some reason)
sudo dpkg -i oss-linux*.deb
Configuring Applications to Use OSS
Type ossxmix in your terminal to launch the mixer.
YOU ARE DONE
“I have not failed. I’ve just found 10,000 ways that won’t work” –Thomas Edison