FP6 Unofficial LineageOS 23

I’ve uploaded another build which fixes the full screen video playback and also adds the Launcher changes mentioned! Thanks for the reports :slight_smile:

9 Likes

@ArianK16a

Weird thing,

When it is necessary to display the device’s login modal, for example to access the Hidden and protected apps menu in home settings, the interface crashes and you are redirected to the lock screen.

Great work thanks!
Only bug i found:
23.X: the normal mode on the slider causes the phone to vibrate randomly. Set both modes of the slider to activate “None” for now.

@ArianK16a

For the next build, which should fix the authentication modal issue mentioned above, there are also lots of new commits on Gerrit that would be interesting to test ^^.

Do you have an ETA for the next build?

https://review.lineageos.org/q/status:open+-is:wip+branch:lineage-23.2

I have also found this bug, and as you mentioned it triggers whenever you’re prompted to use login identification. In my case, as I use my thumbprint, it triggers only with biometrics. I don’t know if it triggers with pattern password, since I can’t reach past fingerprint cause I crash.

Furthermore, I found that when you get returned to the lock menu, the fingerprint does not work (nothing is triggered, finger isn’t “sensed”) and when unlocking the phone it tries to reopen the app you were on and crashes again, leading eventually to a reboot.

For people looking for a quick workaround to unlock phone: you can long-press any of the pull-down menu items to enter “settings”, then close the misbehaving app from the app drawer.

Is it helpful for you, @ArianK16a, to write issues on the github repo issues section?
Also, great work, I’m so thankful for what you’re doing. Where can I donate so that it gets to you? Personal or project fund link? I couldn’t find anything on your github.

I had opened an issue that has been resolved. We just need to wait for the release of a new update.

@ArianK16a Are the build instructions different for 23.2, I’m getting

build/make/core/main.mk:1074: warning:  device/fairphone/FP6/lineage_FP6.mk includes non-existent modules in PRODUCT_PACKAGES
Offending entries:
android.hardware.nfc-service.sec
build/make/core/main.mk:1074: error: Build failed

Specifically for these issues it’s not helpful to create issues on the github repo, it’s better to mention them here. The github issues are for issues which are specific to the FP6, currently most issues are due to googles changes on QPR1/2 and lineage’s adaption of these. If you are unsure whether it’s a device specific issue just mention it here and if it is, i’ll create the issue myself!

I’m glad you like it! You can always donate to the whole lineage project, you can find the links for that at the bottom of https://lineageos.org/ (PayPal: paypal.me/LineageOS and Patreon: patreon.com/LineageOS). You can also donate to me for the FP6 work: PayPal.Me
Any contribution is welcome, but neither me nor the lineage project depends on the donation, so only consider donating if you got some spare money and really want to!

3 Likes

As mentioned in the build instructions, they are for lineage-23.0 and lineage-22.2. There are currently no instructions for 23.2 as it requires many patches from gerrit (the code review system) to be applied on your own. I will update the instructions once everything is merged and lineage-23.2 is ready to be built in the regular way.

For the specific error you can refer to Dependency missing for android_hardware_samsung_slsi_nfc · Issue #41 · ArianK16a/android_device_fairphone_FP6 · GitHub but be aware that you won’t be able to just add the repo and start a build without the earlier mentioned patches from gerrit (which are too many and change too often to be feasible to add to the instructions currently).

Another bug on LOS 23.2.

The background colour of toasts does not change when the theme is changed. I see that this has been fixed recently.

Is there a build planned for release soon?

I admit that the bug I reported is quite annoying, and since it has already been fixed, a new build would be awesome ^^.

https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/466863

I just bought a Fairphone 6 and wanted to work with LineageOS. But unfortunately I need some of the google Apps. And I now ran too into the Problem that they don’t appear after flashing MindTheGapps.
Is there anything I can do/help to get that fixed?

You need to install 23.0, not 23.2, 23.0 is the latest one that MindTheGapps works with at the moment. And unfortunately you’ll have to skip updates until that changes.

You’ll need to install it from scratch, wiping your data and also flashing the 23.0 recovery, as the 23.2 recovery won’t let you sideload 23.0. I had the exact same issue and solved it this way (read above).

BTW @ArianK16a, I am a bit confused as to why MTG could break, I thought that if a version of it worked on a major release like 23.0, a minor release like 23.1 & 23.2 wouldn’t break it. Is there a chance compatibility will be restored and we who have MTG installed will be able to update LOS? Would that require changes on the LOS side or the MTG side?

I know you said you don’t work on MTG so I’m asking for a best guess, no need for a really detailed answer.

1 Like

Maybe someone with more android knowledge than me can read something usefull out of this.

logs
[    5.251984] ro.virtual_ab.enabled=true
[    5.252108] ro.crypto.metadata_init_delete_all_keys.enabled=true
[    5.252402] wifi.aware.interface=wifi-aware0
[    5.252573]
[    5.265567] I:Clearing BCB
[    8.549216] I:Writing BCB boot-recovery recovery
[    8.549227] --reason=update_in_progress
[    8.549229]
[   10.761880]
[   10.761901]
[   10.761904] Now send the package you want to apply
[   10.761907] to the device with "adb sideload <filename>"...
[   10.785880] 01-02 00:03:04.464   452   453 I minadbd : usb_ffs.cpp:275 opening control endpoint /dev/usb-ffs/adb/ep0
[   13.393181] 01-02 00:03:07.071   452   452 I minadbd : adb.cpp:426 authentication not required
[   42.804441] 01-02 00:03:36.483   452   460 I minadbd : minadbd_services.cpp:111 sideload-host file size 511284025, block size 65536
[   43.804963] unknown fuse request opcode 2016
[   43.821121] I:current maximum temperature: 61618
[   43.821147] Supported API: 3
[   43.829706] Finding update package...
[   43.838040] I:Update package id: /sideload/package.zip
[   43.863371] I:1 key(s) loaded from /system/etc/security/otacerts.zip
[   43.863398] Verifying update package...
[   43.873969] I:comment is 1602 bytes; signature is 1584 bytes from end
[   52.924558] scudo: Can't populate more pages for size class 65552.
[   52.924578]
[   61.327670] I:signature (offset: 1e798d09, length: 62a): 3082062606092a864886f70d010702a082061730820613020101310f300d06096086480165030402010500300b06092a864886f70d010701a08204113082040d308202f5a003020102021404771795d9948bbdeb9d353ef7089f9cf2a1207c300d06092a864886f70d01010b0500308194310b30090603550406130255533113301106035504080c0a43616c69666f726e69613116301406035504070c0d4d6f756e7461696e20566965773110300e060355040a0c07416e64726f69643110300e060355040b0c07416e64726f69643110300e06035504030c07416e64726f69643122302006092a864886f70d0109011613616e64726f696440616e64726f69642e636f6d3020170d3233303931393037313035395a180f32303531303230343037313035395a308194310b30090603550406130255533113301106035504080c0a43616c69666f726e69613116301406035504070c0d4d6f756e7461696e20566965773110300e060355040a0c07416e64726f69643110300e060355040b0c07416e64726f69643110300e06035504030c07416e64726f69643122302006092a864886f70d0109011613616e64726f696440616e64726f69642e636f6d30820122300d06092a864886f70d01010105000382010f003082010a028201010088f6a37a8ad087519956298121656a7911124b03613bbe4a7144e4c88f9ccd3efcfa12aeec05abbde7d24c45adf287ca1cea2826c51ef98983bd7a8416001025490292f32dd8cd67c6b6d57446e8177e8e1a1df9d550d6e895082bd02d55047710885981f7c56d1ead32eb4bd095bb2ef600948eb08f8dafad98440d7322bbdaee06c61676c93fe88e69257aa14af28867368380e46e756badb93f20cdbcd8cad87889ef7345e6c5be9e11d4cdd16050ae02a5473803457908b6e6b1166f239fcb3895c1189d471914759c9bc836d64f8b27a72de9ae5620ea161304aabe505fa7a736914de23843ecf2744c9d674488c698538f1a73bc6595568013de32487f0203010001a3533051301d0603551d0e041604146c09bf1b5ea2826c5489c507348ab688eeca70e9301f0603551d230418301680146c09bf1b5ea2826c5489c507348ab688eeca70e9300f0603551d130101ff040530030101ff300d06092a864886f70d01010b050003820101005fa274a4072e42afa15922abab2917e94146ba122b6e9f69e826628413a8ba06abf7be95bac2204eddd80d6dccc68457e7f44636922efe2cd797f606fbbc100ee4d27ca900e3667ccca6bf4e248ed093ec6651493ac84d3dbb2ccd6af37ad7ab3e0d2836cc0ee280fcc27cf847e54daee5db60c547bef8193ffddf9c030bca8c8c1c83525e8cb1fef1de63495b4d9270c866c949195ab27bd971766177c3695bc275b0a98d0e17565c2daa9becac99274512a5e3ee4a8420fb7b4af0d0abf27dd504f988c9f2680eda8cf1f3996972d04cf4a1e8829d71e59ecc24f18c6a3fd25ee154921efaa6a69ffcebd572139eb52d81b019050cc435a111841e5017cd8d318201d9308201d50201013081ad308194310b30090603550406130255533113301106035504080c0a43616c69666f726e69613116301406035504070c0d4d6f756e7461696e20566965773110300e060355040a0c07416e64726f69643110300e060355040b0c07416e64726f69643110300e06035504030c07416e64726f69643122302006092a864886f70d0109011613616e64726f696440616e64726f69642e636f6d021404771795d9948bbdeb9d353ef7089f9cf2a1207c300d06096086480165030402010500300d06092a864886f70d01010105000482010083615f1dccbab8f224f5ff985cce970d67d4e2b8d1fa3e5e58631a1716a9a498dd9b7a7501a4261a403604d589c9dc13c1296359ad63716e4508c35f95261ec5f1c367f491e8b366fc5400f48d89dd5f7dbcbc1ff419a38ef4b67efbe66dd2405216180a5ea03af5b6974a1f6fb8073d26564c2b786b5c6814f9f82fb6291e9ea8d00e56a349ed5ac5c7c58c9b7f229229e6d508c61076dac18b84837c3eeac28ff260f441eb0b0ad858002b5660d9f11864c2ebe2d638affee1cb266e3b7d4ca2f0d92717d23a325cae218009c171f5026835f4fb2bcde73fce19be66c43082aa3a71aefc1563390e27045975531def338e4b3b99ecab5c232c253e08d2454d
[   61.329067] I:failed to verify against RSA key 0
[   61.329075] I:SHA-256 digest: 0b7f93cd003aa3c02d525bafa2b10ea912c81b9d7b5d082217eae3e750874ddf
[   61.329080] ERROR:   recovery: failed to verify whole-file signature
[   61.334994] Update package verification took 17.5 s (result 1).
[   61.343267] ERROR:   recovery: Signature verification failed
[   61.351604] ERROR:   recovery: error: 21
[   85.440191] Installing update...
[   85.446765] W:Failed to find META-INF/com/android/metadata.pb treating this as non-spl-downgrade, permit OTA install. If device bricks after installing, check kernel log to see if /data failed to decrypt
[   85.450696] I:[libfs_mgr] Running /system/bin/fsck.f2fs -a -c 10000 --debug-cache /dev/block/sda15
[   85.459823] I:[libfs_mgr] fsck on /metadata took 10ms
[   85.466287] I:[libfs_mgr] __mount(source=/dev/block/bootdevice/by-name/metadata,target=/metadata,type=f2fs)=0: Success
[   85.466723] ERROR:   recovery: Open failed: /metadata/ota: No such file or directory
[   85.471426] W:/metadata is mounted, but errors occur when acquiring a shared lock. Subsequent calls to SnapshotManager will fail. Unmounting /metadata now.
[   85.480703] ERROR:   recovery: Couldn't mount Metadata.
[   85.490634] I:[libfs_mgr] Created logical partition odm_b on device /dev/block/dm-0
[   85.491134] I:[libfs_mgr] Created logical partition product_b on device /dev/block/dm-1
[   85.491686] I:[libfs_mgr] Created logical partition system_b on device /dev/block/dm-2
[   85.492150] I:[libfs_mgr] Created logical partition system_dlkm_b on device /dev/block/dm-3
[   85.492753] I:[libfs_mgr] Created logical partition system_ext_b on device /dev/block/dm-4
[   85.493217] I:[libfs_mgr] Created logical partition vendor_b on device /dev/block/dm-5
[   85.493692] I:[libfs_mgr] Created logical partition vendor_dlkm_b on device /dev/block/dm-6
[   89.697270] Archive:  /sideload/package.zip
[   89.697282]   inflating: system/product/etc/permissions/privapp-permissions-google-product.xml
[   89.697284]   inflating: system/product/etc/sysconfig/google_build.xml
[   89.697285]   inflating: toybox
[   89.697286]   inflating: system/addon.d/addond_head
[   89.697287]   inflating: build.prop
[   89.697288]   inflating: system/product/etc/permissions/com.google.android.dialer.support.xml
[   89.697289]   inflating: META-INF/com/google/android/updater-script
[   89.697290]   inflating: system/product/etc/default-permissions/default-permissions-google.xml
[   89.697291]   inflating: META-INF/com/google/android/update-binary
[   89.697292]   inflating: system/product/app/GoogleContactsSyncAdapter/GoogleContactsSyncAdapter.apk
[   89.697293]   inflating: system/product/etc/sysconfig/wellbeing.xml
[   89.697294]   inflating: system/addon.d/addond_tail
[   89.697294]   inflating: system/product/etc/sysconfig/d2d_cable_migration_feature.xml
[   89.697295]   inflating: system/product/etc/sysconfig/google.xml
[   89.697296]   inflating: system/product/overlay/GmsOverlay.apk
[   89.697297]   inflating: system/product/etc/permissions/privapp-permissions-mtg.xml
[   89.697298]   inflating: system/product/priv-app/Phonesky/Phonesky.apk
[   89.697299]   inflating: system/system_ext/priv-app/SetupWizard/SetupWizard.apk
[   89.697300]   inflating: system/system_ext/etc/permissions/privapp-permissions-google-system-ext.xml
[   89.697301]   inflating: system/product/app/talkback/talkback.apk
[   89.697302]   inflating: system/product/etc/sysconfig/google-hiddenapi-package-allowlist.xml
[   89.697303]   inflating: system/product/priv-app/Velvet/Velvet.apk
[   89.697304]   inflating: system/product/etc/sysconfig/sysconfig_contextual_search.xml
[   89.697305]   inflating: system/product/framework/com.google.android.dialer.support.jar
[   89.697306]   inflating: system/product/priv-app/GmsCore/GmsCore.apk
[   89.697306]   inflating: system/product/overlay/GmsSettingsProviderOverlay.apk
[   89.697307]   inflating: system/product/priv-app/Wellbeing/Wellbeing.apk
[   89.697308]   inflating: system/product/etc/default-permissions/default-permissions-mtg.xml
[   89.697309]   inflating: system/product/priv-app/AndroidAutoStub/AndroidAutoStub.apk
[   89.697310]   inflating: system/product/etc/init/gapps.rc
[   89.697311]   inflating: system/product/app/GoogleCalendarSyncAdapter/GoogleCalendarSyncAdapter.apk
[   89.697312]   inflating: system/system_ext/priv-app/GoogleFeedback/GoogleFeedback.apk
[   89.697313]   inflating: system/product/lib64/libjni_latinimegoogle.so
[   89.697314]   inflating: system/product/priv-app/GoogleRestore/GoogleRestore.apk
[   89.697315]   inflating: system/system_ext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk
[   89.697316]   inflating: system/product/overlay/GmsSetupWizardOverlay.apk
[   89.697317]   inflating: system/product/app/MarkupGoogle_v2/MarkupGoogle_v2.apk
[   89.697317]   inflating: META-INF/com/android/otacert
[   89.697318]   inflating: system/product/overlay/GmsSettingsOverlay.apk
[   89.697319]   inflating: system/product/priv-app/VelvetTitan/VelvetTitan.apk
[   89.697320]   inflating: system/product/etc/security/fsverity/gms_fsverity_cert.der
[   89.697321]   inflating: system/product/app/PrebuiltExchange3Google/PrebuiltExchange3Google.apk
[   89.697322]   inflating: system/product/app/SpeechServicesByGoogle/SpeechServicesByGoogle.apk
[   89.697323]   inflating: system/product/priv-app/GooglePartnerSetup/GooglePartnerSetup.apk
[   89.881482] umount: /system: Invalid argument
[   89.882913] umount: /mnt/system: Invalid argument
[   89.884903] umount: /product: Invalid argument
[   89.886103] umount: /system_ext: Invalid argument
[   89.916039] mkdir: '/product': File exists
[   89.920697] mkdir: '/system_ext': File exists
[   89.926832] unknown fuse request opcode 17
[   89.929548] unknown fuse request opcode 17
[   89.932090] unknown fuse request opcode 17
[   90.307952] cp: /mnt/system/system//product: Too many symbolic links encountered
[   90.308011] cp: /mnt/system/system//system_ext: Too many symbolic links encountered
[   91.568745]
[   91.591559] I:current maximum temperature: 62143
[   91.591649] I:/sideload/package.zip
[   91.591652] 1
[   91.591653] time_total: 47
[   91.591654] retry: 0
[   91.591655] error: 21
[   91.591656] temperature_start: 61618
[   91.591658] temperature_end: 62143
[   91.591659] temperature_max: 62143
[   91.591659]
[   91.591868] I:Command 0 finished with 1
[   92.656629] 01-02 00:04:26.335   452   452 W minadbd : sockets.cpp:310 timeout expired while flushing socket, closing
[   92.656763] 01-02 00:04:26.335   452   460 I minadbd : minadbd_services.cpp:159 revents: 16
[   92.691910] I:Socket has been closed
[   92.714675]
[   92.714690] Install completed with status 0.
[   92.726860] I:Clearing BCB

With the new version of Lineage OS, the System Ui crashed regularly. For exampel when I open my banking app and it want to usw the fingerprint or when I was connected to my PC via USB and tryed to transfer data.

hey @Hutmacher I’m curious did you do something special to get your banking app to work ? I’m on LOS 23.1 with microG installed and my banking app refuses to launch saying “you phone seems to be rooted / have a custom ROM so *u”. We probably don’t have the same banking app but still that could get me on the right path.

Regarding gapps, it might be related to verfied boot (which i enabled to allow relocking).

Can you try to disable it like this: fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img and re-flash gapps? The android 16 MindTheGapps package should still work fine.

It seems like we might need to provide separate builds to support bootloader locking or i will stop to support that and recommend anyone wanting to lock the bootloader to build on their own (Locking the bootloader · ArianK16a/android_device_fairphone_FP6 Wiki · GitHub)

1 Like

there is no file with vbmeta in your release. Or am I supposed to get the one from the factory image?

you can pull it from your device, extract it from the lineage release, extract it from the stock rom. It doesn’t really matter when we disable verification. To pull it from your device: adb pull /dev/block/by-name/vbmeta_a vbmeta.img or vbmeta_b (whatever your current slot is).

1 Like

that did work. I have not tested everything yet, but on setup it offered me to connect with google and there is the playstore. I now try to set evewrything up like regular and then I will see if there are some bugs hiding.