-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading to 21 from 20 on alioth is not working (other targets with erofs might be affected the same way) #625
Comments
From what I can see, I don't think this is a bug in this project, and I believe that any problem lies upstream, with the LineageOS recovery. Our recovery is identical to the upstream recovery, so I am fairly confident that the problem is there. To check, you could install 'normal' LOS 20 ROM and recovery (following the LOS installation instructions), then try to upgrade to LOS 21 following the LOS Update instructions. If that works, but a similar process with our ROM and recovery do not work, then I might accept that the problem is ours. If that were the case, I would just suggest that you use the workaround that you have already discovered, and install the 21 recovery before trying to sideload. [rant] For a bug that needs to be fixed upstream, by LineageOS (like this one in my opinion), the only way to get a response is to reproduce it using official LineageOS, then raise a bug in their issue tracker. And then hope that they will do something to fix it, rather than mocking you for being a 'noob', or making 'clever' responses to show that they are clever and smart, and you are not Sorry I can't be more help, but this project does not have resources to investigate and/or fix problems that are owned by upstream. I'll close this issue sometime soon, but please feel free to ask for ot to be re-opened if you can show that it is not an upstream problem |
Thank you for the rather elaborate answer. I think this issue can be left open for a while to raise awareness among other users who are going to have trouble updating. At least I found and documented a good enough workaround here. Regarding testing and reporting upstream, I'm afraid I'm not in a position to do that, as I have just one "alioth" device and I'd prefer to not mess with it any more than necessary because I "have to" daily-drive it. My hope was that it's reasonably straightforward to tell exactly which part of the code in the lineage-21 branch requires erofs support from recovery and which part of the code in the lineage-20 branch prevents it from being included in boot modules. If it was identified then reporting to LOS upstream would be feasible even without testing as the nature of the problem seems to allow being confident enough just "theoretising". It surprises me that it's non-trivial for someone familiar with the code but, heh, I bet it's not the last discouraging surprise Android is giving me. Thank you nevertheless, what you're doing undoubtly makes my life better. |
At least on my device that wasn't enough IIRC, I used /both/ |
Not sure if it's upstream LOS issue so filing here as @LuccoJ suggested on IRC.
Sideloading 21.0 zip to a 20.0 recovery fails at the second step:
Apparently the reason is 20.0 recovery lacking
erofs
and I was able to upgrade by manually flashing boot and vendor_boot from 21 with fastboot; that allowed sideload to finish the process to completion, upgrade preserved all the apps and data.The text was updated successfully, but these errors were encountered: