Giter Site home page Giter Site logo

arthur-lemaire / ddl-vector-custom-build-script Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 38.96 MB

"Simple" all root bash script that turns a regular dev Vector OTA into an unsigned one with a new update engine, ssh key, and new version number so he can work with chipper.

Shell 100.00%

ddl-vector-custom-build-script's Introduction

ddl-vector-custom-build-script

"Simple" all root bash script that turns a regular dev Vector OTA into an unsigned one. It can also copy over certain files for custom builds.

DISCLAIMER

This can only work with Dev Vectors, and not with regular production Vectors.

What exactly does it do?

This takes an OTA, decrypts it, mounts it, copies some new files (if specified), builds, and SCPs them to a server (if specified).

Usage

Gunzip the tar.gz and put the "resources" folder next to the script. (tar -xf resources.tar.gz)

Make a directory and put an OTA in it. Name it latest.ota then feed the directory to it to the script:

To use SCP, you will need to put in your SSH root key at the top of the script where specified, the IP where specified, and the folder to put it at (at /var/www/).

Testing older OTAs: ./dvcbs -t 1.5.0.2953/

Custom Builds: ./dvcbs -m 20/ ./dvcbs -bf 20/ 1.8.0 20 stable

Cleaning directory ./dvcbs -c 20/ archive/

-f {dir} {versionbase} {versioncode} {scp} this mounts OTA, copys over versionbase, versioncode, new update-engine, and prod server config, then builds

-m {dir} mount latest.ota

-b {dir} {versionbase} {versioncode} {scp} build apq8009-robot-sysfs.img

-bf {dir} {versionbase} {versioncode} {scp} copy over versionbase, versioncode, new update-engine, and prod server config then build

-t {dir} mount, copy over prod server config, build. used for testing older firmware and new ones from ddl

-mb {dir} {versionbase} {versioncode} only mounts then builds. used for testing super old firmware

-c {dir} {outputDir} Clear the Ota's dir and put into output directory, also reset resources folder

ddl-vector-custom-build-script's People

Contributors

kercre123 avatar arthur-lemaire avatar

Watchers

James Cloos avatar

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.