ADB shell PM Command First knowledge, prohibit application boot command

Source: Internet
Author: User

In the forum to see a lot of people want to cancel the application of boot, so I want to know how to achieve, but Baidu a bit, the results are how to let the application boot, Baidu search data more and more no hope.

Finally, Google gets a result,

<span style= "FONT-SIZE:18PX;" >PM Revoke Com.android.livevideo  android.permission.receive_boot_completed</span>

Although prompt (guess with system permissions on OK)

Operation not allowed:java.lang.SecurityException:Permission Android.permission.RECEIVE_BOOT_COMPLETED are not a Development permission

But at least know how to achieve, wait for the holiday, first write down the blog.

The following methods are used to query the PM command:

use Android package Manager  PM
usage: pm [list|path|install|uninstall]       pm list packages [-f]       pm list permission-groups       pm list permissions [-g] [-f] [-d] [-u] [GROUP]       pm list instrumentation [-f] [TARGET-PACKAGE]       pm list features       pm path PACKAGE       pm install [-l] [-r] [-t] [-i INSTALLER_PACKAGE_NAME] [-s] [-f] PATH       pm uninstall [-k] PACKAGE       pm enable PACKAGE_OR_COMPONENT       pm disable PACKAGE_OR_COMPONENT       pm setInstallLocation [0/auto] [1/internal] [2/external]
ExamplesInstall the package com.twitter.android-1.apk from the SD card
pm install /sdcard/com.twitter.android-1.apk
List installed packages that contain the term Twitter
pm list packages | grep twitter
Show The install directory of the Twitter package
pm path com.twitter.android
Http://www.kpbird.com/2013/05/android-shell-command-pm-package-manager.html


ADB shell PM Command First knowledge, prohibit application boot command

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.