Use the ADB command to modify the phone's default installation location to the SD card

Source: Internet
Author: User

1. Open the DOS command line, input adb, enter, to view the command Help.

2.ADB devices return, display device list:

The output for each device instance has the following fixed format:
[SerialNumber] [State]

022btf7n43047029 Device
037c708040609357 Device

Adb-s 022btf7n43047029 Shell to enter the device to be operated (when only one device can be entered directly into the ADB shell)

(adb shell command means: Run remote shell interactively

ADB shell <command>-run Remote shell command)

3. Enter the PM carriage return to find the information:

PM Set-install-location:changes the default install location.
Note:this is only intended for debugging; Using this can cause
Applications to break and other undersireable behavior.
0 [Auto]: let system decide
1 [internal]: Install on internal device storage
2 [external]: Install on external media

4. Enter command: PM set-install-location 2, modify the device default installation to SD card. Over.

Reference

Use the ADB command to modify the phone's default installation location to the SD card

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.