Closed FirstMelody closed 2 weeks ago
Run the mount script in /data/adb/service.d
and check for any error
While I understand that workaround exist but please not distribute file content as that can be potentially use for malicious intents (I assume most of us probably don't regularly send 2.8 petabytes zip-bomb to strangers... Right? We are just cautions, sorry) thanks for understanding!
(temporary locked 24 hours due to spam)
The deleted comments were linking to malware, please reach out to apatch@revanced.app for this issue.
It is an issue related to APatch and its root hiding kpm called Cherish Peekaboo. These two tweaked something in system and make root user cannot use pm command properly. Already identified by devs and finding solutions.
For now, an easy workaround is changing the base_path line in mount script to: stock_path=$(pm path com.google.android.youtube --user 0 2>&1 </dev/null | sed "s/package://g" ) which will bypass the selinux restrictions.
Considering it is not an issue related to Revanced. This issue will be closed
--user 0 2
Would this not only work if the app is a system app? User 0 is root. Users installing apps don't have id 0
Bug description
When using mount method to patch, script failed to mount upon booting.
APatch version:10918 10916 10883 10865 (tried versions, all have the same problem)
APatch uses overlayfs just like KernelSU do. https://github.com/ReVanced/revanced-manager/issues/1592 Not very sure if this is a apatch issue or RVM issue.
Version of ReVanced Manager and version & name of app you are patching
ReVanced Manager: 1.21.2 com.google.youtube
Installation method
Mount
ReVanced Manager logs
Patch logs
No response
Acknowledgements