Jan 30, 2017

HOW TO SET SDCARD AS THE DEFAULT LOCATION WHEN INSTALLING APPS IN ASUS ZENFONE 2 LASER 5.5s ZE550KL ASUS Z00LD

micro-sdcard
Here's another trick to make your sdcard as your default location when installing those downloaded apps for your asus zenfone 2 laser 5.5s Asus_Z00LD device via adb so you can spare the ram of your phone.

First things first you need to have root access (tutorial here) and if you wish to unlock your bootloader so you can create a stockrom back up for your device proceed here.


Things needed:
1. ADB (how to set up plus download link here).

Steps:
1. Simply download adb tools and set up properly.
2. Connect your phone and make sure you have enabled usb debugging.
3. Open command window under platform-tools. Click images to zoom out.
open_command_window_here
type in the following:

adb shell pm get-install-location (hit enter)
adb shell pm get-install-location
you will see you are at 0 [auto] which is the default location and this pertains to your internal memory.
default_at_0_auto_internal
Location values:

0: Auto—Let system decide the best location.
1: Internal—install on internal device storage.

2: External—install on external media.

You may read also here.


Now I tested if I can directly use the "adb shell pm set-install-location 2" command to set it at 2 [external] but failed to do so and received some errors as shown below.
adb shell pm set-install-location 2_error
So what I did is to go into adb shell separately then followed by the su command.
adb_shell_su
Now you can execute the command:

pm set-install-location 2 (hit enter)
pm_set_install_location_2

To check if successful simply type the command:


pm get-install-location (hit enter)
2_external_as_location
Congrats! You now set 2[external] as your default location when installing your apps.

If you wish to revert back to 0, do the same steps as above this time input 0 instead of 2 in pm set-install-location (*).

You may now check when you install those downloaded apk to your sdcard and try to install and it will be reflected under your settings>apps>moveable with highlighted blue circle color as you check its details it says move to device storage.
moveable
move_to_device_storage
Next post...How to partition your sdcard via minitool partition here.

Share with friends if you found this tutorial helpful.

2 comments:

  1. I'm running same Z00L device, but android 6.0.1!MM doesn't have such option by defualt which even android 4.4 had, right? So by this method can i really do that for my android versioned device...?! Your app menu screenshot itself different from mine

    ReplyDelete
    Replies
    1. yes this will definitely work for you and other android devices since we are using ADB tools since I have tested this from my other android devices running on 4.0+ versions, as long as you properly set up the adb tool to your computer and be able to detect your android device then your good to go, good luck

      Delete

#