Worked great! Updated from the February update to the March update with no issues. Maintained root/data/etc.
PixelFlasher 2.0.0.0
No previous flashable package is found for the selected firmware!
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)
Rebooting device 1C041FDF6000G1 to bootloader ...
==============================================================================
PixelFlasher 2.0.0.0 Preparing Package
==============================================================================
ERROR: Android device model oriole does not match firmware model Pixel6
Can you show what firmware file did you select? (full filename / path)This error doesn't make sense to me. Got this while trying to prepare 12.1.0 (SP2A.220305.013.A3, Mar 2022):
Code:PixelFlasher 2.0.0.0 No previous flashable package is found for the selected firmware! 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) Rebooting device 1C041FDF6000G1 to bootloader ... ============================================================================== PixelFlasher 2.0.0.0 Preparing Package ============================================================================== ERROR: Android device model oriole does not match firmware model Pixel6
Can you show what firmware file did you select? (full filename / path)
Sorry if I was not clear,
C:\Hämtade Filer\oriole-sp2a.220305.013.a3-factory-8bea92d1.zipSorry if I was not clear,
I meant `Pixel Phone Factory Image` you selected in the PixelFlasher Application in step 1.
I think I should add that as the part of the displayed error message.
Traceback (most recent call last):
File "Main.py", line 489, in _on_flash
File "modules.py", line 728, in flash_phone
AttributeError: 'NoneType' object has no attribute 'id'
That is really weird.C:\Hämtade Filer\oriole-sp2a.220305.013.a3-factory-8bea92d1.zip
do you mind turning on verbose mode , clearing the console, selecting the firmware, the phone, and then hitting the prepare package, and share full console output?Ok, the tenth time it worked. I have no idea why. But after the preparation has finished i get this error when trying to flash:
Code:Traceback (most recent call last): File "Main.py", line 489, in _on_flash File "modules.py", line 728, in flash_phone AttributeError: 'NoneType' object has no attribute 'id'
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
That did it. Thank you for your hard work!
Thank you for the consideration.
Not silly at all, that's the idea, to have it ported to other platformsSilly question. If I am understanding it, it is written in python. Is there any plans on porting it to linux?
If you look at the debug output, you'd see that file paths are passed between double quotes, this was fixed few versions ago, so space is definitely not an issue anymore.Tested the program today, worked flawlessly. And very fast, if keeping in mind that Google needs a "lifetime" for optimizing the device.
I saw the problem reported above, is there a possibility that the program has a problem when the filepath has special letters?
In this case "C:\Hämtade Filer\". or maybe the space between the 2 words?
Cheers
Tom
The link still points to 34.0.0. Also, the changelog doesn't include the skipping of fastbootd issue (268872725) so I would recommend people still use 33.0.3 for now if flashing factory images or anything else which may need to be flashed in fastbootd.Google released SDK Platform-Tools v34.0.1
Changelog:
SDK Platform Tools release notes | Android Developers
Android SDK Platform-Tools is a component for...developer.android.com
Cheers
Tom
Damn it, you are right, I thought they would have updated the link, but there is also no direct link available.The link still points to 34.0.0. Also, the changelog doesn't include the skipping of fastbootd issue (268872725) so I would recommend people still use 33.0.3 for now if flashing factory images or anything else which may need to be flashed in fastbootd.
This should be it...Awesome thank you. But where can I find 25206? I looked on releases I didn't see it. I'm sure I just didn't look in right place
.... See I did look on that repo too I passed it right up. Thanks again. I'm gonna use that to patch my .img. Then I'll get back to you if for some reason I don't gain rootThis should be it...
GitHub - topjohnwu/magisk-files at 5b2934603f979d7133e67bbc30c6ce3fa0d8e31e
Magisk File Host. Contribute to...github.com
Thank you for the consideration.