Skip to content

Instantly share code, notes, and snippets.

@stainslav
stainslav / bv8.0+.py
Created September 17, 2017 07:00
This an tool to extract boot.img and kernel it is modified in such an way to Supports Android 8.0+ (Tested on Lineage OS 15 Redmi Note 4 Mido)... Usage Type:- In Linux : ./booting.py --help (It is necessary to install python!) "apt-get install python" In Linux Emulators : like termux, GNUROOT Debian, Terminal Emulator etc. On Android... Install …
#!/usr/bin/env python
#fileencoding: utf-8
#Author: Stain & Liu <knsaxena01@gmail.com & liudongmiao@gmail.com>
#Created : 17 Oct 2010 11:19:58 AM CST
#Modified : 15 Sep 2017 10:12:42 PM CST
import os
import sys
import mmap
import json