Coder Social home page Coder Social logo

vivo_fastboot's Introduction

vivo_fastboot

Modified fastboot sources to unlock vivo phones How to use :-

Lock vivo bootloader : fastboot bbk lock_vivo

Unlock vivo bootloader : fastboot bbk unlock_vivo

This binary can be compiled using any toolchain (on linux only) or using the official method by downloading whole AOSP source. If you want to compile for windows, you probably have to use the whole AOSP source.

How to compile :-

Suggested toolchain : http://downloads.yoctoproject.org/releases/yocto/yocto-1.5/toolchain/

Depending on your host machine select either x86_64 or i686 on the page, and then choose the file appropriate for your target hardware. If you are on a 64bit computer then download poky-eglibc-x86_64-core-image-sato-x86_64-toolchain-1.5.sh, since we want to run fastboot on an x86_64 architecture later on.

Assuming it was downloaded into Downloads, execute the script

chmod a+x ~/Downloads/poky-eglibc-x86_64-core-image-sato-x86_64-toolchain-1.5.sh ~/Downloads/poky-eglibc-x86_64-core-image-sato-x86_64-toolchain-1.5.sh

You will be asked where you want to install the toolchain (default location is /opt/poky).

Now clone the following aosp sources using git from android.googlesource.com (android-4.4_r**)

platform/system/core, platform/system/extras, /platform/external/libselinux, /platform/external/zlib, /platform/external/openssl.

Now navigate to platform/system/core/ directory

type git clone https://github.com/NaveenStark/vivo_fastboot.git fastboot

Now the vivo_fastboot source will be downloaded in fastboot directory with a custom makefile for our toolchain.

Now type make within fastboot directory to compile the fastboot binary.

if you get compile error, it's most likely due to toolchain, edit makefile to point to your toolchain. If you want to add support for more commands, just search "vivo_bsp" in fastboot.c, & replace it with your desired commmand.

vivo_fastboot's People

Contributors

naveensingh avatar

Stargazers

 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.