Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arturmes/orangefox_sync
https://github.com/arturmes/orangefox_sync
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/arturmes/orangefox_sync
- Owner: Arturmes
- Created: 2024-04-26T15:00:10.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-11-09T13:40:16.000Z (about 1 month ago)
- Last Synced: 2024-11-09T14:31:08.879Z (about 1 month ago)
- Language: Shell
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sync a twrp minimal manifest, patch it for building OrangeFox, and sync the OrangeFox sources
## To fetch the manifest for the first time, follow these steps: ##
------------------------------------### 1. Fetch these sync tools ###
mkdir ~/OrangeFox_sync
cd ~/OrangeFox_sync
git clone https://gitlab.com/OrangeFox/sync.git # (or, using ssh, "git clone [email protected]:OrangeFox/sync.git")### 2. Do the syncing (this can take up to 1 hour, and can use up to 40GB of disk space) - below is an example, for 12.1 (amend as required for other branches) ##
cd ~/OrangeFox_sync/sync/
./orangefox_sync.sh --branch 12.1 --path ~/fox_12.1
Notes:
- You *MUST* supply an *ABSOLUTE* path name for the "--path" switch
- If the sync process gets stuck, you might need to terminate it with Ctrl-C and then run the script again
- If you want to use ssh for cloning the OrangeFox sources and vendor tree, export "USE_SSH=1" before starting, or supply "--ssh 1" on the command line
- After the initial sync process, you must then clone your device trees, before you can build for your device## These manifest branches are supported by the orangefox_sync.sh script: ##
----------------------------------
12.1
11.0## To update the manifest, and the recovery sources, and the vendor trees (given the example of the 12.1 branch above), follow these steps: ##
----------------------------------
cd ~/fox_12.1/
repo sync # (ignore all errors and suggestions relating to "android_bootable_recovery")
cd ~/fox_12.1/bootable/recovery/
git pull
cd ~/fox_12.1/vendor/recovery/
git pull## To update only the recovery sources (given the example of the 12.1 branch above), follow these steps: ##
----------------------------------
cd ~/fox_12.1/bootable/recovery/
git pull## To update only the vendor tree (given the example of the 12.1 branch above) follow these steps: ##
----------------------------------
cd ~/fox_12.1/vendor/recovery/
git pull## To update only the manifest (given the example of the 12.1 branch above), follow these steps: ##
----------------------------------
cd ~/fox_12.1/
repo sync # (ignore all errors and suggestions relating to "android_bootable_recovery")## To see the syntax of the orangefox_sync.sh script, follow these steps: ##
----------------------------------
cd ~/OrangeFox_sync/sync/
./orangefox_sync.sh --help# For instructions on building OrangeFox, see:
"https://wiki.orangefox.tech/en/dev/building"