Skip to content

Commit

Permalink
Add requirements for Arch.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hasaber8 authored Jun 17, 2020
1 parent a439a80 commit 957c0f0
Showing 1 changed file with 28 additions and 7 deletions.
35 changes: 28 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,49 @@
## Requirements
# Requirements
- protobuf
- LZMA
- 7z
- lz4
### Linux
```
## Linux
```bash
apt install unace unrar zip unzip p7zip-full p7zip-rar sharutils rar uudeview mpack arj cabextract file-roller rename
apt install liblzma-dev python-pip brotli lz4
pip install backports.lzma protobuf pycrypto
```
### Mac
## Arch
```bash
pacman -S unace unrar zip unzip p7zip sharutils uudeview arj cabextract file-roller
pacman -S python python-pip brotli lz4
pip install backports.lzma protobuf pycrypto
```
### For "rename" and "mpack" you need to manually clone and install the packages
- rename
```bash
git clone https://aur.archlinux.org/rename.git
cd rename
makepkg -Acs
sudo pacman -U rename-1.3-7-x86_64.pkg.tar.xz
```
- mpack
```bash
git clone https://aur.archlinux.org/mpack.git
cd mpack
makepkg -Acs
sudo pacman -U mpack-1.6-4-x86_64.pkg.tar.xz
```
## Mac
```bash
brew install protobuf liblzma-dev brotli lz4
pip install backports.lzma protobuf pycrypto
```
Also install [mono](https://www.mono-project.com/docs/getting-started/install/mac/)

## How to use
### Download
# How to use
## Download
```
git clone --recurse-submodules https://github.com/erfanoabdi/Firmware_extractor.git
```

### Extract images from firmware URL
## Extract images from firmware URL
Example: Extracting images from pixel 2 factory image:
```
cd Firmware_extractor
Expand Down

0 comments on commit 957c0f0

Please sign in to comment.