Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Method not found hook=shell/loadLibrary (java.lang.Runtime) #2424

Open
FGKD opened this issue Sep 11, 2017 · 8 comments
Open

Method not found hook=shell/loadLibrary (java.lang.Runtime) #2424

FGKD opened this issue Sep 11, 2017 · 8 comments
Labels

Comments

@FGKD
Copy link

FGKD commented Sep 11, 2017

On starting XPrivacy, I am getting an internal check error:

XPrivacy: 3.6.19
Android: 7.1.2 (SDK 25)

Brand: oneplus
Manufacturer: OnePlus
Model: A0001
Product: bacon
Device: A0001
Host: sultan-box
Display: NJH47F release-keys
Id: NJH47F

Method not found hook=shell/loadLibrary (java.lang.Runtime)

ROM is by sultanxda: Unofficial LineageOS 14.1 with 3.4.0 kernel [Aug. 31, 2017]
XPosed used is unofficial: 26-07-17-xposed-v87-sdk25-Xposed-by-PurifyOS

@M66B M66B added the bug label Sep 11, 2017
@ndorf
Copy link

ndorf commented Oct 24, 2017

Same error with HTC's Android 7.0 ROM, official Xposed.

I haven't seen any loadLibrary ondemand prompts, so I'm assuming that function isn't being blocked. Most others appear to work, though. I do get a second internal check error, along with the same one in this issue: Incompatible java.net.InterfaceAddress (followed by class definition). I don't know what exactly that's affecting, though: network/internet blocking appears to work.

@FGKD
Copy link
Author

FGKD commented Oct 26, 2017

Issue still persists with
ROM: [ROM+KERNEL][7.1.2] Unofficial LineageOS 14.1 with 3.4.0 kernel [Oct. 22, 2017]
XPosed: [OFFICIAL] Xposed for Lollipop/Marshmallow/Nougat [v88.1, 2017/10/10]

@ndorf
Copy link

ndorf commented Oct 26, 2017

I am interested in fixing these, but don't (yet) know enough about Android and its APIs to do so easily. I intend to take a stab at it, but don't expect anything too soon.

@Unpublished
Copy link

Unpublished@f947637 should fix this, load0 not testet yet.

@Cerberus-tm
Copy link

@Unpublished Wow, it's great that you're fixing things! Although I am currently unable to test it myself.

@M66B
Copy link
Owner

M66B commented Oct 27, 2017

@Unpublished I have checked your changes. Maybe it is too early to say this, but simply disabling things is not a real solution. Also, changing things in such a way that it is only compatible with Android N is not a good solution either.

To others: this still applies: https://forum.xda-developers.com/showpost.php?p=74200941&postcount=18269

@Unpublished
Copy link

Unpublished commented Oct 27, 2017

@M66B Yeah I totally agree with you, but couldn't think of an easy way to change the hook method and use the same setting but it should be a simple if statement in the xruntime constructor or did you already take another approach? (couldn't find one yesterday in a quick search)

The disabled hooks caused crashes due to deadlocks (webview) and spammy logs that will require more time to debug and fix.

@M66B
Copy link
Owner

M66B commented Oct 27, 2017

@Unpublished I am not working on XPrivacy anymore, so I am not taking "another approach". Also, a real developer can find his/her own solutions. Be aware that if you are going to publish your work, which you more or less did by referencing it in this issue, that you are also taking responsibility for the privacy of others.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants