From 9e4198124cc3d205aa28db94d69245d747642018 Mon Sep 17 00:00:00 2001 From: flawedworld Date: Thu, 20 Jan 2022 16:01:40 +0000 Subject: [PATCH] Add initial instructions for adevtool --- static/build.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/static/build.html b/static/build.html index 83aad1ce..48f1c4b6 100644 --- a/static/build.html +++ b/static/build.html @@ -552,10 +552,15 @@ mv vendor/android-prepare-vendor/DEVICE/BUILD_ID/vendor/google_devices/* vendor/

Pixel 6 and later

-

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.

+

Starting with the Pixel 6, newer generation devices use the adevtool project to + extract files from the stock operating system. +

+ +
cd vendor/adevtool/ && yarn install && 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/