📳🔥 PixelFlasher, a GUI tool for flashing / updating / rooting / managing Pixel phones.

Search This thread

purgy

Senior Member
Aug 29, 2013
183
62
Sydney
Google Pixel 7a
Thanks for confirming,
I'll add it to the automated builds.

I'm not sure I understand the question regarding info.
From the release notes of 5.1.0.0

When a Pixel device is selected, PixelFlasher now displays additional information about the device's support. Things like: Device name, version end date, security update end date, Android version, name, codename, release date, end date.

I'm on pixel 7a
 

badabing2003

Recognized Contributor
Sep 17, 2012
3,014
4,640
From the release notes of 5.1.0.0

When a Pixel device is selected, PixelFlasher now displays additional information about the device's support. Things like: Device name, version end date, security update end date, Android version, name, codename, release date, end date.

I'm on pixel 7a
Yeah, that's how long Google will support your device
It's probably May 2026 (Android update) and May 2027 (security update)
These are just public information that PF is telling you about.
 

badabing2003

Recognized Contributor
Sep 17, 2012
3,014
4,640
New Release:
June 06, 2003 v5.3.0.0 release
  • Added Github Action build on Windows 2019 with Python 3.8 to support Windows 7.
  • PixelFlasher now supports loading and processing Samsung Firmware (at least my Samsung's 😀), it would extract AP, BL, CSC, Home_CSC ... and then extract boot.img.lz4 from AP and unpack the lz4.
    When creating a patch from the set boot.img, PixelFlasher will also create boot.tar to be flashed as AP to retain root.
    If there was a way to pre-load odin with the extracted files, flashing could also be automated.
    I know, what does PixelFlasher have anything to do with Samsung firmware? I added it for my own use.
 

Cornloaf

Member
Jul 9, 2007
27
6
Pixel Flasher v5.3.0.0 was quarantined by Windows Defender. I never had an issue with any of the previous versions over the last 6 months or so.

Trojan:Win32/Wacatac.B!ml

There were two PIDs that it started that caused the quarantine. Anyone else seeing this behavior?
 

badabing2003

Recognized Contributor
Sep 17, 2012
3,014
4,640
Pixel Flasher v5.3.0.0 was quarantined by Windows Defender. I never had an issue with any of the previous versions over the last 6 months or so.

Trojan:Win32/Wacatac.B!ml

There were two PIDs that it started that caused the quarantine. Anyone else seeing this behavior?
Are you getting this when you start the application or when you download.
By the way I use Windows defender as well and am not getting prompted.

Regardless, I can't do much about false positives.
Here's what changed in 5.3.0.0

You can read more about false positives.

Here's what VirusTotal thinks of 5.3.0.0
 

Cornloaf

Member
Jul 9, 2007
27
6
Are you getting this when you start the application or when you download.
By the way I use Windows defender as well and am not getting prompted.

Regardless, I can't do much about false positives.
Here's what changed in 5.3.0.0

You can read more about false positives.

Here's what VirusTotal thinks of 5.3.0.0
I was fairly confident that your software is safe so I just posted here to see if you had any other inquiries about false positives. The alert came up after running the software once and closing out when I saw that the June 2023 update hadn't released yet. I was going to check for updates today and saw that the file was missing from my desktop and Defender logged that error. I downloaded the previous version and scanned it and it was clean. I downloaded 5.3.0.0 again and scanned it, no alerts. I ran the app, clicked a few things like the button to launch the Pixel download page and the system tools link... scanned the executable again and no alerts. Did a full computer scan and nothing.
Looks like it was a glitch on Defenders part this time!
 

sawdoctor

Senior Member
Sep 11, 2016
453
267
Are you getting this when you start the application or when you download.
By the way I use Windows defender as well and am not getting prompted.

Regardless, I can't do much about false positives.
Here's what changed in 5.3.0.0

You can read more about false positives.

Here's what VirusTotal thinks of 5.3.0.0
I know the current ubuntu version works on arch based distros but one of the manjaro tean members has started maintaing it in the aur

Just a heads up
 

badabing2003

Recognized Contributor
Sep 17, 2012
3,014
4,640
I know the current ubuntu version works on arch based distros but one of the manjaro tean members has started maintaing it in the aur

Just a heads up
Thanks for the info,
I'm not familiar with the format, but based on what I'm seeing in here.

Code:
pkgbase = pixelflasher-bin
    pkgdesc = Pixel phone flashing GUI utility with features.
    pkgver = 5.3.0.0
    pkgrel = 1
    url = https://github.com/badabing2005/PixelFlasher
    arch = x86_64
    license = GPL3
    depends = glibc
    depends = zlib
    optdepends = android-tools
    provides = pixelflasher
    conflicts = pixelflasher
    options = !strip
    source = PixelFlasher-5.3.0.0::https://github.com/badabing2005/PixelFlasher/releases/download/v5.3.0.0/PixelFlasher_Ubuntu_22_04
    source = PixelFlasher.desktop
    source = PixelFlasher.png
    sha256sums = 3651036a6f629646dcd6b05940fb67847d19cd525374929aa6b03cc197a67b07
    sha256sums = 3f503e3e3b819562669e1d0a8a25043c478c8c1709b376642fd678caf3d8ee34
    sha256sums = 7ac7e66ab29fd58c300196cc5f639baec6d8070b12613dcf09877a2fc5522c0d

pkgname = pixelflasher-bin

I'm assuming that this is defining / publishing it in arch linux pkg format, where the source binary is the Ubuntu build, and it is declaring what are the dependencies, which I suppose if they are not present, they would be installed by the package.

If that is what is happening, than it's great, people can just install it using the native package manager?
It would be great if this is repeated on other Linux distributions.

What would be the way to install this on Manjaro?
Code:
sudo pacman -Syu PixelFlasher
 

sawdoctor

Senior Member
Sep 11, 2016
453
267
Thanks for the info,
I'm not familiar with the format, but based on what I'm seeing in here.

Code:
pkgbase = pixelflasher-bin
    pkgdesc = Pixel phone flashing GUI utility with features.
    pkgver = 5.3.0.0
    pkgrel = 1
    url = https://github.com/badabing2005/PixelFlasher
    arch = x86_64
    license = GPL3
    depends = glibc
    depends = zlib
    optdepends = android-tools
    provides = pixelflasher
    conflicts = pixelflasher
    options = !strip
    source = PixelFlasher-5.3.0.0::https://github.com/badabing2005/PixelFlasher/releases/download/v5.3.0.0/PixelFlasher_Ubuntu_22_04
    source = PixelFlasher.desktop
    source = PixelFlasher.png
    sha256sums = 3651036a6f629646dcd6b05940fb67847d19cd525374929aa6b03cc197a67b07
    sha256sums = 3f503e3e3b819562669e1d0a8a25043c478c8c1709b376642fd678caf3d8ee34
    sha256sums = 7ac7e66ab29fd58c300196cc5f639baec6d8070b12613dcf09877a2fc5522c0d

pkgname = pixelflasher-bin

I'm assuming that this is defining / publishing it in arch linux pkg format, where the source binary is the Ubuntu build, and it is declaring what are the dependencies, which I suppose if they are not present, they would be installed by the package.

If that is what is happening, than it's great, people can just install it using the native package manager?
It would be great if this is repeated on other Linux distributions.

What would be the way to install this on Manjaro?
Code:
sudo pacman -Syu PixelFlasher
It's an aur package so you'd use an aur helper to install it like yay or pamac or pikaur rather than pacman.

On manjaro if you enable the aur then pixelflasher is available in the native package manager (pamac) and appears in the gui (Software manager or whatever you want to call it) and then it's just a one click install

So for me I open the native package manager gui search for pixelflasher then press build and that's it job done, hope that makes sense
 
  • Like
Reactions: badabing2003

Ultraman666

Senior Member
Apr 8, 2010
1,687
781
Kansas
Xiaomi Mi Mix
OnePlus 9 Pro
I am on Windows 10 and trying to run PixelFlasher and its stuck at the loading screen and never starts the app, it use to work just fine, i am on the newest version, i have even tried to go to an older version and it wont load either. I also tried to run PixelFlasher as administrator and it still wont go past the loading screen. I have looked online but cant find anything that can help to get it working. Any ideas? Thanks for the help all
 

badabing2003

Recognized Contributor
Sep 17, 2012
3,014
4,640
I am on Windows 10 and trying to run PixelFlasher and its stuck at the loading screen and never starts the app, it use to work just fine, i am on the newest version, i have even tried to go to an older version and it wont load either. I have looked online but cant find anything that can help to get it working. Any ideas? Thanks for the help all
Navigate to %APPDATA%\PixelFlasher
Look into the logs directory for the last file, and see if there are any errors, even if there aren't any, it would help to know what was the last event it recorded.
Then rename the PixelFlasher folder there, to something like PixelFlasher.old and start PixelFlasher again.
If it works, zip up the old folder and send it to me privately.
 
  • Like
Reactions: J.Michael

Ultraman666

Senior Member
Apr 8, 2010
1,687
781
Kansas
Xiaomi Mi Mix
OnePlus 9 Pro
Navigate to %APPDATA%\PixelFlasher
Look into the logs directory for the last file, and see if there are any errors, even if there aren't any, it would help to know what was the last event it recorded.
Then rename the PixelFlasher folder there, to something like PixelFlasher.old and start PixelFlasher again.
If it works, zip up the old folder and send it to me privately.
you got it i will give that a go thanks for the help
 
  • Like
Reactions: J.Michael

badabing2003

Recognized Contributor
Sep 17, 2012
3,014
4,640
@badabing2003 apoligize if this has been asked before...have you looked into what would be required for the digital signature necessary to get rid of the "Unverified Publisher" warning?
You're talking about this?
1686679196122.png


I would need an official certificate to sign PixelFlasher, I looked into the free offering from https://about.signpath.io/code-signing/windows-platform for open source projects, and was denied because PixelFlasher was deemed to be hacking / cracking / jailbreaking type of software.
 

V0latyle

Forum Moderator
Staff member
Yep
I would need an official certificate to sign PixelFlasher, I looked into the free offering from https://about.signpath.io/code-signing/windows-platform for open source projects, and was denied because PixelFlasher was deemed to be hacking / cracking / jailbreaking type of software.
Lol wut. By who? I guess ADB Platform Tools is the same thing then, even though it's officially maintained by Google themselves
 

badabing2003

Recognized Contributor
Sep 17, 2012
3,014
4,640
Yep

Lol wut. By who? I guess ADB Platform Tools is the same thing then, even though it's officially maintained by Google themselves
I know, I tried to explain, but then gave up, no point in arguing.

By the way, if you build it locally yourself, then you don't get those because it is self signed but trusted by your PC (only).
So if it bothers people or scares them off, they can always build it locally.
Same story with false positive malware alerts, people have a choice to inspect the open source code and build it themselves.
 

V0latyle

Forum Moderator
Staff member
I know, I tried to explain, but then gave up, no point in arguing.

By the way, if you build it locally yourself, then you don't get those because it is self signed but trusted by your PC (only).
So if it bothers people or scares them off, they can always build it locally.
Same story with false positive malware alerts, people have a choice to inspect the open source code and build it themselves.
It's just annoying every time I update. I'm too lazy to build it myself lol
 

badabing2003

Recognized Contributor
Sep 17, 2012
3,014
4,640
It's just annoying every time I update. I'm too lazy to build it myself lol
Actually if you want, you self sign it yourself so that you don't get bothered each time you use it.

- You would use openssl or makecert to generate a self signed certificate
- Install it in your system
- sign the executable (something like)
Code:
signtool sign /f <path_to_certificate_file> /p <certificate_password> /t <timestamp_server> <path_to_executable>
- You can verify the signature
Code:
signtool verify /pa /v <path_to_executable>
 

Top Liked Posts

  • 1
    @badabing2003 unfortunately I bricked my Pixel 7 while trying to update to september security patch. It's bootlooping, and I can't access fastboot nor recovery. I noticed flashing took a small time (log attached). Is anything I can do by myself, without sending it to warranty? I flashed on the inactive slot as usual
    If you can get the phone in bootloader or recovery mode, you're not bricked.
    Are you able to get it in any of those modes?

    First time you tried to flash with

    Code:
    Android Platform Tools Version: 34.0.4-10411341
    Adb SHA256:       705ddc21f33ac52105d1b075b019962ad0e44fb3d560bde69ce8cb3a36bca183
    Fastboot SHA256:  377ff87ec40a2a9b947e00b487f4f4a42b03e195612bdcd8a526b70a1b0a918a
    extracting product.img (2895 MB) to disk...fastboot: error:
    failed to extract 'product.img': I/O error

    And you ran into the following issue.
    Code:
    Warning: skip copying bootloader_b image avb footer (bootloader_b partition size: 0, bootloader_b image size: 12845320).
    Warning: skip copying radio_b image avb footer (radio_b partition size: 0, radio_b image size: 80191628).

    This is why I don't trust 34.x versions, even though lots of people have success, I see no reason why we should switch from 33.0.3
    Luckily you were on slot a and were trying to flash to slot b
    So you were able to reboot back to slot a

    The second time you tried to flash you used
    Code:
    Android SDK Version:    33.0.3-8952118
    With this both bootloader and radio flashed ok.

    Code:
    Sending 'bootloader_b' (12544 KB)                  OKAY [  0.275s]
    Writing 'bootloader_b'                             (bootloader) Flashing pack version cloudripper-1.0-9894666
    
    Sending 'radio_b' (78312 KB)                       OKAY [  1.713s]
    Writing 'radio_b'                                  (bootloader) Flashing pack version g5300g-230323-230525-M-10200345

    But you still had an issue with the product.img
    Code:
    extracting product.img (2895 MB) to disk...ziparchive W 09-23 01:42:28 15500 14040] Zip: unable to truncate file to 3036135424: File too large
    fastboot: error:
    failed to extract 'product.img': I/O error

    Seeing that the hash of the firmware is correct,
    and this extraction is performed by the fastboot command, I suspect driver / cable / port issue, unless you don't have enough space on the phone.

    If you scan for devices, does PF detect your phone in any state?
    if yes, let me know, and you should be able to recover.
    Unless you did more stuff after creating the support file, your slot a should be intact and you should be able to recover.
  • 6
    Hello all,

    Currently my 7 Pro is rooted with Magisk Stable 25.2, but my bank app detect root and I cant use it.
    I want to install Magisk Alpha https://github.com/Displax/safetynet-fix/issues/32 with this tutorial, but I am a little bit confused what to do, can someone explain me what to do with old magisk?
    I installed Alpha as apk btw.

    Thanks in advance guys
    Not sure why you would need TWRP and flash alpha in TWRP, that instruction could be for a different phone.
    You should be able to flash alpha in fastboot.
    But in any case, if you want to follow that guide, than PF is no use for you, yes you can flash TWRP using PF, but you also could using fastboot, and then you still need to use TWRP to flash Magisk, and not use PF.

    When you're considering to replace some Magisk with some other Magisk (either an older on or a different flavor)
    Two things need to be updated.
    The manager application, which is easy
    And the boot partition (along with the data in /data/adb/magisk)
    You could delete everything in /data/adb/magisk while rooted with the current Magisk, and then uninstall Magsik app and flash stock boot. That will take you to a stock state, and then easily install the other Magisk and follow the rooting steps with it.
    You might ask, why would I need to do all that, can't I just replace Magisk Manager and install in place?
    Depending on the version of Magisk you're running, as soon as you uninstall the Manager, as stub might be installed again by the root portion, so installing a different flavor my end up being blocked / replaced.

    For that PF has a special feature.
    Go to settings and Enable Advanced Options and Offer Patch Methods.
    1695246518810.png


    Next make sure you download to your PC the Magisk version that you want to install.
    Next select the stock boot in PF and hit the Patch button.
    You will be offered patch options like the following.
    1695246565846.png


    Select the downloaded Magisk.
    What this will do is it will create a patch using the selected Magisk rather than the installed Magisk, without having to worry about it being installed or not.
    Uninstall Magisk Manager from the phone.
    Select the created Patch in PF and hit "Flash Boot" not Flash Pixel Phone.

    When the phone reboots you would be rooted with the new Magisk,
    Install it's Manager and you're done.
    5
    Just for the record, I have been using 33.0.3 for a long time and decided to take a chance on 34.0.4 just to be sure it's working properly. I've read in a few places that those who updated a while ago and experienced the issues decided to try it again and are having no problems anymore. That's just what I have read so I'm now trying it myself. So far it's been fine. If I have any problems I'll be sure post and share my experience
    5
    New Release:
    Sep 19, 2023 v5.8.0.0 release
    • Added support for scrcpy (Screen Copy), you can now launch scrcpy to the attached device, configuration is done in the main settings window.
    • Completely redid the wireless connection, there is now wireless manager, that shows history, status and quick selection from history, and supports wireless debugging which requires pairing and is the only option for newer OS-es.
    • For crDroid and other non Pixel firmware automatically set to Full OTA mode (ie sideload) if payload.bin is detected.
    • Added a button to reboot to userspace fastboot (fastbootd).
    • Added system menu to be able to move, resize, minimize, maximize. (useful when the window is of the screen)
    • When extracting from payload.bin, optionally also extract (if available) dtbo.img, super_empty.img, vendor_boot.img, vender_kernel_boot.img in addition to boot.img and init_boot.img (configurable in the settings), as some of these images are needed for 3rd party firmware flashing.
    • On Linux, display a message when terminal app is not set and open shell feature is used.
    • For Samsung devices, when creating a tar file of a patched boot, use POSIX tar format.
    • Miscellaneous fixes and improvements.
    4
    i made an auto backup, now how i can restore modules? or its backing up only the magisk app?
    i was on a13 now on beta 5.3.
    This is backing up the stock boot image, if Magisk for whatever reasons hadn't.
    It is used by Magisk to restore stock boot image when you choose to uninstall.
    There are times when one is missing a backup, and this allows you to create one or upload one from your PC.
    It has nothing to do with Modules.
    I must be blind.. Can you please point out from where you took the auto Backup?
    Magisk Backup button
    1694447253261.png
    4
    thank you, i thought it backups all modules also.
    by the way would be great if that possible :)

    Although it is trivial to zip the modules and have it as backup, I don't do that because just unpacking is not always enough, some modules run a script to install stuff, and I wouldn't know the specifics of each module.
    You have the enable / disable modules feature in PF, I won't bother with backing up modules just because it would be half baked job.
  • 150

    PF_promo-banner_v4.png

    DESCRIPTION

    As the name suggests this is an application to flash (update) Pixel™ phones (possibly all Google™ made phones/tablets, YMMV.)
    PixelFlasher at its core is a UI layer (with bells and whistles) on top of adb / fastboot commands, hence many of its features can be used on non Pixel devices as well. (YMMV).
    The executable is self contained and does not require Python™ to be installed on the system.

    Basic mode: Should suit most users. Some of the features in basic mode are:
    • Simple UI interface, click and go. No more command line, no more placing all files in one directory.
    • boot.img management UI, select the boot.img file to patch and click the patch button. Fully Automated patching with Magisk (without manual steps) and perform upgrades without losing root.
      No more manually extracting files transferring to the phone, patching / re-flashing and doing multiple reboots.
      No more setting airplane mode and clearing storage to retain Safetynet passing.
    • Display details of boot.img (or init_boot.img for Pixel 7 or newer devices).
      • SHA1 checksum.
      • Origin (file it was extracted from).
      • Whether it is patched or not, and if it is patched.
        • What version of Magisk was used to patch it.
        • On what device it was patched.
        • Date of patching.
        • The SHA1 of the source boot.img file.
      • Option to Live boot from a choice of boot.img or patched image.
      • Flash just the boot / init_boot image.
    • Choose to keep data or wipe data while flashing.
    • Ability to flash even if multiple devices are connected to the computer.
    • Option to flash to inactive slot.
    • Display information about the phone.
      • ID
      • Hardware model.
      • Device architecture.
      • Current installed firmware (build).
      • If it is rooted with Magisk.
      • Magisk version (Magisk Tools).
      • Magisk Manager version (the app).
      • List installed Magisk modules.
      • Connection mode (Adb | Fastboot | Sideload | Recovery).
      • Bootloader version.
      • Active slot.
      • Android OS API version.
      • Convenient quick links to download Android platform tools or device firmware.
    • Magisk Manager installation UI, screenshot. Supported versions:
      • stable (official)
      • beta (official)
      • canary (official)
      • debug (official)
      • alpha
      • delta
      • special build that disables modules, used to recover from bootloops due to bad module(s) when safe mode does not work.
    • Magisk Backup Manager, screenshot.
      • List all Magisk backups currently on the device.
      • Highlight the one that is backup of the current installed version.
      • Delete backups.
      • Manually add backup from PC.
      • Auto Backup: PixelFlasher figures out what needs to be backed up, and if it finds it on the PC, it creates the backup.
    • Magisk modules management, enable / disable modules selectively, this comes in handy to disable suspect modules before an upgrade screenshot:
      • Name
      • Version
      • Description
      • Enabled / Disabled.
    • Display Android Platform Tools (SDK) version and warn / block if the version is old.
    • Install APK (an app) file from the computer onto the device.
    • Advanced features are hidden to keep the interface simple and easy to follow.
    • A lot of checks and validations for smooth operation.
    • Automatic check for program updates.
    • Package (Application) Manager, screenshot:
      • Disable (Freeze)
      • Enable
      • Uninstall
      • Install APK
      • Download APK
      • Multi-Select
      • Show Package Details.
    Expert mode: (should only be turned on by experienced users). In addition to the basic features, you get:
    • The ability to flash custom ROM (with or without patching boot.img)
    • Option to flash to both slots.
    • Option to flash to inactive slot.
    • Options to disable verity and or verification.
    • Ability to change the active slot.
    • Ability to live boot to custom boot.img (temporary root).
    • Ability to boot to recovery.
    • Ability to flash custom image: boot, recovery, radio, kernel, ...
    • Ability to sideload an image.
    • Lock / Unlock bootloader.
    • Option to gain temporary root (good for testing or checking things out).
    • SOS Disable Magisk modules to get out of bootloop (experimental).

    Prerequisites​

    Installation​

    PixelFlasher doesn't have to be installed, just double-click it and it'll start.
    Check the releases section for downloads.

    Supported platforms​

    • Windows
    • MacOSX
    • Linux

    Usage

    Basic Mode

    1. First thing to do is select Android™ Platform Tools, if Android™ Platform Tools is already in your PATH environment, the application will detect it and pre-populate it.
      Otherwise you'd have to select where it is installed.
      You can download the lastest Android™ Platform Tools by clicking the Image of link next to it.
      If you have multiple versions, you can select another version, although it is best to always use the most recent version (The selected version will be identified and displayed.)
    2. Hit the Scan button to detect connected devices, the application will detect all connected devices
      (in adb, fastboot, sideload, recovery modes) and populate the combo box (2).
    3. Select your device from the list in the combo box. The following information about the connected device is displayed.
      • (1st field) Rooted devices will be identified with a checkmark ✓. Note: If you want PixelFlasher to detect root, or automatically use Magisk to patch boot.img, you need to grant root permissions to shell in Magisk.
        Image of shell root access
      • (1st field) Non-Rooted devices will be identified with a ✗.
      • (1st field) Devices in fastboot mode will be identified with a ? (in fastboot mode, root status cannot be determined).
      • (2nd field) (adb), (f.b), (sid) or (rec) to indicate connection mode adb / fastboot / sideload / recovery.
      • (3rd field) Device ID.
      • (4th field) Device hardware.
      • (5th field) Current running firmware (in fastboot mode current firmware cannot be determined).
    4. Next select the factory or full OTA zip file (don't unzip), the application will recognize the phone model from the image name and validate the SHA-256 checksum.
      You can download factory images by clicking the Image of link next to it. You can download full OTA images from here.
      Note: Because both firmware package and full OTA are complete images, you can upgrade to any newer version without worrying about jumping versions (downgrades might work, but are not recommended).
    5. Process the factory image. PixelFlasher will extract boot.img (or init_boot.img for Pixel 7 or newer devices) file from the factory image and populate it in the list below (5).
    6. Select boot.img (or init_boot.img for Pixel 7 or newer devices) from the list, the selected file can be patched (6), or flashed (10).
    7. Optional: Select this option if you want to patch the boot.img (or init_boot.img for Pixel 7 or newer devices) with Magisk. If Magisk is not already installed on your phone, PixelFlasher will install it for you. Your phone does not need to be rooted to create a patched file. This would be the typical choice for monthly updates.
      This option will allow updating the phone without losing root (not even temporarily).
      Note: See note above for granting root permissions to shell.
      Whether the phone is rooted or not, the whole process is without any manual step.
    8. If you want to flash (10) a patched boot.img (or init_boot.img for Pixel 7 or newer devices) select the newly added entry.
      The following details are listed.
      • Image of patched-boot Indicates that the selection is patched.
      • SHA1 is (shortened for display only) sha1 of boot.img (or init_boot.img for Pixel 7 or newer devices)
      • Source SHA1 (shortened for display only) SHA1 of source boot.img extracted from the image (This should be the same as SHA1 of an unpatched boot.img)
      • Package Fingerprint is just the filename portion of the image (without the extension).
      • Patched with Magisk indicates the version of Magisk used to patch the image (if applicable).
      • Patched Method indicates what method PixelFlasher used to create a patch (possible options: root, app, uiautomator, manual)
      • Patched on Device indicates the device model that performed the patching. You should always use patched images that match the model of the device that it will be flashed on.
      • Date is the either the date the boot.img was extracted, or the date it was patched.
      • Package Path indicates the file from which boot.img (or init_boot.img for Pixel 7 or newer devices) was extracted.
    9. Select the Flash Mode
      • If factory firmware is selected in step 4:
        • Keep Data: In this mode -w flag is removed from the flash scripts so that data is not wiped. This is commonly known as dirty flashing.
        • WIPE all data: As the text suggests, this will wipe your data, use it with caution!
          If this mode is selected PixelFlasher will ask for confirmation during the flashing phase.
        • Dry Run: In this mode, the phone will reboot to bootloader, and then mimic the flash actions (i.e. reboot into bootloader) without actually flashing anything (it prints to the console the steps it would have performed if dry run was not chosen). This is handy for testing to check if the PixelFlasher properly is able to control fastboot commands.
      • If full OTA image is selected in step 4:
        • Full OTA: Will flash full OTA image in sideload mode. Features of this mode:
          • This will always flash to inactive slot similar to how OTA updates happen on the phone.
          • If something goes wrong during flashing, the active flash is uneffected and the phone boots back to active functional slot.
          • If you flash to both slots (ie flash twice in a row) then both slots would be bootable.
          • Your phone's bootloader does not have to be unlocked to be able to flash full OTA image (stock boot only).
    10. Optional: Open Magisk Modules Manager and disable (uncheck) modules known to cause issues during upgrades (the below list has never caused issues for me, so I keep them enabled YMMV).
    11. Flash Pixel Phone This is the final step, to actually flash the phone in the selected Flash Mode.
      Note: Unlike the previous versions of the PixelFlasher, all the options are dynamic, i.e. depending on what you select before clicking the Flash button, there is no more concept of prepared package. PixelFlasher will first present you the selected options and ask for your confirmation if you want to proceed with flashing.

    Expert Mode
    To enable the export mode use the File Menu | Advanced Configuration and select Enable Advanced Options Image of PixelFlasher GUI
    Image of PixelFlasher GUI

    In this mode the following additional options are exposed (green bounding boxes), below notes are more for enumeration than a guide, as they should be trivial and obvious to an expert.

    1. Option to Change the Active Slot (the inactive slot is automatically selected).
      Option to reboot to Recovery.
    2. Options to Lock / Unlock bootloader, Option to disable Magisk modules when bootlooping.
    3. Apply Custom ROM. This replaces the factory ROM image with the selected file.
      PixelFlasher extracts boot.img from the ROM image and displays below for selection or patching. Please make sure to read the documentation of the chosen ROM, as each custom ROM instructions could be different.
      To be clear, this is what PixelFlasher does internally when this mode is selected, please understand it, and don't use it if the selected ROM guide does not fit the bill. You've been warned!
      • Keeps stock bootloader and radio images.
      • Replaces the stock ROM image with the selected custom ROM image.
      • Flashes in the chosen Flash Mode just like a stock image, i.e. bootloader, custom ROM and radio images in the original order that they were in the stock firmware.
      • Patching boot.img can be performed if the option is selected. You can select any of the listed boot.img.
      • Flash Mode is similar to basic flash mode described above in step 7.
    4. Custom Flash. select this to switch from flashing a Factory Image to flashing a single file.
    5. Browse to select a a valid image file (.img or .zip). Or select a boot.img from the list above and click on the paste button to paste the selected boot.img into the file selection. Choose the dropdown to select image type.
      • boot (can be flashed to Live or boot) - Expected file type .img
      • bootloader - Expected file type .img
      • dtbo - Expected file type .img
      • product - Expected file type .img
      • radio - Expected file type .img
      • recovery - Expected file type .img
      • super_empty - Expected file type .img
      • system - Expected file type .img
      • system_ext - Expected file type .img
      • system_other - Expected file type .img
      • vbmeta - Expected file type .img
      • vbmeta_system - Expected file type .img
      • vbmeta_vendor - Expected file type .img
      • vendor - Expected file type .img
      • vendor_boot - Expected file type .img
      • vendor_dlkm (the device will be put into fastbootd mode during this operation) - Expected file type .img
      • image - Expected file type .zip
      • SIDELOAD - Expected file type .zip
        Select the appropriate flash options. Note: For Tensor devices (Pixel 6 or newer devices) When Flash to both slots option is selected, Pixelflasher flashes each slot individually to overcome a Google bug that fails with the option --slot=all

    Credits

    • First and foremost Magisk by John Wu which made rooting Pixel™ phones possible, without it none of this would have mattered.
    • Big thanks to [ryder203], [t-ryder] for his valuable ideas, feedback and testing. Your contributions are very much appreciated.
    • [Homeboy76] and [v0latyle] at xda for their excellent guides [here and here] on Pixel™ series phones. This program could not have been possible without their easy to follow guides.
      I strongly encourage all beginners to follow those guides rather than use this program, it is important to understand the basic steps involved before diving into one click tools or advanced tasks.
    • Marcel Stör's nodemcu-pyflasher source code which jump started my introduction to wxPython and eventually this program.
    • JackMcKew for pyinstaller Github Actions.
    • Endless counts of xda members and their posts that tirelessly answer questions and share tools. Too many to enumerate.

    Disclaimer

    Code:
    *******************************************************************************
    PLEASE DO YOUR PART AND READ / SEARCH / RESEARCH BEFORE USING THIS PROGRAM
    AND/OR ATTEMPTING ANY MODIFICATIONS ON YOUR DEVICE.
    THIS PROGRAM ASSUMES THAT YOU ALREADY KNOW HOW TO AND HAVE ALREADY UNLOCKED
    YOUR BOOTLOADER, ALREADY ROOTED YOUR DEVICE, AND KNOW HOW TO USE ANDROID SDK
    PLATFORM-TOOLS, ETC.
    THIS TOOL IS SIMPLY MY QUICK WAY OF UPDATING THE FIRMWARE WHILE ROOTED WITH
    MAGISK, WITHOUT LOSING DATA / REQUIRING A WIPE.
    MODIFYING YOUR DEVICE COMES WITH INHERENT RISKS, AND IT'S NOT MY RESPONSIBILITY
    IF YOU LOSE YOUR DATA OR BRICK YOUR DEVICE. THE TOOL I SHARE HAVE WORKED FOR ME,
    BUT THAT DOESN'T MEAN THAT YOU MAY NOT RUN INTO PROBLEMS. **BACKUP YOUR DATA.**
    *******************************************************************************

    No Donation
    I've been asked quite few times about donation, (here, here ... just to list a few).
    I'll put it here so that my stance is clear.
    This program will remain totally free, ad free, even donation free, it's my way to give a little back to the community that has given me years of support and joy.

    You can contribute by helping the next newcomer to learn the ropes and navigate through the maze of information.
    14
    New Release:
    July 03, 2023 v5.4.0.0 release
    • Add Pixel Fold (Felix)
    • Add sorting capability to boot list.
    • Add warning about Magisk a8c4a33e:26103
    • Improved auto-resize of boot columns.
    • Improved internal DB management.
    • Handle beta or similar words in the firmware name to not trigger hardware mismatch warning.
    • Improved tracking the origin of a patched image.
    • Display Kernel version as part of device details
    • Refresh package manager list when packages are updated to reflect the changes.
    • Miscellaneous other improvements.
    • Update Readme.
    11
    Latest Release:
    Sep 19, 2023 v5.8.0.0 release
    • Added support for scrcpy (Screen Copy), you can now launch scrcpy to the attached device, configuration is done in the main settings window.
    • Completely redid the wireless connection, there is now wireless manager, that shows history, status and quick selection from history, and supports wireless debugging which requires pairing and is the only option for newer OS-es.
    • For crDroid and other non Pixel firmware automatically set to Full OTA mode (ie sideload) if payload.bin is detected.
    • Added a button to reboot to userspace fastboot (fastbootd).
    • Added system menu to be able to move, resize, minimize, maximize. (useful when the window is of the screen)
    • When extracting from payload.bin, optionally also extract (if available) dtbo.img, super_empty.img, vendor_boot.img, vender_kernel_boot.img in addition to boot.img and init_boot.img (configurable in the settings), as some of these images are needed for 3rd party firmware flashing.
    • On Linux, display a message when terminal app is not set and open shell feature is used.
    • For Samsung devices, when creating a tar file of a patched boot, use POSIX tar format.
    • Miscellaneous fixes and improvements.

    Aug 15, 2023 v5.7.2.0 release

    • Regression Bug fix: Refresh UI to display / hide flash options after changing advanced settings.
    • Use Python 3.11 instead of 3.10
    Aug 13, 2023 v5.7.1.0 release
    • Print available memory when starting PixelFlasher.
    • Option to sacrifice speed in favor of using less memory (used when processing large firmware files, turn it on only if you run into out of memory errors).
    Aug 09, 2023 v5.7.0.0 release
    • Rework the settings window: code refactoring and bug fixes.
    • Bug Fix: In some cases log files were not saved.
    • Bug Fix: Custom font size changes were not always applied.
    • When getting device details, get battery details.
    • Don't set ASH_STANDALONE=1 when using busybox, it encounters selinux related issue.
    • Extra check to make sure the created patch is not zero bytes long.
    Aug 07, 2023 v5.6.0.0 release
    • Added configurable toolbar.
    • Added device controls buttons to the menu.
    • Added feature to Magisk Manager, ability to install modules from the PC.
    • After flashing OTA, detect if the slot switched as expected, if it didn't, skip patched boot flashing (if selected).
    • Added feature to Package Manager to be able to manage (add, remove, list) Magisk denylist.
    • Added export csv formatted package list feature.
    • When sanitizing DB, wipe write-ahead logs (WAL) for better privacy.
    • Under the hood optimizations.
    • Verity / Verification status check.
    • Counter in package manager.
    • Added a quick link to Android security and update bulletins.
    July 16, 2023 v5.5.1.1 release
    • #84, further UI improvements for smaller screens.
    • Better dark mode handling for MacOS and Linux.
    • #86, improved handling of space characters in paths.
    July 14, 2023 v5.5.1.0 release
    • Bug fix #85 Can't enable/disable Advanced option in v5.5.0
    • A little improvement #84 UI elements not optimized for monitors with low screen resolution
    July 13, 2023 v5.5.0.0 release
    • Added a patch method Other Magisk App to be able to select any Magisk apk and use it to create a patch without installing Magisk, handy when a patch needs to be created with an older version of Magisk (in case the current version has issues) and Magisk daemon gets in the way and replaces the older version with a stub.
    • UI improvements
    • Added Kill Application in Package Manager.
    • Added Clear Application Data in Package Manager.
    • Now that Full OTA flashing is the preferred method, added a direct link to the device's full OTA download page from Google.
    • While flashing, disable the Flash Pixel Phone button to avoid accidental clicking.
    • Improved root detection.
    • Bug fixes and other improvements.
    July 03, 2023 v5.4.0.0 release
    • Add Pixel Fold (Felix)
    • Add sorting capability to boot list.
    • Add warning about Magisk a8c4a33e:26103
    • Improved auto-resize of boot columns.
    • Improved internal DB management.
    • Handle beta or similar words in the firmware name to not trigger hardware mismatch warning.
    • Improved tracking the origin of a patched image.
    • Display Kernel version as part of device details
    • Refresh package manager list when packages are updated to reflect the changes.
    • Miscellaneous other improvements.
    • Update Readme.
    June 23, 2023 v5.3.3.0 release
    • #79 Bug-fix: Package Manager column stays unsorted when filtered.
    • Warn users that extract the contents of firmware and use the image inside as firmware, which is no good.
    • Warn users of Android Platform-Tools 34.0.3 about potential issues and suggest using 33.0.3
    • Package manager bug fixes and improvements.
    June 21, 2023 v5.3.2.0 release
    • Added support for Pixel tablet (tangorpro).
      For future devices, fixed a bug to auto detect init_boot partition and flash init_boot instead of boot even if the device is newer than the PixelFlasher and is not in PixelFlasher's list.
    • Disable Patch buttons if device is not in adb mode.
    • Reboot to system after lock / unlock bootloader if No Reboot option is not selected.
    • Increase sleep after reboots to various modes to assure that slow devices have time to be detected.
    • Updated Readme and screenshots.
    • Minor improvements and bug fixes.
    June 16, 2023 v5.3.1.2 release
    • Set Active slot now automatically reboots to system after setting the slot, unless "No Reboot" option is selected.
    • Update Ubuntu 20.04 build to be aligned to the same methods that Ubuntu 22.04 build uses.
    • Improve confidence value calculation when comparing compressed sha1 against normal sha1 to account for shift.
    • Do not abort when the sha1 comparison confidence value is low, leave the choice to the user.
    • Update Windows builds (both) as wxPython wheel path changed, rely on a more persistent URL instead.
    June 06, 2023 v5.3.0.0 release
    • Added Github Action build on Windows 2019 with Python 3.8 to support Windows 7.
    • PixelFlasher now supports loading and processing Samsung Firmware (at least my Samsung's 😀), it would extract AP, BL, CSC, Home_CSC ... and then extract boot.img.lz4 from AP and unpack the lz4.
      When creating a patch from the set boot.img, PixelFlasher will also create boot.tar to be flashed as AP to retain root.
      If there was a way to pre-load odin with the extracted files, flashing could also be automated.
      I know, what does PixelFlasher have anything to do with Samsung firmware? I added it for my own use.
    June 03, 2023 v5.2.0.2 release
    • #76 Get a better build with Github action to support more Linux based platforms (no functionality changes).
    June 01, 2023 v5.2.0.1 release
    • Bug fix #78 Error when opening a shell console on Linux / Mac
    June 01, 2023 v5.2.0.0 release
    • Update build workflows
    • Add payload_dumper functionality to PixelFlasher to handle OTA files, thanks to vm03 for sharing source code.
    • Added rules engine code to better / easier management of the UI widgets enabling / disabling.
    • Auto detect Pixel OTA image and extract boot / init_boot / vbmeta for patching and flashing.
    • Add Full OTA mode, which flashes full OTA image, while optionally retaining root, and best of all, for A/B devices, both slots are bootable, you can even have one rooted and one not.
    May 25, 2023 v5.1.0.2 release
    • Skip testing fastbootd in dry run mode if Android platform tools version is > 34, is it no longer supports fastbootd (at least 34.0.3 does not)
    v5.1.0.1 release notes:
    • Exception handling when device is not in the listed Pixel devices.
    v5.1.0.0 release notes:
    • Support for Android platform tools version 34.0.3, and automatic setting of ANDROID_PRODUCT_OUT environment to workaround a regression introduced in version 34.0.3
    • Temp workaround to avoid selecting root method patching when Magisk Delta is detected.
    • Nicer looking / clearer manual patching dialog.
    • When a Pixel device is selected, PixelFlasher now displays additional information about the device's support.
      Things like: Device name, version end date, security update end date, Android version, name, codename, release date, end date.
    • Boot image list box now displays the applied PixelFlasher patch method.
    • Auto-resize boot image list box columns for better readability.
    • Precautionary cleanup up of leftover files on the phone in case root detection software keys on presence of such files.
    • #77 added attrict3 to requirements.txt in case it helps with certain builds (it shouldn't be needed).
    • Bug fixes and improvements.
    May 21, 2023 v5.0.1.0 release
    • Added workflow for building on MacOS 13.
    • ComboBox behavior on Mac is different than Windows, make adjustments.
    • Ability to set PixelFlasher working directory (no UI).
    • Speed up startup.
    • Popup device selection after Wifi adb connect.
    • Clear Device list after adb kill-server.
    May 19, 2023 v5.0.0.1 release
    • #75 Bug fix, when device is in bootloader, type error.https://github.com/badabing2005/PixelFlasher/issues/74
    • #74 Added Support for Pixel 7a (lynx)
    • Configuration option to define the file manager to use on Linux (default: Nautilus)
    • Configuration option to define the terminal emulator to use on Linux (default: gnome-terminal).
    • Support for additional types of Factory / ROM files.
    • Checksum validation of firmware / ROM files (if part of the checksum is in the name, otherwise just display)
    • New advanced option, ability to choose the patching method (with recommendations).
    • Added Recovery Image patching option.
    • Advanced option to enable the use of busybox shell (default off).
    • Auto detect firmware / rom with init_boot and use init_boot for creating patches, this way future firmware don't have to be manually added to PixelFlasher.
    • Auto detect devices with init_boot and use init_boot for flashing, this way future devices don't have to be manually added to PixelFlasher.
    • Auto-popup the detected devices dropdown after a scan, to make it obvious to select that next. (Thanks @pndwal for the idea)
    • Show SHA-256 of adb and fastboot binaries, as Google keeps on messing up Android Platform-tools, it's necessary to whitelist / blacklist specific binaries.
    • #66, when checking the patched files internal SHA1, provide a confidence rating.
    • Check, valdiate and warn if necessary when flashing an image patched with Magisk Zygote64_32, as there are wipe implications, provide links to documentation.
    • Added fastbootd testing to Dry Run.
    • Added Github actions to build all the targets on Github.
    • Code refactoring, bug fixes and improvements
    Apr 30, 2023 v4.10.0 release
    • Added no reboot option, with this option selected, after flashing is completed, the phone will not reboot to system, giving a chance to take other actions before reboot.
    • Added built-in file editor, you can now edit the flash script before running, in case you want to customize it (needless to say, should only be used if you know what you're doing)
    • Added a button to open an explorer in working directory, useful for people who want full control, perform manual actions by following guides, but using PixelFlasher to do the prep work.
    • Made the Firmware and Rom Process buttons, full with text. It wasn't obvious for some.
    • Detect and handle Magisk Zygote64_32 automatically, thanks to @Namelesswonder for adding the necessary marker.
    Apr 27, 2023 v4.9.0 release
    • Added support for installing / creating patch with @Namelesswonder Magisk zygisk64_32 (stable, beta, canary, debug versions).
    • Support for recognizing Lineage firmware and extracting / patching boot.
    • Display 32 bit capabilities of the device.
    • Utilize New Magisk 26.x flags as needed (patch support for more devices).
    • Disable Flash to Inactive slot and Flash to both slots button if the device is not A/B device.
    • Partition Manager can now list the partitions even if the devices is not rooted.
    • Added Custom Patch button, which allows selecting a boot file from disk and getting a patched file back to save to disk (all on the PC).
    • Added Open Folder button to open a file browser to the directory of the selected boot image.
    • Added Reboot to Download button (Odin mode).
    • Added Reboot to Safe Mode button.
    • Storage reorganization, store patched files next to the stock file, and set the patch name to clearly indicate both source and target sha1.
    • Various additional validation checks.
    • Bug fixes and other improvements.
    Apr 10, 2023 v4.8.2 release
    • Include additional Magisk versions in the check to display a warning dialog when the user has installed one of the known versions to have issues.
    • Display USNF related flag values when selecting a device.
    • Check the downloaded Google firmware checksum to match the one in the filename and warn if it does not.
    • Link to download Google USB Driver is added in the help menu.
    • Added more visual troubleshooting event flows.
    • Install APK now defaults to Non Market.
    • Added Install APK cancel option.
    • You can now select an app in package manager and right click to launch it on the phone.
    • Minor bug fixes and other improvements.
    Mar 14, 2023 v4.8.1 release
    • #47 Feature request: Added partition manager - Allows to erase partitions, and / or dump / backup partitions to PC.
    • Added more visual troubleshooting event flows.
    • Added warning message for when Android platform tools versions 34.0.0 and 34.0.1 are used.
    • Improved support.zip redactions.
    • Added Support.Zip generator button on the Main screen.
    • APK Install option can now set the ownership to Play Store Market (useful for Android Auto)
    • Check and warn the user when Magisk Canary versions 25207, 25208, 25209 and 25210 are being used.
    • Bug fixes and other improvements.
    Feb 12, 2023 v4.8.0 release
    • #50 Support for Android 14 Developer Preview for Pixel 7 and Pixel 7 Pro
    • #48 Do not allow patching with hidden Magisk (stub) and adb shell not granted root rights.
    • Block using Android Platform Tools version 34.0.0 and display a warning because it has known issues
    • Disable Magisk Backup Manager button if root access to adb shell is not granted.
    • Button to Open adb shell connected to the selected device.
    • Work in Progress: Generate graphical activity log to visualize the activity and speed up troubleshooting.
    Feb 05, 2023 v4.7.0 release
    • Added Magisk Backup Manager:
      • List all Magisk backups currently on the device.
      • Highlight the one that is backup of the current installed version.
      • Delete backups.
      • Manually add backup from PC.
      • Auto Backup: PixelFlasher figures out what needs to be backed up, and if it finds it on the PC, it creates the backup.
    • Added Reset on Magisk Manager package name setting to reset to default: com.topjohnwu.magisk
    • Linux / Mac build.sh now switches to the PixelFlasher folder if it is run from elsewhere.
    • Magisk installer improvements:
      • When installing Magisk Alpha or Delta, PixelFlasher updates the configuration to match the package name to the respective Magisk package.
      • Magisk installer window displays the package name.
      • You can now copy to clipboard, the download URL and package ID.
    • Magisk Manager columns are now wider for better readability.
    • Package Manager improvements:
      • Added Search / Filter option.
      • Show count of filtered packages.
      • Application Name (label column).
      • "Get Application Names" Button to resolve all package application names. This is a slow process, hence PixelFlasher caches them.
      • Button to download (pull) APKs from the device. (Multiple downloads in one shot is also supported).
      • Other under the hood improvements.
    • When selecting a firmware or ROM file, sha256 is printed to console and displayed on hover, to validate if it matches the published sha256.
    • More verbose logging that helps with troubleshooting.
    • Double click on "ADB Connected Devices" to invoke adb kill-server which is handy at times, specially when dealing with Wifi ADB.
    • Moved existing links under Help Menu | Links, and added few more handy links.
    • Added timestamp to support.zip filename.
    • On request, spinning cursor with text "Please be patient ..." is now displayed in red.
    • Flashing to inactive slot is now in basic configuration instead of advanced configuration.
    • Preparation work for version 5.0 DB improvements.
    • #40 Handle locale related exceptions which were causing PixelFlasher to not launch on some Windows 11 systems.
    • Add the ability to download and install a special Magisk version that has modules loading intentionally disabled. Required to get out of bootloops and manage to disable modules.
      Credit to gecowa6967 at XDA.
    Dec 05, 2022 v4.6.0 release
    • Added single click button to easily flash just the boot/init_boot (stock or patched) to the phone.
    • #39 Display Flash Option changes in the console, and allow flashing to inactive slot in basic mode.
    • #39 Do the Magisk backup only when rooted.
    • Decouple OTA sideload from needing factory image.
    • Other minor improvements.
    Dec 04, 2022 v4.5.0 release
    • New look (Artwork / Icons), compliments of @t-ryder (thank you), based on Material design icons.
    • New Feature: Package Manager, Install / Uninstall / Freeze (disable) / Unfreeze (enable) packages even system ones (root not required). Handy with Wifi ADB.
    • Use latest Python updated packages.
    • Ubuntu 22.04 support.
    • Miscellaneous improvements.
    Nov 09, 2022 v4.4.0 release
    • New feature: Font and Font size should be configurable by the user #33
    • New feature: Added WiFi-ADB connect / disconnect button. Left click to connect, Right click to disconnect.
      Handy to access a device remotely.
      Note: This only works in adb mode, so no fastboot or flashing features work for remote devices, but for patching / installing apks, managing Magisk modules it works well (basically anything that is done in adb).
      I personally use this to test patching on remote devices, and also use it to access / install apps to my watch.
    • Ground work for future features: Get installed Package list, and list which are disabled, enable / disable / uninstall apps. (Will be available in future release).
    • Move Flash Option Flash to inactive slot to Basic mode from Advanced mode..
    • Minor UI Improvements
    • If Magisk does not create a backup attempt to trigger Magisk to create one.
    • Update readme to include Pixel 7 / 7P specific info.
    Oct 27, 2022 v4.3.1.0 release
    • Bug Fix: Magisk modules not listed on MacOS / Linux
    Oct 16, 2022 v4.3.0.1 release
    • Bug fix: #30 Error during firmware processing file extraction phase.
    • PixelFlasher-Linux is now labeled PixelFlasher-Ubuntu (It is built on Ubuntu which is not compatible with all Linux flavors. Even though PixelFlasher-Kali is more compatible, it is still not a one size fits all solution.)
    Oct 15, 2022 v4.3.0 release
    • New: You can now download and install alpha and delta Magisk versions in addition to the official stable, beta, canary and debug versions.
    • Bug fix: Generating support.zip file was modifying the main db file unnecessarily.
    • Bug fix: When patching with Magisk Manager the version of Magisk Manager was not being displayed in the boot images table.
    • Bug fix: MacOS downloaded Magisk had space in the file path, which was causing failed installation.
    Oct 13, 2022 v4.2.0 pre-release
    • Support for Pixel 7, 7p (init_boot extraction and patching / flashing).
    • Added Pixel 7 / 7p partitions flashing options to custom flash.
    • Improved patching process using boot_patch, add more patch file validations.
    • Check for Magisk backup and trigger Magisk to backup if missing.
    • Add more logging messages for troubleshooting.
    • Code optimization / improvements.
    • Bug Fix #28 Error when opening download link without a device selected.
    • Added set_version script to easily set the product version.
    • Print path of the selected boot to console, for easy copy / paste.
    Oct 05, 2022 v4.1.4 release
    • Rooted Magisk patching will now automatically back up stock-boot.img (more to come).
    • Bug Fix #27, handle version exception.
    Oct 05, 2022 v4.1.3 release
    • Bug Fix: Extract Magisk Manager version properly.
    Oct 04, 2022 v4.1.2 release
    • include busybox binaries for different Android architectures (arm64-v8a, armeabi-v7a, x86_64, x86)
    • don't use hidden Magisk for patching, as it is a stub only.
    Oct 03, 2022 v4.1.1. release
    • Bug Fix: Bundle busybox with PixelFlasher to be used for unzipping Magisk.
    • Bug Fix #25, use the Magisk Manager version number instead of Rooted Magisk version number.
    • Cosmetic changes and a bit more logging.
    Oct 03, 2022 v4.1.0 pre-release
    • Patching is now fully automatic with or without root.
      PixelFlasher uses installed Magisk Manager binaries to create a patch (root binaries are only used if Magisk Manager is not available / accessible)
      UIAutomator no longer necessary, neither asking the user to manually patch and click ok when done.
    • Added an option to set a hidden Magisk package name so that PixelFlasher can find the Magisk and use it, the user still has a choice to use root binaries.
    • Speed improvements for device property reading.
    • Speed improvements for Magisk modules reading.

      NOTICE:
      I'm marking this release as pre-release because I just found out that unzip is not normally available on the phone, which this new patching mechanism uses.
      On my test phones they were available.
      Unless you have unzip on your phone, you should avoid using this version.
      Sorry about this oversight.
    Sep 25, 2022 v4.0.0 pre-release
    • New Feature: On supported devices, where device is not yet rooted (or adb shell su not allowed), an option to control the Magisk Manager GUI (drive UI) to programmatically control the app through UIAutomator and create a patched boot.img
      See Patching flow chart for details.
    • New Feature: Detect if Magisk Manager is at a higher version than installed Magisk, warn the user of a potential rare corner case and offer a choice of patching method.
    • New Feature: Temporary Root, when flashing if you choose this option, the phone will be flashed with unpatched boot.img, but Live boot to patched boot.img to provide a temporary root.
    • New Feature: Warn the user to flash both bootloader slots if their device is a Tensor device (Pixel 6, Pixel 6a, Pixel 6 Pro), if current version of OS is lower than Android 13.
    • New Feature: Flash to inactive slot. Unlike OTA flashing factory image flashing is always done on the current active slot, with this option selected, PixelFlasher will write to inactive slot. This allows one to revert to current working state in case anything goes wrong. This feature combined with Temporary Flash provides best method to test a new firmware without risking losing current working setup.
      Note: You should avoid this option if you are on a Tensor device and are upgrading from Android 12 to Android 13 (see the previous feature).
    • New Feature: Detect and operate on devices that are in Sideload or Recovery mode.
    • New spinner to indicate PixelFlasher activity.
    • Renamed Reload button to Scan, to better reflect the button's function. After a scan print the count of devices found.
    • PixelFlasher previously used MD5 to uniquely identify boot images (patched or otherwise), with version 4.0.0 PixelFlasher now uses SHA1 instead of MD5.
      This has no bearing on the functionality, it just better aligns with Magisk way of identifying and tagging boot images.
    • PixelFlasher now extracts the embedded SHA1 of a Magisk Patched images (only available in newer devices) and assures that it matches the source boot.img's SHA1.
      This is just an extra validation.
    • Code cleanup / refactoring, adding more validations and exception handling.
    • Print debug details when encountering non compliant Magisk modules.
    • Firmware link now takes you to the device's download page instead of just the general download page.
    • To better reflect the file details, transferred and stored boot.img files are now suffixed by their shortened SHA1, while magisk_patched.img files are now suffixed by shortened SHA1 of their source boot.img.
    • Allow sideload even if bootloader is locked.
    Sep 04, 2022 v3.7.0 release
    • New Feature: Install Magisk into the phone, PixelFlasher displays information about the latest available Magisk versions (stable, beta, canary, debug) and offers the choice to install a selection.
    • New Feature: Install compatible apk file onto the device from PixelFlasher menu.
    • Check Android Platform Tools version and warn if it is old.
    • Block flashing when stock flash_all.bat file is tampered with.
    • Don't bother with flashing if bootloader is locked.
    • More validations and exceptions handling.
    • Improved logging.
    Aug 24, 2022 v3.6.0 release
    • When a device is selected, the Bootloader version is displayed. (Useful for Pixel 6* devices with ARB). Works in adb and fastboot modes.
    • Added a button to dump full device info (useful for troubleshooting). Works in adb and fastboot modes.
    • Improved tooltips.
    Aug 21, 2022 v3.5.1 release
    • Fix: Incorrect warning is displayed when Flash on both slots is selected.
    • The contents of the generated flash-phone.bat file will now be displayed on console even if verbose option is not selected, this helps the user know exactly what commands would be executed before clicking the OK button.
    Aug 19, 2022 v3.5.0 release
    • Add support for fastboot --force flag (to help fix partition issues, caution it will wipe data) see this.
    • Split image flashing to all slots into two separate single slot flashing to bypass a Google bug on Pixel 6* devices, see this by @Namelesswonder
    July 18, 2022 v3.4.0 release
    • Improvements to the boot extraction / categorization.
    • Live boot option directly from the selected boot.img UI, even though it was possible to live boot previously through the advanced menu, it is now super easy to select a boot.img (patched or otherwise) and Live boot to that image with a click of a button.
    • Added warning message in the splash screen and the help about menu, to inform users not to fall for opportunists who are claiming to be the developer of PixelFlasher with a donate button next to the download link. Reminder to all, this program will always be free, ad free, donation free; you should not be solicited for any form of payment.
    June 26, 2022 v3.3.5 release
    • Fix Lock / Unlock bootloader buttons being reversed.
    June 12, 2022 v3.3.4 release
    • Bug fix on MacOS / Linux
    • Improved notice message about Fastboot process.
    June 06, 2022 v3.3.3 release
    • Bug Fix: When choosing custom ROM, the ROM file was not being copied to the package directory.
    • Update Documentation and screenshots.
    May 25, 2022 v3.3.2 release
    • Handle system codepage.
    • Add configurable codepage setting in advanced settings to be able to override the value.
    • Selected boot color is now blue instead of red to avoid thinking that it has a problem.
    • After Flashing, clear connected device to avoid using device in case it is not yet ready.
    • Fix: Paste boot button should be hidden in basic mode.
    • Always print md5 of Magisk_patched (previously only verbose mode displayed it).
    • Wait 10 seconds instead of 5 seconds after reboot before issuing next command.
    May 21, 2022 v3.3.1 release
    • Change encoding from utf8 to ISO-8859-1
    • Button to paste the currently selected boot.img into custom flash file selection.
    • Several Mac version improvements, thanks to rhetorican for reporting and testing.
    • UI improvements
    • Fix: On low resolution screens, the application startup position is high enough to clip the top part.
    • Fix: On low resolution screens, the patch icon is too large and dis-proportional to the rest of the UI
    • Better dark mode handling on Mac / Linux
    • Increase the wait during flashing to account for slower devices.
    • Further improvements on support.zip redaction process.
    • Other minor fixes and additional validations.
    May 05, 2022 v3.3.0 release
    • MacOS build.
    • Handle Magisk module.prop with comments.
    • Exception handling on magisk module errors.
    • boot.img management improvements.
    • Removed old Powershell script.
    • More checks and validations.
    • support.zip now includes sanitized PixelFlasher.db
    May 04, 2022 v3.2.0 release
    • Help menu option to create support.zip file, which sanitizes (redacts user names and device IDs) of the log files.
      This makes it super easy to provide support.zip file when something goes wrong and need to report it.
    • In boot management, delete firmware cache of the selected boot.img if it is the last boot.img used from that firmware.
    • Handle space characters in username.
    • Console is now responsive when processing firmware file.
    • More checks and validations.
    • Update readme with instructions on how to build PixelFlasher on MacOS.
    May 02, 2022 v3.1.1 release
    • Handle UTF-8 Encoding.
    May 02, 2022 v3.1.0 release
    • Fixed a missing step in the final flashing of boot.img
    • Decoupled Firmware / ROM processing from selecting the files, now we have a separate button to process, makes it clearer and does not give the impression that selecting the file is hanging.
    • Added splash screen (v3.0.1), the GUI refresh hiccup is gone.
    • Made the boot.img management delete function more extensive.
    • I flashed my phone with the May drop using this version.
    April 30, 2022 v3.0.0 release
    • New workflow, no more package preparation, select options and flash all dynamic.
    • boot.img caching and management UI with details about the state of boot.img files.
    • Faster as there is no more need to zip a package.
    • Other optimizations and improvements.
    • Update documentation.
    April 20, 2022 v2.4.1 release
    • Bug Fixes: Error message during flashing, introduced by code reshuffle.
    • It turns out that some Magisk Modules don't set the id, which was expected to be present, which caused Magisk module management screen not to display.
    April 19, 2022 v2.4.0 release
    • Magisk modules management, enable / disable modules selectively, this comes in handy to disable suspect modules before an upgrade.
    • Autoscroll the console.
    • Code cleanup.
    April 17, 2022 v2.3.0 release
    • Optional automatic check for updates feature.
    • Added help menu links to:
      - Report an issue
      - Feature Request
      - PixelFlasher Project Page
      - PixelFlasher Community (Forum)
      - Homeboy76's Guide
      - V0latyle's Guide
      - Open Configuration Folder
      - Check for New Version
    • Icons for menu items.
    • Link to download Pixel Firmware.
    • Link to download Android Platform Tools.
    • Unlock Bootloader.
    • Lock Bootloader.
    • SOS (experimental) - disable Magisk modules to get out of bootloop.
    • Additional flashing options:
      - product
      - system
      - system_ext
      - system_other
      - vbmeta_system
      - vbmeta_vendor
    • Added sideload flashing option.
    • Updated documentation.
    • Further improved console messages for troubleshooting.
    • Linux build using Github Actions.
    • Manual build for Kali Linux.
    April 11, 2022 v2.2.2 release
    • Linux support.
    • Remember last window position.
    • List Magisk modules, when Magisk is detected.
    • Added fastboot verbose option.
    • Added more checks and validations.
    • Added more details when errors are encountered.
    • Cleaner message box (better formatting).
    • Notice to the user in case fastboot drivers are not setup properly.
    • More plumbing work for the new upcoming workflow.
    • Add notes on how to build the Linux version.
    April 06, 2022 v2.1.0 release
    • Setup dedicated profile directory.
    • Put logs in the profile directory and maintain log history.
    • Plumbing for Linux support (just the flashing part is left to do).
    • Plumbing for new workflow.
    • Bugfix to handle name conflict in ROM filename.
    • Various minor improvements.
    • Update documentation.
    April 03, 2022 v2.0.1.0-pre release.
    • Major refactoring
    • Added Advanced (Expert) mode UI.
    • Basic mode keeps UI simple and hides expert features.
    • Support for setting active slot.
    • Reboot options (recovery, system, bootloader)
    • Moved custom ROM options to expert mode.
    • Added custom flashing to expert mode, can now flash to live (temporary root), or custom flash any image to any partition.
    • Moved flashing to both slots, disabling verity / verification to expert mode.
    • Many other improvements, validations and checks.
    • Updated documentation.
    March 24, 2022 v1.2.0.1-alpha release.
    • Added Advanced Configuration menu which unlocks advanced features such as:
      - Flashing to both slots
      - Disabling Verity
      - Disabling Verification
      - (More features to come)
    • The UI will now display the chosen Android Platform Tool's version.
    • Added an option to toggle verbose console output (help troubleshooting, more verbosity to come).
    • Stability fixes.
    March 22, 2022 v1.1.5-alpha release.
    • Some users were having issues with 7zip, add 7z.dll to the bundle.
    • Add fallback mechanism to use python libraries for unzipping when 7zip fails (it would be slower)
    March 22, 2022 v1.1.4-alpha release.
    • Bug Fix: Handle space characters in paths.
    March 17, 2022 v1.1.3-alpha release.
    • Visual indicator if the phone is root and Magisk Tools is found.
    • Bug Fix: KeyError 'flash_vbmeta'
    March 17, 2022 v1.1.0-alpha release.
    Changelog
    • 10x speed improvement for full package creation, down from 180 seconds to 18 seconds.
    • Bug Fix: When using patch option with custom ROM, the boot.img of the custom ROM is now correctly patched.
    • Add support for flashing vbmeta (experimental) with or without disabling verity and or verification. (This is currently only supported through preferences file)
    10
    Device specific support threads:

    Troubleshooting:
    • See this post.
    • Generate Sanitized support.zip file (File Menu) and submit that with your report.
    9
    New Release:
    Aug 07, 2023 v5.6.0.0 release
    • Added configurable toolbar.
    • Added device controls buttons to the menu.
    • Added feature to Magisk Manager, ability to install modules from the PC.
    • After flashing OTA, detect if the slot switched as expected, if it didn't, skip patched boot flashing (if selected).
    • Added feature to Package Manager to be able to manage (add, remove, list) Magisk denylist.
    • Added export csv formatted package list feature.
    • When sanitizing DB, wipe write-ahead logs (WAL) for better privacy.
    • Under the hood optimizations.
    • Verity / Verification status check.
    • Counter in package manager.
    • Added a quick link to Android security and update bulletins.