Themes / Apps / Mods 📳🔥PixelFlasher for Google Pixel 7 Pro Support Thread.

Search This thread

schmeggy929

Recognized Themer
Apr 13, 2008
3,044
2,129
New Jersey
Google Pixel 7 Pro
Ok, so I updated using PF, rebooted and made sure everthing worked great. So I figured i try to get inactive up to same version. Same procedure as before. selected patched init_boot.img and checked flash to inactive slot. Flash went well no errors. Rebooted phone and after colorful google boot text phone goes black and nothing. Manually reboot and same thing. rebooted again and switched slots, phone boots to colorful Google text and goes black. Then decided to reflash with non-root firmware. Im back on Slot A and everything is working. Flashed patch init-boot.img and back to root.
So any idea why after successfully flashing latest firmware and then flashed same firmware to inactive slot and doesn't boot?
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,870
2,454
Ok, so I updated using PF, rebooted and made sure everthing worked great. So I figured i try to get inactive up to same version. Same procedure as before. selected patched init_boot.img and checked flash to inactive slot. Flash went well no errors. Rebooted phone and after colorful google boot text phone goes black and nothing. Manually reboot and same thing. rebooted again and switched slots, phone boots to colorful Google text and goes black. Then decided to reflash with non-root firmware. Im back on Slot A and everything is working. Flashed patch init-boot.img and back to root.
So any idea why after successfully flashing latest firmware and then flashed same firmware to inactive slot and doesn't boot?
support.zip file (from the help menu) would go a long way towards explaining the why.
Please submit one and I'll take a look at it.
 

banshee28

Senior Member
Aug 31, 2010
266
51
I would really like to be able to get the latest PF to work with Linux Miint, but cant get the pre-req Python setup. Any easy way to get this working? I guess the latest Mint still does not/wont have the req'd Python?
 

Fishawy

Senior Member
Mar 26, 2010
3,337
637
Melbourne
OnePlus 9 Pro
Google Pixel 7 Pro
I only used PF once to root the phone when I first got it almost 4 months ago, and been updating/rooting using the Android Flash Tool and commands.

I'm now wanting to update and retain root using PF, is the process different? Currently reading through the main thread and Github, and wondering if there's a beginner-friendly summary on how to do that.

Edit: All good. Updated using PF, easy process. Thanks Dev.
 
Last edited:
  • Like
Reactions: badabing2003

badabing2003

Recognized Contributor
Sep 17, 2012
1,870
2,454
Ok, so I updated using PF, rebooted and made sure everthing worked great. So I figured i try to get inactive up to same version. Same procedure as before. selected patched init_boot.img and checked flash to inactive slot. Flash went well no errors. Rebooted phone and after colorful google boot text phone goes black and nothing. Manually reboot and same thing. rebooted again and switched slots, phone boots to colorful Google text and goes black. Then decided to reflash with non-root firmware. Im back on Slot A and everything is working. Flashed patch init-boot.img and back to root.
So any idea why after successfully flashing latest firmware and then flashed same firmware to inactive slot and doesn't boot?
You started with the device on slot a and January build
You updated to February build, to active slot with the following options (why are you disabling verity / verification, even though that is not an issue)
Code:
Custom Flash Options:   True
Disable Verity:         True
Disable Verification:   True
Flash Both Slots:       False
Force:                  False
Verbose Fastboot:       False
Temporary Root:         False
Flash To Inactive Slot: False

Everything went well and you booted to slot a February build
Code:
Selected Device on 2023-02-06 20:12:25:
    Device ID:                       REDACTED
    Device Model:                    cheetah
    Device Active Slot:              a
    Device Mode:                     adb
    Device is Rooted:                True
    Device Build:                    TQ1A.230205.001.D2
    Device API Level:                33
    Device Architecture:             arm64-v8a
    Device Bootloader Version:       cloudripper-1.0-9288096
    Magisk Manager Version:         
        Checked for Package:         com.topjohnwu.magisk
    Magisk Version:                  25.2:25200
    Magisk Config SHA1:             
    Magisk Modules:
        AOSP Mods (Full version)            enabled   2.4.1
        Powerhint_Cheetah                   enabled   v4
        Themer                              enabled   1.2.3B2
        ViPER4Android Reverse Engineered    enabled   v0.1.0
        JamesDSP Manager                    enabled   v4.6 (8-4-2022)
        Audio Modification Library          enabled   v4.2
        Font Manager                        enabled   v5.6.45
        Systemless Hosts                    enabled   1.0
        Universal SafetyNet Fix             enabled   v2.4.0
        Zygisk - LSPosed                    enabled   v1.8.6 (6712)

Then you decided to flash again this time to inactive slot (ie b) with the following options
Code:
Custom Flash Options:   True
Disable Verity:         True
Disable Verification:   True
Flash Both Slots:       False
Force:                  False
Verbose Fastboot:       False
Temporary Root:         False
Flash To Inactive Slot: True

Again everything went well and the system booted properly to slot b
Code:
Selected Device on 2023-02-06 20:17:04:
    Device ID:                       REDACTED
    Device Model:                    cheetah
    Device Active Slot:              b
    Device Mode:                     adb
    Device is Rooted:                True
    Device Build:                    TQ1A.230205.001.D2
    Device API Level:                33
    Device Architecture:             arm64-v8a
    Device Bootloader Version:       cloudripper-1.0-9288096
    Magisk Manager Version:         
        Checked for Package:         com.topjohnwu.magisk
    Magisk Version:                  25.2:25200
    Magisk Config SHA1:             
    Magisk Modules:
        AOSP Mods (Full version)            enabled   2.4.1
        Powerhint_Cheetah                   enabled   v4
        Themer                              enabled   1.2.3B2
        ViPER4Android Reverse Engineered    enabled   v0.1.0
        JamesDSP Manager                    enabled   v4.6 (8-4-2022)
        Audio Modification Library          enabled   v4.2
        Font Manager                        enabled   v5.6.45
        Systemless Hosts                    enabled   1.0
        Universal SafetyNet Fix             enabled   v2.4.0
        Zygisk - LSPosed                    enabled   v1.8.6 (6712)

Not sure why, but you tried to change the active slot to a again
Code:
Rebooting device REDACTED to bootloader ...
Waiting 5 seconds ...
Setting active slot to slot [a] for device 29141FDH3001H9 ...

Selected Device on 2023-02-06 20:17:34:
    Device ID:                       REDACTED
    Device Model:                    cheetah
    Device Active Slot:              a
    Device Mode:                     f.b
    Device Unlocked:                 True

Once b becomes active and bootable, a becomes unbootable, this is expected, only one slot is bootable, (see earlier posts if you're interested to know why this happens)
Then while in bootloader mode, you switched to b, and flashed to inactive slot (that would be a)
That worked, and you now you are on a.


I would really like to be able to get the latest PF to work with Linux Miint, but cant get the pre-req Python setup. Any easy way to get this working? I guess the latest Mint still does not/wont have the req'd Python?
Have you tried to use the published Kali build, and or Ubuntu 22.04 built?
What happens? what errors do you get?
What version of Mint do you have?
Have you tried to build from source?


Can i go back to January Patch from February?
You can try, the worst that will happen is that it won't work and you will go back to February.
I don't have much experience with reverting, I only attempted once to revert to an older firmware and it didn't work for me, but that doesn't mean that it won't work for you either.
Others might chime in with their experiences.
Curious why you want to go back
 
Can i go back to January Patch from February?
I've never had a problem going back to any firmware. Other than the time thaey added the anti-rollback to the pixel 6 on that one update one month which i cant remember which one it was. Other than that one time, I've always been able to roll back on all my Pixel phones.
 
  • Like
Reactions: badabing2003

Lughnasadh

Senior Member
Mar 23, 2015
4,950
5,709
Google Nexus 5
Huawei Nexus 6P
You can try, the worst that will happen is that it won't work and you will go back to February.
I don't have much experience with reverting, I only attempted once to revert to an older firmware and it didn't work for me, but that doesn't mean that it won't work for you either.
Others might chime in with their experiences.
Curious why you want to go back
Flashing back to an older firmware shouldn't be a problem, in my experience.
 
  • Like
Reactions: badabing2003

banshee28

Senior Member
Aug 31, 2010
266
51
Have you tried to use the published Kali build, and or Ubuntu 22.04 built?
What happens? what errors do you get?
What version of Mint do you have?
Have you tried to build from source?
Yep, tried both and same results. I know you helped before since this is related to Python but I have not been able to fix it and figured since my Mint OS is updated at latest and would work.

Code:
[34124] Error loading Python lib '/tmp/_MEIOeO16o/libpython3.10.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/_MEIOeO16o/libpython3.10.so.1.0)

Python 2.7.18
 
Last edited:

badabing2003

Recognized Contributor
Sep 17, 2012
1,870
2,454
Yep, tried both and same results. I know you helped before since this is related to Python but I have not been able to fix it and figured since my Mint OS is updated at latest and would work.

Code:
[34124] Error loading Python lib '/tmp/_MEIOeO16o/libpython3.10.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /tmp/_MEIOeO16o/libpython3.10.so.1.0)

Python 2.7.18
Python 2.7.8?

The library it needs is python 3.10
Have you tried uninstalling python 2.7 and installing python 3.10?
 

Wmateria

Senior Member
Oct 13, 2015
806
230
Google Pixel 7 Pro
I've never had a problem going back to any firmware. Other than the time thaey added the anti-rollback to the pixel 6 on that one update one month which i cant remember which one it was. Other than that one time, I've always been able to roll back on all my Pixel phones.
I was able to go back to the January Patch again from February, thanks.

Wallet works again, and I no longer have battery drain with the latest KiriSakura. I had a weird experience with February Patch, had the latest Magisk with SafetyNet passed.. downloaded Yasnac, to double check and everything passed., but no matter what I do... Wallet did not worked and it was always flagging me that my phone was rooted, even with Zigisk enabled. I tried also Magisk Hide,, it did not worked either.

Whatever Google did, broke the latest Magisk 25.2, and battery drain is bad with the latest February Patch, even with a clean install.
 
I updated to latest version on Windows and used it to flash Feb update but I lost root :(
re flashed patched boot img and got root back
You most likely either did not patch the boot.img before flashing or you didn't select the patched boot.img before flashing. When done correctly, the update process, while keeping root, is flawless.
 
I was able to go back to the January Patch again from February, thanks.

Wallet works again, and I no longer have battery drain with the latest KiriSakura. I had a weird experience with February Patch, had the latest Magisk with SafetyNet passed.. downloaded Yasnac, to double check and everything passed., but no matter what I do... Wallet did not worked and it was always flagging me that my phone was rooted, even with Zigisk enabled. I tried also Magisk Hide,, it did not worked either.

Whatever Google did, broke the latest Magisk 25.2, and battery drain is bad with the latest February Patch, even with a clean install.
I am not having any of these issues on my P7P. Everything went smooth and banking/Gpay still work fine. Battery hasn't changed and i also use Kirisakura kernel.
 
  • Like
Reactions: badabing2003

badabing2003

Recognized Contributor
Sep 17, 2012
1,870
2,454
I updated to latest version on Windows and used it to flash Feb update but I lost root :(
re flashed patched boot img and got root back
You shouldn't have lost root, a simple oversight of selecting the stock boot instead of the patched boot after creating a patch and before hitting the flash button could cause that.
You'd think you wouldn't make a silly mistake like that, well I've got news for you, I did that mistake and lost root, and wondered if I had introduced a regression in the latest release, only checking the logs exposed my shortcomings.

I can take a look at you logs if you want.
Another possibility is that the last step in flashing is actually flashing the patch, if anything goes wrong during that, the phone will remain in stock state, not that something should go wrong, but anything is a possibility.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    New Release:
    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.
    7
    For anyone else looking for the latest adb that actually works, here are the official links to adb/fastboot 33.0.3:

    https://dl.google.com/android/repository/platform-tools_r33.0.3-windows.zip - Windows
    https://dl.google.com/android/repository/platform-tools_r33.0.3-darwin.zip - Mac
    https://dl.google.com/android/repository/platform-tools_r33.0.3-linux.zip - Linux

    Google doesn't keep the links to previous versions of adb on the platform-tools page.
    6
    Thanks @simplepinoi177 for finding relevant posts.
    What I want to add is that, although the initial thought process was to use the alternate slot as a fallback.
    Unfortunately that only works with older devices, and does not work for newer ones.

    Even for older devices one needs to remove system_other.img from the update image to get it to work.
    I have posted about the details, unfortunately I'm not very good at finding my own posts.
    The gist of the matter is that, factory images contain system_other which is flashed to the alternate slot's system partition, they contain the optimized dex files which are copied to the active slot after booting to system to save time.
    This effectively deems the alternate partition's system unusable.
    Removing system_other before flashing theoretically would get around that issue, at a small performance hit at first while the dex files are optimized on first use, and that works on older devices.
    I managed to setup Pixel XL with both slots bootable, and alternate between them at will, even one was rooted and the other stock.
    Sadly this no longer works on newer devices due to AVB.

    Having said all that, I still flash to alternate slot every month, knowing well that it I wouldn't be able to system boot to the alternate slot, I do this mainly because I want to keep all the partitions at most one release behind.

    Flashing to both slots makes sure that the bootloader is current on both slots, which avoids issues like what happened in August.
    I don't flash to both slots mainly because if there is a regression in the bootloader (I doubt it) or a disruption during flashing, I will have both bootloaders corrupt, effectively hard brick the device.
    I rather flash the alternate and in case something goes wrong, at least I can get into boatloader mode and fix things.

    There are a lot of posts about all this if you search the forums.
    6
    New Release:
    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.
    6
    Trying to dirty flash any factory image dated later than TD1A.220804.031 results in a bootloop

    I know it's neither a magisk nor modules issue as a non-patched boot.img results in the same issues and the only way to have the phone working again is fastboot flashing TD1A.220804.031 or TD1A.220804.009

    any ideas as to why this may be happening?

    edit: it essentially gets to the material you themed G logo then restarts
    @badabing2003 is going to ask you to pull a log and post it here. May as well get a head start and do that so he can see where the issue is
  • 49
    PF_promo-banner.png

    This is the support thread of PixelFlasher for Google Pixel 7 Pro
    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 7 Pro devices, generic issues that are device agnostic should be discussed in the main thread.
    28
    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.
    14
    New Release:
    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.
    14
    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.
    13
    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.