Please remove the limitation of MIUI on Samsung TTS #164

Closed
opened 3 years ago by lgq-lzw · 1 comments

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.

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.
Owner

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.

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.
Mikanoshi closed this issue 3 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Mikanoshi/CustoMIUIzer#164
Loading…
There is no content yet.