Some checks failed
CI / markdown-lint (push) Failing after 14s
- Updated .gitignore with comprehensive exclusions for build artifacts, IDE files, and OS-specific files - Created BlackBerry-inspired website with Heroicons and Gitea integration - Added complete project structure with all 7 phases implemented - Included kernel drivers, UI components, telephony stack, and packaging tools - Added emulation scripts for testing and development - Comprehensive documentation for all development phases - Security analysis and hardware testing guides - SDK and application framework for third-party development
31 lines
690 B
Bash
Executable File
31 lines
690 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Fastboot Flash Script for BBeOS
|
|
# Flashes the boot image to device via fastboot
|
|
|
|
echo "Flashing BBeOS boot image..."
|
|
|
|
# Check if fastboot is available
|
|
if ! command -v fastboot &> /dev/null; then
|
|
echo "Error: fastboot not found"
|
|
echo "Please install Android tools: sudo apt install android-tools-fastboot"
|
|
exit 1
|
|
fi
|
|
|
|
# Check if device is connected
|
|
if ! fastboot devices | grep -q .; then
|
|
echo "Error: No fastboot device found"
|
|
echo "Please connect device in fastboot mode"
|
|
exit 1
|
|
fi
|
|
|
|
# Flash boot image
|
|
echo "Flashing boot image..."
|
|
fastboot flash boot bbeos-boot.img
|
|
|
|
# Reboot device
|
|
echo "Rebooting device..."
|
|
fastboot reboot
|
|
|
|
echo "Flash complete!"
|