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

Search This thread

badabing2003

Recognized Contributor
Sep 17, 2012
1,600
1,920
Hi. I know how to flash factory image with Pixel flasher but which option should I select if I'd like to flash full ota?
1670258526346.png
 

EtherealRemnant

Senior Member
Went to use Pixel Flasher to update to the new software. Updated it to 4.5.0.0 first. It seems to be failing to make a stock backup for Magisk.

Checking to see if Magisk made a backup of the source init_boot.img
Magisk has NOT made a backup of the source init_boot.img
Triggering Magisk to create a backup ...
Making sure stock-boot.img is found on the phone ...

2022-12-05 14:47:21 ERROR: /data/adb/magisk/stock-boot.img is not found!
Return Code: 1.
Stdout: .
Stderr: ls: /data/adb/magisk/stock-boot.img: Permission denied
.
Aborting run_migration ...

Transfering init_boot.img_1384d5ad.img to the phone in /data/adb/magisk/stock-boot.img ...

2022-12-05 14:47:21 ERROR: Encountered an error.
Return Code: 1.
Stdout: adb: error: stat failed when trying to push to /data/adb/magisk/stock-boot.img: Permission denied
.
Stderr: .
Aborting Backup...

Triggering Magisk again to create a backup ...
Making sure stock-boot.img is found on the phone ...

2022-12-05 14:47:22 ERROR: /data/adb/magisk/stock-boot.img is not found!
Return Code: 1.
Stdout: .
Stderr: ls: /data/adb/magisk/stock-boot.img: Permission denied
.
Aborting run_migration ...


Checking to see if Magisk made a backup of the source init_boot.img
It looks like backup was not made.

I verified that shell has root permissions in Magisk so I don't know what the issue is. It's not a big deal since I don't plan to actually unroot, just thought I would point it out.

It also flashed to both slots even though I had flash to inactive slot checked.

It went fine otherwise though.
 

BIGWORM

Retired Forum Moderator
Went to use Pixel Flasher to update to the new software. Updated it to 4.5.0.0 first. It seems to be failing to make a stock backup for Magisk.



I verified that shell has root permissions in Magisk so I don't know what the issue is. It's not a big deal since I don't plan to actually unroot, just thought I would point it out.

It also flashed to both slots even though I had flash to inactive slot checked.

It went fine otherwise though.

Do I need to have the flags for disabling verity and the other one (name escapes me) checked even though I had them checked when I flashed stock, which I'm running right now?
 

EtherealRemnant

Senior Member
Do I need to have the flags for disabling verity and the other one (name escapes me) checked even though I had them checked when I flashed stock, which I'm running right now?
Yes. If you don't disable verity and verification each time you do an OTA, you can't run a custom kernel without wiping your phone to disable them later.
 
  • Like
Reactions: HipKat

badabing2003

Recognized Contributor
Sep 17, 2012
1,600
1,920
Went to use Pixel Flasher to update to the new software. Updated it to 4.5.0.0 first. It seems to be failing to make a stock backup for Magisk.



I verified that shell has root permissions in Magisk so I don't know what the issue is. It's not a big deal since I don't plan to actually unroot, just thought I would point it out.

It also flashed to both slots even though I had flash to inactive slot checked.

It went fine otherwise though.
Yes I'm aware of that, there will be fix soon for that.
FYI, this is not an issue, Magisk makes the backup only after applying the Patch, PF actually triggers a backup when creating a Patch to make sure it's there if need be.
That part was not running as su which is why it failed, Magisk would have still created the backup on flashing / reboot

As for flashing to both slots, I would need support.zip to investigate.
 
  • Like
Reactions: EtherealRemnant

EtherealRemnant

Senior Member
Yes I'm aware of that, there will be fix soon for that.
FYI, this is not an issue, Magisk makes the backup only after applying the Patch, PF actually triggers a backup when creating a Patch to make sure it's there if need be.
That part was not running as su which is why it failed, Magisk would have still created the backup on flashing / reboot

As for flashing to both slots, I would need support.zip to investigate.
Gotcha. Good to know.

I did some investigation in the logs and for some reason the switch never actually changed until I closed and restarted the app (when I last used it in November, I flashed both slots, and now decided to do it the "proper" way going forward). The new log now shows it's flashing the inactive slot now so it shouldn't be a problem going forward.
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,600
1,920
Yes. If you don't disable verity and verification each time you do an OTA, you can't run a custom kernel without wiping your phone to disable them later.
Just be aware that the Flags to disable verity / verification are fastboot flags not adb sideload flags.
if you happen to use PF sideload flashing feature instead of flashing firmware, those options will not apply.

I will put out a warning so that it is obvious.
@BIGWORM be aware
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,600
1,920
Gotcha. Good to know.

I did some investigation in the logs and for some reason the switch never actually changed until I closed and restarted the app (when I last used it in November, I flashed both slots, and now decided to do it the "proper" way going forward). The new log now shows it's flashing the inactive slot now so it shouldn't be a problem going forward.
I would love to get your support.zip to see what corner case caused it so that I fix it.
 
  • Like
Reactions: EtherealRemnant

banshee28

Senior Member
Aug 31, 2010
255
49
For some reason I cant run the latest PixelFlasher-Ubuntu-22.04. I CAN run 4.4.0 and all previous versions fine. I guess maybe there are some new Pre-Req's? I am running the latest glibc:

Code:
ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
 

badabing2003

Recognized Contributor
Sep 17, 2012
1,600
1,920
For some reason I cant run the latest PixelFlasher-Ubuntu-22.04. I CAN run 4.4.0 and all previous versions fine. I guess maybe there are some new Pre-Req's? I am running the latest glibc:

Code:
ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31
Do you get any errors?
Are you on Ubuntu 22.04 or another Linux flavor / version ?
 

EtherealRemnant

Senior Member
Just be aware that the Flags to disable verity / verification are fastboot flags not adb sideload flags.
if you happen to use PF sideload flashing feature instead of flashing firmware, those options will not apply.

I will put out a warning so that it is obvious.
Is there a reason to sideload instead of using fastboot?
I would love to get your support.zip to see what corner case caused it so that I fix it.
You've got PM.
 

vurtomatic

Senior Member
Mar 22, 2015
535
111
Thanks for the new version, just in time for the Dec 5 update.

I've used PixelFlasher twice on my rooted Pixel 7 Pro and have never check disable verity/verification.

If I'm using PixelFlasher for the Dec 5 update with "disable verity/verification" checked, does this mean it's a do-over—my existing data/apps will be wiped clean?

I think I've read that checking disable verity/verification will wipe everything clean but I thought I also read one post that said it won't wipe the phone, just want to confirm.
 

vurtomatic

Senior Member
Mar 22, 2015
535
111
It's a yes and no situation. Toggling disabled for those doesn't wipe your device. However, you will have to wipe to boot after disabling them
This is probably why I'm confused!

Sorry please bear with me. It sounds like it's a do-over then?

Checking "disable verity/verification" in PixelFlasher won't cause the wipe.

But after doing that, my phone will automatically wipe itself when I restart it because of the toggles?

Cos I don't want to have to reinstall and set up everything again.
 

vurtomatic

Senior Member
Mar 22, 2015
535
111
@badabing2003 sad to report the latest v4.5 doesn't launch at all for me. I double-click, the app icon zooms like it's launching, then the Finder window blinks and nothing happens.

I'm on MacOS 10.14.6 (previously I ran PixelFisher on MacOS 12 Monterey). Is there a minimum OS version I need? I'm checking the Github page but don't see mention of restrictions.
 

Top Liked Posts

  • 18
    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
    the link leads to 4.6.1
    Thanks, fixed.
    I'll go fix the other threads.
    1
    Another flawless update to b3 today... thanks again :)
    1
    Thank you so much for your work 🙏
  • 18
    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.
    4
    Hi all,

    I'm trying to figure out how to use pixel flasher.

    My P7pro is rooted with verity and verification disabled. But, PF does not recognize my device to be rooted. So, my question is how do I get PF to recognize root and to update + retain root and verity & verification left disabled?
    Did you allow root access for "[SharedUID] Shell" (com.android.shell) in Magisk? That's used by PF to detect root.
    If you use Magisk Hide you can also set the new package name (not app name) in the PF settings.
    4
    Another update, another P7P flash using this tool with less than a handful of mouse clicks and zero issues.

    Even if you have been using ADB for years like me, why choose to make things more difficult?
    3
    @nIsmoAddict
    Like @mko000 said. You need to allow root access to shell so that PF can operate as root as it does all its operations over shell.
    See the usage in the main thread or Github.
    3
    @badabing2003
    Just FYI I tried to flash back to December from Jan update but PF fails at trying to patch the boot img
    sqlite3.IntegrityError: FOREIGN KEY constraint failed

    I guess I'll just stick with Jan update and the bug rather than wipe. Worth a try tho
    You might try manually flashing the Full Factory image i.e. enacting flash-all.bat -- if you are unfamiliar, it's a really good thing to learn & know and it basically is what badabing2003's PF does, just using a GUI and automating the process; so if you love this program, this will give you a better idea on its inner workings and how it achieves things -- if it might be something in PF and not in the actual flashing/applying process.

    If you are unfamiliar with doing this, the best resource (IMHO) is roirraW "edor" ehT's guide in the section of "How to update each month"...It would be great if you could try it -- if anything, just for the knowledge & experience -- and hopefully it might be successful outside of PF's processing/GUI.
    If you have any questions or hesitations, of course feel free to ask in the thread...

    Good luck to you and hope it works out!

  • 43
    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.
    18
    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:
    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.
    12
    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.
    12
    So, if you read the post on the krisakura kernel in the p7p forums, he notes the steps needed including disable verity and such.

    The power hint module isn't very important as it can be flashed later, however the kernels themselves for this phone have to do a special workaround with each run.

    A possible resolution would be to enable the --disable-verity and other flags as an option in your application.

    I just came back over from iphone so admittedly I personally am a bit out of date as I haven't had an android since the pixel 3. I wish I could offer your more assistance!
    Like @JakeDHS07 said, these options are already in PixelFlasher.

    Don't take this the wrong way, but if you just came back over from iPhone and admittedly are a bit out of date, you shouldn't be asking for features without understanding what exactly you're asking for.
    For example you say,

    if you read the post on the krisakura kernel ...

    And you expect me to hunt for Krisakura Kernel post and learn the process? For something you're not willing to understand? You haven't even linked the post.
    I'm sorry but this only tells me that you don't want to put any effort in helping yourself, you just expect it to be delivered on a platter.

    I suggest the following.
    If you want to flash a Krisakura Kernel, go over that post, understand the steps / the process, apply it to your phone, if you have any problems regarding that, ask them in that forum.
    Repeat this few times, then identify the pain points, the parts where you think if it were automated would save you time and be less error prone.
    Come back and explain your workflow, and describe how adding such and such feature into PF would ease that pain point and I would seriously consider it if it is feasible.

    This is from the OP in the main thread.

    1668803698944.png


    Tools like PF could be used by the following types of users.
    • People who know the process, know exactly what goes into modding the phone manually, and want to save time and effort repeating the same tedious process each and every time they want to flash / mod.
      And if anything goes wrong, they know how to recover, or ask pertinent contextual questions.
      This is the main audience of PF, people in this group not only are capable of understanding the steps, but are also in position to help others.
    • People new to the game, that find the initial learning curve steep to overcome, but are willing to learn, comparing the console output to the manual steps outlined in the guides and trying to make sense of the workflow / steps and learning along the way. People in this group would eventually become proficient and graduate to the first group.
    • People who don't care about learning, they are merely lazy leeches that just want things to be done for them. PF is not intended for this type of users, if I wanted to attract this group I would have charged for the program.
    • People who are incapable of learning / following guides, although I don't believe that this group exists at XDA, but if there are rare few of them, then I respectfully suggest that modding is not for them.