Just realized that Ubuntu version now seems to work with Mint. I used Kali because Ubuntu version didn't work previously.
Amazing. What's the risk of dirty flashing long term?You're welcome.
This is all it took.
Code:2022-12-05 14:08:29 Done! Flashing elapsed time: 240 seconds
I've been doing in since Nexus 6P days, I don't see any added risks.
Active/inactive slot refers to the partitions, yeah? Where can I read up or what to search for to understand more what they are, how they work etc?I've been doing in since Nexus 6P days, I don't see any added risks.
recommendation: Flash to Inactive Slot, in case anything goes wrong, you're back to your working slot, if it goes well, Inactive becomes the active one.
Not partitions but two sets of partitionsActive/inactive slot refers to the partitions, yeah? Where can I read up or what to search for to understand more what they are, how they work etc?
Active/inactive slot refers to the partitions, yeah? Where can I read up or what to search for to understand more what they are, how they work etc?
Flash to Inactive Slots
PF first switches slot and then flashes it.Support.zip would helpSo after applying the last update, I'm getting into Bootloop. Any ideas are very welcome. I'm trying to disable the magisk modules without success.
Hey Thanks.
Did you boot into safe mode? Did you reboot after booting into safe mode? (Booting into safe mode sets some flag so on next boot, Magisk will not load any modules. If modules are your only problem, that gives you one chance to use Magisk to permanently disable all modules.)So after applying the last update, I'm getting into Bootloop. Any ideas are very welcome. I'm trying to disable the magisk modules without success.
Flashing is working fine.
Magisk Modules:
AOSP Mods (Full version) enabled 2.4.0
DisableFlagSecure enabled v3.0
MagiskHide Props Config enabled v6.1.2-v137
Magisk Bootloop Protector enabled v1.8.1
Android 13 QR-scanner lockscreen shortcutdisabled v1.0
Universal SafetyNet Fix enabled v2.3.1
Universal GMS Doze disabled 1.8.7
volte-properties for Pixel 6 Pro enabled 1
Zygisk - LSPosed enabled v1.8.5 (6649)
Magisk Modules:
AOSP Mods (Full version) enabled 2.4.0
DisableFlagSecure enabled v3.0
MagiskHide Props Config enabled v6.1.2-v137
Magisk Bootloop Protector enabled v1.8.1
Android 13 QR-scanner lockscreen shortcutdisabled v1.0
Universal SafetyNet Fix enabled v2.3.1
YepThat special magisk is an amazing idea. Kudos to the dev, will definitely keep that as a just in case.
Thanks for your consideration, no donation please, read about it in OP to see what's better.OK, seriously, this is probably one of the best tools I have ever used. Actually this is the only reason why I have decided to keep using my P7P. I thought that keep the phone up-to-date with root (forced to root if I want to use full potential) would be a pain in the ass. But patching to December update including the download took me exactly 315 seconds. AMAZING! THANK YOU!
I am going to donate, immediately.
WoW thanks. Worked like a charm. Now I'm running without Bootloop protector, AOSP Mods and Zygisk - LSPosed.Flashing is working fine.
So most likely as you guessed the issue has to do with Magisk modules.
At first you had the following modules
Code:Magisk Modules: AOSP Mods (Full version) enabled 2.4.0 DisableFlagSecure enabled v3.0 MagiskHide Props Config enabled v6.1.2-v137 Magisk Bootloop Protector enabled v1.8.1 Android 13 QR-scanner lockscreen shortcutdisabled v1.0 Universal SafetyNet Fix enabled v2.3.1 Universal GMS Doze disabled 1.8.7 volte-properties for Pixel 6 Pro enabled 1 Zygisk - LSPosed enabled v1.8.5 (6649)
It flashed ok, then it went into recovery, eventually to adb
You had the following modules active on next try (so you removed some)
Code:Magisk Modules: AOSP Mods (Full version) enabled 2.4.0 DisableFlagSecure enabled v3.0 MagiskHide Props Config enabled v6.1.2-v137 Magisk Bootloop Protector enabled v1.8.1 Android 13 QR-scanner lockscreen shortcutdisabled v1.0 Universal SafetyNet Fix enabled v2.3.1
And that too flashed ok, but still caused you problems.
That is why it's always a good idea to disable modules (you can do so directly in PF) before flashing.
How do you recover from this.
I see your device is either ending up in bootloader mode or recovery mode.
When in bootloader mode, SOS won't work, it needs adb mode,
In recovery mode you can issue adb commands, but I'm not certain you'd have root access to disable Magisk (I doubt it)
What you could do is flash non-patched boot.
Download the latest PF, 4.6.0 is out select the stock boot instead of patched boot, and hit the Flash Boot button
View attachment 5778365
You will be able to boot to your device, but you won't be rooted.
If you flash back patched boot, you would run into the same issue because as soon as you boot, Magisk would load the modules and cause the bootloop. And you can't disable the modules if you don't have su access.
I'm surprised that Bootloop Protector is not saving you, to be honest, although I too have it on my phone, in case of a rainy day, I never needed to use it.
Perhaps ask in the module's thread why it is not kicking in.
There is a way though.
Uninstall your Magisk Manager
Download and install this special Magisk that gives you root access but does not load any modules.
@gecowa6967 was kind enough to build a custom Magisk to get around the same problem you're running into.
You create a patched boot with that special Magisk, and flash it,
Then when you reboot, and have root access, disable all modules
You can then flash back a normal patched boot, and enable one module at a time, until you figure out which is causing you the problem.
The process is a bit tedious, but nothing serious, you can get back fully operational without losing data.
Ask questions if you are uncertain about any step.
Ok I see, it does not even launch.Sorry about that.
I downloaded the file with .exe extension. When I double click on that , l get a prompt to run the program . Then I get the following error.
View attachment 5830989
This is an expected behavior,So here is something weird ive been experiencing. Ive attached a log for it too but let me explain.
I tried flashing the January Update as it came out, but had a Writing error as if my phone had been disconnected.
No Biggies i just reflashed on all. Now the funny thing is i can only use one slot at a time.
Meaning if you look in my Log i can use Slot B if i flash it but not Slot A. Reflashing into inactive slot, aka Slot A here, makes Slot A usable but Slot B cant be booted anymore. I see the Google Logo and then it Bugs out and reboots until it Boots into the working Slot.
Is this Intended?
EDIT: It doesnt seem to accept my Txt.
Im just gonna pastebin it then:
Log
system_other.img
to the other slot's (inactive) system partition, which includes the optimized dex for the target phone, and on first successful boot, it copies those.Did you do the venv activation / loading?Building for Linux
./build.sh: line 15: pyinstaller: command not found
No joy
We have specific areas of responsibility, unfortunately mine does not include Google. @roirraW "edor" ehT is assigned to this section, and was the one who discovered the ability to do this.Sweet, that is very cool, that's exactly what I need.
Assuming that it is not too much trouble on Moderators, only if knew one![]()
YepCan threads be merged into one thread so that past notes are not lost?
Unfortunately no one has volunteered yetMore importantly, I love that thread you started, thanks for pointing out, I would have never noticed.
If that approach works (I need to read up on it) I can easily add support for it in PF to simplify the whole process.
Thanks, yes discussed, but it's not always easy to search and find.Tool looks awesome. Maybe discussed but didn't find it in search.
CorrectThe default behavior of dirty flash of factory w/ patch init_boot will go to active slot, correct?
With the latest version,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?
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 and no, unfortunately the monthly flashed factory image includes aNew 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)
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.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.
*******************************************************************************
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.**
*******************************************************************************
Thanks for your consideration, appreciated.@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.
Here's a complete flow diagram of the patching process, hope it makes it clearer.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?