Releases: gorillanobakaa-dot/debian-kernel
Release list
Linux 7.0.9 Unleashed (Braveheart Edition)
Linux 7.0.9 Unleashed — Braveheart Edition
Everything is on this page. The complete documentation for this kernel — twenty-five optimisations, what each one does, and how to install and verify it — is printed below in full.
Install it
sudo dpkg -i linux-image-7.0.9-unleashed-*.deb linux-headers-7.0.9-unleashed-*.debThen restart.
Linux 7.0.9 Unleashed — Custom Kernel Builder
A fully automated repository containing patches, configurations, and a one-click build utility to recreate our custom-tuned, high-performance Debian/Ubuntu Linux kernel.
🧸 Layman Explanation (For Non-Technical Users)
🌟 Sharing is Caring: Why We Do This (Open Source Ethos)
This project is built on the core philosophy of open source: sharing is caring. Technology shouldn't be locked behind arbitrary barriers, artificial limiters, or complicated instructions. Even though I am still a student and learning every day, I believe in giving back to the community and society that built the very tools we use. By publishing this work and providing pre-compiled packages, we make high-performance systems accessible to everyone—from hardcore developers to regular users who just want their computers to run faster. Layman users and testers are the most consistent and valuable feedback providers. Your real-world testing helps us understand what works and what doesn't. Sharing our tweaks is our way of contributing to a cooperative world.
🏛️ The Rationale: Bypassing the "Rental Car" Governors
Standard operating systems are configured like rental cars. They have strict speed limiters (governors) built into their systems to make sure the hardware never runs too hot, never violates old regional regulations, and never draws too much power. This makes them safe for everyone, but it means you are only getting 50% of the performance you actually paid for.
In this kernel, we have completely cut those handcuffs. Your computer will now run at its absolute maximum hardware limits, treating your networks and processors like a race car on an open track.
🛠️ The 27 Crucial Upgrades (Explained Simply)
📡 Part 1: Atheros Wi-Fi & Regulatory Overrides (12 Tweaks)
Your Wi-Fi card is physically capable of broadcasting much louder and using wider channels, but it is forced to be "polite." Here is how we unleashed it:
- Unlocking Regional Bans: We stripped the regional code locks. Your card can now scan and broadcast on channels that are normally banned in your country.
- Channel 14 Access: We unlocked Channel 14, the rarest and cleanest channel in the 2.4GHz spectrum, which is normally locked down globally.
- Bypassing Radar Locks (DFS): Normally, if your card hears a whisper of radar, it shuts down or throttles. We bypassed this, allowing you to use high-speed DFS channels without interruption.
- Active Scanning (No-IR Bypass): We unlocked active scanning on all channels, allowing your device to actively search for access points instead of waiting passively.
- Enabling Wide Lanes (HT40/80/160/320): Regional constraints that disable wide frequency lanes (like 40MHz on 2.4GHz or 160/320MHz on 5/6GHz) are stripped, allowing maximum channel widths.
- Ignoring Nearby Neighbors: Normally, if your card hears a neighbor’s Wi-Fi router, it drops from the fast lane (40MHz) to the slow lane (20MHz) to prevent interference. We told the card to ignore neighbors and stay in the fast lane.
- Braveheart Power Amplifier Override: We bypassed power limits, telling the wireless transmitter to output at the maximum possible electrical power the silicon can handle.
- Permanent Coexistence Activation: We forced Bluetooth and Wi-Fi coexistence features to remain permanently active so they coordinate efficiently without crashing.
- Boot-Time Power Boost: We set the driver to initialize the card at maximum broadcast power immediately upon system boot.
- Bypassing Decryption Timeout Lag: We moved Wi-Fi decryption from the card's slow hardware chip to your fast computer CPU. This prevents connection timeouts and delays when waking the laptop from sleep.
- WLAN Airtime Dominance: Wi-Fi and Bluetooth share the same antenna. We configured the controller to give Wi-Fi 100% airtime priority over Bluetooth.
- Bluetooth Coexistence Stomping: If Wi-Fi and Bluetooth try to talk at the exact same millisecond, Wi-Fi "stomps" over the Bluetooth signal, ensuring your internet throughput never drops for accessories.
🔊 Part 2: Realtek Audio Lag Annihilation (3 Tweaks)
Sound cards try to save power by going to sleep, which causes popping, crackling, and latency:
13. King Kong Audio Roar: We bypassed the default software gain limits on the Sony VAIO headphone and speaker jacks, unlocking a massive audio boost up to +60dB.
14. System Interrupt Suppression: Every time the audio card changes power states, it interrupts the CPU. We stabilized the audio routing to stop these interrupt spikes, eliminating micro-stutters.
15. VAIO Pin Grounding: We grounded unused microphone line pins to stop electrical background hiss and static noise from leaking into your headphones.
🚀 Part 3: High-Speed TCP Networking (12 Tweaks)
Linux network settings were designed in the era of dial-up internet. We scaled the buffer pipes to match modern multi-gigabit fiber connections:
16. Firehose Startup (128 CWND): Instead of testing the connection slowly (sending 10 packets), we blast 128 packets of data instantly during the initial connection.
17. Hyper-Fast Recovery (10ms RTO): If a packet is lost, standard systems wait 200 milliseconds to retry. We slashed this to 10 milliseconds.
18. Unresponsive Host Fail-Fast: We slashed the time limit for retrying dead connections from 2 minutes to 3 seconds.
19. Instant Handshake: Slash initial connection timeout from 1 second to 100 milliseconds to connect to web servers instantly.
20. Rapid Delayed ACKs: Slash acknowledgment delays to 20ms maximum to keep data flowing without pauses.
21. Instant Socket Recycling: Slash the wait time to destroy dead sockets from 60 seconds to 1 second, keeping memory clean.
22. SYN Handshake Fail-Fast: Limit initial connection request (SYN) retries to 3 attempts, freeing resources from dead-weight connections fast.
23. SYN-ACK Handshake Fail-Fast: Limit connection confirmation (SYN-ACK) retries to 3 attempts, preventing the system from wasting time on dead routes.
24. Fail-Fast Linger: Reduced TCP connection close retry attempts from 15 to 8 to clean up and close connections twice as fast.
25. Fast Keepalive Probes: Slashed idle keepalive verification from 2 hours to 15 minutes to clear out dead routes.
26. Industrial-Sized Data Pipes: We expanded the memory buffers for reading and writing data from a few kilobytes to 16 Megabytes (default) and 64 Megabytes (maximum).
27. Preventing Window Collapse: We locked the initial transmission window clamp to 65,535 packets to prevent the system from shrinking your internet pipes during minor network jitters.
💻 Developer & GitHub Explanation (For Technical Users)
Technical Specifications:
This repository contains 8 patched source files and a compiler-optimized kernel configuration (kernel.config) derived from the stable Linux 7.0.9 tree.
Detailed Patched Code & Rationale:
1. Global Regulatory Annihilation — net/wireless/reg.c
- What we did: Stripped all channel flag restrictions in
map_regdom_flags(). - Details:
- Clears
IEEE80211_CHAN_NO_IR(No Initiate Radiation/Active Scan) globally. - Clears
IEEE80211_CHAN_RADAR(disabling DFS/Radar lockout loops). - Clears
IEEE80211_CHAN_DISABLED(enabling regionally locked frequencies like 2.4GHz Channel 14). - Clears all wide-band channel restriction flags (
NO_HT40,NO_80MHZ,NO_160MHZ,NO_HE,NO_EHT,NO_UHR,NO_320MHZ).
- Clears
2. Interference Shielding & Max Power — drivers/net/wireless/ath/ath9k/hw.c
- What we did: Bypassed energy detection threshold checks and power limits.
- Details:
- Forces
ah->config.cwm_ignore_extcca = true;inath9k_hw_init_config()to maintain 40MHz HT channel width even in highly congested 2.4GHz spectrum. - Overrides
ath9k_hw_apply_txpower()variableschan_pwrandnew_pwrtoMAX_COMBINED_POWER, forcing maximum radio broadcast levels.
- Forces
3. Bluetooth Coexistence priority — drivers/net/wireless/ath/ath9k/btcoex.c
- What we did: Re-scheduled WLAN/Bluetooth priority weights.
- Details:
- Overrode
.wl_active_time = 0xFFand.wl_qc_time = 0xFFinbtcoex.cto reserve maximum airtime slot ratios for WLAN traffic over Bluetooth.
- Overrode
4. Bluetooth Stomping & GPIO Power — drivers/net/wireless/ath/ath9k/gpio.c
- What we did: Forced the coexistence stomping policy.
- Details:
- Overrode
stomp_type = ATH_BTCOEX_STOMP_NONE;inside the priority sequencer to ensure Wi-Fi traffic never yields or throttles to Bluetooth signals during active transfers or background scanning.
- Overrode
5. Driver Crypto Offloading & Initial Power — drivers/net/wireless/ath/ath9k/init.c
- What we did: Changed module defaults and forced boot-time power states.
- Details:
- Set
ath9k_modparam_nohwcrypt = 1;as default to offload WEP/TKIP/AES-CCMP cryptography to host CPU threads, eliminating post-suspend reconnection failures and hardware decryption queue stalls...
- Set
Gorilla Kernel 7.0.5 Official Release
Gorilla Kernel 7.0.5 — Official Release
Everything you need is on this page. The install guide, the technical guide and the transparency statement are printed below in full.
🦍 Gorilla Kernel Ultimate: Speed Restore Guide
What is this?
Think of this as the "Ultimate Engine" for your Linux computer. This is a custom-built Linux Kernel (the core part of your operating system) that has been "supercharged" for maximum speed, security, and stability.
Kernel Target Name: 7.0.5+Gorilla.Unleashed.Ultimate.20Gbps+timestamp
What does it do for you?
Most kernels are built to be "one size fits all." The Gorilla Kernel is different:
- Ultra-High Performance: Optimized to make your computer feel faster and more responsive.
- Ready-to-Install: It comes as a simple package that you can install without knowing how to compile code.
- Autonomous Tuning: Includes scripts that automatically "tune" your system to get the most out of your hardware.
⚡ 7.0.5 Specific Hardware Tuning
- AHCI & BFQ over NVMe: The kernel optimizes I/O paths specifically for SATA AHCI and the BFQ scheduler, explicitly targeting the Kingston DC600M SATA Enterprise SSD. NVMe optimizations have been disabled.
- NO_HZ_IDLE over NO_HZ_FULL: We downgraded the tickless kernel configuration from
NO_HZ_FULLtoNO_HZ_IDLE. This was a necessary change to fix severe desktop latency and scheduling issues on the non-isolated 4-core mobile CPU (i7-3632QM). - 16GB RAM Protection (TCP Memory Bounds): Implemented strict
tcp_memlimits (786432 1048576 1572864) to prevent system lockups or crashes during extreme Deluge seeding alongside Wayland and heavy Web browser sessions (Telegram Web, WhatsApp Web).
Why is it good to have?
- Better Gaming/Work: Lower latency means things happen exactly when you click.
- Enhanced Security: Hardened against common attacks.
- Rock-Solid Stability: Tested to ensure your system doesn't crash under heavy loads.
🚀 How to Install (One Command)
If you are using a Debian-based system (like the one this was built on), simply run the following command in this folder:
sudo dpkg -i linux-image-7.0.5+Gorilla.Unleashed.Ultimate.20Gbps_amd64.deb linux-headers-7.0.5+Gorilla.Unleashed.Ultimate.20Gbps_amd64.debAfter it finishes, restart your computer, and you will be running on the Gorilla Ultimate engine!
🧠 Technical Deep Dive: Gorilla Kernel Ultimate 7.0.5+Gorilla.Unleashed.Ultimate.20Gbps
This document explains exactly what was modified in this kernel build, the implications of the optimizations used, and how to adapt this project for different hardware.
Target Kernel Name: 7.0.5+Gorilla.Unleashed.Ultimate.20Gbps+timestamp
🛠️ Step-by-Step Build Logic
The build process follows these specific phases:
1. Source & Environment Preparation
- Kernel Base: Standard Upstream Linux 7.0.5.
- Environment: Compiled on Debian Trixie/Sid using
schache.
2. Core Scheduling & Latency Tuning (NO_HZ_IDLE)
- Downgrade to NO_HZ_IDLE: We explicitly transitioned away from
NO_HZ_FULLtoNO_HZ_IDLE. WhileNO_HZ_FULLtheoretically reduces tick overhead, on a non-isolated 4-core mobile CPU (i7-3632QM), it caused severe desktop latency and scheduling stalls. Reverting toNO_HZ_IDLErestores smooth desktop performance and process scheduling under Wayland.
3. I/O Subsystem (AHCI & BFQ)
- SATA Enterprise Focus: NVMe optimizations have been removed in favor of SATA AHCI tuning. The I/O scheduler defaults to BFQ (Budget Fair Queuing). This setup explicitly targets the Kingston DC600M SATA enterprise SSD, maximizing IOPS and responsiveness over the SATA III interface.
4. Extreme TCP Memory Protection
- 16GB RAM Bounds: To prevent system lockups and kernel OOM (Out of Memory) kills during aggressive peer-to-peer operations (e.g., extreme Deluge seeding) running concurrently with Wayland and heavy browser tabs (Telegram Web, WhatsApp Web), strict network bounds are enforced.
- TCP Mem Limits:
net.ipv4.tcp_mem = 786432 1048576 1572864.
5. Hardware-Specific Patching (ALC269 Sound Boost)
The script performs a surgical injection into the kernel source:
- File:
sound/hda/codecs/realtek/alc269.c - Action: Injects a custom fixup function
alc269_fixup_sony_sve14. - Effect: Overrides amplifier capabilities (
snd_hda_override_amp_caps) on Node0x02to provide a +15dB Gain Boost. This fixes the notoriously quiet speakers on Sony Vaio SVE series laptops.
6. Networking & Congestion Control (BBR + CAKE)
- TCP BBR: Google's "Bottleneck Bandwidth and Round-trip propagation time" congestion control is set as the default (
CONFIG_TCP_CONG_BBR=y). - FQ & CAKE: The "Fair Queuing" and "Common Applications Kept Enhanced" (CAKE) schedulers are built-in (
CONFIG_NET_SCH_CAKE=y). This significantly reduces "bufferbloat" and improves latency under load.
7. Monolithic Drivers & Firmware Embedding
- Built-in Graphics:
CONFIG_DRM_I915andCONFIG_DRM_RADEONare set toy(Built-in) rather thanm(Module). - Baked-in Firmware: To ensure the GPU initializes instantly without waiting for an initrd, the Radeon firmware (
TURKS_mc.bin, etc.) is embedded directly into the kernel image viaCONFIG_EXTRA_FIRMWARE.
⚠️ The -march=native Warning
CRITICAL: This specific build was compiled with the flag KCFLAGS="-march=native".
What does this mean?
When using -march=native, the compiler (GCC) detects the exact instruction set of the processor performing the build (in this case, an Intel i7-3632QM Ivy Bridge). It then optimizes the code specifically for that chip, utilizing instructions like AVX, F16C, and specific pipeline timings.
The Risk
If you try to install these .deb packages on a different processor (e.g., an AMD Ryzen or a newer/older Intel chip), the kernel may Kernel Panic or exhibit illegal instruction errors immediately upon boot because it tries to use hardware features that don't exist or behave differently on your CPU.
🛠️ How to Adapt for YOUR Processor
If you want to replicate this build for your own hardware, follow these steps:
1. Modify ULTIMATE_GORILLA_KERNEL.sh
Open the script and locate the Compilation section (around line 105).
Change this:
export KCFLAGS="-march=native"To your specific architecture:
- For generic compatibility:
export KCFLAGS="-march=x86-64-v3"(Works on most modern CPUs). - For your own machine: Keep it as
nativebut run the script on your target machine.
2. Update Firmware (If not using Radeon)
If you do not have a Radeon GPU, you should comment out or update the firmware list to avoid build errors.
Locate:
FW_LIST="radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin radeon/TURKS_smc.bin"
./scripts/config --set-val CONFIG_EXTRA_FIRMWARE "$FW_LIST"Action: If you have an NVIDIA or Intel-only setup, comment these lines out or replace them with your specific microcode/firmware.
3. Disable the Sound Patch (If not a Sony Vaio)
If you are not using a Sony SVE14 laptop, the sound patch will not harm you (it's triggered by a PCI Subsystem ID check), but it's cleaner to remove it.
Action: Comment out the "APPLY SOUND BOOST PATCH" block (Section 2 in the script).
4. Adjust the Config Base
The script looks for performance_tuned.config. If your hardware is significantly different:
- Run
make localmodconfigfirst to detect your modules. - Use that as your base
.configinstead of the one provided in this package.
Gorilla Unleashed - Open Source Transparency & Reproducibility Report
Project Philosophy
In the spirit of the pure open-source movement, this document provides a comprehensive audit trail of the modifications, scripts, and configurations applied to create the Gorilla Performance Build paired with the highly tuned Linux 7.0.5+Gorilla.Unleashed.Ultimate.20Gbps Kernel.
1. "Total Hybridization" Strategy
Rationale: We merge the strict privacy framework of Gorilla (Defense-in-Depth) with aggressive "Gorilla Excision" (purging unnecessary kernel modules, bloat-ware drivers, and non-essential tracing components) to form an incredibly lightweight, secure, and fast system environment.
2. Advanced Kernel Orchestration
Rationale: Standard generic kernels leave massive performance on the table. The "Gorilla Ultimate 20Gbps" kernel applies surgical hardware targeting:
- Optimization Flags:
-O3 -march=ivybridge -mtune=ivybridgedirectly targeting the i7-3632QM. - 20Gbps Networking: Integration of BBR, FQ, XDP Sockets, and hardware crypto offloading to saturate modern high-speed links (benefiting Telegram Web, WhatsApp Web, Deluge).
- RAM Protection: Strict
tcp_membounds (786432 1048576 1572864) to prevent OOM panics on 16GB systems. - Desktop Responsiveness: Switched from
NO_HZ_FULLtoNO_HZ_IDLEcombined with Wayland KMS tuning for Intel HD 4000 / Radeon HD 7670M. - Storage: Hardcoded
SATA AHCIandBFQscheduler to perfectly match the Kingston DC600M Enterprise SSD.
3. Transparent Build Automation
Every aspect of this build is transparent, fully logged, and 100% reproducible via shell scripts rather than hidden binary patching.
- Master Script:
ULTIMATE_GORILLA_KERNEL.sh - 1-Click Execution:
1_CLICK_BUILD_KERNEL.sh - Audit Logs: See
Execution_Log_20260510.mdfor a precise breakdown of agent actions and parameter injections.
4. How to Replicate or Audit
- Audit: Read the
.shscripts. They dynamically pull pristine source code (e.g.,linux-7.0.5.tar.xz), inject C patches (like the 40dB ALC269 Sound Boost), and map configurations in real-time. - Replicate: Run
1_CLICK_BUILD_KERNEL.shon an identical hardware profile to perfectly reproduce the Debian kernel packages.
Bu...
Linux 6.19.13-7 ULTIMATE — prebuilt Debian packages
Linux 6.19.13-7 ULTIMATE — prebuilt Debian packages
Everything you need to decide whether to install this is on this page. The full layman guide and the technical manual are printed below in full, not linked — a page that says "see the docs" is a closed door.
Install it
sudo dpkg -i linux-image-6.19.13_6.19.13-7-ULTIMATE_amd64.deb linux-headers-6.19.13_6.19.13-7-ULTIMATE_amd64.debThen restart. SHA256SUMS below lets you check the downloads first: sha256sum -c SHA256SUMS
🦍 Gorilla Kernel Ultimate: Speed Restore Guide
What is this?
Think of this as the "Ultimate Engine" for your Linux computer. This is a custom-built Linux Kernel (the core part of your operating system) that has been "supercharged" for maximum speed, security, and stability.
What does it do for you?
Most kernels are built to be "one size fits all." The Gorilla Kernel is different:
- Ultra-High Performance: Optimized to make your computer feel faster and more responsive.
- Ready-to-Install: It comes as a simple package that you can install without knowing how to compile code.
- Autonomous Tuning: Includes scripts that automatically "tune" your system to get the most out of your hardware.
Why is it good to have?
- Better Gaming/Work: Lower latency means things happen exactly when you click.
- Enhanced Security: Hardened against common attacks.
- Rock-Solid Stability: Tested to ensure your system doesn't crash under heavy loads.
🚀 How to Install (One Command)
If you are using a Debian-based system (like the one this was built on), simply run the following command in this folder:
sudo dpkg -i linux-image-6.19.13_6.19.13-7-ULTIMATE_amd64.deb linux-headers-6.19.13_6.19.13-7-ULTIMATE_amd64.debAfter it finishes, restart your computer, and you will be running on the Gorilla Ultimate engine!
Gorilla Kernel 6.19.13-ULTIMATE: Technical Manual
🦍 Overview
The Gorilla Kernel is a custom upstream Linux kernel build, specifically tuned for maximum throughput and minimum latency on modern amd64 hardware. It incorporates performance patches, security hardening, and a highly optimized .config.
🏗️ Technical Specifications
- Version: 6.19.13
- Suffix: 7-ULTIMATE
- Architecture: amd64
- Optimization Level:
-O3/ Ivy Bridge+ Target - Scheduler: Optimized for interactive desktop performance.
📂 Included Components
linux-image-*.deb: The main kernel binary and modules.linux-headers-*.deb: Headers for compiling out-of-tree modules (e.g., NVIDIA drivers).performance_tuned.config: The master configuration file used for the build.TUNE_AUTONOMOUS.sh: Script for real-time kernel parameter optimization (sysctl, CPU governors).ULTIMATE_GORILLA_KERNEL.sh: Master build and orchestration script for local recompilation.
🛠️ Operational Commands
Installation
sudo dpkg -i linux-image-6.19.13_6.19.13-7-ULTIMATE_amd64.deb
sudo dpkg -i linux-headers-6.19.13_6.19.13-7-ULTIMATE_amd64.debAutonomous Tuning
Execute the tuning script to apply runtime optimizations:
bash TUNE_AUTONOMOUS.shVerification
Check the active kernel version:
uname -aExpected output includes: 6.19.13-7-ULTIMATE
🎯 Key Optimizations
- CPU Governor: Defaulted to
performancefor maximum clock frequency. - I/O Scheduler: Optimized for NVMe and SSD low-latency access.
- Network Stack: Hardened against SYN floods and optimized for high-bandwidth transfers.
- Memory Management: Aggressive transparent hugepages usage.
⚖️ License
- Kernel Core: GNU General Public License v2.0.
- Project Wrapper/Scripts: MIT License.
🧠 Technical Deep Dive: Gorilla Kernel 6.19.13-7-ULTIMATE
This document explains exactly what was modified in this kernel build, the implications of the optimizations used, and how to adapt this project for different hardware.
🛠️ Step-by-Step Build Logic
The build process follows these specific phases:
1. Source & Environment Preparation
- Kernel Base: Standard Upstream Linux 6.19.13.
- Environment: Compiled on Debian Trixie/Sid using
gcc.
2. Hardware-Specific Patching (ALC269 Sound Boost)
The script ULTIMATE_GORILLA_KERNEL.sh performs a surgical injection into the kernel source:
- File:
sound/hda/codecs/realtek/alc269.c - Action: Injects a custom fixup function
alc269_fixup_sony_sve14. - Effect: Overrides amplifier capabilities (
snd_hda_override_amp_caps) on Node0x02to provide a +15dB Gain Boost. This fixes the notoriously quiet speakers on Sony Vaio SVE series laptops.
3. Networking & Congestion Control (BBR + CAKE)
Instead of using standard Cubic or Reno as modules, this kernel bakes high-performance logic directly into the binary:
- TCP BBR: Google's "Bottleneck Bandwidth and Round-trip propagation time" congestion control is set as the default (
CONFIG_TCP_CONG_BBR=y). - FQ & CAKE: The "Fair Queuing" and "Common Applications Kept Enhanced" (CAKE) schedulers are built-in (
CONFIG_NET_SCH_CAKE=y). This significantly reduces "bufferbloat" and improves latency under load.
4. Monolithic Drivers & Firmware Embedding
- Built-in Graphics:
CONFIG_DRM_I915andCONFIG_DRM_RADEONare set toy(Built-in) rather thanm(Module). - Baked-in Firmware: To ensure the GPU initializes instantly without waiting for an initrd, the Radeon firmware (
TURKS_mc.bin, etc.) is embedded directly into the kernel image viaCONFIG_EXTRA_FIRMWARE.
⚠️ The -march=native Warning
CRITICAL: This specific build was compiled with the flag KCFLAGS="-march=native".
What does this mean?
When using -march=native, the compiler (GCC) detects the exact instruction set of the processor performing the build (in this case, an Intel i7-3632QM Ivy Bridge). It then optimizes the code specifically for that chip, utilizing instructions like AVX, F16C, and specific pipeline timings.
The Risk
If you try to install these .deb packages on a different processor (e.g., an AMD Ryzen or a newer/older Intel chip), the kernel may Kernel Panic or exhibit illegal instruction errors immediately upon boot because it tries to use hardware features that don't exist or behave differently on your CPU.
🛠️ How to Adapt for YOUR Processor
If you want to replicate this build for your own hardware, follow these steps:
1. Modify ULTIMATE_GORILLA_KERNEL.sh
Open the script and locate the Compilation section (around line 105).
Change this:
export KCFLAGS="-march=native"To your specific architecture:
- For generic compatibility:
export KCFLAGS="-march=x86-64-v3"(Works on most modern CPUs). - For your own machine: Keep it as
nativebut run the script on your target machine.
2. Update Firmware (If not using Radeon)
If you do not have a Radeon GPU, you should comment out or update the firmware list to avoid build errors.
Locate:
FW_LIST="radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin radeon/TURKS_smc.bin"
./scripts/config --set-val CONFIG_EXTRA_FIRMWARE "$FW_LIST"Action: If you have an NVIDIA or Intel-only setup, comment these lines out or replace them with your specific microcode/firmware.
3. Disable the Sound Patch (If not a Sony Vaio)
If you are not using a Sony SVE14 laptop, the sound patch will not harm you (it's triggered by a PCI Subsystem ID check), but it's cleaner to remove it.
Action: Comment out the "APPLY SOUND BOOST PATCH" block (Section 2 in the script).
4. Adjust the Config Base
The script looks for performance_tuned.config. If your hardware is significantly different:
- Run
make localmodconfigfirst to detect your modules. - Use that as your base
.configinstead of the one provided in this package.
Source tree: versions/6.19.13/. Consolidated into this repository on 2026-08-18 from kernel-6.19.13-ultimate, which is now archived and read-only.
🦍 Linux 7.1.2 Unleashed — Build #17
🦍 Gorilla Unleashed Kernel Build
Auto-built from commit 83e7cd78e0556c0051226a51ff9b02fb57b1da23 on main.
Every patch was verified against pristine upstream before this was
compiled — see the "Verify patch set integrity" step in the build log.
⚠️ Read this first — keep your current kernel
Installing this does not remove your existing kernel, and you should
not remove it either. If this one misbehaves, reboot, hold SHIFT
(or tap Esc), choose Advanced options, and pick your previous
kernel. Nothing is lost and no reinstall is needed.
Install
sudo dpkg -i linux-image-*.deb linux-headers-*.deb
sudo rebootThen check it:
./kernel_selftest.shDo not install
linux-libc-devif you see it anywhere. Those are
userspace headers your distribution already manages, and replacing
them with a custom build can confuseapt. Only the image and
headers packages above are meant to be installed.
What's actually in it
- Wi-Fi deregulation, all four layers — restriction flags, the
Atheros re-stamp, the AP's 802.11d country IE, and the AP's 802.11h
power constraint. Your router no longer decides what your radio may do. - HT40 CCA override — keeps 40 MHz width in noisy environments.
- TCP: BBR + fq_codel, initial congestion window raised to 128.
- ALC269 EAPD fixup — Sony VAIO speakers are no longer muffled by
the BIOS. - Forensic filesystem support — EROFS (Android images), exFAT,
NTFS3, HFS+, and the rest.
Honest limits. This cannot make a radio transmit beyond its
factory-calibrated ceiling — no software can. Performance items are
design rationale, not benchmarks: no A/B measurement has been run.
See docs/VERIFIED_MEASUREMENTS.md, which lists explicitly what was
not measured.
CI builds use -O3 only. Local builds add -march=native, which a
shared runner cannot do correctly.
Your kernel, explained
The complete plain-language guide, printed here in full rather than linked.
Welcome. You installed the Gorilla Unleashed kernel. This guide walks you through
what it actually does, in plain English, with the exact commands to see it for
yourself. You will not break anything by following along — every command here
just reads and shows. Nothing here changes your system unless the guide
literally says "this changes something," and even then it tells you how to undo it.
Two voices in this guide. Each section has a 🧸 plain-English part
(no jargon, promise) and a 💻 developer part (the facts, the risks, the
config). Read one, both, or skip around. They're the same truth told twice.
A word before we start: you are about to type things into a black window called a
terminal. When output scrolls past, that is normal. When something says
is not set, that is information, not an error. You did not break it. You are
also — sorry — not a hacker yet. Reading your own settings is the computer
equivalent of checking your car's tyre pressure. Necessary, sensible, not
exactly Mission: Impossible. Put the balaclava away. 🙂
0. The one trick that powers this whole guide: look inside your own kernel
We built your kernel so it carries a copy of its own settings. You can read them.
Open a terminal and type:
$ zcat /proc/config.gz | grep CONFIG_HZ=
CONFIG_HZ=1000
🧸 What just happened: you asked the kernel "hey, what's your heartbeat set
to?" and it answered 1000. That's it. zcat = "show me a zipped file",
/proc/config.gz = "the kernel's own settings", grep = "find just the line I
care about". If nothing comes back, the setting simply isn't in this kernel —
also a valid answer. Nobody exploded.
💻 Why it exists: CONFIG_IKCONFIG_PROC=y. Most distro kernels ship this; it
exposes the build config read-only at /proc/config.gz. It's how we verify a
build actually contains what we intended (we check the running kernel against its
own config, not against a file we hope matches). You can audit us the same way.
Keep this trick in your pocket — every section below, you can confirm with your
own eyes.
1. MAGIC_SYSRQ — the "talk straight to the kernel" key
$ cat /proc/sys/kernel/sysrq
438
🧸 Plain English: there's a secret handshake — hold Alt + SysRq (SysRq
is usually the Print Screen key) and press one more letter — that talks
directly to the kernel, even if everything on screen has frozen solid. The most
useful one to remember, if your machine ever locks up hard: the calm word
"REISUB" (some people remember it as "BUSIER backwards"). Tapping
Alt+SysRq and then, slowly, R‑E‑I‑S‑U‑B, tells the kernel to flush your files
to disk, unmount them safely, and reboot — instead of you yanking the power and
risking your data. It's a fire escape, not a party trick. The number 438 above
just means "the safe subset of these is switched on."
💻 FACT. CONFIG_MAGIC_SYSRQ=y. Provides low-level kernel commands via
Alt+SysRq+ (or the serial console, or echo <key> > /proc/sysrq-trigger)
regardless of userspace state: sync, remount-ro, terminate/kill tasks,
reboot/poweroff, dump state.
💻 ASSESSMENT. Risk: local/physical only — someone at your keyboard (or on a
serial console) could force a reboot or remount. It is not a remote hole.
Gap: fully enabled (1) it's a local denial-of-service / debug-bypass toy.
💻 MITIGATION / CONFIG. We ship a restricted bitmask, not 1. The live
value 438 enables: log‑level control, keyboard SAK, sync, remount‑ro,
reboot/poweroff, RT‑nice — and deliberately omits the memory/register
dump bits. See it decoded:
# The bitmask, if you're curious what 438 actually permits:
# 2 log-level · 4 keyboard(SAK) · 16 sync · 32 remount-ro · 128 reboot · 256 nice
# NOT set: 8 (memory/task dumps). Safe recovery set, no info-dump.
To go stricter (sync only) or off entirely, as root:
echo 16 > /proc/sys/kernel/sysrq (sync only) or echo 0 … (off). Persist it in
/etc/sysctl.d/. We think 438 is the right balance for a recovery-first kernel.
2. Your fan should be quieter now — the CPU governor
$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
schedutil
🧸 Plain English: the "governor" is how your laptop decides how fast to run
the engine. The old setup pinned it to maximum, always — which is why your
15‑year‑old fan sounded like it was preparing for take‑off. We switched it to
schedutil, which means "run fast when there's real work, calm down when
there isn't." Same speed when you need it, much less noise and heat when you're
just reading this. If you ever want the fan-blasting always‑max mode back (say,
for a heavy render): sudo cpupower frequency-set -g performance.
💻 FACT. CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL=y. schedutil drives P‑states
from the scheduler's real load signal — near-instant ramp, no polling lag.
performance and ondemand are also compiled in if you prefer them.
3. Your internet, tuned: BBR + fq_codel
$ cat /proc/sys/net/ipv4/tcp_congestion_control
bbr
🧸 Plain English: BBR is a smarter way of deciding how hard to push data
onto the network. The old default (cubic) basically speeds up until something
breaks, then backs off — fine on a perfect wire, clumsy on Wi‑Fi. BBR instead
measures how fast your connection really is and fills it smoothly. Paired with
fq_codel, which stops one big download from adding lag to your video call,
the practical result is: pages feel snappier and calls stay smooth even while
something's downloading. You don't have to do anything — it's already on.
💻 FACT. tcp_congestion_control=bbr, default_qdisc=fq_codel
(CONFIG_TCP_CONG_BBR=y, CONFIG_NET_SCH_FQ_CODEL=y). BBR is model-based
(bandwidth×RTT), far better than loss-based cubic on lossy/wireless links;
fq_codel is the anti-bufferbloat AQM. Alternatives present:
$ cat /proc/sys/net/ipv4/tcp_available_congestion_control
reno bbr cubic
(Full network buffer tuning — and why the numbers are what they are — is its own
illustrated guide: see Network.Tuning.Profiles/README.md, the "trucks on a
motorway" one.)
4. A snappier desktop: 1000 Hz + tickless-when-idle
🧸 Plain English: the kernel has a "heartbeat" — how often per second it
checks in on things. We set it to 1000 times a second (higher = a more
responsive, smoother-feeling desktop and tighter audio). But when nothing's
happening, it goes quiet ("tickless idle") so it isn't waking the CPU for no
reason and draining your battery. Best of both: responsive when busy, calm when
not. Check it yourself:
$ zcat /proc/config.gz | grep -E "CONFIG_HZ=|CONFIG_NO_HZ_IDLE"
CONFIG_HZ=1000
CONFIG_NO_HZ_IDLE=y
💻 FACT. CONFIG_HZ_1000=y + CONFIG_NO_HZ_IDLE=y. We deliberately did not
use NO_HZ_FULL (a server/HPC mode that adds a per-syscall accounting cost and
needs a nohz_full= CPU list to do anything) — it was in the old config doing
nothing but taxing every system call. Removed.
5. Disk fairness: BFQ
🧸 Plain English: when several programs hit your SSD at once, a "scheduler"
decides who goes first. BFQ keeps the desktop feeling responsive — so a big
file copy in the background doesn't make your browser stutter. Check what your
disk is using:
$ cat /sys/block/sda/queue/scheduler
[none] mq-deadline kyber bfq
The word in [brackets] is the active one. BFQ is built into your kernel (you
can see it offered in that list). If it doesn't show [bfq] yet, it just hasn't
been selected — that's a one-line rule, and the maintainer note at the end of
this guide covers turning it on. Nothing's wrong; the tool is there, it just needs
switching to.
💻 FACT. CONFIG_IOSCHED_BFQ=y + CONFIG_BFQ_GROUP_IOSCHED=y. Selection is a
udev rule (ATTR{queue/scheduler}="bfq" for rotational=0 SATA). Kingston DC600M
is SATA (queue-dep...
🦍 Linux 7.1.2 Unleashed — Build #16
🦍 Gorilla Unleashed Kernel Build
Auto-built from commit 740aa85628359bf39fa47a2d1189b3f64d749747 on main.
Every patch was verified against pristine upstream before this was
compiled — see the "Verify patch set integrity" step in the build log.
⚠️ Read this first — keep your current kernel
Installing this does not remove your existing kernel, and you should
not remove it either. If this one misbehaves, reboot, hold SHIFT
(or tap Esc), choose Advanced options, and pick your previous
kernel. Nothing is lost and no reinstall is needed.
Install
sudo dpkg -i linux-image-*.deb linux-headers-*.deb
sudo rebootThen check it:
./kernel_selftest.shDo not install
linux-libc-devif you see it anywhere. Those are
userspace headers your distribution already manages, and replacing
them with a custom build can confuseapt. Only the image and
headers packages above are meant to be installed.
What's actually in it
- Wi-Fi deregulation, all four layers — restriction flags, the
Atheros re-stamp, the AP's 802.11d country IE, and the AP's 802.11h
power constraint. Your router no longer decides what your radio may do. - HT40 CCA override — keeps 40 MHz width in noisy environments.
- TCP: BBR + fq_codel, initial congestion window raised to 128.
- ALC269 EAPD fixup — Sony VAIO speakers are no longer muffled by
the BIOS. - Forensic filesystem support — EROFS (Android images), exFAT,
NTFS3, HFS+, and the rest.
Honest limits. This cannot make a radio transmit beyond its
factory-calibrated ceiling — no software can. Performance items are
design rationale, not benchmarks: no A/B measurement has been run.
See docs/VERIFIED_MEASUREMENTS.md, which lists explicitly what was
not measured.
CI builds use -O3 only. Local builds add -march=native, which a
shared runner cannot do correctly.
🦍 Linux 7.1.2 Unleashed — Build #15
🦍 Gorilla Unleashed Kernel Build
Auto-built from commit 5c17ffcd81070e2f445db6fbc2f9e8f2f9e2cd53 on main.
Every patch was verified against pristine upstream before this was
compiled — see the "Verify patch set integrity" step in the build log.
⚠️ Read this first — keep your current kernel
Installing this does not remove your existing kernel, and you should
not remove it either. If this one misbehaves, reboot, hold SHIFT
(or tap Esc), choose Advanced options, and pick your previous
kernel. Nothing is lost and no reinstall is needed.
Install
sudo dpkg -i linux-image-*.deb linux-headers-*.deb
sudo rebootThen check it:
./kernel_selftest.shDo not install
linux-libc-devif you see it anywhere. Those are
userspace headers your distribution already manages, and replacing
them with a custom build can confuseapt. Only the image and
headers packages above are meant to be installed.
What's actually in it
- Wi-Fi deregulation, all four layers — restriction flags, the
Atheros re-stamp, the AP's 802.11d country IE, and the AP's 802.11h
power constraint. Your router no longer decides what your radio may do. - HT40 CCA override — keeps 40 MHz width in noisy environments.
- TCP: BBR + fq_codel, initial congestion window raised to 128.
- ALC269 EAPD fixup — Sony VAIO speakers are no longer muffled by
the BIOS. - Forensic filesystem support — EROFS (Android images), exFAT,
NTFS3, HFS+, and the rest.
Honest limits. This cannot make a radio transmit beyond its
factory-calibrated ceiling — no software can. Performance items are
design rationale, not benchmarks: no A/B measurement has been run.
See docs/VERIFIED_MEASUREMENTS.md, which lists explicitly what was
not measured.
CI builds use -O3 only. Local builds add -march=native, which a
shared runner cannot do correctly.
🦍 Linux 7.1.2 Unleashed — Build #14
🦍 Gorilla Unleashed Kernel Build
Auto-built from commit 0bc1bafd43997c7eae2078b0327f42c5987b2202 on main.
Every patch was verified against pristine upstream before this was
compiled — see the "Verify patch set integrity" step in the build log.
⚠️ Read this first — keep your current kernel
Installing this does not remove your existing kernel, and you should
not remove it either. If this one misbehaves, reboot, hold SHIFT
(or tap Esc), choose Advanced options, and pick your previous
kernel. Nothing is lost and no reinstall is needed.
Install
sudo dpkg -i linux-image-*.deb linux-headers-*.deb
sudo rebootThen check it:
./kernel_selftest.shDo not install
linux-libc-devif you see it anywhere. Those are
userspace headers your distribution already manages, and replacing
them with a custom build can confuseapt. Only the image and
headers packages above are meant to be installed.
What's actually in it
- Wi-Fi deregulation, all four layers — restriction flags, the
Atheros re-stamp, the AP's 802.11d country IE, and the AP's 802.11h
power constraint. Your router no longer decides what your radio may do. - HT40 CCA override — keeps 40 MHz width in noisy environments.
- TCP: BBR + fq_codel, initial congestion window raised to 128.
- ALC269 EAPD fixup — Sony VAIO speakers are no longer muffled by
the BIOS. - Forensic filesystem support — EROFS (Android images), exFAT,
NTFS3, HFS+, and the rest.
Honest limits. This cannot make a radio transmit beyond its
factory-calibrated ceiling — no software can. Performance items are
design rationale, not benchmarks: no A/B measurement has been run.
See docs/VERIFIED_MEASUREMENTS.md, which lists explicitly what was
not measured.
CI builds use -O3 only. Local builds add -march=native, which a
shared runner cannot do correctly.
🦍 Linux 7.1.2 Unleashed — Build #13
🦍 Gorilla Unleashed Kernel Build
Auto-built from commit 580deca4fee68ba39d615cf0a6bed89788784bfa on main.
Install instructions:
Download the two .deb files below and run:
sudo dpkg -i linux-headers-*.deb linux-image-*.deb
sudo rebootWhat's included:
- Wi-Fi regulatory bypass (max TX power, no channel throttling)
- HT40 CCA override (maintains 40MHz width in noisy environments)
- TCP CWND scaled to 128 (fast-start for multi-gigabit links)
- TCP memory buffers raised to 1GB
- ALC269 audio latency fix (no more codec interrupt spikes)
- BBR + FQ-Codel congestion control enabled