Step 4: Add KPM interface and flash anykernel3

This commit is contained in:
ShirkNeko
2025-11-20 03:18:13 +08:00
parent 9574409955
commit d2a6fa4513
19 changed files with 3386 additions and 65 deletions

View File

@@ -246,4 +246,93 @@
<string name="theme_light">浅色</string>
<string name="theme_dark">深色</string>
<string name="theme_follow_system">跟随系统</string>
<!-- Kernel Flash Progress Related -->
<string name="horizon_flash_complete">刷入完成</string>
<string name="horizon_preparing">准备中…</string>
<string name="horizon_cleaning_files">清理文件…</string>
<string name="horizon_copying_files">复制文件…</string>
<string name="horizon_extracting_tool">解压刷机工具…</string>
<string name="horizon_patching_script">修补刷机脚本…</string>
<string name="horizon_flashing">正在刷入内核…</string>
<string name="horizon_flash_complete_status">刷入已完成</string>
<string name="select_slot_title">选择刷入槽位</string>
<string name="select_slot_description">请选择要刷入boot的目标槽位</string>
<string name="slot_a">槽位 A</string>
<string name="slot_b">槽位 B</string>
<string name="selected_slot">已选槽位: %1$s</string>
<string name="horizon_getting_original_slot">获取原始槽位</string>
<string name="horizon_setting_target_slot">设置指定槽位</string>
<string name="horizon_restoring_original_slot">恢复默认槽位</string>
<string name="current_slot">当前系统默认槽位:%1$s </string>
<string name="horizon_copy_failed">复制失败</string>
<string name="horizon_unknown_error">未知错误</string>
<string name="flash_failed_message">刷入失败</string>
<string name="Lkm_install_methods">LKM 修复/安装</string>
<string name="GKI_install_methods">刷入 AnyKernel3</string>
<string name="kernel_version_log">内核版本:%1$s</string>
<string name="tool_version_log">使用的修补工具:%1$s</string>
<string name="configuration">配置</string>
<string name="app_settings">应用程序设置</string>
<string name="tools">工具</string>
<string name="root_required">需要root权限</string>
<string name="kpm_patch_options">KPM 补丁</string>
<string name="kpm_patch_description">用于添加额外的KPM功能</string>
<string name="enable_kpm_patch">KPM 补丁</string>
<string name="kpm_patch_switch_description">在刷入前对内核镜像应用KPM补丁</string>
<string name="enable_kpm_undo_patch">KPM 撤销补丁</string>
<string name="kpm_undo_patch_switch_description">撤销之前应用的KPM补丁</string>
<string name="kpm_patch_enabled">KPM 补丁已启用</string>
<string name="kpm_undo_patch_enabled">KPM 撤销补丁已启用</string>
<string name="kpm_patch_mode">KPM 补丁模式</string>
<string name="kpm_undo_patch_mode">KPM 撤销补丁模式</string>
<string name="kpm_preparing_tools">准备KPM工具</string>
<string name="kpm_applying_patch">应用KPM补丁</string>
<string name="kpm_undoing_patch">撤销KPM补丁</string>
<string name="kpm_found_image_file">找到镜像文件: %s</string>
<string name="kpm_patch_success">KPM 补丁应用成功</string>
<string name="kpm_undo_patch_success">KPM 补丁撤销成功</string>
<string name="kpm_file_repacked">文件重新打包成功</string>
<string name="kpm_extract_zip_failed">解压zip文件失败</string>
<string name="kpm_image_file_not_found">未找到镜像文件</string>
<string name="kpm_patch_failed">KPM 补丁失败</string>
<string name="kpm_undo_patch_failed">KPM 撤销补丁失败</string>
<string name="kpm_patch_operation_failed">KPM 补丁操作失败: %s</string>
<string name="kpm_follow_kernel_file">跟随内核</string>
<string name="kpm_follow_kernel_description">原样使用内核不进行任何KPM修改</string>
<string name="kernel_flashing">内核刷入</string>
<string name="horizon_kernel">AnyKernel3 内核</string>
<string name="horizon_kernel_summary">刷入AnyKernel3格式的内核zip包</string>
<!-- kpm -->
<string name="kpm_title">KPM</string>
<string name="kpm_empty">当前没有安装内核模块</string>
<string name="kpm_version">版本</string>
<string name="kpm_author">作者</string>
<string name="kpm_uninstall">卸载</string>
<string name="kpm_uninstall_success">卸载成功</string>
<string name="kpm_uninstall_failed">卸载失败</string>
<string name="kpm_install_success">kpm 模块加载成功</string>
<string name="kpm_install_failed">kpm 模块加载失败</string>
<string name="kpm_args">参数</string>
<string name="kpm_control">执行</string>
<string name="home_kpm_version">KPM 版本</string>
<string name="close_notice">关闭</string>
<string name="kernel_module_notice">以下内核模块功能由 KernelPatch 开发,并经过修改后加入了 SukiSU Ultra 的内核模块功能</string>
<string name="home_ContributionCard_kernelsu">SukiSU Ultra 期待</string>
<string name="kpm_control_success">成功</string>
<string name="kpm_control_failed">失败</string>
<string name="home_click_to_ContributionCard_kernelsu">SukiSU Ultra 在未来将是 KSU 的相对独立分支,但我们仍然感谢官方 KernelSU 和 MKSU 等的贡献!</string>
<string name="not_supported">不支持</string>
<string name="supported">支持</string>
<string name="kernel_patched">内核未修补</string>
<string name="kernel_not_enabled">内核未配置</string>
<string name="custom_settings">自定义设置</string>
<string name="kpm_install_mode">KPM 安装</string>
<string name="kpm_install_mode_load">加载</string>
<string name="kpm_install_mode_embed">嵌入</string>
<string name="kpm_install_mode_description">请选择:%1$s 模块安装模式\n\n加载临时加载模块\n嵌入永久安装到系统中</string>
<string name="invalid_file_type">文件类型不正确!请选择 .kpm 文件</string>
<string name="confirm_uninstall_title_with_filename">卸载</string>
<string name="confirm_uninstall_content">以下 KPM 将被卸载:%s</string>
<string name="snackbar_failed_to_check_module_file">无法检查模块文件是否存在</string>
<string name="cancel">取消</string>
</resources>

View File

@@ -250,4 +250,93 @@
<string name="theme_light">Light</string>
<string name="theme_dark">Dark</string>
<string name="theme_follow_system">Follow System</string>
<!-- Kernel Flash Progress Related -->
<string name="horizon_flash_complete">Flash Complete</string>
<string name="horizon_preparing">Preparing…</string>
<string name="horizon_cleaning_files">Cleaning files…</string>
<string name="horizon_copying_files">Copying files…</string>
<string name="horizon_extracting_tool">Extracting flash tool…</string>
<string name="horizon_patching_script">Patching flash script…</string>
<string name="horizon_flashing">Flashing kernel…</string>
<string name="horizon_flash_complete_status">Flash completed</string>
<string name="select_slot_title">Select Flash Slot</string>
<string name="select_slot_description">Please select the target slot for flashing boot</string>
<string name="slot_a">Slot A</string>
<string name="slot_b">Slot B</string>
<string name="selected_slot">Selected slot: %1$s</string>
<string name="horizon_getting_original_slot">Getting the original slot</string>
<string name="horizon_setting_target_slot">Setting the specified slot</string>
<string name="horizon_restoring_original_slot">Restore Default Slot</string>
<string name="current_slot">Current system default slot%1$s </string>
<string name="horizon_copy_failed">Copy failed</string>
<string name="horizon_unknown_error">Unknown error</string>
<string name="flash_failed_message">Flash failed</string>
<string name="Lkm_install_methods">LKM repair/installation</string>
<string name="GKI_install_methods">Flashing AnyKernel3</string>
<string name="kernel_version_log">Kernel version%1$s</string>
<string name="tool_version_log">Using the patching tool%1$s</string>
<string name="configuration">Configure</string>
<string name="app_settings">Application Settings</string>
<string name="tools">Tools</string>
<string name="root_required">Requires root privileges</string>
<string name="kpm_patch_options">KPM Patch</string>
<string name="kpm_patch_description">For adding additional KPM features</string>
<string name="enable_kpm_patch">KPM Patch</string>
<string name="kpm_patch_switch_description">Apply KPM patch to kernel image before flashing</string>
<string name="enable_kpm_undo_patch">KPM Undo Patch</string>
<string name="kpm_undo_patch_switch_description">Undo previously applied KPM patch</string>
<string name="kpm_patch_enabled">KPM patch enabled</string>
<string name="kpm_undo_patch_enabled">KPM undo patch enabled</string>
<string name="kpm_patch_mode">KPM Patch Mode</string>
<string name="kpm_undo_patch_mode">KPM Undo Patch Mode</string>
<string name="kpm_preparing_tools">Preparing KPM tools</string>
<string name="kpm_applying_patch">Applying KPM patch</string>
<string name="kpm_undoing_patch">Undoing KPM patch</string>
<string name="kpm_found_image_file">Found Image file: %s</string>
<string name="kpm_patch_success">KPM patch applied successfully</string>
<string name="kpm_undo_patch_success">KPM patch undone successfully</string>
<string name="kpm_file_repacked">File repacked successfully</string>
<string name="kpm_extract_zip_failed">Failed to extract zip file</string>
<string name="kpm_image_file_not_found">Image file not found</string>
<string name="kpm_patch_failed">KPM patch failed</string>
<string name="kpm_undo_patch_failed">KPM undo patch failed</string>
<string name="kpm_patch_operation_failed">KPM patch operation failed: %s</string>
<string name="kpm_follow_kernel_file">Follow Kernel</string>
<string name="kpm_follow_kernel_description">Use kernel as-is without any KPM modifications</string>
<string name="kernel_flashing">Kernel Flashing</string>
<string name="horizon_kernel">AnyKernel3 Kernel</string>
<string name="horizon_kernel_summary">Flash AnyKernel3 format kernel zip</string>
<!-- kpm -->
<string name="kpm_title">KPM</string>
<string name="kpm_empty">No installed kernel modules at this time</string>
<string name="kpm_version">Version</string>
<string name="kpm_author">Author</string>
<string name="kpm_uninstall">Uninstall</string>
<string name="kpm_uninstall_success">Uninstalled successfully</string>
<string name="kpm_uninstall_failed">Failed to uninstall</string>
<string name="kpm_install_success">Load of kpm module successful</string>
<string name="kpm_install_failed">Load of kpm module failed</string>
<string name="kpm_args">Parameters</string>
<string name="kpm_control">Execute</string>
<string name="home_kpm_version">KPM Version</string>
<string name="close_notice">Close</string>
<string name="kernel_module_notice">The following kernel module functions were developed by KernelPatch and modified to include the kernel module functions of SukiSU Ultra</string>
<string name="home_ContributionCard_kernelsu">SukiSU Ultra Look forward to</string>
<string name="kpm_control_success">Success</string>
<string name="kpm_control_failed">Failed</string>
<string name="home_click_to_ContributionCard_kernelsu">SukiSU Ultra will be a relatively independent branch of KSU in the future, but we still appreciate the official KernelSU and MKSU etc. for their contributions!</string>
<string name="not_supported">Unsupported</string>
<string name="supported">Supported</string>
<string name="kernel_patched">Kernel not patched</string>
<string name="kernel_not_enabled">Kernel not configured</string>
<string name="custom_settings">Custom settings</string>
<string name="kpm_install_mode">KPM Install</string>
<string name="kpm_install_mode_load">Load</string>
<string name="kpm_install_mode_embed">Embed</string>
<string name="kpm_install_mode_description">Please select: %1\$s Module Installation Mode \n\nLoad: Temporarily load the module \nEmbedded: Permanently install into the system</string>
<string name="invalid_file_type">Incorrect file type! Please select .kpm file</string>
<string name="confirm_uninstall_title_with_filename">Uninstall</string>
<string name="confirm_uninstall_content">The following KPM will be uninstalled: %s</string>
<string name="snackbar_failed_to_check_module_file">Unable to check if module file exists</string>
<string name="cancel">Cancel</string>
</resources>