Okay, I was wrong. Just tried to update my Pixel 6 Pro to A14 Beta 2.1 using Platform Tools 34.0.3. Opened up command line from the Platform Tools folder and ran flash-all.bat and got theI always open the command line directly from the Platform Tools folder as well. Because of this, I've never had to define/add a system/user environment variable. I haven't tested this version either but I don't see how anything would change if opening up the command line directly from the Platform Tools folder itself.
ANDROID_PRODUCT_OUT
error. Grrrr...Thanks, and +1'd it. Interesting about being noticeably faster.Also looks like the new version flashes everything as part of the Super partition.
A good deal faster tbh.
Thanks for the report.Okay, I was wrong. Just tried to update my Pixel 6 Pro to A14 Beta 2.1 using Platform Tools 34.0.3. Opened up command line from the Platform Tools folder and ran flash-all.bat and got theANDROID_PRODUCT_OUT
error. Grrrr...
...
extracting product.img (2857 MB) to disk... took 12.380s
archive does not contain 'product.sig'
Resizing 'product_b' OKAY [ 0.010s]
Sending sparse 'product_b' 1/12 (262112 KB) OKAY [ 6.721s]
Writing 'product_b' OKAY [ 0.402s]
Sending sparse 'product_b' 2/12 (262124 KB) OKAY [ 6.758s]
Writing 'product_b' OKAY [ 0.404s]
Sending sparse 'product_b' 3/12 (262128 KB) FAILED (Error reading sparse file)
fastboot: error: Command failed
Press any key to exit...
What version of Platform-Tools are you using? If on any 34.x version, then the easiest solution is to go back to v33.0.3:I just got a factory unlocked Pixel 7 Pro. I unlocked the Bootloader, used Magisk to patch init_boot.img but had problems with flash-all.bat script.
Here is the output when it went off the rails
Code:... extracting product.img (2857 MB) to disk... took 12.380s archive does not contain 'product.sig' Resizing 'product_b' OKAY [ 0.010s] Sending sparse 'product_b' 1/12 (262112 KB) OKAY [ 6.721s] Writing 'product_b' OKAY [ 0.402s] Sending sparse 'product_b' 2/12 (262124 KB) OKAY [ 6.758s] Writing 'product_b' OKAY [ 0.404s] Sending sparse 'product_b' 3/12 (262128 KB) FAILED (Error reading sparse file) fastboot: error: Command failed Press any key to exit...
And now it's in a boot loop.
I am able to get back to Fastboot Mode (and to Recovery Mode)
1) Can anyone help me recover from this boot loop?
2) Anyone recognize what might have gone wrong?
Anyone that updated their platform tools and needs to downgrade can use these links.
Windows
Mac
Linux
Yes you can get out of it, it failed in the middle of flashing, all you have to do is flash again to a successful end.I just got a factory unlocked Pixel 7 Pro. I unlocked the Bootloader, used Magisk to patch init_boot.img but had problems with flash-all.bat script.
Here is the output when it went off the rails
Code:... extracting product.img (2857 MB) to disk... took 12.380s archive does not contain 'product.sig' Resizing 'product_b' OKAY [ 0.010s] Sending sparse 'product_b' 1/12 (262112 KB) OKAY [ 6.721s] Writing 'product_b' OKAY [ 0.402s] Sending sparse 'product_b' 2/12 (262124 KB) OKAY [ 6.758s] Writing 'product_b' OKAY [ 0.404s] Sending sparse 'product_b' 3/12 (262128 KB) FAILED (Error reading sparse file) fastboot: error: Command failed Press any key to exit...
And now it's in a boot loop.
I am able to get back to Fastboot Mode (and to Recovery Mode)
1) Can anyone help me recover from this boot loop?
2) Anyone recognize what might have gone wrong?
What version of Platform-Tools are you using? If on any 34.x version, then the easiest solution is to go back to v33.0.3:
Yes you can get out of it, it failed in the middle of flashing, all you have to do is flash again to a successful end.
Why did it fail you might ask,
- Make sure the downloaded firmware's checksum matches what is published.
- It could be communication issue
- Try another cable
- Try another USB port, preferably USB2
- Makes sure the drivers are up to date.
Were you using the black or the white Google cable?I ended up buying a faster cable. The c -> c cable provided by Google just stopped working for these newer 14 builds. I got a the USB 4 cable from Spigen, and these new images bats started flashing properly again.
That's my best guess.
The white c -> c that Google provided. Bought the black USB 4 c -> c from Spigen.
Thanks for sharing! That issue tracker page https://issuetracker.google.com/issues/284450364 shows up blank (but perpetually "loading", while saying "Access denied" at the bottom. Your other link for the other issue works for me fine, and I've +1'd it.Another issue with PT 24.x.x found by me...
"fastboot cannot work when %username% in Windows OS contains non latin characters"
Already created issue: https://issuetracker.google.com/issues/284450364
But do not be surprised at such a large number of errors, since Google massively rewrites fastboot
Looks like broken link. Fixed.That issue tracker page https://issuetracker.google.com/issues/284450364 shows up blank (but perpetually "loading", while saying "Access denied" at the bottom.
For what it's worth, the first link https://issuetracker.google.com/issues/284450364 still doesn't work, even if I try it through a VPN without a Google account. Still says "Access denied".
Strange things... Now even i can't access my own issue. Maybe time to report issue about Google issue trackerFor what it's worth, the first link https://issuetracker.google.com/issues/284450364 still doesn't work, even if I try it through a VPN without a Google account. Still says "Access denied".
Second link https://issuetracker.google.com/issues/284335462 works fine.
Pending to merge: https://android-review.googlesource.com/c/platform/system/core/+/2613189Another issue with PT 24.x.x found by me...
"fastboot cannot work when %username% in Windows OS contains non latin characters"
Already created issue: https://issuetracker.google.com/issues/284450364
But do not be surprised at such a large number of errors, since Google massively rewrites fastboot
What in the Holy Hand Grenade of Antioch? So I wonder if we can expect a second 34.0.3, or a 34.0.3 R2, or if this is intended behavior / "good enough" for Google for now.
And thanks!
Fixed in upstream.This is scandalous for Google.
Didn't work on redfin
Code:fastboot: error: ANDROID_PRODUCT_OUT not set
For what it's worth, Mishaal Rahman said he tested it and the problem has been fixed.As @Lughnasadh said it likely would, Platform-Tools v34.0.3 is out. Test at your own risk.
(both links resolve to the same zip)
Nothing in the release notes about it yet.
Edit: The adb.exe and fastboot.exe do indeed have different hashes than the most recent 34.0.1.
A little cleansing is good for the soul, so I hearI just wiped my phone by accident. LOL! Got to laugh or cry. I had taken the -w out of the flash-all.bat, but I was trying to figure out why I was getting a failure after theSending sparse 'product_a' 1/12 (262112 KB)
, so I re-extracted both Platform-Tools 33.0.3 and the latest firmware, and I was prepared to re-edit the freshly extracted flash-all.bat, but it slipped my mind.
The good news, the phone flashed fine this time, although ironically, this last time I attempted it, I was doing it through a powered USB-A USB 3.2 Gen 2 powered hub that's 20 feet away in a different room from my desktop computer, where it's attached via USB-C to a USB 3.2 Gen 2 port. I've had no problems flashing through the hub before, but it's funny that all three of my much closer USB-C ports and cables failed consistently, but through the hub worked perfectly.
I'm glad I at least keep both root and non-root cloud backups, plus a few backups from individual apps that have the feature (Nova Launcher 7.x, AOSP Mods...).
LOL! Nice.Your phone isn't dead, it's just resting. Probably pining for the fjords
LOL!!You're welcome! I have no idea if this is a feature or a bug, and I'm guessing Google doesn't either![]()
Can you please explain where you put this command line. I'm not exactly sure how to add it.
Just for reference (but I recommend still sticking to @badabing2003's advice), on Windows, you:Thanks, I'm on Windows and I'll stay with 33.0.3 until it's fixed
ANDROID_PRODUCT_OUT
S:\platform-tools\
tried to flash the latest build of AncientOS with it, did not work. Back to r33.0.3 and it worked fine
platform-tools_r34.0.1-windows is not functioning properly. Back to 33.0.3 we go...
Add me to the list of users that had a problem with platform-tools 34.0.1. I got into a bootloop after running flash-all.bat. Downgraded to 33.0.3, reran the new (old) flash-all.bat, and was all good.
Using 34.0.1, the phone never even got to the fastbootd part of the process
Update
I tested SDK Platform-tools r. 34.0.1 it is not fixed. There are still problems with fastbootd. Use SDK Platform-tools r. 33.0.3
Anyone that updated their platform tools and needs to downgrade can use these links.
Windows
Mac
Linux
init_boot.img
, NOT boot.img AND we flash the patched init_boot to the init_boot partition - do not flash it to the boot partition.Unlocking or locking the bootloader will wipe the device every single time, so be sure to have your data backed up before doing so, or better yet, just unlock it as soon as you get the device.
Keep in mind that unlocking the bootloader or rooting might affect your phone's capability to use banking apps such as Google Pay, your local bank's app, or even the ability to install some apps like NetFlix. See Post #2 - Unlocking Bootloader / Rooting / Updating | SafetyNet | ADB/Fastboot & Windows USB Drivers.
If you're going to re-lock the bootloader, make sure the ROM you have on your phone is completely stock (by flashing the latest official firmware) BEFORE re-locking it.
There are no permanent negative consequences if you unlock or re-lock the bootloader other than it will wipe your phone, and while your bootloader is unlocked you get a brief screen when you boot the phone telling you (and anyone who sees your phone at the time) that it's unlocked. You will also continue to receive updates (if you've merely unlocked the bootloader, you can take updates as normal) unlike Samsung, Sony, et cetera, which have permanent major consequences with reduced functionality even if you un-root and re-lock your bootloader. If you're actually rooted (not just bootloader unlocked), you'll have to perform extra steps to manually update each month, and to keep root/re-root.
TD1A.220804.031
.
- @AndyYan
- @anirudhgupta109
- @Az Biker
- @bosox284
- @capntrips
- @Chainfire
- @DespairFactor
- @direwolf1
- @Displax
- @edcsxz
- @Eleo
- @flar2
- @foobar66
- @Freak07
- @j4velin
- @Jawomo
- @Jon8RFC
- @jorrik98
- @kdrag0n
- @[email protected]
- @LLStarks
- @Lughnasadh
- @mariusnoor
- @Namelesswonder
- @PurppleMonkey
- @Quinny899
- @rovo89
- @siavash79
- @Sib64
- @simplepinoi177
- @StrangerWeather
- @tbalden
- @topjohnwu
- @TotallyAnxious
- @Tulsadiver
- @Typhus_
- @V0latyle
- @VR25
- @xgerryx
- @xike456
- @xstefen
- And many others from all of the previous years who I thanked in my previous OPs.
Will never be able to have their bootloader unlocked. It's like winning the lottery, and just as rare and relatively random. There is nothing that anyone on XDA can do to help you unlock your Verizon variant.
Can be unlocked once you pay the phone off, then you contact the carrier and arrange to Carrier unlock the phone. Once the phone is Carrier unlocked, then you can unlock the bootloader with the usual caveats (will wipe the device and there's no way around it).
Can be bootloader unlocked at any time. I'd try it first before putting a SIM card in the phone. If OEM unlocking is grayed out, try connecting to Wi-Fi, and reboot if necessary. If it's still grayed out, try with your SIM card, and reboot again. Historically on Pixels, most of the time you can toggle OEM unlocking immediately, but occasionally some users have found it took a little while after being either connected to Wi-Fi or having your SIM card installed in it, and then eventually (hours? day? days?) you can toggle OEM unlocking.
No idea. Feel free to ask in the thread and hopefully, someone with specific knowledge will answer.
How to update each month (and also how to root) [requires an unlocked bootloader for updating via this factory image method]The one-time first steps are:
- Android Settings
- About phone
- Click on
Build number
repeatedly, about seven times- Go back to the main Android Settings
- System
- Developer options
- Toggle
OEM unlocking
on. See @Namelesswonder's tip below (this won't help with variants that are supposed to be bootloader locked):
Also a little tip for anyone trying to enable OEM unlocking on a device and it is grayed out, you can force the phone to check for eligibility by connecting to the internet in whatever way, going to the dialer, and dialing*#*#2432546#*#*
(CHECKIN).
You should receive a notification from Google Play services with "checkin succeeded" and OEM unlocking should be available immediately if the device is eligible.
Google account not needed, SIM not needed, no other setup required. Works on completely-skipped-setup-wizard. Just need to make sure to connect to the internet and select the connection as metered to avoid any updates.- Toggle
USB debugging
on.- [Optional] I highly suggest you also disable
Automatic system updates
. Note that in a situation such as the Android 12 serious bootloader security issue, this setting will not keep Google from forcing an update to come through anyway.- How to actually root follows the same steps below as how to update each month.
- Download the latest ADB/Fastboot (SDK Platform Tools) and Windows USB Drivers.
- Unzip the Platform Tools and Drivers.
NOTE: If you have USB drivers for other Android devices installed, like Samsung, they can alternately sometimes work and not work with Google Pixels. I recommend uninstalling those drivers, or at least updating that driver to Google's driver as instructed below (the Device Manager entry may be different with other OEMs).
- The Windows USB Drivers may have to be installed twice:
- The first time while your phone is running and unlocked as normal.
- In Windows, right-click on the Start Button and choose
Device Manager
.- Plug your phone into the computer and look for the new hardware entry in Device Manager. Near the top of Device Manager should be
Android Device
. Click the drop-down arrow to the left of it.- Below
Android Device
, it should now showAndroid Composite ADB Interface
- Right-click the
Android Composite ADB Interface
and chooseUpdate driver
- Choose
Browse my computer for drivers
- Click
Browse
and navigate to where you unzipped the Windows USB drivers to.- Follow the prompts to install the driver.
- Keep Device Manager itself open - you'll need it again in a minute, but you can close any other Device Manager windows after you have installed the driver.
- Open a Command Prompt and navigate to the
platform-tools
folder.- Run command:
Code:adb devices
- On your Android device, you'll get an ADB prompt. Check the box to always give ADB permission and click
OK
.- Confirm that the command results in a list of Android devices. When doing these producedures, you should only have the one device you want to work on connected, to keep things simple.
- The second time to install the driver is while the phone is in Bootloader (fastboot mode), notFastbootD (fastbootd) mode. I know it's confusing.
- Run command:
Code:adb reboot bootloader
- Repeat the instructions above starting with "Right-click the Android Composite ADB Interface".
- This second time installing the drivers while in Bootloader (fastboot mode), it will show up as "Android Bootloader Interface". Thanks @simplepinoi177 for the suggestion to add this detail.
- Run command:
Code:fastboot flashing unlock
- On the phone, press either the up or down volume button once until you see
Unlock the bootloader |>|
beside the power button.- Press the power button. The phone will go black for a second and then show near the bottom
Device state: unlocked
.- After these first-time steps to unlock the bootloader, if you want to root, continue below at the step:
- Download the latest Pixel 7 Pro Factory Image (at the bottom of the "Cheetah" section).
platform-tools
folder, i.e. so that flash-all.bat and all other files are in the same folder as ADB and Fastboot from the platform-tools.flash-all.bat
(on Windows) or flash-all.sh
(on Linux) and remove the -w
from the fastboot update image-cheetah-etcetera.zip
line. This will keep the script from wiping your phone when you run it.init_boot.img
file from the image-cheetah-etcetera.zip
to the same platform-tools
folder.init_boot.img
. NOTE: It is always possible that an Android Update (Monthly, QPR [Quarterly Platform Release], new major Android versions, and Beta versions) might need a new version of Magisk Stable, Beta, or Canary from GitHub to work correctly. XDA forum for Magisk is here.magisk_patched-25200_1a2B3c.img
)back over to the computer.adb reboot bootloader
flash-all.bat (on Windows)
or
flash-all.sh (on Linux)
(Note: At least two Apple Macintosh users had trouble using the flash-all.sh - at least one of those users, everything went smooth once they used a Windows PC for this part of the process)
adb reboot bootloader
fastboot --set-active=other
flash-all.bat
platform-tools
folder.adb reboot bootloader
fastboot flash init_boot magisk_patched-25200_1a2B3c.img
fastboot reboot
For the future, you don't need to go into safe mode unless that's your preference. I forgot what all it resets, but it's many settings and it's bothersome. I'd rather just reinstall my modules and not have to figure out those Android settings/changes which I come across days or weeks later when I infrequently do something. Have your phone reboot and run this:
I like to just do this first:Code:adb wait-for-device shell magisk --remove-modules
So the server is running, then I have the long one pasted and ready to go once the phone turns off.Code:adb devices
- Launch the Magisk app.
- Go to Magisk's Settings (Gear in top right).
- Click
Hide the Magisk app
.- When you hide it, you'll have the optional opportunity to change the Magisk app's name to whatever you wish. It doesn't have to be complex to fool apps that check for Magisk.
- Important: When you have the Magisk app hidden or renamed, you can accidentally install a new copy of Magisk. This situation won't work at all - neither copy of Magisk will work with two installed. This is one reason why I don't completely hide Magisk, so I can tell it's installed because I have it renamed as something easily recognizable.
- Back to the Magisk app's Settings...
- Click
Systemless hosts
. This adds a Magisk Module to Magisk, which you can verify in a later step.- Toggle
Zygisk
on.- Toggle
Enforce DenyList
on.- Click
Configure DenyList
.
- Add every app that you want to explicitly deny root and the existence of root.
- You can click the 3-dot menu and choose the options to display system and/or OS apps, if necessary.
- Note that for many apps, it is not enough to click the single checkmark to the right of the app name in this list. For many but not all apps, you should click on the app name and you'll see it expand to two or more entries, each with its own toggles. In this expanded state, you can now check the single top checkbox beside the main app name and it'll toggle all individual sub-entries.
- Some apps add new entries to this list from time to time, so if you find that an app used to work for you when rooted and doesn't now, check this list again and look for the entries that aren't fully checked. There will be an incomplete horizontal line above the apps that don't have all of their sub-entries toggled.
- You can use the Search button at the top of this list to find specific apps quickly.
- The most common apps you should definitely fully check in this list are:
IMPORTANT - There are some things, such as
Google Play Services
which it's fine to add to the DenyList, but it's perfectly normal when used in combination with the Universal SafetyNet Fix (USNF) that it is back to being unchecked the next time you visit the DenyList. Since USNF takes care of Google Play Services, you don't even have to add it to the DenyList in the first place.- Google Play Store
- Google Services Framework
- Google Play Protect Service
- Wallet
- GPay
- Any banking apps.
- Any streaming apps that use DRM.
- Any 2FA apps, especially those for work.
- Some of those Google apps might not need denying, but it doesn't hurt to deny them.
- Any time you toggle more entries in this list, it may be necessary to reboot the phone for it to take effect.
- From the main screen in the Magisk app, go to
Modules
at the bottom.- Confirm that the
Systemless hosts
Magisk Module is added to this list, and enabled.- Install the appropriate Magisk Module: Universal SafetyNet Fix referenced above these numbered instructions.
- Reboot.
- Install from the Play Store:
- YASNAC - SafetyNet Checker
- Launch it.
- Click
Run SafetyNet Attestation
.- It should say:
- Basic integrity: Pass
- CTS profile match: Pass
- Evaluation type: BASIC
- Play Integrity API Checker
- Launch it.
- Click
Check
.- It should have the following with a green checkmark:
- MEETS_DEVICE_INTEGRITY
- MEETS_BASIC_INTEGRITY
- It's normal for
MEETS_STRONG_INTEGRITY
to have a red X.- You don't have to keep these installed, although I keep them handy.
- Sometimes, clearing app cache and/or data for apps like the Google Play Store, GPay, Wallet and others (and then rebooting) after these steps may help pass SafetyNet as well.
- See @V0latyle's explanation (and further linked post) for why we can't achieve
STRONG_INTEGRITY
with an unlocked bootloader.- See @V0latyle's [DISCUSSION] Play Integrity API regarding why SafetyNet, per se, is actually defunct and replaced with Play Integrity - and New Official Universal SafetyNet Fix released by @kdrag0n v2.4.0 referenced in the steps above takes care of the latter.
- Download the custom kernel of choice on the phone.
Be sure to read the particular installation instructions in the kernel threads' OP - any instructions in their OPs takes priority over anything I say here, which is generalized.
For now even the AK3 Zip versions of custom kernels requires Verity and Verification to be disabled.
How to determine if you already have Verity and Verification disabled - see section in Post #3 - Other, most important resources- The two schools of thought on disabling Verity and Verification:
- My post here. If you want to discuss it any, please do so in my thread, or at least not in that custom kernel thread, so as to keep the thread on-topic.
- Extract the
vbmeta.img
file from the inner Zip of the factory image zip and put it in the same folder with the latest extracted platform-tools.- Hook the phone up to your computer and run the following commands:
[wait for the phone to reboot to bootloader (fastboot mode)]Code:adb reboot bootloader
Code:fastboot flash vbmeta vbmeta.img --disable-verity fastboot reboot
- Unlock the phone once it's booted up.
- Make sure the Kernel Flasher app is up to date. XDA thread for the Kernel Flasher app is here.
- Launch Kernel Flasher.
- Select the slot that's mounted.
- Choose Flash AK3 Zip.
- Select the custom kernel zip just downloaded.
- When it's done flashing, head to Android Settings and perform a Factory Reset, as is currently needed for Despair kernel.
- If you failed to disable Verity and Verification ahead of time, if you have to, just force the phone off using these instructions: Turn your Pixel phone on & off, then press the Volume Down and Power buttons for a couple of seconds to get into the bootloader (fastboot mode). You'll still have to factory reset after disabling Verity in combination with this kernel, for now.
- Whenever you use the flash-all to flash your phone, as long as you want to continue to disable Verity and Verification, you'll have to further modify the flash-all script as such:
Code:fastboot update image-cheetah-buildnumber.zip --disable-verity --disable-verification
Anyone that updated their platform tools and needs to downgrade can use these links.
Windows
Mac
Linux
Release Notes https://developer.android.com/studio/releases/platform-tools:
33.0.3 (Aug 2022)
- adb
- Don't retry adb root if first attempt failed.
- Fix track-devices duplicate entry.
- Add receive windowing (increase throughput on high-latency connections).
- More specific error messages in the "more than one device" failure cases.
- Reject unexpected reverse forward requests.
- Fix install-multi-package on Windows.
- fastboot
- Remove e2fsdroid as part of SDK platform-tools.
- Print OemCmdHandler return message on success.
You'll need this if you're going to unlock the bootloader on your Pixel 7 Pro: SDK Platform Tools (download links for Windows, Mac, and Linux). Note that you can find links to download the tools elsewhere, but I wouldn't trust them - you never know if they've been modified. Even if the person providing the link didn't do anything intentionally, the tools could be modified without them being aware. Why take a chance of putting your phone security further at risk?
You can alternately use the tools from the SDK Manager, but most of us will want to stick to the basic tools-only without the complications of the full development manager.
For Windows, get Google's drivers here Get the Google USB Driver (ADB will likely work while the phone is fully booted, but if you're like me, you'll need these drivers for after youadb reboot-bootloader
, to be able to use ADB and Fastboot.
Indeed. My MOD is a temporary solution until kdrag0n release accurate fix.I would expect that once 2.4.0 is released publicly, we should probably go back to using the official release, but conversely, as long as something works for you, there's also not necessarily a need to fix what isn't broken. Personally, I plan on switching once it's made completely public.
Note that @Displax wasn't trying to replace the official version - they always kept it the same version as the most recent official along with "Mod", "Mod 2", or "Mod 2.1", so that suggests to me they were merely making temporary workarounds until/if the official was updated.
adb reboot bootloader
fastboot flash init_boot init_boot.img
I would guess that this should be the appropriate URL for official TWRP custom recovery for the Pixel 7 Pro, but who knows when/if that will actually be made available, and it may become available unofficially in these forum sections before being made official. I'll adjust this URL as needed. https://twrp.me/google/googlepixel7pro.html.
It's also handy to have to the full official firmware available, whether it's to recover from accidents or for actual development. Note the official link to the general Factory Images for Nexus and Pixel Devices page. The following link goes directly to the Pixel 7 Pro (Cheetah) section: Pixel 7 Pro Factory Images. I prefer to actually bookmark a link to the device listed immediately below the device I want the firmware for, because Google dumbly (in my opinion) puts the latest firmware at the bottom of the list for each particular device, and that ends up making you scroll a lot after a year or two of monthly updates.
Worked for me yesterday when I accidentally tried some old version of a Magisk Module. You have to reinstall your Magisk Modules, but if you're using a third-party widget, it won't disable them like Safe mode does.For the future, you don't need to go into safe mode unless that's your preference. I forgot what all it resets, but it's many settings and it's bothersome. I'd rather just reinstall my modules and not have to figure out those Android settings/changes which I come across days or weeks later when I infrequently do something. Have your phone reboot and run this:
I like to just do this first:Code:adb wait-for-device shell magisk --remove-modules
So the server is running, then I have the long one pasted and ready to go once the phone turns off.Code:adb devices
In the future try this
adb wait-for-device shell su -c "touch /data/adb/modules/zygisk_lsposed/disable"
adb reboot
OEM unlocking in developer options needs to be toggled on. I don't "believe" you have to actually do the "fastboot flashing unlock" command.
Alternative two more manual ways of checking:I keep seeing this asked, so I added a Magisk module for it to the linked Github release. With the module installed, you can just run:
Code:su avbctl get-verity avbctl get-verification
I spent way more time debugging that I downloaded Github's HTML of theupdate-binary
script rather than the raw file than I care to admit.Off to bed.
Since you´re probably already rooted anyway if you plan to flash this kernel, simply reboot your device. After you enter the device immediately take a kernel log with for example EXKM or any other app that allows to do that, terminal, etc.
Look for that line
[ 1.273480] init: [libfs_avb]AVB HASHTREE disabled on: /vendor_dlkm
If you see this line, verity/verification should be disabled.
I've seen several cases where having the ability to check would have been handy, so I pushed anavbctl
binary built against the latest aosp sources here.
The simplest way to use it would be the following:
Code:adb push avbctl /data/local/tmp adb shell su cd /data/local/tmp chmod +x avbctl ./avbctl get-verity ./avbctl get-verification