[Google Pixel 6] RobbyRobbb:
PixelFlasher 2.0.0.0 started on 2022-04-04 18:06:25
debug: Loading configuration file: C:\Users\Admin\AppData\Roaming\PixelFlasher.json ...
debug: {
"advanced_options": false,
"custom_rom": false,
"custom_rom_path": null,
"device": null,
"disable_verification": false,
"disable_verity": false,
"firmware_path": "C:\\H\u00e4mtade Filer\\oriole-sp2a.220305.013.a3-factory-8bea92d1.zip",
"flash_both_slots": false,
"height": 918,
"magisk": "com.topjohnwu.magisk",
"mode": "keepData",
"patch_boot": true,
"phone_path": "/storage/emulated/0/Download",
"platform_tools_path": "C:\\Android\\cmdline-tools\\platform-tools",
"verbose": true,
"version": "2.0.0.0",
"width": 1328
}

Previous flashable package is found for the selected firmware!
The package is of the following state.

Patch Boot: True
Custom Rom: False

Selected Device:
Device ID: 1C041FDF6000G1
Device Model: oriole
Device is Rooted: True
Device Build: SQ1D.220205.004
Device Active Slot: a
Device Mode: adb
Magisk Version: 24.3:MAGISK (24300)

==============================================================================
PixelFlasher 2.0.0.0 Preparing Package
==============================================================================
Found a previous package oriole-sp2a.220305.013.a3 deleting ...
debug: Resource Dir: C:\Temp\Tmp\_MEI11922\bin\7z.exe
Found Bundled 7zip.
zip/unzip operations will be faster
Unzipping Image: C:\Hämtade Filer\oriole-sp2a.220305.013.a3-factory-8bea92d1.zip into C:\Android\cmdline-tools\platform-tools ...
debug: "C:\Temp\Tmp\_MEI11922\bin\7z.exe" x -bd -y "C:\Hämtade Filer\oriole-sp2a.220305.013.a3-factory-8bea92d1.zip"
Unzip time1: 3 seconds
Unzipped into oriole-sp2a.220305.013.a3 folder.
Extracting boot.img from image-oriole-sp2a.220305.013.a3.zip ...
debug: "C:\Temp\Tmp\_MEI11922\bin\7z.exe" x -bd -y -o"C:\Android\cmdline-tools\platform-tools\oriole-sp2a.220305.013.a3" "C:\Android\cmdline-tools\platform-tools\oriole-sp2a.220305.013.a3\image-oriole-sp2a.220305.013.a3.zip" boot.img
Unzip time2: 1 seconds
Deleting boot.img from phone in /storage/emulated/0/Download ...
Making sure boot.img is not on the phone in /storage/emulated/0/Download ...
Deleting magisk_patched.img from phone in /storage/emulated/0/Download ...
Making sure magisk_patched.img is not on the phone in /storage/emulated/0/Download ...
Transfering boot.img to the phone in /storage/emulated/0/Download ...
debug: "C:\Android\cmdline-tools\platform-tools\adb.exe" -s 1C041FDF6000G1 push "C:\Android\cmdline-tools\platform-tools\oriole-sp2a.220305.013.a3\boot.img" /storage/emulated/0/Download/boot.img
C:\Android\cmdline-tools\platform-tools\oriole-sp2a.220305.013.a3\boot.img: 1 file pushed, 0 skipped. 160.6 MB/s (67108864 bytes in 0.399s)

Making sure boot.img is found on the phone in /storage/emulated/0/Download ...
Detected a rooted phone with Magisk Tools: 24.3:MAGISK (24300)

Creating patched boot.img ...
- Unpacking boot image
Parsing boot image: [/sdcard/Download/boot.img]
HEADER_VER [4]
KERNEL_SZ [23250567]
RAMDISK_SZ [1380095]
OS_VERSION [12.0.0]
OS_PATCH_LEVEL [2022-03]
PAGESIZE [4096]
CMDLINE []
KERNEL_FMT [lz4_legacy]
RAMDISK_FMT [lz4_legacy]
VBMETA
- Checking ramdisk status
Loading cpio: [ramdisk.cpio]
- Stock boot image detected
- Patching ramdisk
Loading cpio: [ramdisk.cpio]
Add entry [init] (0750)
Create directory [overlay.d] (0750)
Create directory [overlay.d/sbin] (0750)
Add entry [overlay.d/sbin/magisk32.xz] (0644)
Add entry [overlay.d/sbin/magisk64.xz] (0644)
Patch with flag KEEPVERITY=[true] KEEPFORCEENCRYPT=[true]
Loading cpio: [ramdisk.cpio.orig]
Backup mismatch entry: [init] -> [.backup/init]
Record new entry: [overlay.d] -> [.backup/.rmlist]
Record new entry: [overlay.d/sbin] -> [.backup/.rmlist]
Record new entry: [overlay.d/sbin/magisk32.xz] -> [.backup/.rmlist]
Record new entry: [overlay.d/sbin/magisk64.xz] -> [.backup/.rmlist]
Create directory [.backup] (0000)
Add entry [.backup/.magisk] (0000)
Dump cpio: [ramdisk.cpio]
- Repacking boot image
Parsing boot image: [/sdcard/Download/boot.img]
HEADER_VER [4]
KERNEL_SZ [23250567]
RAMDISK_SZ [1380095]
OS_VERSION [12.0.0]
OS_PATCH_LEVEL [2022-03]
PAGESIZE [4096]
CMDLINE []
KERNEL_FMT [lz4_legacy]
RAMDISK_FMT [lz4_legacy]
VBMETA
Repack to boot image: [new-boot.img]
HEADER_VER [4]
KERNEL_SZ [23250567]
RAMDISK_SZ [1956730]
OS_VERSION [12.0.0]
OS_PATCH_LEVEL [2022-03]
PAGESIZE [4096]
CMDLINE []
Patch time: 7 seconds

Looking for magisk_patched.img in /storage/emulated/0/Download ...
Found /storage/emulated/0/Download/magisk_patched.img
Pulling /storage/emulated/0/Download/magisk_patched.img from the phone ...
debug: "C:\Android\cmdline-tools\platform-tools\adb.exe" -s 1C041FDF6000G1 pull /storage/emulated/0/Download/magisk_patched.img "C:\Android\cmdline-tools\platform-tools\oriole-sp2a.220305.013.a3\magisk_patched.img"
Replacing boot.img with patched version ...
debug: "C:\Temp\Tmp\_MEI11922\bin\7z.exe" a "C:\Android\cmdline-tools\platform-tools\oriole-sp2a.220305.013.a3\image-oriole-sp2a.220305.013.a3.zip" boot.img
Package is successfully created!
Zip time: 4 seconds
Total elapsed time: 17 seconds
Traceback (most recent call last):
File "Main.py", line 489, in _on_flash
File "modules.py", line 806, in flash_phone
UnboundLocalError: local variable 'fastboot_options' referenced before assignment