Add initial instructions for adevtool

This commit is contained in:
flawedworld 2022-01-20 16:01:40 +00:00 committed by Daniel Micay
parent c0cce1dfa3
commit 9e4198124c

View File

@ -552,10 +552,15 @@ mv vendor/android-prepare-vendor/DEVICE/BUILD_ID/vendor/google_devices/* vendor/
<section id="extracting-vendor-files-for-pixel-6-and-later">
<h4><a href="#extracting-vendor-files-for-pixel-6-and-later">Pixel 6 and later</a></h4>
<p>This is not yet fully published and documented since it uses a new
system replacing android-prepare-vendor and is in flux with a lot of
usability improvements needed. Instructions will be added in the near
future.</p>
<p>Starting with the Pixel 6, newer generation devices use the adevtool project to
extract files from the stock operating system.
</p>
<pre>cd vendor/adevtool/ &amp;&amp; yarn install &amp;&amp; cd ../..
mkdir -p vendor/adevtool/dl/
vendor/android-prepare-vendor/scripts/download-nexus-image.sh -y -d DEVICE -b BUILD_ID -o vendor/adevtool/dl
vendor/adevtool/mountimages.bash
sudo vendor/adevtool/bin/run generate-all vendor/adevtool/config/pixel/DEVICE-grapheneos.yml -c vendor/state/oriole.json -f vendor/adevtool/dl/"Factory zip" -s vendor/extraction/mount/</pre>
</section>
</section>