All you need is an unlocked bootloader , factory image, Android platform toolsjust to be clear before i start the process
all i need before starting with the pixel flasher is unlocked bootloader and the root itself is through the flasher?
and after the first time, would i be able to get OTAs and remain rooted?
thanks
Good to see you back @t-ryderWould it be possible to implement an additional mode to flash the official OTA images for locked bootloader devices? I want to keep my BL locked and system non-rooted - tired of the tinkering, but real "in-system" OTA process sucks.
Like starting the app and having an option to switch to unlocked bootoader funny wonderland mode /// OR /// just flash the OTA with one click after (having dev options / ADB enabled) providing the file's path?
Installing OTAs from the regular system update is ridiculously slow sometimes even having just some MB of OTA (because of the slot A/B stuff).
Like having this as mode in Pixel Flasher:
View attachment 5770223
![]()
Full OTA Images for Nexus and Pixel Devices | Google Play services | Google Developers
developers.google.com
adb reboot sideload
Yes, nice to see you keeping it up. Got me a Pixel 7 after the OnePlus 9 was a letdown and the Realme GT2 pro did not make me happy totally.Good to see you back @t-ryder
I'm heading out now, upon my return or tomorrow (in case I return late) I'll read this in detail, but in the meantime have you checked the built in option SIDELOAD
View attachment 5770343
This is done to flash OTA
PF will reboot to sideload issuing this command
adb reboot sideload
Congrats for your new phone.Yes, nice to see you keeping it up. Got me a Pixel 7 after the OnePlus 9 was a letdown and the Realme GT2 pro did not make me happy totally.
So the OTA flashing for non bootloader unlocked devices is already there? I did not check PF for some time now. My bad if I did not get it.
So one has to enable advanced options, use custom flash setting to flash the full OTA file in SIDELOAD mode (dropdown menu) ... and there will be no data wipe (since I can't choose KEEP DATA)?Congrats for your new phone.
Yes OTA flashing is there, and no worries of not seeing it, the UI (not my best skill) is not the best (and the chosen platform doesn't help), some of the features are obscured and can only be discovered by clicking around.
Correct,So one has to enable advanced options, use custom flash setting to flash the full OTA file in SIDELOAD mode (dropdown menu) ... and there will be no data wipe (since I can't choose KEEP DATA)?
Get support.zip and let me take a look to see if anything is going wrong.I have a problem with disabling verity and verification. I've tried four times and every time it still shows me that verity is enforcing and it says verification error when I use the dump device info
Ok, how do I get that and I have already shut down my computer So I'm assuming that will affect me from getting it but I can retry itGet support.zip and let me take a look to see if anything is going wrong.
You launch PF and in help menu you choose Generate sanitized support.zipOk, how do I get that and I have already shut down my computer So I'm assuming that will affect me from getting it but I can retry it
You launch PF and in help menu you choose Generate sanitized support.zip
No need to do anything else
If I wanted to edit the flash-all.bat file in the factory image so that I could do it manually then what would it look like ex: fastboot -w fastboot --disable-verity --disable-verification update image-panther-td1a.221105.001.zipYou launch PF and in help menu you choose Generate sanitized support.zip
No need to do anything else
That would do it, but will also wipe your data.If I wanted to edit the flash-all.bat file in the factory image so that I could do it manually then what would it look like ex: fastboot -w fastboot --disable-verity --disable-verification update image-panther-td1a.221105.001.zip
-w
chcp 437
@ECHO OFF
:: This is a generated file by PixelFlasher v4.4.0.0
PATH=%PATH%;"%SYSTEMROOT%\System32"
"C:\platform-tools\fastboot.exe" -s REDACTED --slot all --disable-verity --disable-verification flash bootloader bootloader-panther-cloudripper-1.0-9074510.img
"C:\platform-tools\fastboot.exe" -s REDACTED reboot-bootloader
ping -n 5 127.0.0.1 >nul
"C:\platform-tools\fastboot.exe" -s REDACTED --slot all --disable-verity --disable-verification flash radio radio-panther-g5300g-220908-220908-b-9040061.img
"C:\platform-tools\fastboot.exe" -s REDACTED reboot-bootloader
ping -n 5 127.0.0.1 >nul
"C:\platform-tools\fastboot.exe" -s REDACTED --disable-verity --disable-verification --skip-reboot -w update image-panther-td1a.221105.001.zip
echo Switching active slot to the other ...
"C:\platform-tools\fastboot.exe" -s REDACTED --set-active=other
echo rebooting to bootloader ...
"C:\platform-tools\fastboot.exe" -s REDACTED reboot bootloader
echo Sleeping 5-10 seconds ...
ping -n 5 127.0.0.1 >nul
ping -n 5 127.0.0.1 >nul
"C:\platform-tools\fastboot.exe" -s REDACTED --disable-verity --disable-verification --skip-reboot -w update image-panther-td1a.221105.001.zip
echo rebooting to bootloader ...
"C:\platform-tools\fastboot.exe" -s REDACTED reboot bootloader
echo Sleeping 5-10 seconds ...
ping -n 5 127.0.0.1 >nul
ping -n 5 127.0.0.1 >nul
echo flashing pf_boot ...
"C:\platform-tools\fastboot.exe" -s REDACTED --slot all --disable-verity --disable-verification flash init_boot pf_boot.img
echo rebooting to system ...
"C:\platform-tools\fastboot.exe" -s REDACTED reboot
When I use your PF to dump device info it says verity is enforcing and I want to install a custom kernel and we have to do a data wipe in order to disable verity and verification correct?That would do it, but will also wipe your data.
If you don't want to wipe data remove-w
I took a look at your logs, I don't see errors that would cause it not to work.
As you can see in the logs, this is what PF ran.
The commands match
Code:chcp 437 @ECHO OFF :: This is a generated file by PixelFlasher v4.4.0.0 PATH=%PATH%;"%SYSTEMROOT%\System32" "C:\platform-tools\fastboot.exe" -s REDACTED --slot all --disable-verity --disable-verification flash bootloader bootloader-panther-cloudripper-1.0-9074510.img "C:\platform-tools\fastboot.exe" -s REDACTED reboot-bootloader ping -n 5 127.0.0.1 >nul "C:\platform-tools\fastboot.exe" -s REDACTED --slot all --disable-verity --disable-verification flash radio radio-panther-g5300g-220908-220908-b-9040061.img "C:\platform-tools\fastboot.exe" -s REDACTED reboot-bootloader ping -n 5 127.0.0.1 >nul "C:\platform-tools\fastboot.exe" -s REDACTED --disable-verity --disable-verification --skip-reboot -w update image-panther-td1a.221105.001.zip echo Switching active slot to the other ... "C:\platform-tools\fastboot.exe" -s REDACTED --set-active=other echo rebooting to bootloader ... "C:\platform-tools\fastboot.exe" -s REDACTED reboot bootloader echo Sleeping 5-10 seconds ... ping -n 5 127.0.0.1 >nul ping -n 5 127.0.0.1 >nul "C:\platform-tools\fastboot.exe" -s REDACTED --disable-verity --disable-verification --skip-reboot -w update image-panther-td1a.221105.001.zip echo rebooting to bootloader ... "C:\platform-tools\fastboot.exe" -s REDACTED reboot bootloader echo Sleeping 5-10 seconds ... ping -n 5 127.0.0.1 >nul ping -n 5 127.0.0.1 >nul echo flashing pf_boot ... "C:\platform-tools\fastboot.exe" -s REDACTED --slot all --disable-verity --disable-verification flash init_boot pf_boot.img echo rebooting to system ... "C:\platform-tools\fastboot.exe" -s REDACTED reboot
REDACTED is your device ID.
How are you check that verity is disabled?
What are you expecting and what are you getting instead?
I see that you are using Safetynet module, which inherently changes that flag and few others so that is passes Safteynet.When I use your PF to dump device info it says verity is enforcing and I want to install a custom kernel and we have to do a data wipe in order to disable verity and verification correct?
So if I remove the safetynet fix and reboot will it go back to verity not enforcingI see that you are using Safetynet module, which inherently changes that flag and few others so that is passes Safteynet.
I don't know, possibly yes, as SafteyNet alters that.So if I remove the safetynet fix and reboot will it go back to verity not enforcing
Check out the verbiage "Once you're enrolled" at the bottom of this page: https://www.google.com/android/beta#devicesI'm new to the pixel family. Root worked very well (wihtour pixel flasher). Now I stumbled over a question which is rather related to the PF but maybe can be answered here anyway.
How does the beta opt-on or opt-out procedere work with focus on data loss.
Is it possible, coming from stock rom, to simply flash the current beta to opt-in and opt-out with the next stable release without full wipe. I read that in the end of the beta there will be the chance to come to the stable release without wiping data.
Shortend question: Can I switch between stable and beta release (each way) wihtout data loss?
PS. @badabing2003 congrats and thank you for such a master piece of software and your unstopable support.
where do you see boot.img ?My Pixel 7 is on TQ1A.221205.011 build. I just unlocked the bootloader so all the user data are gone. Now I want to use PF to root the phone. So on PF I can browse to find the platform tools which version is 33.0.3 and factory image (panther-tq1a.221205.011-factory-ab58bb03.zip). I processed the zip file and saw there is a boot.img file showed up. I think for P7 we should use ini.boot.img. Is it OK to go ahead? And do I need to flash into inactive slot for safety reason?
Also I haven't installed Magisk yet. Is there a option that I can get Magisk Delta? My final purpose is to root the phone and then get 32-bit app supported.
You had never updated your phone previously?
You do not need to hide Magisk, as for disabling modules, it all depends on the modules, I don't disable any of mine, but then again the modules I use are basic and safe for updates.@mruno :
do I need to do the two steps before?
- Disabled all modules
- UInhide Magisk
or can I skip these steps with PixelFlasher?
Many greetings
Jerry
boot
/init_boot
(stock or patched) to the phone.You had never updated your phone previously?
This is my first time using PixelFlasher; I usually do updates the manual way. I'm trying to install the November update and after flashing I'm getting the message about the device being corrupted.
If I hit the power button to continue it boots fine and everything seems to be good, but when doing this manually with the browser based Android flash tool, I don't end up with this message that I have to manually continue through.
Anyone have a guess as to what I'm doing wrong? FWIW, I'm trying to do this update while keeping data. TIA.
Edit: Attached Support.zip
2022-11-17 20:08:35 ERROR: Detected older Android Platform Tools version 29.0.6-6198805
2022-11-17 20:08:51 User accepted older version 29.0.6-6198805 of Android platform tools.
SDK Version: 29.0.6-6198805
extracting super_empty.img (0 MB) to disk... took 0.002s
Rebooting into fastboot OKAY [ 0.000s]
< waiting for REDACTED >
Android SDK Version: 33.0.3-8952118
< waiting for REDACTED >
fastboot: error: Failed to boot into userspace fastboot; one or more components might be unbootable.
C:\Users\REDACTED\AppData\Roaming\PixelFlasher\boot_images4
No you didn't, or at least I didn't see that you did, If you don't mind I'd be interested in getting another support.zip from you which would include this along with the Foreign key error you encountered.FYI, I was able to get this fixed by flashing the Oct init_boot, then manually patching the November init_boot and flashing it.
I must have missed it the first time, but when trying to patch the November init_boot there was an error in the PixelFlasher console, "Foreign Key constraint failed", but it still showed the patched boot file as available in the list. Just wanted to put this out here in case anyone else runs up against a similar issue.
You need to download the factory image at the bottom. It's sorted from oldest to newest. So currently TD1A.220804.031 is the latest.Hi, thank you for doing this. My rooted pixel 7 pro is prompting me to install a security update. I tried to update via pixel flasher.
Flashed with the latest platform tools from offical android site and downloaded the latest factory image.
And then my phone still prompts me to download updates, phone android version = 13 and build = TD1A.220804.009.A2
Am I flashing the old factory image? or am I doing something wrong? or the pixel update prompt is an error?