Friday, July 29, 2016

[Linux] Lightning Converter - Easily create a flashable ZIP from device via ADB

Just a simple script made to do 2 things -

Features
  • Create flashable ZIP from a http://ift.tt/2ag2NQD and boot.img
  • Create flashable ZIP from device dump via ADB

Prerequisites
  • A Linux computer (preferably with an Ubuntu/Debian-based OS)
  • Ubuntu running in Virtualbox will work if you want
  • Both "zip" and "adb" binaries installed (the script shows you how if you don't have it already)
  • A brain (or part of one)

Installation/Usage

To install:

Code:

git clone http://ift.tt/2aDj5qt
To use:

Code:

cd lightningconverter
sudo bash lightningconverter.sh

Thanks

@SuperR. - 2 lines of code for the device by-name detection
@JustArchi - 1 line of code for the sparse image detection


from xda-developers http://ift.tt/2ag3gSU
via IFTTT

No comments:

Post a Comment