Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12bb8d98 authored by Florian Bausch's avatar Florian Bausch Committed by Weblate
Browse files

Translated using Weblate (Portuguese (Brazil))

Currently translated at 74.6% (53 of 71 strings)

Translation: /e/ support center/Pages/Extracting-Proprietary-Blobs
Translate-URL: https://i18n.e.foundation/projects/e-support-center/pagesextracting-proprietary-blobs/pt_BR/
parent bd31f8ce
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -38,14 +38,14 @@ unzip path/to/e-*.zip system.transfer.list system.new.dat*
```
onde `path/to/` é o caminho para o zip instalável.

If your OTA includes `vendor.transfer.list` and `vendor.new.dat.br` or `vendor.new.dat` (other others), extract them from the installable /e/OS zip as well:
Se a sua OTA incluir `vendor.transfer.list` e `vendor.new.dat.br` ou `vendor.new.dat` (entre outros), extraia-os também do arquivo ZIP instalável do /e/OS:

```
unzip path/to/e-*.zip vendor.transfer.list vendor.new.dat*
unzip caminho/para/e-*.zip vendor.transfer.list vendor.new.dat*
```
where `path/to/` is the path to the installable zip.
onde `caminho/para/` é o caminho para o arquivo ZIP instalável.

In the case of `system.new.dat.br`/`vendor.new.dat.br`/etc. (a [brotli](https://en.wikipedia.org/wiki/Brotli) archive) exists, you will first need to decompress them using the `brotli` utility:
Caso existam os arquivos `system.new.dat.br` / `vendor.new.dat.br` / etc. (um arquivo [brotli](https://en.wikipedia.org/wiki/Brotli)), você precisará primeiro descompactá-los usando o utilitário `brotli`:

```
sudo apt-get install brotli
@@ -58,13 +58,13 @@ E se você tiver um arquivo `vendor.dat.new.br` (ou outros):
brotli --decompress --output=vendor.new.dat vendor.new.dat.br
```

You now need to get a copy of `sdat2img`. This script can convert the content of block-based OTAs into dumps that can be mounted. `sdat2img` is available at the following git repository that you can clone with:
Agora você precisa obter uma cópia do `sdat2img`. Esse script permite converter o conteúdo de OTAs baseadas em blocos em dumps que podem ser montados. O `sdat2img` está disponível no seguinte repositório Git, que você pode clonar usando:

```
git clone https://github.com/xpirt/sdat2img
```

Once you have obtained `sdat2img`, use it to extract the system image:
Depois de obter o `sdat2img`, use-o para extrair a imagem do sistema:

```
python sdat2img/sdat2img.py system.transfer.list system.new.dat system.img
@@ -83,7 +83,7 @@ mkdir system/
sudo mount system.img system/
```

If you also have a file named `vendor.img`, you can mount it as follows:
Se você também tiver um arquivo chamado `vendor.img`, poderá montá-lo da seguinte maneira:

```
sudo rm system/vendor
@@ -93,7 +93,7 @@ sudo mount vendor.img system/vendor/

Você também deve montar agora quaisquer outros arquivos de imagem que você tenha em seus respectivos diretórios.

After you have mounted the image(s), move to the root directory of the sources of your device and run `extract-files.sh` as follows:
Depois de montar a(s) imagem(ns), vá para o diretório raiz das fontes do seu dispositivo e execute `extract-files.sh` da seguinte maneira:

```
./extract-files.sh ~/android/system_dump/