Skip to content

Commit

Permalink
Migrate config dir to /data/misc (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
aviraxp authored Dec 22, 2024
1 parent ec6e290 commit cac3430
Show file tree
Hide file tree
Showing 34 changed files with 56 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-af-rZA/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ar-rSA/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ca-rES/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-cs-rCZ/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-da-rDK/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-de-rDE/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-el-rGR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-es-rES/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-fi-rFI/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-fr-rFR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-hu-rHU/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-it-rIT/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-iw-rIL/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ja-rJP/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ko-rKR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Loading

0 comments on commit cac3430

Please sign in to comment.