Updating LineageOS 15.1 for microG via TWRP + feature test

Video recording is working for you?

Nope. I never needed that, so I didn’t check before … will have to mention that, too, from now on. Thanks for the hint.

I guess we’ll see whether the recent fix mentioned in the linked bug report for “bacon” (OnePlus One) results in a fix for all devices in the next update, or whether somebody will have to enter a bug for FP2 specifically to get it fixed.

2 Likes

Tried to update to new Version 20180820 with the updater. Produced an “update error”. Flashing manually with TWRP worked well.

Same error, didn’t try flashing it manually yet.

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:

Update Installed via TWRP 3.2.3-0 (Releases)

The following things work for me so far:

  • call / be called
  • send SMS / receive SMS
  • internet via WiFi
  • internet via mobile network
  • location
  • compass
  • screenshot
  • main camera (new module, flash works correctly with Open Camera)
  • main camera video recording
  • selfie camera (new module)
  • selfie camera video recording
  • USB connection to PC / MTP
  • alarm
  • MyPhoneExplorer 1.8.9
  • Root access (Settings - Developer Settings - Root Access)
  • USB OTG
  • WiFi hotspot
  • Bluetooth (data connection, music playback - had to turn off/on the phone for music playback, System UI got stuck)
  • FM radio
  • weather (Your local weather, Weather Widget)

For reporting bugs see the bottom of this page.

1 Like

Update Installed via TWRP 3.2.3-0 (Releases)

The following things work for me so far:

  • call / be called
  • send SMS / receive SMS
  • internet via WiFi
  • internet via mobile network
  • location
  • compass
  • screenshot
  • main camera (new module, flash works correctly with Open Camera)
  • main camera video recording
  • selfie camera (new module)
  • selfie camera video recording
  • USB connection to PC / MTP
  • alarm
  • MyPhoneExplorer 1.8.9
  • Root access (Settings - Developer Settings - Root Access)
  • USB OTG
  • WiFi hotspot
  • Bluetooth (data connection, music playback - had to turn off/on the phone for music playback, System UI got stuck)
  • FM radio
  • weather (Your local weather, Weather Widget)

For reporting bugs see the bottom of this page.

3 Likes

Update Installed via TWRP 3.2.3-0 (Releases)

Edit: This build gave me a few random reboots when the phone was idle, I didn’t have any of those with the builds 20180827 and 20180910 (predecessor and successor).

The following things work for me so far:

  • call / be called
  • send SMS / receive SMS
  • internet via WiFi
  • internet via mobile network
  • location
  • compass
  • screenshot
  • main camera (new module, flash works correctly with Open Camera)
  • main camera video recording
  • selfie camera (new module)
  • selfie camera video recording
  • USB connection to PC / MTP
  • alarm
  • MyPhoneExplorer 1.8.9 (nightly 19.08.2018 for syncing with Thunderbird 60)
  • Root access (Settings - Developer Settings - Root Access)
  • USB OTG
  • WiFi hotspot
  • Bluetooth (data connection, music playback)
  • FM radio
  • weather (Your local weather for me seems to have some trouble currently unrelated to the update, Weather Widget works)

For reporting bugs see the bottom of this page.

1 Like

At the moment i use LOS 15.1 with GAPPS.
Can i make a clear install of LOS 15.1 with MicroG and then restore apps like Signal, Threema with Titanium Backup?
Or do i have to expect problems because this apps used GCM before and cant use the microG services?

I can’t say much about Titanium Backup, as I never used it … if it’s any good, it should work that way I guess.
Be safe with a backup …

… substitute my usage of MyPhoneExplorer with your usage of Titanium Backup (if it is able to completely backup Internal Storage), and you should be good to go back to the LineageOS installation which worked before, if all else fails.

microG tries to mimick Google services as good as it can, so in an ideal scenario the Apps themselves shouldn’t notice and work just fine.

Possible problems might arise from the fact that you can’t 100% rely on microG.
Google services constantly get updated and changed, so that microG constantly has some catching up to do. In the meantime Google-dependent Apps might become a pain to use (before the last update e.g. Discord nagged me about having to update my Google Play services every single time I tapped something in it, not only when I started the App) or downright break.

If you really are dependent on these Apps to work, you should consider staying with GApps.
If it’s just a nice bonus for you to have those Apps perhaps working, and you could otherwise live without them or use a website version of them in the browser for a while, using microG should be fine.

Thanks for the detailed answer.
I have a backup of the LOS 15.1 with GAapps and installed LOS 15.1 with MicroG now.
Threema didnt show the contact pictures so i made a fresh installed and restored the data backup in Threema. But it cant connect to the GCM when i want to update the Push-Token, but maybe it doesnt have to and i can use polling.
How get i the pro license for Titanium Backup to work with Aurora Store? Is there a chance or not?

If the paid/unpaid status of an App is only managed by the Play Store, as far as I know this will not work with Aurora or Yalp, they only download free (unpaid) APKs from the Play Store and manage updates.

However, if an App provides an extra APK to install to elevate it to Pro/paid/whatever (I had an App that did it this way, but I didn’t try it with Yalp now), and you still have this extra APK and don’t need to download it again, then installing it might still work.

I don’t know how Titanium Backup handles this.

Yes, it is a small extra APK but Titanium Backup says, that it couldnt connect to Google Play.

Well, if you really need the Pro version for this … sounds like bad luck for now.

AFAIK you can’t backup Signal with TitaniumBackup anymore, as Signal is now using the Android keystore, which won’t be included in the TB backup. Signal has internally a backup function, which can be used to restore it’s messages.

See here for backup/restore instructions: https://support.signal.org/hc/en-us/articles/360007059752-Backup-and-Restore-Messages

3 Likes

You can visit the developers page, there is a web form where you can enter some information about the purchase via PlayStore and they can send you a text file, which allows TB to be registered without using a GAPPS contaminated phone.

See here: Titanium Backup Lost License Recovery | Titanium Track

2 Likes

@neolovich
I use the Pro version of Titanium Backup since 2 1/2 years…ever since I have an FP2…I downloaded and got the license here:
https://matrixrewriter.com/

Thanks for your answers :slight_smile:

Update Installed via TWRP 3.2.3-0 (Releases)

The following things work for me so far:

  • call / be called
  • send SMS / receive SMS
  • internet via WiFi
  • internet via mobile network
  • location
  • compass
  • screenshot
  • main camera (new module, flash works correctly with Open Camera)
  • main camera video recording works
  • selfie camera (new module)
  • selfie camera video recording seems broken again, can somebody else confirm, please? (Records black screen after a few seconds for me.)
  • USB connection to PC / MTP
  • alarm
  • MyPhoneExplorer 1.8.9 (nightly 19.08.2018 for syncing with Thunderbird 60)
  • Root access (Settings - Developer Settings - Root Access)
  • USB OTG
  • WiFi hotspot
  • Bluetooth (data connection, music playback)
  • FM radio
  • weather (Your local weather, Weather Widget)

For reporting bugs see the bottom of this page.

3 Likes