Code Monkey home page Code Monkey logo

ofrp-sysc's Introduction

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://github.com/Dimonnemo64/OFRP-sysc.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 10.0 (amend as required for other branches)

cd ~/OrangeFox_sync/sync/
./orangefox_sync.sh --branch 10.0 --path ~/fox_10.0

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:


11.0
10.0
9.0
8.1
7.1
6.0

To update the manifest, and the recovery sources, and the vendor trees (given the example of the 10.0 branch above), follow these steps:


cd ~/fox_10.0/
repo sync # (ignore all errors and suggestions relating to "android_bootable_recovery")
cd ~/fox_10.0/bootable/recovery/
git pull --recurse-submodules
cd ~/fox_10.0/vendor/recovery/
git pull

To update only the recovery sources (given the example of the 10.0 branch above), follow these steps:


cd ~/fox_10.0/bootable/recovery/
git pull --recurse-submodules

To update only the vendor tree (given the example of the 10.0 branch above) follow these steps:


cd ~/fox_10.0/vendor/recovery/
git pull

To update only the manifest (given the example of the 10.0 branch above), follow these steps:


cd ~/fox_10.0/
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

ofrp-sysc's People

Contributors

dimonnemo64 avatar

Watchers

 avatar

Forkers

dzzn-dev

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.