Yes, although you risk messing your /system partition, which *potentially* could prevent future OTA updates. It's been a long while since I messed around android too, so my answer is not 100% sure. The preferred way of doing things is making magisk module substitute those files, although for that to work, you'd have to have persistent root.
|