Page 1 of 1

[SOLVED] Question to block the following Updates on my Note 7

Posted: Wed Dec 14, 2016 9:41 am
by Sebastian94
Hey,

I've got a question to the Ultimate Guide to Blocking Packages That Causes 60% Battery Firmware (All Models).

Previously, I have disabled all packages over the application "package disabler pro". After an update, the packages are no longer displayed. So I have uninstalled the app.
In German forums they said after updating or uninstalling the app, packages are re-enabled.

I installed some more "Package Disabler" but i couldn't find any relevant packages to block.

Now to my problem blocking the update via ADB.
The ADB-Drivers are already installed.
After that I tried to block the update with "Disable_ADB.cmd". If the script says: Package "packagename" new hidden state: true
At my windows stands: Error: java.lang.SecurityException: Neither user 2000 nor current process has an droid.permission.MANAGE_USERS.

Do you have an idea? Do I need a rooted phone?


Sorry for my terrible english.

best regards
Sebastian

Re: Question to block the following Updates on my Note 7

Posted: Wed Dec 14, 2016 4:20 pm
by beowulf381
The error seems to have to do with android security updates. Originally this has nothing to do with Note 7, the development for this restriction was made earlier this year:

The following is from googlesource:

commit 01875b0274e74f97edf6b0d5c92de822e0555d03 [log] [tgz]
author Sudheer Shanka <[email protected]> Wed Jun 08 17:13:24 2016 -0700
committer The Android Automerger <[email protected]> Fri Jun 24 16:52:58 2016 -0700

and:

Reduce shell power over user management.

Remove MANAGE_USERS permission from shell and whitelist it for
some specific functionality.

So the developers decided to cripple the ADB functionality for non-root users.

This change will obviously implemented in different versions of firmware patches depending on your region / provider. Some reports said is was implemented in September or October, some found it already in August patch version.

Could test on an Note 7 with September security patch, here the debloater and ADB pm works without problems. The script here does the same as debloater, it will hide/deactivate the apk's via ADB method.

For you and those who get the error, maybe you can find another stock kernel / rom suitable for your device model that has this update not implemented yet.
And for a rooted device, it will work of course.

Just try one of the following disablers, described here:

http://note7alliance.com/viewtopic.php?p=693#p693

Re: Question to block the following Updates on my Note 7

Posted: Thu Dec 15, 2016 4:03 am
by Fatwoman
@Sebastian94 who is your carrier?

Re: Question to block the following Updates on my Note 7

Posted: Thu Dec 15, 2016 6:43 am
by RRiVEN
From my testing, yes when the app is uninstalled all packages are ENABLED.

Re: Question to block the following Updates on my Note 7

Posted: Fri Dec 16, 2016 5:02 am
by Sebastian94
@Catwoman my carrier is 1&1 (Vodafone) in Germany.
The device ordered directly by Samsung.
If I find time next week, I will looking for a ROM with an older security patch.

For the first time, I fixed the problem with the second variant in the guide, so I'm safe befor the 30% update but this is not the optimal solution.


Really thanks for your great help to find the error
best regards