AnswerBun.com

How to grant permissions to ADB?

I can use ADB while in recovery mode (TWRP) so to use it normally, I followed Android – Enable ADB from recovery to enable USB debugging. There is always an error while switching users, granting permissions, unhiding apps, using am and pm commands.

This is the error that always comes:

Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.INSTALL_PACKAGES.

How to grant permissions to ADB?

Android Enthusiasts Asked on December 26, 2020

1 Answers

One Answer

Call "adb root" before calling "pm install -r xxx.apk"

Answered by rigortek on December 26, 2020

Add your own answers!

Related Questions

How many clients can be connected to a WiFi Hotspot?

4  Asked on November 8, 2021 by arun-babu

 

No Mobile Network In Samsung Grand Prime

3  Asked on November 6, 2021 by samnaction

   

Can the LG K20V be rooted?

1  Asked on November 6, 2021 by kellin-baldenegro

   

How to fix a bricked K20 Pro?

1  Asked on October 29, 2021

 

Automatically copy calling phone number in realtime?

0  Asked on October 29, 2021 by omar-ahmed

   

Does Android TV remote always have a back button?

1  Asked on October 29, 2021 by pratap-patil

 

Set fixed BSSID in LineageOS16 / Android

0  Asked on October 29, 2021 by starkus

     

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved.