I want my xposed hook class to read the package's Shared Preferences so it it only hooks the methods that are enabled by the user. The problem is that every time I try to read the SharedPrefs via XSharedPreference Class, It fails to read it but only on marshmallow. Im assuming it's because of permission/SELinux. Other things I check is that the path to the shared preferences is fine (because it works fine with KitKat), I made all places where I write to it "WORLD_READABLE" and still doesn't work. I tried looking at other dev's module that have MM support but can't find anything significant in terms of reading the sharedprefs that I dont have. I have been trying for ages and believe Im overthinking it. I also tried putting the reading code in initZygote and handleLoadPackage and both fail as well
Could someone please help or provide guidance. Thanks.
Source Code: http://ift.tt/1OQHN49
Could someone please help or provide guidance. Thanks.
Source Code: http://ift.tt/1OQHN49
via xda-developers http://ift.tt/1VOvgOb
Put the internet to work for you.
No comments:
Post a Comment