Per-app settings never worked: a hooked app reads Veil's config through XSharedPreferences, which for a legacy module points at Veil's private data dir (/data/data/space.bdeshi.veil/shared_prefs). Hooked apps can't read it, so every app silently fell back to "hide everything" and every toggle, hidden-package edit and picker entry was ignored. Confirmed on device with Veil Probe: unticking a feature changed nothing. The framework's fix for this (xposedsharedprefs, redirecting the module's prefs dir to one hooked apps can read) needs the framework to hook Veil's own process. On Vector v2.2 here it never does, even with Veil in its own scope and after a reboot, so there's no reliable channel from Veil's app to a hooked app. So stop pretending there is one: - VeilHook applies all six features with the fixed Features.HIDDEN_PACKAGES (KernelSU, Magisk, Veil) to every app in scope, with no prefs read. - Remove discovery: the Application#attach hook, the exported provider (one less way for an app to spot Veil) and the launcher <queries>. - The settings screen becomes a read-only summary plus the help panel; help tips cover leaving an app out of scope, changing the list by rebuilding, and turning verbose logging off afterwards, since it names Veil in each hooked app's own logcat. Verified on device: all 24 testable hooked paths in Veil Probe stay hidden, Veil's provider no longer resolves, a scoped app still loads Veil. Co-Authored-By: agent <agent@bdeshi.space>
34 lines
1.1 KiB
XML
34 lines
1.1 KiB
XML
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<application
|
|
android:label="@string/app_name"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:roundIcon="@mipmap/ic_launcher_round"
|
|
android:theme="@style/Theme.Veil"
|
|
android:allowBackup="false"
|
|
android:hasCode="true">
|
|
|
|
<meta-data
|
|
android:name="xposedmodule"
|
|
android:value="true" />
|
|
<meta-data
|
|
android:name="xposedminversion"
|
|
android:value="82" />
|
|
<meta-data
|
|
android:name="xposeddescription"
|
|
android:value="@string/module_description" />
|
|
|
|
<activity
|
|
android:name=".SettingsActivity"
|
|
android:exported="true"
|
|
android:label="@string/app_name"
|
|
android:theme="@style/Theme.Veil">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.INFO" />
|
|
</intent-filter>
|
|
</activity>
|
|
|
|
</application>
|
|
</manifest>
|