dumpsys device_policy | grep -i admin
Android:/ # dumpsys device_policy | grep -i admin
Enabled Device Admins (User 0, provisioningState: 0):
Android:/ #
Gimme a few, I wish I had the actual phone.
Busted open a similar ROM but I did extensive debugging
Hold on
Tell me output
adb logcat -c && adb install yourapk.apk; adb logcat -d | grep -iE" install|package|failure|denied|restrict"
adb shell settings get global verifier_verify_adb_installs
adb shell settings get global package_verifier_enable
adb shell dumpsys user | grep -A 20 "UserInfo{0" EOF
Output plz
Does pm install work?
Also, verify that services.jar is about 13mb, not 15mb
Something’s not making sense to me here. When I did this, I did way less then we did now, and all restrictions were lifted.
services .jar i 12,953 and pm install also doesnt work
Output of what I gave you? Would help alot
the output of the script
No. This.
Also try pm install with su -c and give output to me
i tried pm install on a rooted shell and it came back
PS C:\Users\Daniel Frydman\Downloads> adb push 1.apk /data/local/tmp
1.apk: 1 file pushed, 0 skipped. 50.1 MB/s (9979756 bytes in 0.190s)
PS C:\Users\Daniel Frydman\Downloads> adb shell
Android:/ $ su
Android:/ # pm intsall /data/local/tmp/1.apk
Failure
1|Android:/ # pm intsall -i /data/local/tmp/1.apk
Failure
1|Android:/ #
hadnt seen that
You wrote “intsall”
im feeling realy dumb
Nah
PS C:\Users\Daniel Frydman\Downloads> adb shell su -c pm install /data/local/tmp/1.apk
Failure
PS C:\Users\Daniel Frydman\Downloads>
Output of the command in the post I’m replying to plz ![]()
The token ‘&&’ is not a valid statement separator in this version.
- CategoryInfo : ParserError: (
, ParentContainsErrorRecordException - FullyQualifiedErrorId : InvalidEndOfLine
adb shell su -c "logcat -c"
adb shell su -c "pm install /data/local/tmp/1.apk"
adb shell su -c "logcat -d" > log.txt
# give me log.txt
adb shell su -c "pm install /data/local/tmp/1.apk; echo Exit code: \$?"
Ah you’re using Windows
Run them separately
Interesting that it’s the same error message for an incorrect command. Does pm uninstall work? (Just curious, not sure if this helps you at all)