📳🔥PixelFlasher for Google Pixel 5 Support Thread.

Search This thread

badabing2003

Recognized Contributor
Sep 17, 2012
1,613
1,946
PixelFlasher 4.0.0 pre-release:
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.
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,613
1,946
New Release:
Oct 03, 2022 v4.1.0 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.
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,613
1,946
  • NOTICE:
    I'm marking version 4.1.0 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.
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,613
1,946
Update Release:
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.
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,613
1,946
Update Release:
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.
 
  • Like
Reactions: elong7681
Update Release:
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.
For some odd reason, this version isn't detecting Magisk Manager, which I don't have hidden or renamed. Last version I used (latest as of September update) worked fine.

I'm using Canary 25303.
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,613
1,946
Pre-Release:
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.
 
  • Like
Reactions: elong7681

badabing2003

Recognized Contributor
Sep 17, 2012
1,613
1,946
New Release:
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.
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,613
1,946
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.)
 
  • Like
Reactions: Skysurfer77

badabing2003

Recognized Contributor
Sep 17, 2012
1,613
1,946
New Release:
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.
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,613
1,946
New Release:
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.
 
  • Like
Reactions: Skysurfer77

badabing2003

Recognized Contributor
Sep 17, 2012
1,613
1,946
New Release:
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.
 
  • Like
Reactions: Skysurfer77

badabing2003

Recognized Contributor
Sep 17, 2012
1,613
1,946
New Release:
Dec 06, 2022 v4.6.1 release
  • #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.
 

BWhitmore

Member
Apr 16, 2019
23
4
Metuchen, NJ
Hi.

PIxel Flasher for Mac 4.6.1.0 - MacBook Air M1 - MOnterey 12.6.2 - Pixel 5 on Android 13

If PixelFlasher becomes unresponsive (as per Actvity Manager and Force Quit dialog) during the upgrade process am I in big trouble?

Screengrab attached. Phone is in Fastboot mode

Edit: It has been stuck for about 15 minutes

Screen Shot 2023-01-09 at 12.32.59 PM.png
 
Last edited:

badabing2003

Recognized Contributor
Sep 17, 2012
1,613
1,946
Hi.

PIxel Flasher for Mac 4.6.1.0 - MacBook Air M1 - MOnterey 12.6.2 - Pixel 5 on Android 13

If PixelFlasher becomes unresponsive (as per Actvity Manager and Force Quit dialog) during the upgrade process am I in big trouble?

Screengrab attached. Phone is in Fastboot mode

Edit: It has been stuck for about 15 minutes

View attachment 5805987
Unfortunately this is a MAC issue with fastbootd mode.
See the discussion here. read subsequent posts to get an idea and what to do assuming that you can do something about it.
 

Top Liked Posts

  • 1
    Thanks,
    Puzzle solved.
    • --slot all does not seem to have any effect when live booting, so that is not the issue.
    • The issue is that when you select temporary root, after flashing stock, Live boots to root, upon invoking that command, the phone automatically boots to the boot.img specified, however PF is trying to issue fastboot reboot command thinking that the device would be left in bootloader mode, and because the device is not in bootloader mode, just like any fastboot command, the command waits for device, hence hanging effect.
      FIXED
    • Why did you encounter this with redfin but not barbet? that is because with redfin you chose temporary root, whereas with barbet, that option was not selected, the problem will only be experienced with temporary root option being selected.

    • Code:
      BARBET OPTIONS
      --------------
      Custom Flash Options:   True
      Disable Verity:         False
      Disable Verification:   False
      Flash Both Slots:       True
      Force:                  False
      Verbose Fastboot:       True
      Temporary Root:         False
      Flash To Inactive Slot: False
      
      REDFIN OPTIONS
      --------------
      Custom Flash Options:   True
      Disable Verity:         False
      Disable Verification:   False
      Flash Both Slots:       True
      Force:                  False
      Verbose Fastboot:       True
      Temporary Root:         True
      Flash To Inactive Slot: False

    Was there any other issue I needed to look into?
    Oh I thought I'd temp booted on the Barbet too. Makes sense.

    Thanks buddy
  • 2
    New Release:
    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.
    1
    Unfortunately this is a MAC issue with fastbootd mode.
    See the discussion here. read subsequent posts to get an idea and what to do assuming that you can do something about it.
    Thanks for the pointer. The console did not specifically say it was waiting but it did appears as it though it was. Perhaps that had to do with it having caused the hang.

    I will use my old intel mac laptop in the future. Or windows.

    Thanks for all your hard work, these updates are no longer a teeth chattering nervously waiting outside the delivery room experience. Cigars all around!

    Edit: BTW I held my breath and unplugged. It booted normally into the previous system.
    1
    Thanks,
    Puzzle solved.
    • --slot all does not seem to have any effect when live booting, so that is not the issue.
    • The issue is that when you select temporary root, after flashing stock, Live boots to root, upon invoking that command, the phone automatically boots to the boot.img specified, however PF is trying to issue fastboot reboot command thinking that the device would be left in bootloader mode, and because the device is not in bootloader mode, just like any fastboot command, the command waits for device, hence hanging effect.
      FIXED
    • Why did you encounter this with redfin but not barbet? that is because with redfin you chose temporary root, whereas with barbet, that option was not selected, the problem will only be experienced with temporary root option being selected.

    • Code:
      BARBET OPTIONS
      --------------
      Custom Flash Options:   True
      Disable Verity:         False
      Disable Verification:   False
      Flash Both Slots:       True
      Force:                  False
      Verbose Fastboot:       True
      Temporary Root:         False
      Flash To Inactive Slot: False
      
      REDFIN OPTIONS
      --------------
      Custom Flash Options:   True
      Disable Verity:         False
      Disable Verification:   False
      Flash Both Slots:       True
      Force:                  False
      Verbose Fastboot:       True
      Temporary Root:         True
      Flash To Inactive Slot: False

    Was there any other issue I needed to look into?
    Oh I thought I'd temp booted on the Barbet too. Makes sense.

    Thanks buddy
  • 6
    PF_promo-banner.png
    This is the support thread of PixelFlasher for Google Pixel 5
    PixelFlasher is an open-source self contained GUI tool to facilitate Pixel phone device flashing/updating with extra features.


    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 / 7 Pro).
      • 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).

    For full details on where to download / usage and feature set of the tool, visit the main thread at XDA or the project's Github page.

    Troubleshooting:
    • See this post.
    • Generate Sanitized support.zip file (File Menu) and submit that with your report.
    Note: This thread is meant for issues and problems faced in Google Pixel 5 devices, generic issues that are device agnostic should be discussed in the main thread.
    2
    New Release:
    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.
    2
    Update:
    June 12,2022 v3.3.4 release
    • Bug fix on MacOS / Linux
    • Improved notice message about Fastboot process.
    2
    New Release:
    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.
    2
    New Release: (See full details here on xda or here at github)
    April 03, 2022 v2.0.0.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.