Modify APK package and push to install under System/app path

Source: Internet
Author: User

In the work, often encountered the need to modify the APK package in the resource files, to verify the different configuration of the program running conditions.

The process is as follows:

1. First connect the phone, enter the command line, enter:adb root, so that the ADB gain root privileges.

2. Input:adb shell, enter Android shell

3. Enter:Mount-oremount/system, mount the system path as readable executable, or the Read-only permission issue will be reported behind.

4. Input:chmod 777 system/, modify the system and subdirectories to read and write execute permissions.

5. Input:The path of the ADB push local path +apk file (/system/app)

6. Enter the/system/app path, using:pm Install APK package name , installed APK package.

Complete.

P.S. Android can use the root Explorer, Apkeditor and other files to browse the application to view the transfer of the completed files (the advantage is that you can open the APK package to view the contents), it is recommended to use root Explorer,root after the path permissions can be modified, Installs the APK package directly, the function is more complete.

Modify APK package and push to install under System/app path

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.