Step 7: Add susfs interface

This commit is contained in:
ShirkNeko
2025-11-22 04:16:04 +08:00
parent 3dd210cfec
commit 0d73908d1b
9 changed files with 7477 additions and 1 deletions

View File

@@ -365,4 +365,250 @@
<!-- Zip Install Prompts -->
<string name="kernel_install_prompt_with_name">The following kernels will be installed: %1$s</string>
<string name="mixed_install_prompt_with_name">The following files will be installed: %1$s</string>
<!-- SuSFS Configuration -->
<string name="susfs_config_title">SuSFS Configuration</string>
<string name="susfs_config_summary">Configure SuSFS module settings</string>
<string name="susfs_config_description">Configuration Description</string>
<string name="susfs_config_description_text">This feature allows you to customize the SuSFS uname value and build time spoofing. Enter the values you want to set and click Apply to take effect</string>
<string name="susfs_uname_label">Uname Value</string>
<string name="susfs_uname_placeholder">Please enter custom uname value</string>
<string name="susfs_build_time_label">Build Time Spoofing</string>
<string name="susfs_build_time_placeholder">Please enter build time spoofing value</string>
<string name="susfs_current_value">Current value: %s</string>
<string name="susfs_current_build_time">Current build time: %s</string>
<string name="susfs_reset_to_default">Reset to Default</string>
<string name="susfs_apply">Apply</string>
<!-- SuSFS Reset Confirmation -->
<string name="susfs_reset_confirm_title">Confirm Reset</string>
<!-- SuSFS Toast Messages -->
<string name="susfs_binary_not_found">Cannot find ksu_susfs file</string>
<string name="susfs_command_failed">SuSFS command execution failed</string>
<string name="susfs_command_error">Error executing SuSFS command: %s</string>
<string name="susfs_uname_set_success" formatted="false">SuSFS uname and build time set successfully: %s, %s</string>
<!-- SuSFS Settings Item -->
<string name="susfs_config_setting_title">SuSFS Configuration</string>
<!-- 开机自启动相关 -->
<string name="susfs_autostart_title">Auto Start</string>
<string name="susfs_autostart_description">Automatically apply all non-default configurations on reboot</string>
<string name="susfs_autostart_requirement">Configuration needs to be added to enable</string>
<string name="susfs_autostart_enable_failed">Failed to enable auto start</string>
<string name="susfs_autostart_disable_failed">Failed to disable auto start</string>
<string name="susfs_autostart_error">Auto start configuration error: %s</string>
<string name="susfs_no_config_to_autostart">No available configuration for auto start</string>
<!-- SuSFS Tab Titles -->
<string name="susfs_tab_basic_settings">Basic Settings</string>
<string name="susfs_tab_sus_paths">SUS Paths</string>
<string name="susfs_tab_sus_mounts">SUS Mounts</string>
<string name="susfs_tab_try_umount">Try Umount</string>
<string name="susfs_tab_path_settings">Path Settings</string>
<string name="susfs_tab_enabled_features">Enabled Features Status</string>
<!-- SuSFS Path Management -->
<string name="susfs_add_sus_path">Add SUS Path</string>
<string name="susfs_add_sus_mount">Add SUS Mount</string>
<string name="susfs_add_try_umount">Add Try Umount</string>
<string name="susfs_sus_path_added_success">SUS path added successfully</string>
<string name="susfs_path_not_found_error">Path not found error</string>
<string name="susfs_path_label">Path</string>
<string name="susfs_mount_path_label">Mount Path</string>
<string name="susfs_path_placeholder">e.g.: /system/addon.d</string>
<string name="susfs_no_paths_configured">No SUS paths configured</string>
<string name="susfs_no_mounts_configured">No SUS mounts configured</string>
<string name="susfs_no_umounts_configured">No try umount configured</string>
<!-- SuSFS Umount Mode -->
<string name="susfs_umount_mode_label">Umount Mode</string>
<string name="susfs_umount_mode_normal">Normal Umount (0)</string>
<string name="susfs_umount_mode_detach">Detach Umount (1)</string>
<string name="susfs_umount_mode_normal_short">Normal</string>
<string name="susfs_umount_mode_detach_short">Detach</string>
<string name="susfs_umount_mode_display">Mode: %1$s (%2$s)</string>
<string name="susfs_try_umount_added_success">Try to umount path added successfully %s</string>
<string name="susfs_try_umount_added_saved">Attempted umount path save succeeded %s</string>
<!-- SuSFS Reset Categories -->
<string name="susfs_reset_paths_title">Reset SUS Paths</string>
<string name="susfs_reset_paths_message">This will clear all SUS path configurations. Are you sure you want to continue?</string>
<string name="susfs_reset_mounts_title">Reset SUS Mounts</string>
<string name="susfs_reset_mounts_message">This will clear all SUS mount configurations. Are you sure you want to continue?</string>
<string name="susfs_reset_umounts_title">Reset Try Umount</string>
<string name="susfs_reset_umounts_message">This will clear all try umount configurations. Are you sure you want to continue?</string>
<string name="susfs_reset_path_title">Reset Path Settings</string>
<!-- SuSFS Path Settings -->
<string name="susfs_android_data_path_label">Android Data Path</string>
<string name="susfs_sdcard_path_label">SD Card Path</string>
<string name="susfs_set_android_data_path">Set Android Data Path</string>
<string name="susfs_set_sdcard_path">Set SD Card Path</string>
<!-- SuSFS Enabled Features -->
<string name="susfs_enabled_features_description">Display current SuSFS enabled features status</string>
<string name="susfs_no_features_found">No feature status information found</string>
<string name="susfs_feature_enabled">Enabled</string>
<string name="susfs_feature_disabled">Disabled</string>
<!-- Feature Labels -->
<string name="sus_path_feature_label">SUS Path Support</string>
<string name="sus_mount_feature_label">SUS Mount Support</string>
<string name="try_umount_feature_label">Try Umount Support</string>
<string name="spoof_uname_feature_label">Spoof uname Support</string>
<string name="spoof_cmdline_feature_label">Spoof Cmdline/Bootconfig</string>
<string name="open_redirect_feature_label">Open Redirect Support</string>
<string name="enable_log_feature_label">Logging Support</string>
<string name="auto_default_mount_feature_label">Auto Default Mount</string>
<string name="auto_bind_mount_feature_label">Auto Bind Mount</string>
<string name="auto_try_umount_bind_feature_label">Auto Try Umount Bind Mount</string>
<string name="hide_symbols_feature_label">Hide KSU SUSFS Symbols</string>
<string name="sus_kstat_feature_label">SUS Kstat Support</string>
<string name="sus_su_feature_label">SUS SU mode switching function</string>
<!-- 可切换状态 -->
<string name="susfs_feature_configurable">Configurable SuSFS Features</string>
<string name="susfs_enable_log_label">SuSFS Enable Log</string>
<string name="susfs_log_config_description">Enable or disable logging for SuSFS</string>
<string name="susfs_log_config_title">SuSFS Logging Configuration</string>
<string name="susfs_log_enabled">Enabling SuSFS Logging</string>
<string name="susfs_log_disabled">Turn off SuSFS logging</string>
<string name="susfs_execution_location_label">Execution Location</string>
<string name="susfs_current_execution_location">Current execution location: %s</string>
<string name="susfs_execution_location_service">Service</string>
<string name="susfs_execution_location_post_fs_data">Post-FS-Data</string>
<string name="susfs_execution_location_service_description">Execute after system services start</string>
<string name="susfs_execution_location_post_fs_data_description">Execute after file system is mounted but before system is fully bootedMay cause a boot loop</string>
<string name="susfs_slot_info_title">Slot Information</string>
<string name="susfs_slot_info_description">View current boot slot information and copy values</string>
<string name="susfs_current_active_slot">Current Active Slot: %s</string>
<string name="susfs_slot_uname">Uname: %s</string>
<string name="susfs_slot_build_time">Build Time: %s</string>
<string name="susfs_slot_current_badge">Current</string>
<string name="susfs_slot_use_uname">Use Uname</string>
<string name="susfs_slot_use_build_time">Use Build Time</string>
<string name="susfs_slot_info_unavailable">Unable to retrieve slot information</string>
<!-- SuSFS 自启动相关字符串 -->
<string name="susfs_autostart_enabled_success">SuSFS auto-start module enabled, module path: %s</string>
<string name="susfs_autostart_disabled_success">SuSFS auto-start module disabled</string>
<!-- SuSFS Kstat相关字符串 -->
<string name="susfs_tab_kstat_config">Kstat Configuration</string>
<string name="kstat_static_config_added">Kstat static configuration added: %1$s</string>
<string name="kstat_config_removed">Kstat configuration removed: %1$s</string>
<string name="kstat_path_added">Kstat path added: %1$s</string>
<string name="kstat_path_removed">Kstat path removed: %1$s</string>
<string name="kstat_updated">Kstat updated: %1$s</string>
<string name="kstat_full_clone_updated">Kstat full clone updated: %1$s</string>
<string name="add_kstat_statically_title">Add Kstat Static Configuration</string>
<string name="file_or_directory_path_label">File/Directory Path</string>
<string name="hint_use_default_value">Hint: You can use "default" to use the original value</string>
<string name="add_kstat_path_title">Add Kstat Path</string>
<string name="add">Add</string>
<string name="reset_kstat_config_title">Reset Kstat Configuration</string>
<string name="reset_kstat_config_message">Are you sure you want to clear all Kstat configurations? This action cannot be undone</string>
<string name="kstat_config_description_title">Kstat Configuration Description</string>
<string name="kstat_config_description_add_statically">• add_sus_kstat_statically: Static stat info of files/directories</string>
<string name="kstat_config_description_add">• add_sus_kstat: Add path before bind mount, storing original stat info</string>
<string name="kstat_config_description_update">• update_sus_kstat: Update target ino, keep size and blocks unchanged</string>
<string name="kstat_config_description_update_full_clone">• update_sus_kstat_full_clone: Update ino only, keep other original values</string>
<string name="static_kstat_config">Static Kstat Configuration</string>
<string name="kstat_path_management">Kstat Path Management</string>
<string name="no_kstat_config_message">No Kstat configuration yet, click the button below to add</string>
<!-- SuSFS Mount Hiding Control Related Strings -->
<string name="susfs_hide_mounts_control_title">SUS Mount Hiding Control</string>
<string name="susfs_hide_mounts_control_description">Control the hiding behavior of SUS mounts for processes</string>
<string name="susfs_hide_mounts_for_all_procs_label">Hide SUS mounts for all processes</string>
<string name="susfs_hide_mounts_for_all_procs_enabled_description">When enabled, SUS mounts will be hidden from all processes, including KSU processes</string>
<string name="susfs_hide_mounts_for_all_procs_disabled_description">When disabled, SUS mounts will only be hidden from non-KSU processes, KSU processes can see the mounts</string>
<string name="susfs_hide_mounts_all_enabled">Enabled hiding SUS mounts for all processes</string>
<string name="susfs_hide_mounts_all_disabled">Disabled hiding SUS mounts for all processes</string>
<string name="susfs_hide_mounts_recommendation">It is recommended to set to disabled after screen is unlocked, or during service.sh or boot-completed.sh stage, as this should fix the issue on some rooted apps that rely on mounts mounted by KSU process</string>
<string name="susfs_hide_mounts_current_setting">Current setting: %s</string>
<string name="susfs_hide_mounts_setting_all">Hide for all processes</string>
<string name="susfs_hide_mounts_setting_non_ksu">Hide only for non-KSU processes</string>
<string name="susfs_android_data_path_set">Android Data path has been set to: %s</string>
<string name="susfs_sdcard_path_set">SD card path has been set to: %s</string>
<string name="susfs_path_setup_warning">Path setup may not be fully successful, but SUS paths will continue to be added</string>
<!-- 备份和还原相关字符串 -->
<string name="susfs_backup_title">Backup</string>
<string name="susfs_backup_description">Create a backup of all SuSFS configurations. The backup file will include all settings, paths, and configurations</string>
<string name="susfs_backup_create">Create Backup</string>
<string name="susfs_backup_success">Backup created successfully: %s</string>
<string name="susfs_backup_failed">Backup creation failed: %s</string>
<string name="susfs_backup_file_not_found">Backup file not found</string>
<string name="susfs_backup_invalid_format">Invalid backup file format</string>
<string name="susfs_backup_version_mismatch">Backup version mismatch, but will attempt to restore</string>
<string name="susfs_restore_title">Restore</string>
<string name="susfs_restore_description">Restore SuSFS configurations from a backup file. This will overwrite all current settings</string>
<string name="susfs_restore_select_file">Select Backup File</string>
<string name="susfs_restore_success" formatted="false">Configuration restored successfully from backup created on %s from device: %s</string>
<string name="susfs_restore_failed">Restore failed: %s</string>
<string name="susfs_restore_confirm_title">Confirm Restore</string>
<string name="susfs_restore_confirm_description">This will overwrite all current SuSFS configurations. Are you sure you want to continue?</string>
<string name="susfs_restore_confirm">Restore</string>
<string name="susfs_backup_info_date">Backup Date: %s</string>
<string name="susfs_backup_info_device">Device: %s</string>
<string name="susfs_backup_info_version">Version: %s</string>
<string name="hide_bl_script">Lock state</string>
<string name="hide_bl_script_description">Overwrite bootloader locking status attribute in late_start service mode</string>
<string name="cleanup_residue">Cleanup Residue</string>
<string name="cleanup_residue_description">Clean up the residual files and directories of various modules and tools (May be deleted by mistake, resulting in loss and failure to start, use with caution)</string>
<string name="susfs_edit_sus_path">Edit SUS Path</string>
<string name="susfs_edit_sus_mount">Edit SUS Mount</string>
<string name="susfs_edit_try_umount">Edit Try Umount</string>
<string name="edit_kstat_statically_title">Edit Kstat Static Configuration</string>
<string name="edit_kstat_path_title">Edit Kstat Path</string>
<string name="susfs_save">Save</string>
<string name="edit">Edit</string>
<string name="delete">Delete</string>
<string name="update">Update</string>
<string name="kstat_config_updated">Kstat config update</string>
<string name="kstat_path_updated">Kstat path update</string>
<string name="susfs_update_full_clone">Susfs update full clone</string>
<string name="umount_zygote_iso_service">Unmount Zygote Isolation Service</string>
<string name="umount_zygote_iso_service_description">Enable this option to unmount Zygote isolation service mount points at system startup</string>
<string name="umount_zygote_iso_service_enabled">Zygote isolation service unmount enabled</string>
<string name="umount_zygote_iso_service_disabled">Zygote isolation service unmount disabled</string>
<string name="app_paths_section">Application Path</string>
<string name="other_paths_section">Other paths</string>
<string name="add_custom_path">Other</string>
<string name="add_app_path">App</string>
<string name="susfs_add_app_path">Add App Path</string>
<string name="susfs_version_mismatch">SuSFS library version mismatch, kernel: %1$s vs manager: %2$s, It is recommended to update the kernel or manager</string>
<string name="warning">Warning</string>
<string name="search_apps">Search Apps</string>
<string name="selected_apps_count">%1$d apps selected</string>
<string name="already_added_apps_count">%1$d apps already added</string>
<string name="all_apps_already_added">All apps have been added</string>
<string name="no_apps_found">No apps found</string>
<!-- 循环路径相关 -->
<string name="susfs_tab_sus_loop_paths">SUS Loop Paths</string>
<string name="susfs_add_sus_loop_path">Add SUS Loop Path</string>
<string name="susfs_edit_sus_loop_path">Edit SUS Loop Path</string>
<string name="susfs_loop_path_added_success">SUS loop path added successfully: %1$s</string>
<string name="susfs_loop_path_removed">SUS loop path removed: %1$s</string>
<string name="susfs_loop_path_updated">SUS loop path updated: %1$s -> %2$s</string>
<string name="susfs_no_loop_paths_configured">No SUS loop paths configured</string>
<string name="susfs_reset_loop_paths_title">Reset Loop Paths</string>
<string name="susfs_reset_loop_paths_message">Are you sure you want to clear all SUS loop paths? This action cannot be undone</string>
<string name="susfs_loop_path_label">Loop Path</string>
<string name="susfs_loop_path_placeholder">/data/example/path</string>
<string name="susfs_loop_path_restriction_warning">Note: Only paths NOT inside /storage/ and /sdcard/ can be added via loop paths</string>
<string name="susfs_loop_path_invalid_location">Error: Loop paths cannot be inside /storage/ or /sdcard/ directories</string>
<string name="loop_paths_section">Loop Paths</string>
<string name="add_loop_path">Add Loop Path</string>
<!-- 循环路径功能描述 -->
<string name="sus_loop_paths_description_title">Loop Path Configuration</string>
<string name="sus_loop_paths_description_text">Loop paths are re-flagged as SUS_PATH on each non-root user app or isolated service startup. This helps address issues where added paths may have their inode status reset or inode re-created in the kernel</string>
<string name="avc_log_spoofing">AVC Log Spoofing</string>
<string name="avc_log_spoofing_enabled">AVC log spoofing has been enabled</string>
<string name="avc_log_spoofing_disabled">AVC log spoofing has been disabled</string>
<string name="avc_log_spoofing_description">Disabled: Disable spoofing the sus tcontext of \'su\' shown in avc log in kernel\nEnabled: Enable spoofing the sus tcontext of \'su\' with \'kernel\' shown in avc log in kernel</string>
<string name="avc_log_spoofing_warning">Important Note:\n- It is set to \'0\' by default in kernel\n- Enabling this will sometimes make developers hard to identify the cause when they are debugging with some permission or SELinux issue, so users are advised to disable this when doing</string>
<!-- SUS Map related strings -->
<string name="susfs_tab_sus_maps">SUS Maps</string>
<string name="susfs_sus_map_label">Library Path</string>
<string name="susfs_sus_map_placeholder">/data/adb/modules/my_module/zygisk/arm64-v8a.so</string>
<string name="susfs_add_sus_map">Add SUS Map</string>
<string name="susfs_edit_sus_map">Edit SUS Map</string>
<string name="susfs_sus_map_added_success">SUS map added successfully: %1$s</string>
<string name="susfs_sus_map_removed">SUS map removed: %1$s</string>
<string name="susfs_sus_map_updated">SUS map updated: %1$s -> %2$s</string>
<string name="susfs_no_sus_maps_configured">No SUS maps configured</string>
<string name="susfs_reset_sus_maps_title">Reset SUS Maps</string>
<string name="susfs_reset_sus_maps_message">This will remove all configured SUS maps. This action cannot be undone.</string>
<string name="sus_maps_section">Memory Map Hiding</string>
<string name="sus_maps_description_title">Hide the mmapped real file from various maps in /proc/self/</string>
<string name="sus_maps_description_text">Hide the real file paths of memory mappings from /proc/self/[maps|smaps|smaps_rollup|map_files|mem|pagemap]. Please note: This feature does not support hiding anonymous memory mappings, nor can it hide inline hooks or PLT hooks caused by the injected library itself.</string>
<string name="sus_maps_warning">Important Notice: For applications with well-implemented injection detection mechanisms, this feature may not effectively bypass detection.</string>
<string name="sus_maps_debug_info">First, find the target application\'s PID and UID using ps -enf, then check the relevant paths in /proc/&lt;pid&gt;/maps and compare the device numbers with those in /proc/1/mountinfo to ensure consistency. Only when the device numbers match can the map hiding function work properly.</string>
</resources>