[Google Pixel 6 Pro] rikita:
You have accomplished exactly what I wish.

I also am on Pixel 7 Pro.

Going to give this a go.

UPDATE: First try a fail. Zygisk not enabled.

Restoring Full Stock ROM, will try again.

UPDATE: Second try as follows:

1. Flashed Stock ROM via Android Flash Tool

2 Installed latest GrapheneOS via web installer (cheetah-factory-2024032100.zip)

3. Downloaded latest OTA (cheetah-ota_update-2024032100.zip)

4. Went thru initial Graphene setup, Developer Options, Debugging

5. Downloaded latest Magisk (26.4-kitsune.apk)

6. Extracted boot.img, vendor_boot.img and init_boot.img from the unpatched OTA (cheetah-ota_update-2024032100.zip)

7. Copied the extracted init_boot.img to the device

8 Copied 26.4-kitsune.apk to device

9. Installed 26.4-kitsune.apk using "select and patch file". Used the extracted init_boot.img. Generated magisk_patched-26400_HXg36.img and output "Pre-init storage partition: sda1"

10. Copied the magisk_patched.img back to PC

11. Generated Keys

12. Patched the OTA (cmd: avbroot.exe ota patch --input cheetah-ota_update-2024032100.zip --key-avb avb.key --key-ota ota.key --cert-ota ota.crt --prepatched magisk_patched-26400_HXg36.img)

13. Output "cheetah-ota_update-2024032100.zip.patched"

14. Extracted the partition images from the patched OTA (cmd: avbroot ota extract --input cheetah-ota_update-2024032100.zip.patched --directory extracted)

15. Output "extracted" directory containing boot.img, init-boot.img, system.img, vbmeta.img and vendor_boot.img

16. Rebooted to fastboot

17. Flashed the partition images that were extracted

(cmd: fastboot flash boot extracted\boot.img)

(cmd: fastboot flash init_boot extracted\init_boot.img)

(cmd: fastboot flash vbmeta extracted\vbmeta.img)

(cmd: fastboot flash vendor_boot extracted\vendor_boot.img)

(all wrote to _b)

18. Rebooted to fastbootd

19 Flashed system (cmd: fastboot flash system extracted\system.img (wrote to system b)

20 Reboot to bootloader

21. Set up the custom AVB public key in the bootloader

(cmd: fastboot erase avb_custom_key)

Output: Erasing 'avb_custom_key' (bootloader) avb custom key: erase done

OKAY [ 0.026s]

Finished. Total time: 0.031s

(cmd: fastboot flash avb_custom_key avb_pkmd.bin)

Output: Sending 'avb_custom_key' (1 KB) OKAY [ 0.000s]

Writing 'avb_custom_key' (bootloader) avb custom key: flash done

OKAY [ 0.065s]

Finished. Total time: 0.089s

22. Reboot to system

23. Open Kitsune Mask, click OK to Additional Setup, reboot

24. Open Kitsune Mask, Install, Direct Install, reboot

25. adb reboot recovery

26 Apply Update from ADB

27 (cmd: adb sideload cheetah-ota_update-2024032100.zip.patched)

28. Reboot system now

29. copy safetynet-fix-v2.3.1-MOD_3.0.zip to device

30. Open Kitsune Mask, Install safetynet-fix-v2.3.1-MOD_3.0.zip as Module, reboot

31. Open Kitsune Mask enable Zygisk and MagiskHide in settings, reboot.

32 FAIL!! Module suspended because Zygisk is not enabled.

Any help or suggestions would be greatly appreciated.

UPDATE: Third try. Same sequence only with Kitsune Mask 27001. FAIL!! Zygisk not enabled.

UPDATE: Fourth try. Tried --rootless, then patch OTA with Kistsune apk; sideload patched OTA. FAIL!! Zygisk not enabled.