-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
manager.sh: check vbmeta device by getprop #7216
Conversation
This is on latest Lineage 20 on OnePlus 9 Pro, which has vbmeta as shown in the ab_ota_partition list, and previously passed the old detection with vbmeta_a. So you might need both prop and path? |
How about checking ro.product.ab_ota_partitions for ,vbmeta,? Still prop-based and works unrooted. |
This is on my A11 stock rom:
Tried this too:
No vbmeta traces |
Hmm, well what's there now, and what will be added with my PR is still better than the broken path check from before. |
@Stillhard your device definitely has a vbmeta partition? Is it an A/B device or A-only? Can you provide a full unrooted prompt getprop output for your device? See here: #7220 (comment) |
|
|
I wonder if first_api_level could be useful to us here. 🤔 |
https://cs.android.com/android/platform/superproject/main/+/main:external/avb/libavb/avb_cmdline.c;l=223-233;drc=45ec542fae38b7a938774033ab85fb128edbab9f