Hello. There is RuStore official Russian application store. Problem it that it not integrated with xiomi.eu rom and need to approve each actions to install or update application in system apk installer. So It's possible to add RuStore to some white list to avoid this problem? I use Xiaomi MIX4 with 14.0.6.0 xiaomi.eu. Today I decompile
miui-services.jar and find in com/android/server/pm/MiuiDefaultPermissionGrantPolicy.class such lines
I think need to add to this array ru.vk.store and recompile it back. But now I don't know how to do this. It requires some more work to check it. Also I tried to replcase some existing app name with ru.vk.store but no suitable string with the same string length. So I can't just replace symbols in hex editor. Maybe it's possible to cut some longer string but again. I don't know how to do this. I want to do this only for test purposes to check my idea and then make a patch and ask here to apply to rom. So I need a help with integrating ru.vk.store with xiaomi.eu ROM.
miui-services.jar and find in com/android/server/pm/MiuiDefaultPermissionGrantPolicy.class such lines
Java:
public static final String[] MIUI_SYSTEM_APPS = {"com.android.bips", "com.android.fileexplorer", "com.android.calendar", "com.android.browser", "com.android.camera", "com.android.mms", "com.xiaomi.xmsf", "com.android.quicksearchbox", "com.miui.home", "com.miui.securityadd", "com.miui.guardprovider", "com.android.providers.downloads", "com.android.providers.downloads.ui", "com.miui.cloudservice", INCALL_UI, "com.xiaomi.account", "com.android.contacts", "com.miui.cloudbackup", "com.xiaomi.payment", "com.miui.gallery", "com.miui.analytics", "com.miui.systemAdSolution", "com.xiaomi.metoknlp", "com.android.htmlviewer", "com.xiaomi.simactivate.service", "com.miui.extraphoto", "com.miui.packageinstaller", "com.miui.hybrid", "com.miui.voiceassist", "com.miui.mishare.connectivity", "com.miui.dmregservice", "com.miui.video", "com.miui.player", "com.xiaomi.market", "com.xiaomi.gamecenter.sdk.service", "com.mipay.wallet", "com.miui.tsmclient", "com.miui.yellowpage", "com.xiaomi.mircs", "com.milink.service", "com.miui.smsextra", "com.miui.contentextension", "com.miui.personalassistant", "com.miui.greenguard", "com.mobiletools.systemhelper", "com.miui.fm", "com.xiaomi.miplay_client", "com.miui.accessibility"};
I think need to add to this array ru.vk.store and recompile it back. But now I don't know how to do this. It requires some more work to check it. Also I tried to replcase some existing app name with ru.vk.store but no suitable string with the same string length. So I can't just replace symbols in hex editor. Maybe it's possible to cut some longer string but again. I don't know how to do this. I want to do this only for test purposes to check my idea and then make a patch and ask here to apply to rom. So I need a help with integrating ru.vk.store with xiaomi.eu ROM.