Skip to content

Commit

Permalink
Merge pull request erfanoabdi#1 from Hasaber8/patch-1
Browse files Browse the repository at this point in the history
Add requirements for Arch.
  • Loading branch information
erfanoabdi authored Jun 17, 2020
2 parents a439a80 + 36ddd00 commit a58bc8d
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,44 @@
## 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
```bash
for package in mpack rename; do
git clone https://aur.archlinux.org/"${package}"
cd "${package}" || continue
makepkg -si --skippgpcheck
cd - || break
rm -rf "${package}"
done
```
## 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 a58bc8d

Please sign in to comment.