Important Warnings

  • Your data will remain intact - SRC never modifies user data partitions
  • Firmware protection will be permanently lost - System will be vulnerable to bricking
  • Process cannot be interrupted - Interruption may cause firmware corruption
  • Reboot required - Removal completes on the next system reboot

Prerequisites

Before Starting Removal

  • Administrator/root access
  • System in healthy state (no pending recovery)
  • Backup of current firmware (recommended)
  • Stable power supply (no interruptions)
  • USB recovery device available (as backup)

Step-by-Step Removal Process

1

Verify System Health

Before removal, ensure your system is in a healthy state:

sudo security status

Verify:

  • Status shows "ENABLED" (not in recovery mode)
  • Firmware Health is "OK"
  • No recent recovery attempts
  • Last backup is recent (within last hour recommended)
2

Backup Current Firmware (Recommended)

Even though SRC maintains backups, create an additional backup for safety:

# Linux example
sudo dd if=/dev/mtd0 of=~/firmware_backup.bin bs=1M

# Or use your platform-specific backup tool

Store this backup in a safe location separate from your USB recovery device.

3

Initiate Removal Command

Start the removal process:

sudo security remove

Or with fewer prompts (still requires password):

sudo security remove --force
4

Follow Interactive Prompts

The removal process requires 4 separate confirmations:

Step 1/4: OS Password Authentication

Enter your operating system password. This prevents unauthorized removal.

Enter your OS password: ********

Step 2/4: Confirmation Question 1

Confirm you understand the consequences:

Do you understand that firmware protection will be lost? [yes/no]: yes

Step 3/4: Confirmation Question 2

Confirm you have a backup:

Have you backed up your firmware? [yes/no]: yes

Step 4/4: Final Confirmation

Type the exact word to confirm:

Type 'REMOVE' to confirm removal: REMOVE

Note: This is case-sensitive and must be typed exactly as shown.

Final Warning

5-second countdown with option to cancel:

FINAL WARNING:
This is your last chance to cancel. Press Ctrl+C within 5 seconds...

Press Ctrl+C to cancel, or wait for removal to be scheduled.

5

Removal Scheduled

If all confirmations pass, removal is scheduled:

Scheduling removal...
✓ Removal scheduled successfully
⚠ The Recovery Core will be removed on the next system reboot.
⚠ Please reboot your system to complete the removal process.

Important: Removal is scheduled but not yet executed. You can still cancel by not rebooting and running security enable to clear the removal flag.

6

Reboot System

Reboot your system to complete removal:

# Linux/macOS
sudo reboot

# Windows
shutdown /r /t 0

DO NOT INTERRUPT THE REBOOT PROCESS

Interrupting the reboot may cause incomplete removal or firmware corruption.

7

Removal Completion (During Reboot)

During the reboot process, Recovery Core performs the following:

  1. Firmware Integrity Validation: Reads current firmware and verifies hash matches stored value
  2. System State Check: Ensures system is in safe state for removal
  3. SRC Region Clearing: Erases the SRC reserved region in SPI flash (512KB)
  4. Stock Layout Restoration: Restores firmware layout to stock configuration
  5. Recovery Logic Disable: Disables all recovery functionality
  6. SPI Flash Lock: Locks SPI flash if hardware supports it
  7. Normal Boot: Completes normal system boot

Safety Check: If ANY validation fails during removal, the process is aborted and the system boots normally with SRC still active. You can then fix the issue and retry removal.

Post-Removal Verification

1. Check Removal Status

sudo security status

Expected output:

Status: NOT INSTALLED

2. Verify SPI Flash

Linux:

# Check that SRC region is cleared
sudo hexdump -C /dev/mtd0 | grep -A 10 "00100000"

Windows:

Use vendor-specific SPI flash tools to verify reserved region is empty.

3. Remove CLI Tool (Optional)

cd cli
make uninstall

Troubleshooting Removal Issues

Removal Aborted During Reboot

Symptoms: System boots normally, security status still shows "ENABLED"

Cause: Firmware integrity check failed or system was in unsafe state

Solution:

  1. Verify system is healthy: sudo security status
  2. Ensure no recovery is in progress
  3. Retry removal: sudo security remove

Removal Scheduled But Nothing Happens

Possible Causes: Firmware write failed, SPI flash locked, platform-specific issue

Solution:

  1. Check firmware logs (platform-specific location)
  2. Verify SPI flash is writable
  3. Try manual removal (advanced, see documentation)

System Won't Boot After Removal

This should not happen if removal completed successfully.

If it does:

  1. Boot from recovery media
  2. Restore firmware from backup
  3. Check SPI flash for corruption
  4. Contact support with logs

Emergency Recovery

If removal process is interrupted and system is bricked:

Boot from USB Recovery Device

SRC should still be active if removal didn't complete. System should auto-recover from USB device.

Manual Recovery

Use vendor-specific recovery tools to flash firmware from backup.

Contact Support

Provide removal logs, system information, and error messages for assistance.

Frequently Asked Questions

Can I cancel removal after scheduling?

Yes, but only before reboot. After reboot, removal proceeds automatically. To cancel, simply don't reboot and run security enable to clear the removal flag.

What happens if I interrupt the reboot?

Removal may be incomplete. System should boot normally, but SRC may be in inconsistent state. Re-run removal process after ensuring system is healthy.

Will my data be affected?

No. SRC only modifies firmware regions, never user data partitions. Your files, documents, and operating system data remain completely untouched.

Can I remove SRC without rebooting?

No. Removal requires firmware-level changes that only take effect on reboot. This ensures a controlled, safe removal process.

What if removal fails validation?

Removal is aborted, system boots normally, and SRC remains active. Fix the issue (usually firmware integrity) and retry removal.

Can I reinstall SRC after removal?

Yes. Follow the installation guide to reinstall SRC. Previous backups (if USB still present) may be reused.