Digital_Toxin 7 Posted June 12, 2020 Share Posted June 12, 2020 (edited) Hi Guys, I haven't yet seen a post with the OTA updates loaded here, so I thought I would make one. If you have one of the builds drop a link in the chat and I'll add to the top post. Example build number build link SHA 256: Example build number build link SHA 256: Edited June 12, 2020 by Digital_Toxin Quote Link to post Share on other sites
dicer 36 Posted June 21, 2020 Share Posted June 21, 2020 (edited) Would be great to have a way for people on Lineageos (or on another 3rd party OS) to track stock OTAs as they might contain firmware updates with security fixes etc. Fairphone does that quite nicely on their code.fairphone.com website. You can just download the latest version and the zip contains all the relevant updates to the firmware partitions (even with a .sh file giving you an idea how to flash them with fastboot). Maybe this would be possible for the Pro1 as well @Waxberry? I think @tdm mentioned somewhere that he wanted to package firmware for updating as well. I would gladly take over this task if there is an easy way to track and download OTA. Currently it involves flashing back to stock and capture download links as far as I know, which I can't do as I use the phone as a daily driver and I would loose data. Edited June 21, 2020 by dicer 2 Quote Link to post Share on other sites
ToniCipriani 194 Posted June 21, 2020 Share Posted June 21, 2020 (edited) Would be nice if they can formally open up a semi-public beta program for end-users to test updates, maybe provide OTA packages there. Just don't do it like BlackBerry who pretty much allows anyone who can fill a form in, at least vet the participants for technical background who can actually help with bugs and quality feedback. I'd gladly help, with my former full-time background as Software QA. Edited June 21, 2020 by ToniCipriani 5 Quote Link to post Share on other sites
dicer 36 Posted July 23, 2020 Share Posted July 23, 2020 Over at the factory restore tool thread, tdm said: On 7/21/2020 at 12:34 AM, tdm said: Yes it is the complete factory package with the modem and everything else, just as you would get from the OTA. Cool! This means I could "restore" my phone with the restore tool, extract all the necessary firmware partitions and make them available for manual flashing via fastboot. So one step closer to figuring out how to get some images for flashing ready. Currently I don't have a proper way of making a full backup of my phone though. By proper I mean something like a nandroid/full data partition backup. I did some backups with adb, but I don't really trust it. I used to do this with TWRP on my old phones. There is a TWRP, but without encryption support as far as I know. I think @tdm mentioned that he would take this on after Lineage 16 got released, but he deserves a well earned break after so many months of bringing us a fully working Lineage! Does anyone else know if I can make a backup of my data partition with the currently available TWRP even without encryption support? I guess that the encryption key is probably stored in a hardware vault on the phone and I won't be able to restore the backup on a different phone, but it might work on the same one? As long as the key does not get erased by stock or the factory reset tool... I would experiment with this, but I only have this one Pro1 and since I migrated to it, I'm not willing to risk the data and settings on it. 1 Quote Link to post Share on other sites
tdm 2,322 Posted July 23, 2020 Share Posted July 23, 2020 (edited) 50 minutes ago, dicer said: Cool! This means I could "restore" my phone with the restore tool, extract all the necessary firmware partitions and make them available for manual flashing via fastboot. Yes, you could. But I have the original factory package (from @Waxberry) which was used to make my factory restore package. It is much quicker and easier to make a fastboot package directly using the original factory package. Plus you get the original sparse images which are much smaller than full images. So either I could give you the images from the factory package with Chen's approval, or he could go ahead and make another fastboot zip like he did before. Quote Does anyone else know if I can make a backup of my data partition with the currently available TWRP even without encryption support? I guess that the encryption key is probably stored in a hardware vault on the phone and I won't be able to restore the backup on a different phone, but it might work on the same one? As long as the key does not get erased by stock or the factory reset tool... Yes, this does work. You just "dd" the userdata partition. The encryption footer is on the userdata partition, so that comes along for the ride. And yes, the hardware key is burned into the device and is (or should be) unique for each device. So in theory your backup should restore fine on your phone and only your phone. If you have root, you can also try a "tar" backup from Android. Just stop everything ("stop"), make a tarball of /data, and start everything again (reboot or "start"). Edited July 23, 2020 by tdm 1 Quote Link to post Share on other sites
tdm 2,322 Posted July 23, 2020 Share Posted July 23, 2020 Note: This thread maintains the full factory packages with a user friendly tool: https://community.fxtec.com/topic/2559-factory-restore-tool/ It uses EDL which can be finicky, scary, or otherwise problematic for some folks. So a fastboot flashable zip with a script is nicer for many users. Quote Link to post Share on other sites
dicer 36 Posted July 23, 2020 Share Posted July 23, 2020 7 minutes ago, tdm said: So either I could give you the images from the factory package with Chen's approval, or he could go ahead and make another fastboot zip like he did before. Both options would be great to get started! Option 1 of course only works if @Waxberry is ok with me publishing the resulting fastboot images. In the end it is all about getting further updates though. I'm thinking of writing a script which will ask the official OTA server for updates and download these. Of course this only works if there are no deltas being used. Then again the firmware partition updates might not be sent as deltas even if the system is. I'll have to look into this. I'll look into the backup stuff soon and try to find a way Quote Link to post Share on other sites
EskeRahn 5,460 Posted July 23, 2020 Share Posted July 23, 2020 2 hours ago, tdm said: ....And yes, the hardware key is burned into the device and is (or should be) unique for each device. So in theory your backup should restore fine on your phone and only your phone. This sounds like a quite dangerous sort of 'backup'. If your phone is lost or damaged, your 'backup' is worthless.... It can of course be fine for a short term backup before 'messing with things'. Quote Link to post Share on other sites
Wheeljack 212 Posted July 24, 2020 Share Posted July 24, 2020 (edited) Where would I run "tar" from? Within the adb root shell? How would I stop services? Do I need to be in system/bootloader/fastboot? Anyone willing to write that up in a bit more detail? I'd really like to test some bluetooth things on stock but would then want to return to the current state Lineage is in. Edited July 24, 2020 by Wheeljack Quote Link to post Share on other sites
tdm 2,322 Posted July 24, 2020 Share Posted July 24, 2020 4 hours ago, Wheeljack said: Where would I run "tar" from? Within the adb root shell? How would I stop services? Do I need to be in system/bootloader/fastboot? Anyone willing to write that up in a bit more detail? I'd really like to test some bluetooth things on stock but would then want to return to the current state Lineage is in. Yes, you would run from the adb root shell. You stop services exactly as I said, with "stop". It is assumed that you would be running Android (which is the only place where you have both an adb shell and unencrypted data). I haven't really tried this, so if your data is important, it may be wise to boot into recovery and save off a "dd" copy of the userdata partition just in case it doesn't work. That is a challenge in itself, though, because there isn't any place on the device to put that amount of data. You need to have a large enough sdcard to hold the data or stream it to your PC. And to be completely honest, if you are asking these questions, I'm not sure you really want to be messing around with backup/restore of data that is super important to you. I'll get TWRP decrypt working before too long, and I can do the factory package stuff myself easily enough. 4 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.