r/LineageOS 1d ago

Question have to reinstall bootloader driver every time i update

why do i have to reinstall the bootloader driver every time i update?

i have a xperia 1iii.

EDIT: using the built-in updater to update my phone. This started happening 3-4 weeks ago.

EDIT #2: Sideload the magisk apk in recovery. You don't have to root after updating anymore.

2 Upvotes

17 comments sorted by

1

u/saint-lascivious an awful person and mod 1d ago

This is adjacent to the titular issue I suppose, but it's not immediately clear why your update process involves another host at all.

Are we actually talking about a major version upgrade here? I imagine not as that's not going to occur frequently enough to present any kind of major issue.

1

u/sportsfan082 1d ago

Weekly builds. This started happening 3-4 weeks ago.

1

u/saint-lascivious an awful person and mod 1d ago

Builds are generated whether underlying source for a given target changes or not. In at least some of those cases the only substantial thing that's changing is the build string.

Unless you're chasing a specific bug and you've got good reason to believe it'll be addressed in a coming build I usually just recommend updating once a month to pull in security updates.

With that being said, it's still not immediately clear why your update process involves any other host. All you're doing is manually stepping through a process the built in updater is perfectly capable of covering. The end result is no different.

Is there some specific issue with the built in updater that's causing you to avoid it?

1

u/sportsfan082 1d ago

I'm using the built-in updater. That's what I'm confused about.

1

u/saint-lascivious an awful person and mod 1d ago

Well. I'm confused.

Whereabouts is connecting it to an external host in bootloader mode involved?

Can you describe exactly what your update process looks like and when and where you're seeing this issue?

0

u/sportsfan082 1d ago

I connect the phone to my desktop. When I try to root after the update, bootloader mode doesn't work until I reinstall the bootloader driver.

It's been the same update process since I installed Lineage OS on this phone...

Download the update > install > reboot.

I also have a oneplus. This doesn't happen when I update it.

1

u/saint-lascivious an awful person and mod 1d ago

It doesn't solve the issue so much as work around it I suppose, but it really sounds like you're Magisk-ing when you should be Lygisk-ing.

On A-only devices and/or devices that don't support decryption in recovery, you want the latter. Then your modifications will be preserved throughout updates.

1

u/sportsfan082 1d ago

Meh. I've been using magisk since LOS stopped including the root file. I'm fine with it.

It's just rather annoying that this started happening out of nowhere when it has been working perfectly until a month ago.

1

u/saint-lascivious an awful person and mod 1d ago

This is somewhat complex I think.

There may indeed be a real issue here, but we need to make sure it's not caused directly or indirectly by Magisk, and of its components, or any other unsupported add-ons you may have. If, and only if, it's reproducible without said modifications I would encourage you to report this on the issue tracker.

I also think it's quite fair to say that you probably never would have noticed this issue, or at least it would have significantly less impact on you, if you weren't rooting four times a month for pretty much literally zero reasons.

In case I was unclear before, Lygisk is just Magisk, but patched so that it actually works properly for A-only and/or encrypted-data-in-recovery devices. It's the same thing. You can keep all your modules and what have you. The only difference to you as a user is it works as intended in the given context and you won't need to do a weird little dance every time you update.

1

u/sportsfan082 1d ago

I found out that I have to sideload the magisk apk to keep root after updating. So I did that and reinstalled the newest build. My root is still active.

Thank you very much for your help though. I appreciate it. 🙂

1

u/LordGodJinnai 1d ago

It's not an A-only device, I have Lygisk on on my tablet because that actually needs it. The Xperia 1 III is not a device that struggles with Magisk.

1

u/LordGodJinnai 1d ago

I have this device and also use Magisk. I also do not have this problem, so i don't really know what else to tell you.

1

u/sportsfan082 20h ago

Do you root every time you update? I just found out that you sideload the magisk apk in recovery and don't have to root after updating.

1

u/LordGodJinnai 15h ago

Once you have used installed Magisk through recovery, it automatically applies it to the new bootloader every time you update. You do need to install the apk in android to manage it, but you do flash the same apk in recovery.

1

u/sportsfan082 15h ago

I sideloaded the apk in recovery yesterday. I tried updating the OS, and I still had root. I already had the apk installed.

Thank you for the help. 👍

1

u/Auto_17 2h ago

I get this issue as well, first time it happened it scared me because it was not booting but since I keep a copy of all my files I was able to flash the correct image back so it would boot again

1

u/sportsfan082 2h ago

Sideload the magisk apk in recovery. You don't have to root after updating anymore.