Please remove the limitation of MIUI on Samsung TTS
#164
Closed
opened 3 years ago by lgq-lzw
·
1 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
From MIUI10(China stable version), Samsung Text-To-Speech(com.samsung.SMT) could not be installed into MIUI system. It will fail to install. But the Samsung TTS app can install and run well on MIUI that version<10.
I have checked that, some restrictions are preset with this file "/data/system/users/0/package-restrictions.xml". I don't know if there are any other restrictions. And, the package-restrictions.xml file is generated by "frameworks\base\services\java\com\android\server\pm\Settings.java", this is what I found from the search engine. I don't know how to modify it.
Please remove the limitation of MIUI on Samsung TTS by CustoMIUIzer.
I can install Samsung TTS apk just fine, but it cannot be selected as preferred TTS engine, SELinux prevents it saying that it cannot set appropriate security context.
And even if SELinux is switched to permissive, latest versions are not working, because they are intended for Samsung devices and MIUI does not have classes that these apks are using. They must be ported first and then installed as a Magisk module with supolicy rules for example.