2 Commits

Author SHA1 Message Date
2fe165351a Enhanced kernel builder with comprehensive SUSFS integration and build fixes
Major improvements:
- Added proper GKI defconfig base with garnet fragment support
- Created comprehensive SUSFS headers (susfs.h, susfs_def.h) with full API
- Fixed KPM copy_to_user compilation issues using put_user()
- Added extensive SUSFS configuration flags for full integration
- Enhanced error handling and dependency checking for Arch Linux
- Added clean build function that preserves source integrations
- Comprehensive warning suppression for problematic drivers
- Advanced compiler flags to handle hardened copy checking

Features implemented:
- Multi-distro dependency checking (Arch/Debian/Ubuntu)
- SUSFS path/mount hiding, kstat spoofing, uname modification
- KPM (Kernel Patch Module) support with compilation fixes
- Enhanced security configurations while maintaining compatibility
- Proper SUSFS constant definitions and working modes
- Clean build artifacts function with source preservation

Build system improvements:
- GKI 2.0 base configuration with device-specific fragments
- Parallel compilation with all CPU cores
- Comprehensive build logging and error tracking
- Advanced warning suppression for complex driver builds
- Proper cross-compilation toolchain detection and setup
2025-07-02 01:05:50 +02:00
e1ef8ef973 Initial commit: Garnet kernel builder with Sukisu Ultra and SUSFS integration
- Complete automated build script for Redmi Note 13 Pro 5G (garnet)
- Sukisu Ultra (KernelSU fork) integration with susfs-main branch
- SUSFS root hiding filesystem support
- AnyKernel3 flashable ZIP creation
- Multi-distro dependency checking (Arch/Debian/Ubuntu)
- Comprehensive error handling and verification
- Advanced kernel configurations for KPM, KALLSYMS, security features
2025-07-01 23:28:15 +02:00