This repository has been archived by the owner on Jun 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Samsung: Disable Xposed safe mode on Samsung Roms #79
Open
wanam
wants to merge
3
commits into
rovo89:master
Choose a base branch
from
wanam:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We need to run TouchWiz hooks otherwise we will end with a boot-loop caused by Knox/Mdpp rejecting our custom art libraries.
This is to work around a new security feature introduced by Google in the November 16 patches. It would abort the runtime if files are open that are not whitelisted. To avoid this, we close the files ourselves and reopen them after Zygote has forked. The mechanism is the same that Google has introduced, with a few modifications to fit Xposed's needs. This requires also a change on the Java side. Fixes rovo89/XposedBridge#129.
0989670313
approved these changes
Apr 9, 2017
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enable
zaaraameera2014
suggested changes
May 28, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jdiig
wickedwayz03
approved these changes
Dec 17, 2018
Repository owner
deleted a comment from
wickedwayz03
Dec 18, 2018
Repository owner
deleted a comment from
wickedwayz03
Dec 18, 2018
Repository owner
deleted a comment from
wickedwayz03
Dec 18, 2018
adiebluxz
reviewed
Mar 12, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicate of #
skynew0101
approved these changes
Jun 28, 2020
midoalbalwi
approved these changes
Oct 14, 2020
G3myn1
approved these changes
Nov 13, 2020
Geni8444
approved these changes
May 29, 2022
Rwadxvv
suggested changes
Aug 14, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hg
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Samsung Knox/Mdpp will reject xposed art libraries and lead to a bootloop if TW hooks are not executed on Xposed Bridge, which makes this feature useless for TouchWiz users.