The only way I've ever heard of and used (as outlined on the LineageOS knowledge base) involves connecting a computer via ADB. You will also need this when upgrading between major versions.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments