[Guide] How to activate istallation of all apps to SD-card. - Legend General

The information to this guide was taken from www.swedroid.se
Works for Anrodid 2.2-2.2+ with/without root
This guide will NOT move allready installed apps to SD-card
You will need to make a factory reset if you want to install allready installd apps to SD-card (if you choose to factory reset execute the commando that will activate the function before doing ANY settings)
This lets you install apps to your SD-card even if they are not "supported"
Preparation:
To make this work you need Android SDK installed (if your are on Windows or Mac) with the Platform-Tools added
Make sure you have USB debugging mode activated on your handcet
Make sure the drives for your device install correctly when you plug it in by USB
Don't make a choice if you're asked to mount SD. If the SD card mounts automatically because that's your default then change it so it doesn't mount.
How to activate:
Navigate to platform-tools in cmd (I use windows)
controll if your device is conected and recognized by typing: adb devices
If it's found proceed with: adb shell pm setInstallLocation 2
To unactivate:
adb shell pm setInstallLocation 0
Notice:
Programs on the SD-card start later then the ones on the internal storage. Launchers, widgets and live wallpapers are preferably stort on the internal storage. You can switch them back by entering settings on your device and transfer them back from SD the same way you would had transfered them to SD-card.

So far so good, just one correction:
It's not up to your personal preference to store widgets / apps including a widget on the SD card or internal storage. Widgets simply won't work if stored on the SD card by android native techniques.

Related

'Mount' HTC Magic to my mac without microSD card

Hi,
I want to swap files between my Mac and my HTC Magic without using a microSD card. Standard it doesn't do that and only the card shows up on my desktop. Is there a way to do this? My microSD card broke and part of my data was lost.I'm running a custom rom (Cyanogen). It's kinda urgent. Thanks!
You have to use adb:
adb pull /data data
and with apps2sd:
adb pull /system/sd sd
Do I use the terminal for this? I'm a bit of a noob
You have to install the androidSDK
Aah that's a pity because I'm in no way a programmer nor have I touched a single line of code, ever. Aren't there any GUI applications (either on my mac or for my phone) that makes this possible?
I have downloaded the android SDK and I started up 'adb' which opened the Terminal (on Mac OSX) and showed me a list of commands, and at the end [Process completed]. I can't type anything. Please again forgive my noobness.

[Q] apps2sd

Now that we have to option to install apps to our sd card I have a couple questions.
1) Where are the apps stored? I tried finding them in root explorer on my sd card after i moved them but i could not.
2) When i get my 32gb card is there any special process i have to undergo now that I have moved apps to my sd card? As in should i move them all back to my phone before switching cards or if copy my entire card over to my new one will they be included?
I believe the apps are encrypted on the sd card.
install terminal, run terminal,
in terminal run "mount" (assuming this works even if not rooted)
see things like
/dev/block/dm-6 /mnt/asec/com.adobe.reader-1 ....
this implies the device mapper subsystem is in use. don't have any more info at this time.
within the /mnt/asec/*/ directory there is a file pkg.apk, though it doesn't seem like a traditional apk as not unzippable (or at least unzip -l pkg.apk seems to fail within terminal)

How to move applications to SD Card by default

For all those who wanted to transfer all their applications into the SD cards by default on their Android 2.2 Froyo operating system, we will check out the same on how you can do it. Many users recently reported that they were unable to transfer the applications to the SD card despite making use of the tool called Apps2SD which is one of the popular applications to transfer all the applications to the SD Card but it has failed to deliver for some of those who have HTC Desire and many handsets it doesn’t support. Though there are many ways for increasing the memory space marginally if you want which can be done by clearing the cache memory from the “Managing Applications” option from any Android phone.
But the real memory increaser is the only one if you manage to store all the apps in your SD Card, so let’s check out the same on how you can push your all applications which are stored in the phone to the SD card of your phone effortlessly. Considering the fact that most of the Android handsets now run on a minimum of Froyo 2.2 version, many apps don’t provide functionality to directly store the same on the device’s SD card until and unless Application requests you to select the same. So, we will check out on by default how you can transfer all the apps directly to your SD Card.
Procedure to store applications in SD Card:
First and foremost, from your phone you will have to ensure that the USB Debugging is ticked which can be done by going to the Settings > Applications >Development > then tick both Allow mock locations as well as the USB Debugging options over there.
After this you will have to download and install the Android Software Developer Kit (SDK) on your computer and after that once you download it, you will have to extract the package to the folder and then from that folder just run the application which is named as “SDK Setup.exe” and then simply click on the install selected option which is just located on the right bottom of the screen and follow the on screen instructions.
Now, connect the phone with the computer with the help of USB cable after which the OS will prompt you to install the set of required drivers which are missing which you can install from the path android-sdk/usb_driver folder, please note that you should not mount your device as you will have to plug in the cable.
Next up, you will have to run the Command Prompt and then you will have to go to the path Android-SDK/tools folder. Please note that, in Windows operating system , the Command prompt can be started by either pressing Win + R from your keyboard or alternatively you can click on “Start” tab from the main home screen and then can choose “Run” option and enter in the string as “cmd” followed by enter to enter into the command prompt. After entering in the command prompt, you will have to type in as “CD android-sdk” to get into the file via command prompt.
Now, in the android-SDK/tools folder, just type in the command as “adb devices” after which you will be getting the serial number which will be starting with the “H”. After this you will have to enter the command as adb shell pm setInstallLocation 2.
That’s it there you go, you have now successfully configured your Android phone successfully to store all the applications into the SD card. But please note that all the applications installed on the memory card will also be unavailable to the system each time you mount your phone as a disk drive and also the application performance is always better when stored in the phone as it can render quickly and also can run better in the background. So, unless and until the memory of internal SD card is not full, it’s not recommended to go for this method as this may partially slightly slow down your phone.
So, all the core applications which you use more often should be stored in the internal memory and the ones which are less used should be placed in the memory card. Do let us know if you face any issues while configuring all the above commands. Just in case if at any point of time you are unable to configure or encounters with some sorts of issue then you will have to again follow the procedure from the start.
Or..other way is..use titanium backup to move apps from internal to SD..easy..
Sent from my GT-S5830 using XDA App
Thanks for the write up.. I was able to move a bunch of my apps to the SD card freeing up some much needed space.

[Q] Custom app installation path

Hi,
I own rooted Nexus 7 and would like to have the possibility of custom installation path for all apps. In other words, if I connect a usb stick to my nexus 7 using usb/otg cable and stickmount app, this additional storage appears in
/storage/sdcard0/usbStorage/sda1
I would like to install some of the apps directly into this folder (or a subfolder there). Is there a way to change the intall location of an app in Android?
What I tried:
- changing default installation path to SD card using adb (didn't work since this is obviously not an external SD card)
- some apps that are supposed to move arbitrary app tp SD card (didn't work for the same reason I guess)
Thanks for your help

Use Windows to create an SD card so you can run Linux on a RK3288 device

Easiest way to try Linux on a RK3288 if you only have a Windows PC.
First check your bootloader version and if necessary flash the RK3288Loader_uboot_V2.17.02.bin (downloadable from 'https://drive.google.com/file/d/0B99O3A0dDe67Tm1nVjdncVBuaG8') to your device to allow SD card booting.
Next download and uncompress one of these images ('https://drive.google.com/file/d/0B99O3A0dDe67cU1ZSkoybEdPeTA' or 'https://drive.google.com/file/d/0B99O3A0dDe67XzBhYTRKS1BqTnc') and write the image to an SD card using 'Win32 Disk Imager' on Windows (or 'dd' on Linux).
Then just put the SD card into your device and turn on the power to boot up Linux.
Booting will give you a full Linux desktop. It will not affect your installed software as everything needed to boot is taken from the SD card so it will work even if the device is 'bricked'. As it provides effectively a generic RK3288 kernel and resource image, both wifi and/or sound may or may not work depending on your specific device. However you can then use the system to build a bootable SD card by following 'Running Android or Linux from an SD card on a RK3288 device' (see 'https://plus.google.com/+IanMORRISON/posts/22Vxc6Sr5Ei') or similar.
The default username is 'linuxium' and the default password is 'p'.
A root password can be set by entering 'sudo su -' and then 'passwd root' in a terminal window. You can expand the file system to utilise the whole SD card by entering 'echo -e "d\nn\np\n1\n139265\n\nw" | sudo fdisk /dev/mmcblk1' then rebooting and entering 'sudo resize2fs /dev/mmcblk1p1' to complete the resizing.
One other advantage is that this image also supports a Linux root file system (RFS) on USB. So if you want to try a different RFS all you need to do is download one and write it to USB and then make sure both the SD card and USB are inserted before connecting the power.

Categories

Resources