Hum, well, I understand the semantical difference between boot and flash … but it did not work for me… or so I think.
When doing fastboot boot RECOVERY-FILENAME.img, it just booted the stock android.
Are you talking about installing LineageOS to replace a stock android, or about installing a new version of LineageOS to replace an already installed LineageOS ?
Both. I never installed twrp on my FP3. It was only on the FP2. I followed the recommendation to simply not install it as it’s so easy to just boot it transiently…
Hey, I succeeded in building FP3 zip from source today!
So far the good news, but many questions arose during this process.
I followed the instructions on the lineageOS page for FP3 and found it helpful but not perfect.
E.g. I had to use the process described in ‘Extracting proprietary blobs from payload-based OTAs’ and could not mount one of the three images, because it did not exist. So I just mounted two images and crossed fingers.
Second, the target ‘FP3’ is not listet in ‘breakfast’, but three other targets are. I nevertheless tried with ‘breakfast FP3’ and ‘brunch FP3’ . But now I dont know if I have a ‘user’ build, with or without ‘debug’.
The whole thing took about five tries to succeed and more than one day (downloading and everything).
During compiling with ‘brunch FP3’ once there was an clang++ error, once some kernel build missed a file, once some strange java error etc.
So this leaves a slight ‘unstable feeling’ about the process and about this ninja tool used to build FP3.
But after ~5 tries I now have this file ‘out/target/product/FP3/lineage-17.1-20210210-UNOFFICIAL-FP3.zip’ and wonder what to do.
On my FP3+ I have installed the beta OTA zip provided by dk1978 from last december.
Can I just sideload my zip the same way without loosing data?
Do I have built an OTA Image now?
Now that I done it I have to understand better WHAT I did So that I can adapt the process to my needs, e.g. build my own software for it.
Thanks for hints and for the work done by everybody here!
See also the discussion here. Bottom line: the Fairphone 3 has some real security issues which are independent of the OS you are running (LineageOS, Fairphone OS, /e/). On the other hand, it makes the phone very re-usable, as it is virtually unbrickable
Thank you for that clarification. After having read all facts, i am chilling down for now. I consider the phone as enough secure for my needs and a stolen phone could only be wiped for reusing, as far as i got it. That seems ok to me. Knowing the advanced methods of accessing the device when bricked is helpful, too for the future. Very interesting!
How would one achieve your level of security “re-locked bootloader with additional security measures” - By chance is there a guide on this? Or would you be willing to name those addiotnal measure so we can all benefit?
Enable verity mode: comment out following line in device/fairphone/FP3/BoardConfig.mk: BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --set_hashtree_disabled_flag
Create a ‘user’ build (instead of ‘userdebug’): use breakfast FP3 user instead of the default breakfast FP3
ziparchive W 02-13 14:55:56 36481 2197659 Unable to open ‘lineage-17.1-20210208-recovery-FP3.img’: No such file or directory
fastboot: error: failed to open zip file ‘lineage-17.1-20210208-recovery-FP3.img’: I/O error
or I get this…
xxxxx:platform-tools imac$ ./fastboot update lineage-17.1-20210208-recovery-FP3.img
fastboot: error: failed to open zip file ‘lineage-17.1-20210208-recovery-FP3.img’: Invalid file
Thank you - It’s already there…Still nadda. Please see above
xxxxx:platform-tools imac$ ./fastboot update lineage-17.1-20210208-recovery-FP3.img
fastboot: error: failed to open zip file ‘lineage-17.1-20210208-recovery-FP3.img’: Invalid file
check the file for corruptions. i had the same issues on another device and the hint on that install guide was to rename the image file to something short, like recovery.img.