Skip to content

Mffff4/UmbrelPatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”Œ UmbrelOS External Storage Patch

โšก Enable external storage support on your UmbrelOS device with a single command

โœจ Features

  • ๐Ÿš€ Enables external storage detection
  • ๐Ÿ”“ Bypasses Umbrel Home device check
  • ๐Ÿ”„ Automatic system reboot after patching
  • โฑ๏ธ 5-second countdown with cancel option

๐Ÿš€ Quick Start

Copy and paste this command into your terminal:

curl -sSL https://github.com/Mffff4/UmbrelPatch/raw/main/patch.sh | sudo bash

๐Ÿ”ง What's Under the Hood

The patch modifies two critical system files:

  1. /opt/umbreld/source/modules/files/external-storage.ts

    // Before
    return await isUmbrelHome()
    
    // After
    return true
  2. /opt/umbreld/source/modules/is-umbrel-home.ts

    // Before
    return manufacturer === 'Umbrel, Inc.' && model === 'Umbrel Home'
    
    // After
    return true

๐Ÿ›ก๏ธ Safety First

  • โœ… Verifies if files are already patched
  • ๐Ÿ“ Provides clear status messages
  • โฎ๏ธ Allows cancellation during reboot countdown
  • ๐Ÿ” Requires sudo privileges

๐Ÿ“ Important Notes

  • ๐Ÿ”„ System automatically reboots after successful patching
  • โน๏ธ Press Ctrl+C to cancel reboot during countdown
  • โ†ฉ๏ธ Patch is reversible by restoring original files
  • โš ๏ธ Important: Reapply patch after system updates

๐Ÿšจ Troubleshooting

Issue Solution
Permission denied Run with sudo
Files not found Verify UmbrelOS installation
Patch not working Check file permissions
After update Re-run installation command

๐Ÿค Contributing

Feel free to open issues or submit pull requests!

๐Ÿ’ฐ Support and Donations

Support development using cryptocurrencies:

Currency Wallet Address
Bitcoin (BTC) bc1qt84nyhuzcnkh2qpva93jdqa20hp49edcl94nf6
Ethereum (ETH) 0xc935e81045CAbE0B8380A284Ed93060dA212fa83
TON UQBlvCgM84ijBQn0-PVP3On0fFVWds5SOHilxbe33EDQgryz
Binance Coin 0xc935e81045CAbE0B8380A284Ed93060dA212fa83
Solana (SOL) 3vVxkGKasJWCgoamdJiRPy6is4di72xR98CDj2UdS1BE
Ripple (XRP) rPJzfBcU6B8SYU5M8h36zuPcLCgRcpKNB4
Dogecoin (DOGE) DST5W1c4FFzHVhruVsa2zE6jh5dznLDkmW
Polkadot (DOT) 1US84xhUghAhrMtw2bcZh9CXN3i7T1VJB2Gdjy9hNjR3K71
Litecoin (LTC) ltc1qcg8qesg8j4wvk9m7e74pm7aanl34y7q9rutvwu
Matic 0xc935e81045CAbE0B8380A284Ed93060dA212fa83
Tron (TRX) TQkDWCjchCLhNsGwr4YocUHEeezsB4jVo5

๐Ÿ“œ License

MIT License - feel free to use and modify!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages