Updating LineageOS 15.1 for microG via TWRP + feature test

Some days ago I tried to re-install the build of August 13th with the same error. I can reproduce it with the August 20th build.

Relevant logcat:

[08-20 11:53:05.909 10334:10334 D/UpdaterService]
Starting service

[08-20 11:53:05.960 10334:10334 D/UpdatesActivity]
Adding remote updates

[08-20 11:53:05.963 10334:10334 D/Utils]
lineage-14.1-20180808-microG-FP2.zip is older than/equal to the current build

[08-20 11:53:05.963 10334:10334 D/Utils]
Ignoring incompatible update lineage-14.1-20180808-microG-FP2.zip

[08-20 11:53:05.963 10334:10334 D/UpdaterController]
Adding download: 1534141664

[08-20 11:53:05.963 10334:10334 D/UpdaterController]
Download (1534141664) already added

[08-20 11:53:05.963 10334:10334 D/UpdaterController]
Adding download: 1534747428

[08-20 11:53:05.963 10334:10334 D/UpdaterController]
Download (1534747428) already added

[08-20 11:53:05.963 10334:10334 D/UpdatesActivity]
Cached list parsed

[08-20 11:53:24.310 10334:13379 W/RecoverySystem]
!!! REBOOTING TO INSTALL /data/lineageos_updates/lineage-15.1-20180820-microG-FP2.zip.uncrypt !!!

[08-20 11:53:25.349 13539:13539 I//system/bin/uncrypt]
  received command: [--update_package=@/cache/recovery/block.map

[08-20 11:53:25.354 13539:13539 I//system/bin/uncrypt]
--locale=es-ES

[08-20 11:53:25.354 13539:13539 I//system/bin/uncrypt]
] (59)

[08-20 11:53:25.349 13539:13539 W/uncrypt]
type=1400 audit(0.0:2536): avc: denied { write } for name="mmcblk0p10" dev="tmpfs" ino=8256 scontext=u:r:uncrypt:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=0

[08-20 11:53:25.368 13539:13539 E//system/bin/uncrypt]
failed to set bootloader message: failed to open /dev/block/platform/msm_sdcc.1/by-name/pad: Permission denied

[08-20 11:53:25.369 4624:8338 E/RecoverySystemService]
uncrypt failed with status: -1

[08-20 11:53:25.370 13539:13539 I//system/bin/uncrypt]
  received 0, exiting now

[08-20 11:53:25.409 10334:13379 E/UpdateInstaller]
Could not install update
java.io.IOException: Setup BCB failed
	at android.os.RecoverySystem.installPackage(RecoverySystem.java:591)
	at android.os.RecoverySystem.installPackage(RecoverySystem.java:514)
	at org.lineageos.updater.controller.UpdateInstaller.installPackage(UpdateInstaller.java:100)
	at org.lineageos.updater.controller.UpdateInstaller.-wrap0(Unknown Source:0)
	at org.lineageos.updater.controller.UpdateInstaller$1.run(UpdateInstaller.java:142)
	at java.lang.Thread.run(Thread.java:764)

[08-20 11:53:29.308 10334:10334 D/UpdaterService]
Service no longer needed, stopping

Seems like it’s copying the unencrypted update to the pad partition and that’s failing for some reason. My phone is encrypted, yes.

Manually flashed from TWRP worked. It doesn’t work to re-install the August 20th from the OS itself.

BTW, video recording works now, but I’m sure @AnotherElk will test and reflect this better than me in his update reports, :slightly_smiling_face: