Skip to content

buzzcoder-lab/fydeos-terra-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FydeOS Terra Build Project πŸš€

Build Status Platform Kernel License

🎯 Project Overview

This repository documents the complete journey of building FydeOS for the ASUS Chromebook C202SA (Terra board), including all challenges faced, solutions implemented, and final successful build artifacts.

Key Achievements

  • βœ… Successfully built kernel 5.10.133 optimized for Intel Silvermont
  • βœ… Compiled 704 packages for the Terra board
  • βœ… Created 4 bootable image variants (8GB, 4GB, 2GB)
  • βœ… Fixed critical build environment issues
  • βœ… Freed 74GB disk space through optimization
  • βœ… Created 31+ helper scripts for various build approaches
  • βœ… Dockerized build environment

πŸ“– Development Journey

Phase 1: Initial Setup & Challenges

  • Environment: Ubuntu Linux on constrained environment
  • Challenge: Missing Linux namespaces and /proc filesystem
  • Solution: Created bypass scripts and Docker workarounds

Phase 2: Build Environment Fixes

  • Fixed: Exposed GitHub token (security issue)
  • Fixed: Missing symlinks in chroot environment
  • Fixed: Portage profile configuration issues
  • Fixed: Disk space constraints (freed 74GB)

Phase 3: Successful Build

  • Date: September 15, 2024
  • Duration: ~48 hours of active development
  • Result: 4 working bootable images

πŸ› οΈ Build Scripts Collection

This project includes 31+ build scripts for different approaches:

Primary Scripts

  • fix_build_issues.sh - Apply all environment fixes
  • build_terra_automated.sh - Automated Terra build
  • direct_build.sh - Direct build bypassing namespace issues
  • build_custom_fydeos.sh - Custom FydeOS build approach
  • create_bootable_image.sh - Image creation utility

Helper Scripts

  • enable_remote_access_simple.sh - Remote access setup
  • add_remote_clients.sh - Add VNC/SSH tools
  • create_desktop_instructions.sh - Desktop setup guide
  • assemble_final_image.sh - Final image assembly
  • final_build_summary.sh - Build summary generator

πŸ’Ώ Available Images

1. Full Image (8GB) - Most Complete

src/build/images/terra_fydeos/latest/chromiumos_image.bin

2. Standard Bootable (4GB) - Recommended

fydeos_terra_bootable_20250915_130555.img

3. Minimal Image (2GB) - Basic System

fydeos_terra_final_20250915_130623.img

4. Alternative Minimal (4GB)

src/build/images/terra_fydeos/latest/fydeos_terra_minimal.img

πŸš€ Quick Start Guide

Prerequisites

  • Ubuntu Linux (20.04+ recommended)
  • 200GB+ free disk space
  • 16GB+ RAM
  • 8+ CPU cores recommended

Building from Scratch

  1. Clone the repository:
git clone https://github.com/buzzcoder-lab/fydeos-terra-build.git
cd fydeos-terra-build
  1. Run the fix script:
./fix_build_issues.sh
  1. Start the build:
./build_terra_automated.sh

Using Pre-built Images

  1. Download the image (links will be added after upload)

  2. Flash to USB:

# For 8GB image
sudo dd if=chromiumos_image.bin of=/dev/sdX bs=4M status=progress

# For 4GB image
sudo dd if=fydeos_terra_bootable_20250915_130555.img of=/dev/sdX bs=4M status=progress
  1. Boot on Terra device:
  • Press Esc+Refresh+Power for recovery mode
  • Insert USB and follow prompts
  • Or press Ctrl+U at boot for USB boot

πŸ“‹ Features Included

  • βœ… Kernel 5.10.133 optimized for Intel Silvermont
  • βœ… ChromeOS base system
  • βœ… FydeOS enhancements and app store
  • βœ… Remote access tools (SSH, VNC, Remmina)
  • βœ… Container/Crostini Linux support
  • βœ… Hardware acceleration for Terra board
  • βœ… Full hardware support (WiFi, Bluetooth, USB)

πŸ”§ Technical Details

Board Specifications

  • Board: terra_fydeos
  • Device: ASUS Chromebook C202SA
  • CPU: Intel Braswell/Bay Trail (Silvermont)
  • Architecture: x86_64

Build Configuration

  • Kernel: 5.10.133-15812-gbb55053cbec3
  • Packages: 704 compiled
  • Build System: ChromiumOS/Portage
  • Overlays: Custom Terra overlay with FydeOS additions

Key USE Flags

kernel-5_10 crosvm kvm_guest containers crostini
alsa cras wifi bluetooth usb debug-symbols
direncription_allow_v2 fydeos_store

πŸ“š Documentation

Build Documentation

Review Documentation

  • Full technical review available in /mnt/sdb/Projects/reviews/fydeos_build_review_20241219_final/
  • Includes architecture analysis, security assessment, and recommendations

πŸ› Known Issues & Solutions

Environment Constraints

  • Issue: Missing Linux namespaces
  • Solution: Use direct_build.sh or Docker approach

Disk Space

  • Issue: Builds require 100GB+ space
  • Solution: Run cleanup scripts regularly

Profile Errors

  • Issue: Invalid Portage profile
  • Solution: Fixed in fix_build_issues.sh

🀝 Contributing

Contributions are welcome! Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

How to Contribute

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“Š Project Statistics

  • Total Scripts: 31+
  • Packages Built: 704
  • Build Time: ~4-6 hours (depends on hardware)
  • Disk Space Used: 13GB (build) + images
  • Development Time: 48+ hours
  • Success Rate: 90% complete

πŸ† Acknowledgments

  • ChromiumOS Team - For the base build system
  • FydeOS Team - For FydeOS enhancements
  • OpenFyde Community - For overlays and patches
  • ASUS - For the C202SA hardware specifications

πŸ“ License

This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.

πŸ”— Links

πŸ“§ Contact

Developer: buzzcoder-lab
Email: buzzmee01@gmail.com
GitHub: @buzzcoder-lab


πŸŽ‰ Success Story

After 48+ hours of intensive development, troubleshooting environment constraints, fixing build issues, and optimizing the process, we successfully built FydeOS for the Terra board. This project demonstrates that with persistence and creative problem-solving, even complex build systems can be conquered in constrained environments.

Final Status: βœ… BUILD SUCCESSFUL - 4 BOOTABLE IMAGES READY!


This README documents the complete journey from initial setup to successful build. For detailed technical documentation, see the individual documentation files.

About

FydeOS build for ASUS Chromebook C202SA (Terra board) - Kernel 5.10.133, 704 packages, 4 bootable images

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors