Sean McCreary 328 Posted March 9, 2023 Share Posted March 9, 2023 10 hours ago, claude0001 said: The official LineageOS tool to extract them is extract.py, but there are others ... FYI, some Linux distributions (like Debian Bullseye) name the prerequisite package "python3-protobuf", and you may need to set "PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python" to get the script to work. 1 Quote Link to post Share on other sites
claude0001 1,341 Posted March 9, 2023 Share Posted March 9, 2023 5 hours ago, Sean McCreary said: you may need to set "PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python" Seemed to work without this on my Bullseye. Thanks anyway for the hint. Quote Link to post Share on other sites
claude0001 1,341 Posted March 9, 2023 Share Posted March 9, 2023 12 hours ago, EskeRahn said: So not that easy to extract after all Well, it is really easy for those who have a lineage build environment up and running anyway. Extracting some previous payload.bin is a required step in making your own ROM. For those who are not running on Linux (and thus have no preinstalled Python), people have made stand-alone extractor programs (like this one or that one). Please note that I haven't tested those, and think twice before running your phone's boot partition through some random tool from the internet. 1 Quote Link to post Share on other sites
Hook 3,020 Posted March 9, 2023 Share Posted March 9, 2023 3 hours ago, claude0001 said: Well, it is really easy for those who have a lineage build environment up and running anyway. But I think the point for us "civilians" is we don't have to extract those files because those files are provided. 😄 If you are flashing for the first time, you need to fastboot flash those files in order to be able to boot into Lineage recovery so you can sideload the zip (which, yes, also contains those files). Used to get it as one image file which also was labeled with the date. But you only have to flash those files once so you have access to recovery for ADB sideload. After that, you only do ADB sideload or use OTA (when official). 1 Quote Link to post Share on other sites
claude0001 1,341 Posted March 9, 2023 Share Posted March 9, 2023 (edited) 3 hours ago, Hook said: After that, you only do ADB sideload or use OTA (when official). Yes, normal users need to fastboot-flash the boot.img only once, and can then sideload-away for years to come. But I believe @EskeRahn specifically wants to backup previous Lineage versions, to be able to jump back to them in case regressions were to be introduced in the OTAs. In such a scenario, he would indeed have to first flash the boot.img matching the timestamp of the *.zip. This is because, to my knowledge, Lineage recovery does not allow downgrading itself via sideload (at least in 16.0 it didn't). So my only point was that it is not necessary for him to figure out a scheme to keep track of all his boot.img-versions. If needed, he could always extract the right one from the *.zip itself, which -- I think -- is an acceptable inconvenience in such an advanced use-case. Edited March 9, 2023 by claude0001 1 Quote Link to post Share on other sites
EskeRahn 5,460 Posted March 9, 2023 Share Posted March 9, 2023 6 hours ago, claude0001 said: Yes, normal users need to fastboot-flash the boot.img only once, and can then sideload-away for years to come. As can be seen even on the hash of the last four, the boot.img is not identical, and I know from AICP, that a flash can be quite picky on the bootloader selected matching the zip. So at the least when changing major version, I think you should flash the boot-loader first. For LOS I always flash the matching bootloader before booting into the recovery and sideloading the main zip. It might be a superfluous step in general. but I believe @tdm did the same thing in the guide he originally provided for v16, so I just followed that since... 1 Quote Link to post Share on other sites
claude0001 1,341 Posted March 9, 2023 Share Posted March 9, 2023 28 minutes ago, EskeRahn said: As can be seen even on the hash of the last four, the boot.img is not identical [...] Well, as the timestamp updates, I do not see how the hash could stay identical, even if there are no functional changes. That said, there probably is a reason why LOS recovery does not allow downgrading via sideload ... Quote Link to post Share on other sites
EskeRahn 5,460 Posted March 9, 2023 Share Posted March 9, 2023 13 minutes ago, claude0001 said: Well, as the timestamp updates, I do not see how the hash could stay identical, even if there are no functional changes. That said, there probably is a reason why LOS recovery does not allow downgrading via sideload ... When I have experimented with downgrading a good while back, and it works fine - though you will (almost) always need to wipe the user data in the process, and I always flashed the boot image as well. Quote Link to post Share on other sites
EskeRahn 5,460 Posted March 16, 2023 Share Posted March 16, 2023 (lineage-20.0-20230313-nightly-pro1-signed.zip on February 5 security patch installed smoothly using adb sideload and MindTheGapps-13.0.0-arm64-20221025_100653) Quote Link to post Share on other sites
EskeRahn 5,460 Posted March 21, 2023 Share Posted March 21, 2023 I was wondering what kept the usual Monday update, and checked this https://download.lineageos.org/devices/pro1/changes It seems like the next update we get will have a LOT of changes (over 120), so might be a good idea to take an extra backup, and be sure to download the previous 2023-03-13 build if we need to go back. 2 Quote Link to post Share on other sites
Wheeljack 212 Posted March 27, 2023 Share Posted March 27, 2023 According to the buildkite logs, the scheduled build simply crashed and wasn't re-scheduled. This weeks 20230327 update has finished though. Already have it running on my Pro1. OTA went through without issues. 1 1 Quote Link to post Share on other sites
EskeRahn 5,460 Posted March 27, 2023 Share Posted March 27, 2023 (lineage-20.0-20230327-nightly-pro1-signed.zip on March 5 security patch installed smoothly using adb sideload and MindTheGapps-13.0.0-arm64-20221025_100653) 1 Quote Link to post Share on other sites
TeZtdevice 297 Posted April 3, 2023 Share Posted April 3, 2023 lineage-20.0-20230403-nightly-pro1-signed.zip on March 5 security patch installed smoothly using OTA 1 Quote Link to post Share on other sites
EskeRahn 5,460 Posted April 3, 2023 Share Posted April 3, 2023 2 hours ago, TeZtdevice said: lineage-20.0-20230403-nightly-pro1-signed.zip on March 5 security patch installed smoothly using OTA same via adb. 1 Quote Link to post Share on other sites
TeZtdevice 297 Posted April 11, 2023 Share Posted April 11, 2023 (edited) lineage-20.0-20230410-nightly-pro1-signed.zip on March 5 security patch installed using OTA, but reboots into recovery. !System doesn´t boot! Edited April 11, 2023 by TeZtdevice Quote Link to post Share on other sites
EskeRahn 5,460 Posted April 11, 2023 Share Posted April 11, 2023 (lineage-20.0-20230410-nightly-pro1-signed.zip on April 5 security patch installed smoothly using adb sideload and MindTheGapps-13.0.0-arm64-20221025_100653) @TeZtdevice I guess it is the OTA update they broke. Try with adb sideload. PS note that I always flash the boot-image as well, maybe they changed something there that broke OTA?? 1 Quote Link to post Share on other sites
Hook 3,020 Posted April 11, 2023 Share Posted April 11, 2023 4 hours ago, TeZtdevice said: lineage-20.0-20230410-nightly-pro1-signed.zip on March 5 security patch installed using OTA, but reboots into recovery. !System doesn´t boot! I had no problem with the 20230410 OTA. Something else maybe glitched while it was installing? Hopefully sideloading will fix it. 2 Quote Link to post Share on other sites
TeZtdevice 297 Posted April 11, 2023 Share Posted April 11, 2023 (edited) 1 hour ago, EskeRahn said: @TeZtdevice I guess it is the OTA update they broke. Try with adb sideload. PS note that I always flash the boot-image as well, maybe they changed something there that broke OTA?? Well... - switch the active slot from B to A - reboot the system without the update - update lineage-20.0-20230410 using ADB - reboot, playstore has a problem - reinstall gapps using ADB - reinstall Magisk using ADB ...finished Edited April 11, 2023 by TeZtdevice 1 Quote Link to post Share on other sites
Wheeljack 212 Posted April 17, 2023 Share Posted April 17, 2023 Looks like today's build has crashed (log) Unless it's rescheduled, we'll have to wait another week. 1 Quote Link to post Share on other sites
Hook 3,020 Posted April 17, 2023 Share Posted April 17, 2023 15 minutes ago, Wheeljack said: Looks like today's build has crashed (log) Unless it's rescheduled, we'll have to wait another week. No OTA has showed up, but there was at least one time that happened and then it showed up on Wed. But it may be all hands on deck for getting ready with the Pro1x Official release scheduled for Thursday. 😉 1 Quote Link to post Share on other sites
Adrienspawn 126 Posted April 19, 2023 Share Posted April 19, 2023 (edited) Just to write that I went from AICP-R 16.1 to Lineage 20. Some apps recognize the newer Android build and offer better interface/functions. Getting better battery life (surprising to me) and just more modern/streamlined feel throughout. However experiencing some minor slowdowns/freezes for a second or two where my touch inputs aren't registering. Also need to dial down the best camera app still. Edited April 19, 2023 by Adrienspawn 1 1 Quote Link to post Share on other sites
Wheeljack 212 Posted April 24, 2023 Share Posted April 24, 2023 OTA update 20230424 is live and installed without problems for me. 1 Quote Link to post Share on other sites
EskeRahn 5,460 Posted April 24, 2023 Share Posted April 24, 2023 (lineage-20.0-20230424-nightly-pro1-signed.zip on April 5 security patch installed smoothly using adb sideload and MindTheGapps-13.0.0-arm64-20221025_100653) 2 Quote Link to post Share on other sites
Wheeljack 212 Posted May 1, 2023 Share Posted May 1, 2023 So glad the Pro1 is a A/B device. After OTA updating and applying Magisk-Delta as every week I rebooted and then the touchscreen would no longer accept inputs. I could navigate the reboot menu with the PWR, Tab and Enter buttons, enter my SIM pins, but I couldn't get past my lock screen. Went to fastboot mode and switched to the version from previous week (slot b in y case). Will try again if you guys down't have problems. For reference: fastboot set_active b Quote Link to post Share on other sites
Hook 3,020 Posted May 1, 2023 Share Posted May 1, 2023 3 hours ago, Wheeljack said: So glad the Pro1 is a A/B device. After OTA updating and applying Magisk-Delta as every week I rebooted and then the touchscreen would no longer accept inputs. I could navigate the reboot menu with the PWR, Tab and Enter buttons, enter my SIM pins, but I couldn't get past my lock screen. Went to fastboot mode and switched to the version from previous week (slot b in y case). Will try again if you guys down't have problems. For reference: fastboot set_active b Yup, did the same here. Except apparently I couldn't boot to my other slot, I think because I had installed Lineage without anything Google or Magisk and the old slot had the works. When I tried to boot, it claimed the data was corrupted and I had to factory reset. Here's the odd part. I factory reset and it booted into Googleless Lineage-- it was the May 1st nightly and the touch screen is working fine. ??? Be curious what @EskeRahnfinds when he sideloads May 1st-- is the problem with OTA, a problem that Factory resetting solves? Luckily my Pro1 has become my experimental device. I'm getting ready to try Droidian. 😄 But I hope this isn't going to happen with Thursday's update on my Pro1x. 😱 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.