Migrate config dir to /data/misc (#304)

This commit is contained in:
Wang Han 2024-12-22 20:20:35 +08:00 • committed by GitHub
commit cac3430d33
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
34 changed files with 56 additions and 43 deletions

View file

@ -250,7 +250,7 @@ class SettingsFragment : Fragment(R.layout.fragment_settings), PreferenceFragmen
.setTitle(R.string.settings_force_clean_env)
.setMessage(R.string.settings_is_clean_env_summary)
.setPositiveButton(android.R.string.ok) { _, _ ->
val result = SuUtils.execPrivileged("rm -rf /data/system/hide_my_applist*")
val result = SuUtils.execPrivileged("rm -rf /data/misc/hide_my_applist*")
if (result) makeToast(R.string.settings_force_clean_env_toast_successful)
else makeToast(R.string.settings_permission_denied)
}

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Clean runtime environment at the same time?</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/system/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/misc/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_force_clean_env">Force clean runtime environment (root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">إيقاف خدمة النظام</string>
<string name="settings_stop_system_service_summary">تحتاج إلى إعادة التشغيل لإعادة تشغيل الخدمة</string>
<string name="settings_is_clean_env">تنظيف بيئة التشغيل في نفس الوقت؟</string>
<string name="settings_is_clean_env_summary">إزالة التخزين المؤقت لخدمة النظام في /data/system/hide_my_applist_*. هذا يعني أنك ستحتاج إلى تشغيل الوحدة مرة واحدة يدويا بعد إعادة التشغيل التالي حتي تعمل الاعتراضات، وسيتم أيضا تنظيف عمليات الاعتراض.</string>
<string name="settings_is_clean_env_summary">إزالة التخزين المؤقت لخدمة النظام في /data/misc/hide_my_applist_*. هذا يعني أنك ستحتاج إلى تشغيل الوحدة مرة واحدة يدويا بعد إعادة التشغيل التالي حتي تعمل الاعتراضات، وسيتم أيضا تنظيف عمليات الاعتراض.</string>
<string name="settings_force_clean_env">إجبار تنظيف بيئة العمل (جذر)</string>
<string name="settings_force_clean_env_summary">فقط إذا فشلت خدمة النظام في البَدْء، وإلا يجب عليك أن تضغط علي الخِيار أعلاه.</string>
<string name="settings_force_clean_env_toast_successful">تـم تنظيف بيئة التشغيل</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Clean runtime environment at the same time?</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/system/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/misc/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_force_clean_env">Force clean runtime environment (root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Zastavit systémovou službu</string>
<string name="settings_stop_system_service_summary">K restartování služby je třeba restartovat</string>
<string name="settings_is_clean_env">Vyčistit runtime prostředí ve stejnou dobu?</string>
<string name="settings_is_clean_env_summary">Odeberte mezipaměť systémové služby v /data/system/hide_my_applist_*. To znamená, že musíte po příštím restartu spustit aplikaci modulu jednou ručně, abyste povolili odposlechy a počty odposlechů budou také vyčištěny.</string>
<string name="settings_is_clean_env_summary">Odeberte mezipaměť systémové služby v /data/misc/hide_my_applist_*. To znamená, že musíte po příštím restartu spustit aplikaci modulu jednou ručně, abyste povolili odposlechy a počty odposlechů budou také vyčištěny.</string>
<string name="settings_force_clean_env">Force clean runtime environment (root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Clean runtime environment at the same time?</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/system/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/misc/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_force_clean_env">Force clean runtime environment (root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Clean runtime environment at the same time?</string>
<string name="settings_is_clean_env_summary">System Service Cache in /data/system/hide_my_applist_* entfernen. Das heißt, dass du die Modul-App nach dem nächsten Neustart selbst starten musst, um das Abfangen zu aktivieren und die Abfangzahlen werden auch bereinigt.</string>
<string name="settings_is_clean_env_summary">System Service Cache in /data/misc/hide_my_applist_* entfernen. Das heißt, dass du die Modul-App nach dem nächsten Neustart selbst starten musst, um das Abfangen zu aktivieren und die Abfangzahlen werden auch bereinigt.</string>
<string name="settings_force_clean_env">Reinigung der Laufzeitumgebung erzwingen (Root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Clean runtime environment at the same time?</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/system/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/misc/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_force_clean_env">Force clean runtime environment (root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Clean runtime environment at the same time?</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/system/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/misc/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_force_clean_env">Force clean runtime environment (root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Clean runtime environment at the same time?</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/system/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/misc/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_force_clean_env">Force clean runtime environment (root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stopper le service du système</string>
<string name="settings_stop_system_service_summary">Redémarrage nécessaire pour redémarrer le service</string>
<string name="settings_is_clean_env">Nettoyer l\'environnement d\'éxécution en même temps?</string>
<string name="settings_is_clean_env_summary">Supprimer le cache du service système dans /data/system/hide_my_applist_*. Celà veut dire que vous devez lancer le module de l\'application une fois manuellement après le prochain redémarrage pour permettre l\'activation des interceptions, le compteur d\'interceptions sera également nettoyé.</string>
<string name="settings_is_clean_env_summary">Supprimer le cache du service système dans /data/misc/hide_my_applist_*. Celà veut dire que vous devez lancer le module de l\'application une fois manuellement après le prochain redémarrage pour permettre l\'activation des interceptions, le compteur d\'interceptions sera également nettoyé.</string>
<string name="settings_force_clean_env">Forcer le nettoyage de l\'environnement (racine)</string>
<string name="settings_force_clean_env_summary">Uniquement si le service du système échoue à démarrer, autrement vous devriez opter pour l\'option ci-dessus.</string>
<string name="settings_force_clean_env_toast_successful">Environnement d\'exécution nettoyé</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Clean runtime environment at the same time?</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/system/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/misc/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_force_clean_env">Force clean runtime environment (root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stoppa servizio di sistema</string>
<string name="settings_stop_system_service_summary">È necessario riavviare per riavviare il servizio</string>
<string name="settings_is_clean_env">Pulire l\'ambiente di runtime allo stesso tempo?</string>
<string name="settings_is_clean_env_summary">Rimuove la cache del servizio di sistema in /data/system/hide_my_applist_*. Questo significa che è necessario avviare l\'app del modulo una volta manualmente dopo il prossimo riavvio per abilitare le intercettazioni e anche i conteggi delle intercettazioni verranno resettati.</string>
<string name="settings_is_clean_env_summary">Rimuove la cache del servizio di sistema in /data/misc/hide_my_applist_*. Questo significa che è necessario avviare l\'app del modulo una volta manualmente dopo il prossimo riavvio per abilitare le intercettazioni e anche i conteggi delle intercettazioni verranno resettati.</string>
<string name="settings_force_clean_env">Forza pulizia ambiente runtime (root)</string>
<string name="settings_force_clean_env_summary">Solo se il servizio di sistema non riesce ad avviarsi, altrimenti devi cliccare l\'opzione sopra.</string>
<string name="settings_force_clean_env_toast_successful">Ambiente runtime pulito</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Clean runtime environment at the same time?</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/system/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/misc/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_force_clean_env">Force clean runtime environment (root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">システムサービスを停止する</string>
<string name="settings_stop_system_service_summary">サービスを再開するには再起動が必要です</string>
<string name="settings_is_clean_env">実行環境のクリーンアップをしますか?</string>
<string name="settings_is_clean_env_summary">/data/system/hide_my_applist_* のシステム サービス キャッシュを削除します。つまり、インターセプトを有効にするには、次回の再起動後にモジュール アプリを手動で 1 回起動する必要があり、インターセプト カウントも消去されます。</string>
<string name="settings_is_clean_env_summary">/data/misc/hide_my_applist_* のシステム サービス キャッシュを削除します。つまり、インターセプトを有効にするには、次回の再起動後にモジュール アプリを手動で 1 回起動する必要があり、インターセプト カウントも消去されます。</string>
<string name="settings_force_clean_env">クリーンなランタイム環境を強制する(root)</string>
<string name="settings_force_clean_env_summary">システム サービスの開始に失敗した場合のみ、それ以外の場合は上記のオプションをクリックする必要があります。</string>
<string name="settings_force_clean_env_toast_successful">ランタイムのクリーン</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Clean runtime environment at the same time?</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/system/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/misc/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_force_clean_env">Force clean runtime environment (root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Clean runtime environment at the same time?</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/system/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/misc/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_force_clean_env">Force clean runtime environment (root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Clean runtime environment at the same time?</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/system/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/misc/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_force_clean_env">Force clean runtime environment (root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Clean runtime environment at the same time?</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/system/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_is_clean_env_summary">Remove system service cache in /data/misc/hide_my_applist_*. This means you need to launch the module app once manually after next reboot in order to enable interceptions, and interception counts will also be cleaned.</string>
<string name="settings_force_clean_env">Force clean runtime environment (root)</string>
<string name="settings_force_clean_env_summary">Only if system service fails to start, otherwise you should click the above option.</string>
<string name="settings_force_clean_env_toast_successful">Runtime environment cleaned</string>

View file

@ -114,7 +114,7 @@
<string name="settings_stop_system_service">Stop system service</string>
<string name="settings_stop_system_service_summary">Need reboot to restart service</string>
<string name="settings_is_clean_env">Limpar o ambiente do runtime ao mesmo tempo?</string>
<string name="settings_is_clean_env_summary">Remover arquivo temporário do serviço do sistema em /data/system/hide_my_applist_*. Isso significa que você precisa iniciar o aplicativo de módulos uma vez manualmente no próximo reinício para habilitar interceptações, e a contagens de interceptações será apagada.</string>
<string name="settings_is_clean_env_summary">Remover arquivo temporário do serviço do sistema em /data/misc/hide_my_applist_*. Isso significa que você precisa iniciar o aplicativo de módulos uma vez manualmente no próximo reinício para habilitar interceptações, e a contagens de interceptações será apagada.</string>
<string name="settings_force_clean_env">Forçar a limpar o ambiente do runtime (root)</string>
<string name="settings_force_clean_env_summary">Apenas se o serviço de sistema falhar ao iniciar, por outro lado, você deve clicar acima da opção.</string>
<string name="settings_force_clean_env_toast_successful">Ambiente do runtime limpado</string>

Some files were not shown because too many files have changed in this diff Show more