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

Search This thread

badabing2003

Recognized Contributor
Sep 17, 2012
1,560
1,838
No sorry I mean a factory image update. I just got an alert on my phone there is an ota update. This I can't do on my rooted phone so I used your PixelFlasher.
OK All good than.
By the way you can turn off those in Developer options so that it does not bother you on the phone.
First Monday of every month there should be scheduled releases of the firmware.
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,560
1,838
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.
 

herrman0

New member
Nov 29, 2022
4
2
New to using the pixelflasher. I did use it to root and was so easy. How do I do the ota update after im rooted using the tool though?
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,560
1,838
New to using the pixelflasher. I did use it to root and was so easy. How do I do the ota update after im rooted using the tool though?
Why would you bother doing OTA update.
- Download firmware, select it
- Process it,
- Patch boot
- Flash to Inactive slot, keep data: Flash

It takes about 4 minutes or less

Done
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,560
1,838
Oh cool I was wondering if that would work as well without wiping, thanks!
Sure does, that is the main attraction of the tool, doing smooth monthly updates while keeping root and not messing with anything.

Please note that if you have any Magisk modules that are not compatible or don't play nice with the future Firmware updates, you might run into issues, hence it is advisable that you disable suspect modules (all through PF) prior to updating.
In any case, even if you don't disable them, Flashing to Inactive slot will save you, it will boot back to the previous OS, and you would repeat the flashing, but this time disabling suspect modules first.
By the way, none of my modules has ever caused problems, I don't disable them.
Code:
        BuiltIn BusyBox                     enabled   1.0.3
        Axet's Call Recorder                enabled   v1.8.2
        Systemless Hosts                    enabled   1.0
        Magisk Bootloop Protector           enabled   v1.8.1
        Universal SafetyNet Fix             enabled   v2.3.1
        SQLite for ARM aarch64 devices      enabled   v1.3
 

herrman0

New member
Nov 29, 2022
4
2
Sure does, that is the main attraction of the tool, doing smooth monthly updates while keeping root and not messing with anything.

Please note that if you have any Magisk modules that are not compatible or don't play nice with the future Firmware updates, you might run into issues, hence it is advisable that you disable suspect modules (all through PF) prior to updating.
In any case, even if you don't disable them, Flashing to Inactive slot will save you, it will boot back to the previous OS, and you would repeat the flashing, but this time disabling suspect modules first.
By the way, none of my modules has ever caused problems, I don't disable them.
Code:
        BuiltIn BusyBox                     enabled   1.0.3
        Axet's Call Recorder                enabled   v1.8.2
        Systemless Hosts                    enabled   1.0
        Magisk Bootloop Protector           enabled   v1.8.1
        Universal SafetyNet Fix             enabled   v2.3.1
        SQLite for ARM aarch64 devices      enabled   v1.3
Is there anyway to disable the automatic updates with pixelflasher, I went into dev options but it only has Apply updates when device restarts and doesn't get rid of the system update notification.
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,560
1,838
Is there anyway to disable the automatic updates with pixelflasher, I went into dev options but it only has Apply updates when device restarts and doesn't get rid of the system update notification.
I'm not aware of any mechanism that blocks those notifications, it does not mean that there is no way, I just don't know about it.
If you find a way, I can try to integrate it into PF (assuming that it is possible)
 

herrman0

New member
Nov 29, 2022
4
2
I'm not aware of any mechanism that blocks those notifications, it does not mean that there is no way, I just don't know about it.
If you find a way, I can try to integrate it into PF (assuming that it is possible)
Google must of changed something recently, you can now long press it and silent the update notification now. Or go to google play services notifications, other and turn the slider off for system update :)
 

BetaPix

Senior Member
Nov 15, 2014
56
13
Redmi K20 Pro
I'm sorry if I write again on the main thread, but I can't seem to find this info anywhere.
If I flash the upcoming December OTA through Pixel Flasher and I have dm-verity and verification disabled, enabling them back (by keeping the flags off in advanced options) would make me lose my data/brick my device? Thank you in advance if anyone knows :)
 

Bad Bimr

Senior Member
Dec 29, 2010
218
35
THANK YOU for this AWESOME Tool. Just took 2 new Pixel 7's out of the box and had them rooted and on the latest image in no time. Then flashed another to the latest while keeping root.
Thank you again!
 
  • Like
Reactions: badabing2003

badabing2003

Recognized Contributor
Sep 17, 2012
1,560
1,838
THANK YOU for this AWESOME Tool. Just took 2 new Pixel 7's out of the box and had them rooted and on the latest image in no time. Then flashed another to the latest while keeping root.
Thank you again!
Thanks,

It is recommended that out of box devices, on the first flashing you flash on both slots, that's because out of box second slot is not bootable, and you want to have both slots bootable in case anything goes wrong.

It is also recommended that monthly updates are flashed to inactive slot, this assures that your fallback alternate slot is at most one version behind.
 
  • Like
Reactions: statustray

jant90

Member
Jan 27, 2008
42
6
@jant90
Are you sure that it is booting to the slot you just flashed?, just making sure, because if it fails to boot to one of the slots, it would switch to the other and perhaps that would seem that it is booting fine.

You can provide a support.zip file and I can peruse the logs and see if anything stands out, you probably want to do that in PF support thread to keep this free of unnecessary chatter.

Update: I just missed @jant90 post while posting this.
I'm still interested to learn about the slot related issues.
If you're still interested: I do believe I encountered one slot related issue with PixelFlasher that could be a bug.

When I had slot A active I used the "Flash to inactive slot" option in PF and after rebooting my phone to the bootloader PF activated slot A and then started flashing it. It seemed to activate slot A every time (IIRC also when slot B was active), instead of actually activating the inactive slot and flashing that.
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,560
1,838
If you're still interested: I do believe I encountered one slot related issue with PixelFlasher that could be a bug.

When I had slot A active I used the "Flash to inactive slot" option in PF and after rebooting my phone to the bootloader PF activated slot A and then started flashing it. It seemed to activate slot A every time (IIRC also when slot B was active), instead of actually activating the inactive slot and flashing that.
Yes, I'm definitely interested.
There is always a possibility of a bug, a support.zip would go a long way towards identifying it if you can kindly post one.

FYI: This where PF sets to the other slot, it does not actually set to a or b, it uses the flag --set-active=other and lets fastboot do its job, so I'm curious to see the logs to understand exactly what went wrong.

Thanks
 
  • Like
Reactions: jant90

jant90

Member
Jan 27, 2008
42
6
Yes, I'm definitely interested.
There is always a possibility of a bug, a support.zip would go a long way towards identifying it if you can kindly post one.

FYI: This where PF sets to the other slot, it does not actually set to a or b, it uses the flag --set-active=other and lets fastboot do its job, so I'm curious to see the logs to understand exactly what went wrong.

Thanks
I'm sorry, I cleaned up PF in the meantime (including data in %APPDATA%) so I can't provide you with logs, but then it's possible I simply misunderstood the console output. I remember a line mentioning something like "activating slot A" before the flashing started. If you then use the fastboot flag --set-active=other then I guess that's exactly what should happen. My apologies.
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,560
1,838
I'm sorry, I cleaned up PF in the meantime (including data in %APPDATA%) so I can't provide you with logs, but then it's possible I simply misunderstood the console output. I remember a line mentioning something like "activating slot A" before the flashing started. If you then use the fastboot flag --set-active=other then I guess that's exactly what should happen. My apologies.
Thanks for the update.
"activating slot" string is not present in PF, perhaps it was output by fastboot.
 
  • Like
Reactions: jant90

jant90

Member
Jan 27, 2008
42
6
I stumbled on another problem related to rooting. I tried to make it easy on myself so I did as much of the rooting as possible from the PF interface:
  1. Installed Magisk Manager from PF.
  2. Patched boot.img from PF (which is actually invoking Magisk Manager on the phone to do the actual patching if I understand right).
  3. Flashed boot.img from PF.
In step 2 a backup of boot.img is placed in the Downloads folder of my phone but I don't think Magisk Manager is aware of this backup because when I try to do Uninstall Magisk > Restore Images (so I can perform an OTA update) I get a toast notification with "Stock backup does not exists!".

When I manually rooted my phone (without the help of PF) I could run Restore Images just fine. Is this something that can be fixed on your end? Or is this a Magisk Manager issue?
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    Building for Linux
    ./build.sh: line 15: pyinstaller: command not found
    No joy
    Did you do the venv activation / loading?
    And did you run the requirements module loading part at least once in venv?
    The error suggests that pyinstaller module is not installed, which would either be because it was never installed, or you're not in the correct venv.
    3
    Tool looks awesome. Maybe discussed but didn't find it in search.
    Thanks, yes discussed, but it's not always easy to search and find.

    The default behavior of dirty flash of factory w/ patch init_boot will go to active slot, correct?
    Correct

    So with the expert mode, flash inactive slot will the tool automatically set the flashed slot to active on first boot after flash? Or will it boot the same slot I was running and require toggle to set active slot?
    With the latest version, Flash to Inactive Slot is moved to basic mode, so you don't need to be in expert mode to be able to select it.
    Yes, when you flash to inactive slot, the phone will reboot to the newly flashed (previously inactive) slot which would become the new active one.By the way, your last selection will be remembered by PF, so if you select Flash to Inactive Slot, next time you launch the app it will be selected.

    New to this A/B but updating to the inactive slot seems the safer approach no? So any issue with flash update you can immediately fail back to what you had been using? (This is how I've approached flashing network equipment with dual firmware slots)
    Yes and no, unfortunately the monthly flashed factory image includes a system-other data which would be flashed to the other slot's (ie the previous active) system partition, and that includes optimized dex for the current image which gets copied to the data partition on first successful boot , if the failure happens after writing that partition, you would need to restore that partition to be able to boot it.
    Even if no failures happen, if the slot is rooted, simply switching slots will not allow you to boot to the older slot due to verification that happens when you switch slots. This is only on newer devices.
    I have experimented with older Pixel (XL to be specific) and I flashed without system-other and I was able to boot to both slots without any issues, in fact I had one rooted, and the other stock and both cases worked. Too bad we don't get that on new phones.
    Regardless I still flash to inactive slot, mainly for the following reasons,
    - If anything goes wrong before the system-other flashing stage, the phone is usable
    - I still can boot to the other slot by flashing system from previous image
    - My other slot is only 1 release behind.


    My Pixel 7 Pro presently have active slot B with Dec. and inactive slot A with original Oct. So my thinking is next update I'll go for slot A.

    Correct.
    3
    @badabing2003 , thanks for the application. I have a suggestion regarding about the warning text not to touch or unplug the devices during the flashing process. You might want to change it to a red color rather than yellow because text with red color catches attention and easy to read.
    .
    Again your application is a LifeSaver!
    LifeSavers_Candy.jpg
    3
    Having a hard time getting to run Pixel Flasher on Pure OS
    (venv) [email protected]:~/Downloads/PixelFlasher-main$ sh build.sh
    build.sh: 7: [[: not found
    Building for Linux
    build.sh: 15: pyinstaller: not found
    build.sh: 19: [[: not found
    Any sugs???
    On some Linux installations, "sh" is an old, traditional version of the Bourne shell which doesn't handle the [[ operator.

    You might have better luck with the following:

    bash build.sh

    ... because "bash" knows about the [[ operator.
    2
    Lol whatever kid anyhow figured it out. Needed a different flash tool to get it done
    Oooh boy.
  • 94

    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.
      • 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.
    • Choose to keep data or wipe data while flashing.
    • Ability to flash even if multiple devices are connected to the computer.
    • Display information about the phone.
      • ID
      • Hardware model.
      • 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.
      • Android OS API version.
      • Convenient quick links to download Android platform tools or device firmware.
    • Magisk Manager installation UI, screenshot. Supported versions:
      • stable
      • beta
      • canary
      • debug
    • 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 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.
    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 (see this if you're having issues with a Linux build.)

    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.)
      If you already have your phone connected to the PC, the application will detect all connected devices
      (in adb, fastboot, sideload, recovery modes) and populate the combo box (2).
      Otherwise connect your phone to your PC, and hit the Scan button and then select your device.
    2. 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).
    3. Next select the factory image, the application will recognize the phone model from the image name.
      You can download factory images by clicking the Image of link next to it.
    4. Process the factory image. PixelFlasher will extract boot.img file from the factory image and populate it in the list below (5).
    5. Select boot.img from the list, the selected boot.img can be patched (6), or flashed (10).
    6. Optional: Select this option if you want to patch the boot.img with Magisk. If Magisk is not already be installed on your phone, PixelFlasher will install it for you.
      Your phone does not need to be rooted to create a patched boot.img 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 already rooted or not, the whole process is without any manual step.
    7. If you want to flash (10) a patched boot.img 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
      • 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 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 was extracted.
    8. Select the Flash Mode
      • 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.
    9. 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).
    10. 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, Pixel 6a, Pixel 6 Pro) 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.
    8
    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.
    7
    @badabing2003 , I really like your work, well done, I couldn't find a donation link, can you please provide me with that. Thanks and keep up the good work.
    Thanks for your consideration, appreciated.
    Like I mentioned to other such queries, no donation is necessary, this is a payback to the community that has given me years of support and joy.
    If you want to do something good, help others who're just starting or struggling navigating through the maze of information.
    7
    New release:
    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.
    7
    Forgive me if I've asked this before....does ADB shell need root access in order for Pixel Flasher to patch the boot image via Magisk?

    In other words, will the automatic patching work on unrooted devices?
    Here's a complete flow diagram of the patching process, hope it makes it clearer.

    1662558670612.png


    Drive UI and generate patched boot.img box is a new feature that will be available in 3.8.0 (hopefully to be released today), it uses UIAutomator to drive the UI and not require user interaction, the user can still decide to do it manually.

    Without su permissions on adb shell, PixelFlasher will report that the device is not rooted and will follow the flow of un-rooted.