diff --git a/docs/.vitepress/locales/en_US.ts b/docs/.vitepress/locales/en_US.ts index 1b326b5..57cea68 100644 --- a/docs/.vitepress/locales/en_US.ts +++ b/docs/.vitepress/locales/en_US.ts @@ -11,7 +11,7 @@ export default defineConfig({ { text: 'Installation', link: '/pages/installation' }, { text: 'Devices', link: '/pages/devices' } ], - + sidebar: [ { text: 'Guide', @@ -21,10 +21,10 @@ export default defineConfig({ ] } ], - + footer: { - message: 'Released under the GPL2 and GPL3 License.', - copyright: '© 2025 KernelSU Next. All rights reserved' + message: 'Released under the GPL 2 and GPL 3 license.', + copyright: '© 2025 KernelSU Next. All rights reserved.' }, socialLinks: [ diff --git a/docs/.vitepress/locales/index.ts b/docs/.vitepress/locales/index.ts index 015f453..e6566c9 100644 --- a/docs/.vitepress/locales/index.ts +++ b/docs/.vitepress/locales/index.ts @@ -1,5 +1,6 @@ import { defineConfig } from 'vitepress' import en_US from './en_US' +import pt_BR from './pt_BR' import zh_CN from './zh_CN' export default defineConfig({ @@ -10,6 +11,13 @@ export default defineConfig({ themeConfig: en_US.themeConfig, description: en_US.description }, + pt_BR: { + label: 'Português (Brasil)', + link: pt_BR.link, + lang: pt_BR.lang, + themeConfig: pt_BR.themeConfig, + description: pt_BR.description + }, zh_CN: { label: '简体中文', link: zh_CN.link, @@ -18,4 +26,4 @@ export default defineConfig({ description: zh_CN.description } } -}) \ No newline at end of file +}) diff --git a/docs/.vitepress/locales/pt-BR.ts b/docs/.vitepress/locales/pt-BR.ts new file mode 100644 index 0000000..0fae650 --- /dev/null +++ b/docs/.vitepress/locales/pt-BR.ts @@ -0,0 +1,36 @@ +import { defineConfig } from 'vitepress' + +// https://vitepress.dev/reference/site-config +export default defineConfig({ + lang: 'pt_BR', + link: '/pt_BR/', + description: "Uma solução root baseada em kernel para Android", + themeConfig: { + // https://vitepress.dev/reference/default-theme-config + nav: [ + { text: 'Início', link: '/pt_BR/' }, + { text: 'Instalação', link: '/pt_BR/pages/installation' }, + { text: 'Dispositivos', link: '/pt_BR/pages/devices' } + ], + + sidebar: [ + { + text: 'Guia', + items: [ + { text: 'Instalação', link: '/pt_BR/pages/installation' }, + { text: 'Dispositivos', link: '/pt_BR/pages/devices' } + ] + } + ], + + footer: { + message: 'Lançado sob a licença GPL 2 e GPL 3.', + copyright: '© 2025 KernelSU Next. Todos os direitos reservados.' + }, + + socialLinks: [ + { icon: 'github', link: 'https://github.com/KernelSU-Next' }, + { icon: 'telegram', link: 'https://t.me/ksunext' } + ] + } +}) diff --git a/docs/.vitepress/locales/zh_CN.ts b/docs/.vitepress/locales/zh_CN.ts index 06033e1..489eaed 100644 --- a/docs/.vitepress/locales/zh_CN.ts +++ b/docs/.vitepress/locales/zh_CN.ts @@ -12,7 +12,7 @@ export default defineConfig({ { text: '安装', link: '/zh_CN/pages/installation' }, { text: '设备', link: '/zh_CN/pages/devices' } ], - + sidebar: [ { text: 'Guide', @@ -22,10 +22,10 @@ export default defineConfig({ ] } ], - + footer: { - message: 'Released under the GPL2 and GPL3 License.', - copyright: '© 2025 KernelSU Next. All rights reserved' + message: 'Released under the GPL 2 and GPL 3 license.', + copyright: '© 2025 KernelSU Next. All rights reserved.' }, socialLinks: [ diff --git a/docs/index.md b/docs/index.md index e38bf85..6088f83 100644 --- a/docs/index.md +++ b/docs/index.md @@ -6,7 +6,7 @@ title: Home hero: name: "KernelSU Next" text: "An advanced kernel-based root solution for Android" - tagline: Supports kernel 4.4 - 6.6 (Non-GKI & GKI) + tagline: Supports kernels 4.4 - 6.6 (Non-GKI & GKI) image: src: /logo.png alt: "KernelSU Next" @@ -15,34 +15,33 @@ hero: text: Installation link: pages/installation - theme: alt - text: Github + text: GitHub link: https://github.com/KernelSU-Next/KernelSU-Next features: - title: Non-GKI kernel support - details: Non-GKI kernel support from 4.x - 5.4 with LTS mode (3.x is experimental) + details: Supports non-GKI kernels from 4.x - 5.4 with LTS mode (3.x is experimental). - title: GKI kernel support - details: GKI kernels support from 5.10 - 6.6 with GKI mode (6.6+ is experimental) + details: Supports GKI kernels from 5.10 - 6.6 with GKI mode (6.6+ is experimental). - title: Dynamic module mount - details: Includes both Magic Mount and OverlayFS, which can be switched from the settings with a single toggle + details: Includes support for Magic Mount and OverlayFS, which can be switched from the settings with a single toggle. - title: New manager features - details: Manager app has a new, redesigned look with several feature improvements and a UI overhaul - - title: Module backup & restoration - details: Allows for backup and restoration of modules, whether they were uninstalled accidentally, you changed your mind, or you simply want to restore a specific backup - - title: Auto-updates - details: Manager app updates automatically with new releases + details: The manager app features a redesigned interface with several improvements and a complete UI overhaul. + - title: Module backup & restore + details: Allows backup and restoration of modules, whether they were accidentally uninstalled, you changed your mind, or want to restore a specific backup. + - title: Automatic updates + details: The manager app updates automatically with each new release. - title: Frequent updates - details: Frequently updated with lots of upcoming features + details: Regularly updated with many upcoming features and improvements. - title: Hide hosts - details: Hides hosts file modifications from detectors using app profile unmount, allowing you to use ad blockers without any hassle + details: Hides hosts file modifications from detectors using App Profile unmount, allowing ad blockers to work seamlessly. - title: Bulk installation - details: Bulk install multiple modules at once, select all the modules you want and everything will be installed in serial + details: Install multiple modules at once, select all desired modules and they'll be installed sequentially. - title: Custom image size - details: Customizable OverlayFS sparse image size to whatever value that suits your needs, default size is 6GB - - title: SU Allowlist backup & restoration - details: Backup and restore SU permission allowlist for all apps you previously given, useful to restore all the SU permissions you previously allowed on different device or setup - - title: SuSFS Controls & Info - details: Get compatibility/basic info for SuSFS & Controls for KPROBES hooks hiding mode + details: Customize the size of the OverlayFS sparse image to suit your needs. The default size is 6 GB. + - title: SU allowlist backup & restore + details: Backup and restore the SU permission allowlist for all previously granted apps, making it easy to recover permissions on a new device or setup. + - title: SuSFS controls & info + details: View compatibility details and basic info about SuSFS, along with controls for KPROBES hook-hiding mode. - title: WebUI X - details: WebUI X is an innovative way to manage WebUIs, which has a lot more system level APIs the module/webui developers can elevate for their needs, it also has monet support for seamless Material U look all around - + details: WebUI X offers an innovative way to manage WebUIs, featuring enhanced system-level APIs that module/WebUI developers can leverage. It also includes Monet support for a consistent Material You design throughout. diff --git a/docs/pages/devices.md b/docs/pages/devices.md index dc5ec93..8aff9f5 100644 --- a/docs/pages/devices.md +++ b/docs/pages/devices.md @@ -1,10 +1,10 @@ # Unofficially supported devices >[!info] -> Here is the list of devices unofficially supported by KernelSU Next +> Here's the list of devices unofficially supported by KernelSU Next. >[!warning] -> In this page, there are kernels for devices unofficially supporting KernelSU Next, maintained by other developers. So, be cautious about what you are flashing! +> In this page, there are kernels for devices unofficially supported by KernelSU Next, maintained by other developers. So, be cautious about what you're flashing! + + + + + + + + + + + + + + + + +
MantenedorRepositórioDispositivos suportados
{{ repo.maintainer }}{{ repo.kernel_name }}{{ repo.devices }}
\ No newline at end of file diff --git a/docs/pt_BR/pages/installation.md b/docs/pt_BR/pages/installation.md new file mode 100644 index 0000000..818ad5d --- /dev/null +++ b/docs/pt_BR/pages/installation.md @@ -0,0 +1,24 @@ +# Instalação + +## Fácil integração + +Copie, cole e execute! Comandos CLI de fácil integração. + +>[!note] OBSERVAÇÃO +>Execute os comandos a seguir no diretório raiz do código-fonte do kernel, conforme suas necessidades. +Atenção: o branch `Dev` ainda não foi completamente testado e pode não ser adequado para a maioria dos dispositivos. Caso encontre algum bug, você pode corrigi-lo por conta própria ou relatar o problema ao desenvolvedor. + +### KernelSU Next + +::: code-group +```sh [Último lançamento] +curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/next/kernel/setup.sh" | bash - +``` + +```sh [Branch next (dev)] +curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/next/kernel/setup.sh" | bash -s next +``` + +```sh [Tag específica] +curl -LSs "https://raw.githubusercontent.com/KernelSU-Next/KernelSU-Next/next/kernel/setup.sh" | bash -s v1.0.8 +``` \ No newline at end of file diff --git a/docs/zh_CN/index.md b/docs/zh_CN/index.md index 9464252..005f2c9 100644 --- a/docs/zh_CN/index.md +++ b/docs/zh_CN/index.md @@ -1,7 +1,7 @@ --- # https://vitepress.dev/reference/default-theme-home-page layout: home -title: Android 上的高级内核级 root 解决方案 +title: 开始 hero: name: "KernelSU Next" @@ -15,34 +15,33 @@ hero: text: 安装 link: /zh_CN/pages/installation - theme: alt - text: Github + text: GitHub link: https://github.com/KernelSU-Next/KernelSU-Next features: - title: 非 GKI 内核支持 - details: 4.x - 5.4 版本支持非 GKI 内核,且采用 LTS 模式(3.x 版本为实验性版本) + details: 4.x - 5.4 版本支持非 GKI 内核,且采用 LTS 模式(3.x 版本为实验性版本)。 - title: GKI 内核支持 - details: 5.10 - 6.6 版本支持 GKI 内核,且采用 GKI 模式(6.6 及以上版本为实验性版本) + details: 5.10 - 6.6 版本支持 GKI 内核,且采用 GKI 模式(6.6 及以上版本为实验性版本)。 - title: 动态模块挂载 - details: 支持 Magic Mount 和 OverlayFS 两种模块挂载模式,可根据喜好通过设置轻松切换 + details: 支持 Magic Mount 和 OverlayFS 两种模块挂载模式,可根据喜好通过设置轻松切换。 - title: 全新设计的管理器 - details: 管理器应用现在拥有一个全新设计的界面并带来了多个功能改进 + details: 管理器应用现在拥有一个全新设计的界面并带来了多个功能改进。 - title: 模块备份与恢复 details: 支持备份及恢复安装过的所有模块,再也不用担心模块不翼而飞了! - title: 自动更新 - details: 管理器应用会自动检查最新版本的更新 + details: 管理器应用会自动检查最新版本的更新。 - title: 马不停蹄 - details: 管理团队定期更新并带来许多令人耳目一新的新功能 + details: 管理团队定期更新并带来许多令人耳目一新的新功能。 - title: 隐藏 Hosts - details: 通过应用程序配置文件卸载隐藏对 hosts 文件的修改,让你无障碍使用广告拦截器 + details: 通过应用程序配置文件卸载隐藏对 Hosts 文件的修改,让你无障碍使用广告拦截器。 - title: 批量安装 - details: 一次批量安装多个模块,选择你需要的所有模块,管理器会自动依次安装 + details: 一次批量安装多个模块,选择你需要的所有模块,管理器会自动依次安装。 - title: 自定义镜像大小 - details: 可自定义 OverlayFS 稀疏镜像大小以满足你的需求,默认大小为 6GB + details: 可自定义 OverlayFS 稀疏镜像大小以满足你的需求,默认大小为 6 GB。 - title: 超级用户列表备份与恢复 - details: 备份和恢复所有授予超级用户权限的 APP 列表及其 APP Profile 配置,妈妈再也不用担心配置丢失了! + details: 备份和恢复所有授予超级用户权限的 App 列表及其 App Profile 配置,妈妈再也不用担心配置丢失了! - title: SuSFS 运行控制 - details: 获取 SuSFS 的运行状态(如有)以及操作 KPROBES 钩子隐藏模式 + details: 获取 SuSFS 的运行状态(如有)以及操作 KPROBES 钩子隐藏模式。 - title: WebUI X - details: 是一种管理 WebUI 的创新方法,它拥有更多系统级 API,模块/WebUI 开发者可以根据自身需求进行升级,同时还支持无缝衔接的 Material U 界面。 - + details: 是一种管理 WebUI 的创新方法,它拥有更多系统级 API,模块/WebUI 开发者可以根据自身需求进行升级,同时还支持无缝衔接的 Material You 界面。 diff --git a/docs/zh_CN/pages/devices.md b/docs/zh_CN/pages/devices.md index 652566b..671c99e 100644 --- a/docs/zh_CN/pages/devices.md +++ b/docs/zh_CN/pages/devices.md @@ -1,9 +1,9 @@ # 非官方支持设备 >[!info] 信息 -> 由其他开发者维护的支持 KernelSU Next 的非 GKI 设备内核 +> 由其他开发者维护的支持 KernelSU Next 的非 GKI 设备内核。 ->[!warning] 请注意: +>[!warning] 请注意 > 这些内核未经过 KernelSU Next 团队审查,请在使用前自行确保其安全性!