jankowskib / FELix

An open-source flash tool for Allwinner
47 stars 11 forks source link

FELix

FELix is a multiplatform tool for Allwinner processors handling FEL and FES protocol written in Ruby

Features

Installation

  1. Install ruby 2.0+ (you can use ruby-installer on Windows)

    $ sudo apt-get install ruby2.0 ruby2.0-dev
    $ sudo ln -sf /usr/bin/ruby2.0 /usr/bin/ruby
    $ sudo ln -sf /usr/bin/gem2.0 /usr/bin/gem
  2. Install bundler

    $ gem install bundler
  3. Install libraries (Linux only)

    $ sudo apt-get install libusb-1.0.0-dev libffi-dev
  4. Run bundler in application directory (You may need to edit Gemfile to match your ruby version)

    $ bundle
  5. Switch to FEL mode (adb reboot efex) and install a usb filter (Windows only) over the default USB driver. Use Zadig.

Usage

See (ruby) felix --help for available commands

Howtos

Issues

As I have limited access to Allwinner devices, I encourage you to report issues you encounter in Issues section. As far I tested the tool on A13, A23, A31, A31s and A83.

Todo

There's a lot of things to do. The most important are: