mkdir ~/OrangeFox_10
cd ~/OrangeFox_10
git clone [email protected]:OrangeFox/sync.git
cd ~/OrangeFox_10/sync
./get_fox_10.sh ~/OrangeFox_10/fox_10.0
(if the sync process gets stuck, you might need to terminate it with Ctrl-C and then run the script again)
cd ~/OrangeFox_10/sync
./update_fox_10.sh ~/OrangeFox_10/fox_10.0
cd ~/OrangeFox_10/fox_10.0/bootable/recovery
git pull
cd ~/OrangeFox_10/fox_10.0/vendor/recovery
git pull
cd ~/OrangeFox_10/sync
./build_fox.sh <device_codename>
(make sure that you have cloned your device tree to the correct place before doing this!)