Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

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

$
0
0
Just a simple script made to do 2 things -

Features
  • Create flashable ZIP from a system.img/system.img.ext4 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 https://github.com/Lightn1ng/lightningconverter.git
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

Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>