Skip to content

Instantly share code, notes, and snippets.

@lucasmz-dev
Last active April 16, 2024 03:24
Show Gist options
  • Save lucasmz-dev/9c1594dc67c61bab8bda631026fad107 to your computer and use it in GitHub Desktop.
Save lucasmz-dev/9c1594dc67c61bab8bda631026fad107 to your computer and use it in GitHub Desktop.
a/b partition issues

Motorola's XML file does not seem to flash all partitions both in slot A and B. For safety purposes, in order to prevent hard bricks, it would be ideal that all partitions that have two slots, be flashed in both. LineageOS tries to solve this using a flashable .zip file that copies the current slot's partitions into the other slot, but

  1. I'm not sure if there's anything missing to be flashed
  2. Adding this as a step to the return to stock tutorial would feel weird, as it would involve downloading LineageOS' recovery or some other, then booting (not flashing, which could cause confusion) into it, and doing adb sideload on this file.
  3. Other people in XDA Forums seem to claim that these get flashed when the device is updated.

As long as one doesn't root, or mess with stock software more than they should, they should be fine. Also if someone's coming from CalyxOS which does flash both, they'll at least have something, though it might not exactly be signed by the correct keys so it might not work, can't check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment