android:oneplus:configinfo
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| android:oneplus:configinfo [2020/09/16 13:36] – created oscar | android:oneplus:configinfo [2022/01/15 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Get Configuration Information ====== | ====== Get Configuration Information ====== | ||
| - | ===== Using A/B partitions ===== | + | ===== Check Using A/B partitions ===== |
| If your device is running anything older than Android 7.1, skip this section as your device will not be using A/B nor system-as-root. First, you need to know whether your device is using A/B partitions. If you don’t know, use a terminal (adb shell or any terminal emulator) to check with this command: | If your device is running anything older than Android 7.1, skip this section as your device will not be using A/B nor system-as-root. First, you need to know whether your device is using A/B partitions. If you don’t know, use a terminal (adb shell or any terminal emulator) to check with this command: | ||
| < | < | ||
| Line 9: | Line 9: | ||
| < | < | ||
| If the result is true, then your device is using system-as-root. | If the result is true, then your device is using system-as-root. | ||
| + | |||
| + | ===== Find active slot (in fastboot)===== | ||
| + | Boot into fastboot bootloader and execute: | ||
| + | < | ||
| + | Wait for a lot of text to finish scrolling and look for the " | ||
| + | active partition slot for your device | ||
| + | ===== Find active slot (via ADB)===== | ||
| + | < | ||
| + | getprop | grep slot</ | ||
| + | |||
| + | ===== Change active slot ===== | ||
| + | Boot into fastboot bootloader and execute: | ||
| + | < | ||
| ===== List partitions ===== | ===== List partitions ===== | ||
| getprop ro.boot.bootdevice | getprop ro.boot.bootdevice | ||
android/oneplus/configinfo.1600263369.txt.gz · Last modified: (external edit)
