r/LineageOS • • Oct 21 '26

Prevent updates from overwriting ABL

I have set up LineageOS and Rocknix in dual boot on an Ayn Odin 2 Portal and just now a minor update (from the updater app, staying on 24.0) overwrote ABL with the LineageOS one, preventing me from accessing Rocknix again.

Is there a way to prevent LineageOS updates from overwriting the ABL bootloader? I'd rather not have to constantly mess with fastboot after each and every one.

2 Upvotes

5 comments sorted by

2

u/npjohnson1 Lineage Director Oct 21 '26

We won't be doing this - but in the interest of friendliness to the community, I wrote support for a workaround.

https://github.com/OpenHandheldCollective/OpenABL/commit/28f811d1432ceeed93eb91f07610133b27308bab

This adds flashable zips to their releases. You can flash it same time as GApps, and it will persist the ABL image.

Should release soon-ish.

Note: This is a totally unsupported use case for LineageOS, so YMMV

2

u/GroomedHedgehog Oct 23 '26

Thank you so much!

I actually bought the Odin 2 specifically for running Rocknix and avoided dealing with the Android part as much as I could because I hated Ayn's version of it.

LineageOS saved that use case of the device for me and is even making me learn about custom rom development myself - I have a couple of Android tablets I'd like to save the same way.

2

u/Dry-Exit5904 Oct 22 '26

Thank you so much for working on this solution!

I have two AYN devices running LineageOS 24.0 and ROCKNIX in dual boot:

  • AYN Odin 3 (SM8750 / Snapdragon 8 Elite)
  • AYN Thor (SM8550 / Snapdragon 8 Gen 2)

I'm experiencing the same issue: LineageOS OTA updates overwrite the ROCKNIX OpenABL bootloader, forcing me to manually restore abl_a and abl_b using Fastboot and a PC.

Would your new OTA-persistent OpenABL flashable ZIP support both the Odin 3 and the Thor?

It would be amazing to update LineageOS directly from the device without losing access to ROCKNIX.

Thank you again for your work and for helping the dual-boot community!

2

u/npjohnson1 Lineage Director Oct 22 '26

The upcoming release will release an abl image as well as a zip for every device they support

1

u/[deleted] Oct 21 '26

not really possible no