You've already forked KernelSU-Next
mirror of
https://github.com/KernelSU-Next/KernelSU-Next.git
synced 2025-08-27 23:46:34 +00:00
website: resides in docs dir
This commit is contained in:
7
docs/assets/bootstrap/css/bootstrap.min.css
vendored
Normal file
7
docs/assets/bootstrap/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
6
docs/assets/bootstrap/js/bootstrap.min.js
vendored
Normal file
6
docs/assets/bootstrap/js/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
docs/assets/icons/yin-yang.png
Normal file
BIN
docs/assets/icons/yin-yang.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
61
docs/assets/js/bold-and-dark.js
Normal file
61
docs/assets/js/bold-and-dark.js
Normal file
@@ -0,0 +1,61 @@
|
||||
(function() {
|
||||
"use strict"; // Start of use strict
|
||||
|
||||
function initParallax() {
|
||||
|
||||
if (!('requestAnimationFrame' in window)) return;
|
||||
if (/Mobile|Android/.test(navigator.userAgent)) return;
|
||||
|
||||
var parallaxItems = document.querySelectorAll('[data-bss-parallax]');
|
||||
|
||||
if (!parallaxItems.length) return;
|
||||
|
||||
var defaultSpeed = 0.5;
|
||||
var visible = [];
|
||||
var scheduled;
|
||||
|
||||
window.addEventListener('scroll', scroll);
|
||||
window.addEventListener('resize', scroll);
|
||||
|
||||
scroll();
|
||||
|
||||
function scroll() {
|
||||
|
||||
visible.length = 0;
|
||||
|
||||
for (var i = 0; i < parallaxItems.length; i++) {
|
||||
var rect = parallaxItems[i].getBoundingClientRect();
|
||||
var speed = parseFloat(parallaxItems[i].getAttribute('data-bss-parallax-speed'), 10) || defaultSpeed;
|
||||
|
||||
if (rect.bottom > 0 && rect.top < window.innerHeight) {
|
||||
visible.push({
|
||||
speed: speed,
|
||||
node: parallaxItems[i]
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
cancelAnimationFrame(scheduled);
|
||||
|
||||
if (visible.length) {
|
||||
scheduled = requestAnimationFrame(update);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function update() {
|
||||
|
||||
for (var i = 0; i < visible.length; i++) {
|
||||
var node = visible[i].node;
|
||||
var speed = visible[i].speed;
|
||||
|
||||
node.style.transform = 'translate3d(0, ' + (-window.scrollY * speed) + 'px, 0)';
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
initParallax();
|
||||
})(); // End of use strict
|
||||
|
||||
124
docs/index.html
Normal file
124
docs/index.html
Normal file
@@ -0,0 +1,124 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
||||
<title>Home | KernelSU Next</title>
|
||||
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&display=swap">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<nav class="navbar navbar-dark navbar-expand-md sticky-top py-3" id="mainNav">
|
||||
<div class="container">
|
||||
<a class="navbar-brand d-flex align-items-center" href="/">
|
||||
<span style="color: rgb(255,168,168);">KernelSU Next</span>
|
||||
</a>
|
||||
<button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-1">
|
||||
<span class="visually-hidden">Toggle navigation</span>
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navcol-1">
|
||||
<ul class="navbar-nav mx-auto">
|
||||
<li class="nav-item"></li>
|
||||
<li class="nav-item"></li>
|
||||
<li class="nav-item"></li>
|
||||
</ul>
|
||||
<a class="navbar-brand d-flex align-items-center" href="https://github.com/rifsxd/KernelSU-Next" target="_blank">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16" class="bi bi-github" style="font-size: 24px;">
|
||||
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<header class="bg-dark">
|
||||
<div class="container pt-4 pt-xl-5">
|
||||
<div class="row pt-5">
|
||||
<div class="col-md-8 col-xl-6 text-center text-md-start mx-auto">
|
||||
<div class="text-center">
|
||||
<h1 class="fs-1 fw-bold text-start" style="color: rgb(255,192,192);">KernelSU Next</h1>
|
||||
<h1 class="fw-bolder text-start" style="color: rgb(255,118,118);">A kernel-based root solution for Android</h1>
|
||||
</div>
|
||||
<p class="fs-5 fw-bold text-start" style="color: rgb(255,202,202);">Supports kernel 4.9 - 6.6 (NON-GKI & GKI)</p>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div></div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" viewBox="0 0 16 16" class="bi bi-yin-yang" style="font-size: 170px;color: rgb(255,244,244);">
|
||||
<path d="M9.167 4.5a1.167 1.167 0 1 1-2.334 0 1.167 1.167 0 0 1 2.334 0Z"></path>
|
||||
<path d="M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0ZM1 8a7 7 0 0 1 7-7 3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 0 0 7 7 7 0 0 1-7-7Zm7 4.667a1.167 1.167 0 1 1 0-2.334 1.167 1.167 0 0 1 0 2.334Z"></path>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<section class="py-5">
|
||||
<div class="container">
|
||||
<h2 class="fs-2 fw-bold text-start" style="color: rgb(255,192,192);">Installation</h2>
|
||||
<p style="color: rgb(255,192,192);">Copy and paste the commands below to install KernelSU Next.</p>
|
||||
<div>
|
||||
<pre><code style="color: rgb(255,118,118);">curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -</code><button class="btn" style="color: rgb(255,192,192); padding: 5px 10px; font-size: 12px;" onclick="copyToClipboard(this)">Copy to Clipboard!</button></pre>
|
||||
</div>
|
||||
<p style="color: rgb(255,192,192);">For SuSFS implementation, the commands should be the dedicated branches for your kernel. (For example - next-susfs-a13-5.15)</p>
|
||||
<div>
|
||||
<pre><code style="color: rgb(255,118,118);">curl -LSs "https://raw.githubusercontent.com/rifsxd/KernelSU-Next/next/kernel/setup.sh" | bash -s next-susfs-a13-5.15</code><button class="btn" style="color: rgb(255,192,192); padding: 5px 10px; font-size: 12px;" onclick="copyToClipboard(this)">Copy to Clipboard!</button></pre>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
function copyToClipboard(button) {
|
||||
// Find the <code> element
|
||||
var code = button.previousElementSibling.innerText;
|
||||
|
||||
// Create a temporary textarea to copy the text
|
||||
var textarea = document.createElement('textarea');
|
||||
textarea.value = code;
|
||||
document.body.appendChild(textarea);
|
||||
|
||||
// Select and copy the content
|
||||
textarea.select();
|
||||
document.execCommand('copy');
|
||||
|
||||
// Remove the temporary textarea
|
||||
document.body.removeChild(textarea);
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
<section class="py-5">
|
||||
<div class="container">
|
||||
<h2 class="fs-2 fw-bold text-start" style="color: rgb(255,192,192);">Info</h2>
|
||||
<p class="fs-4 fw-bold text-start" style="color: rgb(255,192,192);">KernelSU Next has many features and improvements!</p>
|
||||
<p style="color: rgb(255,192,192);">just mentioning a few features</p>
|
||||
<ol style="color: rgb(255,202,202);">
|
||||
<li>NON-GKI kernel support from 4.x - 5.4 (LTS)</li>
|
||||
<li>GKI kernels can use LKM/KMI methods for installation.</li>
|
||||
<li>Dedicated pre-patched SuSFS branches to hide root effectively.</li>
|
||||
<li>New manager features and UI ovehaul.</li>
|
||||
<li>Module install confirmation window.</li>
|
||||
<li>Restoration of module after uninstallaion.</li>
|
||||
<li>SuSFS based features and info. (SuSFS patched kernels only)</li>
|
||||
<li>Sparse image size lowered to an optimal value of 16GB.</li>
|
||||
<li>Has it's own SuSFS library for cli commands.</li>
|
||||
<li>Manager app can get auto updates from new releases.</li>
|
||||
<li>More frequent updates and upcoming features.</li>
|
||||
</ol>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<footer class="py-3 bg-dark text-light">
|
||||
<div class="container text-center">
|
||||
<p style="color: rgb(255,202,202);" class="mb-0">© 2024 KernelSU Next. All rights reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
|
||||
<script src="assets/js/bold-and-dark.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user