Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bash ../treble_experimentations/build-dakkar.sh lineage160 arm64-aonly-vanilla-nosu failes to apply most if not all patches #2215

Open
zerzokt2 opened this issue Mar 2, 2022 · 0 comments

Comments

@zerzokt2
Copy link

zerzokt2 commented Mar 2, 2022

Checking out: 100% (720/720), done in 31m17.103s

repo sync has finished successfully.

% Total % Received % Xferd Average Speed Time Time Time Current

                             Dload  Upload   Total   Spent    Left  Speed

100 819k 0 819k 0 0 238k 0 --:--:-- 0:00:03 --:--:-- 238k

Patching Things...

...treble_generate=lineage

...removing sepolicies

repo sync has finished successfully.

~/lineage/bionic ~/lineage

HEAD is now at b91dfc8b9 Merge tag 'android-security-9.0.0_r62' into staging/lineage-16.0_merge-android-security-9.0.0_r62

Applying: Use vndk_lite ld.config only on same-version vendor

error: patch failed: libc/bionic/pthread_mutex.cpp:527

error: libc/bionic/pthread_mutex.cpp: patch does not apply

error: patch failed: linker/linker.cpp:3533

error: linker/linker.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_bionic/0002-Implement-per-process-target-SDK-version-override.patch

error: patch failed: linker/linker.cpp:93

error: linker/linker.cpp: patch does not apply

Applying: Ignore vndk lite when looking for ld.config

error: patch failed: linker/linker.cpp:93

error: linker/linker.cpp: patch does not apply

Patch failed at 0001 Ignore vndk lite when looking for ld.config

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

patching file linker/linker.cpp

Hunk #1 succeeded at 90 with fuzz 2 (offset -3 lines).

Hunk #2 succeeded at 3785 (offset 414 lines).

Applying: Ignore vndk lite when looking for ld.config

~/lineage

Checking out: 100% (1/1), done in 0.515s

repo sync has finished successfully.

~/lineage/bootable/recovery ~/lineage

HEAD is now at 3492c6b5 Add controller support

Applying: Don't reboot if we couldn't get bootctrl

~/lineage

repo sync has finished successfully.

~/lineage/external/selinux ~/lineage

HEAD is now at cd407619 selinux: add selinux_status_getenforce to header

Applying: Enable multipl_decls by default. This is needed because 8.0 init doesn't add -m

Applying: Increase default log_level to get actual selinux error in kmsg

Applying: Kirin:: Workaround some conflicting Kirin tether SELinux context

Applying: Allow /devices/virtual/block/ genfscon conflict (seen on Xiaomi Mi 9)

error: patch failed: secilc/secilc.c:124

error: secilc/secilc.c: patch does not apply

Applying: Most horrific: Remove ramdisk's zygote init scripts

error: patch failed: secilc/secilc.c:124

error: secilc/secilc.c: patch does not apply

Patch failed at 0001 Most horrific: Remove ramdisk's zygote init scripts

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

patching file secilc/secilc.c

Hunk #2 succeeded at 123 with fuzz 2 (offset -3 lines).

Applying: Most horrific: Remove ramdisk's zygote init scripts

Applying: if service is "rcs", accept conflict. Seen on Moto E5

Applying: Fix boot on Moto devices using unknown class

Applying: Allow mismatches of exfat genfscon

Applying: For System-as-System devices, init won't call us with /system_ext sepolicy

Applying: Workaround device/phh/treble conflict with SELinux policy

.git/rebase-apply/patch:67: trailing whitespace.

                    strcmp(key, "hostapd") == 0 || 

warning: 1 line adds whitespace errors.

~/lineage

repo sync has finished successfully.

~/lineage/external/skia ~/lineage

HEAD is now at bc986dc81c Merge tag 'android-security-9.0.0_r72' into staging/lineage-16.0_merge_android-security-9.0.0_r72

error: patch failed: Android.bp:3

error: Android.bp: patch does not apply

error: patch failed: src/gpu/gl/GrGLCaps.cpp:22

error: src/gpu/gl/GrGLCaps.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_external_skia/0001-GrGLCaps-allow-ignoring-vendor-supplied-texture-swiz.patch

~/lineage

repo sync has finished successfully.

~/lineage/frameworks/av ~/lineage

HEAD is now at 5d3bb3a0a Merge tag 'android-security-9.0.0_r76' into staging/lineage-16.0_merge-android-security-9.0.0_r76

Applying: Fix WiFi-Display on Huawei devices (EMUI 8.0)

error: patch failed: services/camera/libcameraservice/CameraService.cpp:307

error: services/camera/libcameraservice/CameraService.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0002-Kirin-Remove-lock-to-prevent-self-lock.patch

error: patch failed: services/camera/libcameraservice/CameraService.cpp:343

error: services/camera/libcameraservice/CameraService.cpp: patch does not apply

Applying: We might not have a mFlashlight at this state, but that's ok

error: patch failed: services/camera/libcameraservice/CameraService.cpp:343

error: services/camera/libcameraservice/CameraService.cpp: patch does not apply

Patch failed at 0001 We might not have a mFlashlight at this state, but that's ok

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

patching file services/camera/libcameraservice/CameraService.cpp

Hunk #1 succeeded at 246 with fuzz 1 (offset -97 lines).

Applying: We might not have a mFlashlight at this state, but that's ok

error: patch failed: services/camera/libcameraservice/CameraService.cpp:221

error: services/camera/libcameraservice/CameraService.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0004-CameraService-Support-calling-addStates-in-enumerate.patch

error: patch failed: services/audiopolicy/common/managerdefinitions/src/Serializer.cpp:596

error: services/audiopolicy/common/managerdefinitions/src/Serializer.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0005-Fix-BT-in-call-on-CAF-devices.patch

error: patch failed: services/camera/libcameraservice/CameraService.cpp:139

error: services/camera/libcameraservice/CameraService.cpp: patch does not apply

error: patch failed: services/camera/libcameraservice/CameraService.h:203

error: services/camera/libcameraservice/CameraService.h: patch does not apply

Applying: Add (partial, cam id is hardcoded) support for Asus ZF6 motor camera

error: patch failed: services/camera/libcameraservice/CameraService.cpp:139

error: services/camera/libcameraservice/CameraService.cpp: patch does not apply

error: patch failed: services/camera/libcameraservice/CameraService.h:203

error: services/camera/libcameraservice/CameraService.h: patch does not apply

Patch failed at 0001 Add (partial, cam id is hardcoded) support for Asus ZF6 motor camera

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

patching file services/camera/libcameraservice/CameraService.cpp

Hunk #2 succeeded at 116 with fuzz 1 (offset -24 lines).

Hunk #3 succeeded at 1441 with fuzz 2 (offset -358 lines).

Hunk #4 succeeded at 1457 with fuzz 1 (offset -424 lines).

Hunk #5 succeeded at 2226 with fuzz 2 (offset -663 lines).

patching file services/camera/libcameraservice/CameraService.h

Hunk #1 succeeded at 200 with fuzz 2 (offset -3 lines).

Applying: Add (partial, cam id is hardcoded) support for Asus ZF6 motor camera

error: patch failed: services/audiopolicy/common/managerdefinitions/src/Serializer.cpp:539

error: services/audiopolicy/common/managerdefinitions/src/Serializer.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0007-audiopolicy-try-again-with-trimmed-audio-port-name-i.patch

Applying: There are three SCO devices. Fallback from one to the others if needed

Applying: Allow graceful degradation of MediaProfile with broken configuration.

error: services/camera/libcameraservice/Android.bp: No such file or directory

error: patch failed: services/camera/libcameraservice/common/CameraProviderManager.cpp:21

error: services/camera/libcameraservice/common/CameraProviderManager.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0010-Add-persist.sys.phh.samsung.camera_ids-property-to-a.patch

Applying: Add a property to force camera timestamp source

error: patch failed: services/audiopolicy/common/managerdefinitions/src/Serializer.cpp:396

error: services/audiopolicy/common/managerdefinitions/src/Serializer.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0012-FIH-devices-Fix-Earpiece-audio-output.patch

error: services/audiopolicy/engine/common/src/EngineBase.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0013-audiopolicy-No-longer-make-re-assigning-legacy-audio.patch

error: patch failed: services/audiopolicy/common/managerdefinitions/src/Serializer.cpp:29

error: services/audiopolicy/common/managerdefinitions/src/Serializer.cpp: patch does not apply

warning: services/audiopolicy/enginedefault/src/Engine.cpp has type 100644, expected 100755

error: patch failed: services/audiopolicy/enginedefault/src/Engine.cpp:52

error: services/audiopolicy/enginedefault/src/Engine.cpp: patch does not apply

error: patch failed: services/audiopolicy/managerdefault/AudioPolicyManager.cpp:93

error: services/audiopolicy/managerdefault/AudioPolicyManager.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0014-Add-persist.sys.phh.disable_a2dp_offload-property-to.patch

error: patch failed: services/camera/libcameraservice/CameraService.cpp:235

error: services/camera/libcameraservice/CameraService.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0015-Fix-for-some-Huawei-camera.patch

error: patch failed: services/camera/libcameraservice/common/CameraProviderManager.cpp:183

error: services/camera/libcameraservice/common/CameraProviderManager.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0016-Make-camera-IDs-filter-out-optional.patch

error: patch failed: media/libstagefright/ACodec.cpp:8295

error: media/libstagefright/ACodec.cpp: patch does not apply

Applying: ACodec: Handle HDR10+ metadata at OutputPortSettingsChangedState

error: patch failed: media/libstagefright/ACodec.cpp:8295

error: media/libstagefright/ACodec.cpp: patch does not apply

Patch failed at 0001 ACodec: Handle HDR10+ metadata at OutputPortSettingsChangedState

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

patching file media/libstagefright/ACodec.cpp

Hunk #1 succeeded at 7855 with fuzz 1 (offset -440 lines).

Hunk #2 succeeded at 8089 with fuzz 1 (offset -348 lines).

Applying: ACodec: Handle HDR10+ metadata at OutputPortSettingsChangedState

error: media/codec2/sfplugin/CCodecBufferChannel.cpp: No such file or directory

error: media/codec2/sfplugin/CCodecBufferChannel.h: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0018-CCodec-store-flushed-config-as-work-items.patch

error: media/bufferpool/2.0/AccessorImpl.cpp: No such file or directory

error: media/bufferpool/2.0/AccessorImpl.h: No such file or directory

error: media/bufferpool/2.0/BufferPoolClient.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0019-BufferPool-limit-number-of-idle-buffers-in-caches.patch

error: media/codec2/sfplugin/CCodecBuffers.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0020-CCodec-fix-underflow-issue-on-handleImageData.patch

error: patch failed: media/libstagefright/ACodec.cpp:2247

error: media/libstagefright/ACodec.cpp: patch does not apply

error: patch failed: media/libstagefright/include/media/stagefright/ACodec.h:499

error: media/libstagefright/include/media/stagefright/ACodec.h: patch does not apply

Applying: OMX Opus decoder omits sample rate / channel count

error: patch failed: media/libstagefright/ACodec.cpp:2247

error: media/libstagefright/ACodec.cpp: patch does not apply

error: patch failed: media/libstagefright/include/media/stagefright/ACodec.h:499

error: media/libstagefright/include/media/stagefright/ACodec.h: patch does not apply

Patch failed at 0001 OMX Opus decoder omits sample rate / channel count

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

patching file media/libstagefright/ACodec.cpp

Hunk #1 succeeded at 2178 with fuzz 2 (offset -69 lines).

Hunk #2 succeeded at 2978 with fuzz 2 (offset -148 lines).

patching file media/libstagefright/codecs/opus/dec/SoftOpus.cpp

Hunk #4 succeeded at 487 (offset -12 lines).

patching file media/libstagefright/codecs/opus/dec/SoftOpus.h

patching file media/libstagefright/include/media/stagefright/ACodec.h

Hunk #1 succeeded at 466 with fuzz 2 (offset -33 lines).

Applying: OMX Opus decoder omits sample rate / channel count

error: patch failed: media/libstagefright/ACodec.cpp:2425

error: media/libstagefright/ACodec.cpp: patch does not apply

error: patch failed: media/libstagefright/include/media/stagefright/ACodec.h:147

error: media/libstagefright/include/media/stagefright/ACodec.h: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0022-ACodec-submit-extra-output-metadata-buffers-if-in-lo.patch

Applying: NuPlayerRenderer: Reset negative media time to zero

error: media/codec2/sfplugin/C2OMXNode.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0024-C2OMXNode-read-delay-from-component-to-determine-buf.patch

error: media/codec2/sfplugin/CCodecBuffers.h: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0025-CCodec-Increase-max-linear-buffer-size-for-8K-video.patch

error: patch failed: media/libstagefright/omx/1.0/OmxStore.cpp:54

error: media/libstagefright/omx/1.0/OmxStore.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0026-omx-calculate-nodePrefix-only-for-components-listed-.patch

error: media/codec2/vndk/C2AllocatorBlob.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0027-C2AllocatorBlob-allow-multiple-maps.patch

error: media/codec2/sfplugin/CCodecBuffers.cpp: No such file or directory

error: media/codec2/sfplugin/Codec2Buffer.cpp: No such file or directory

error: media/codec2/sfplugin/tests/CCodecBuffers_test.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0028-CCodec-fix-ByteBuffer-mode-image.patch

error: media/codec2/sfplugin/CCodec.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0029-CCodec-GraphicBufferSourceWrapper-fix-to-apply-nBuff.patch

error: media/codec2/sfplugin/CCodec.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0030-CCodec-workaround-for-frame-drops.patch

error: patch failed: media/libstagefright/ACodec.cpp:5340

error: media/libstagefright/ACodec.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0031-Fix-AAC-decoder-failing-to-instantiate.patch

error: services/camera/libcameraservice/Android.bp: No such file or directory

error: patch failed: services/camera/libcameraservice/common/CameraProviderManager.cpp:22

error: services/camera/libcameraservice/common/CameraProviderManager.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0032-Support-Samsung-R-multi-cams.patch

error: patch failed: services/audiopolicy/common/managerdefinitions/src/Serializer.cpp:951

error: services/audiopolicy/common/managerdefinitions/src/Serializer.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0033-audiopolicy-Don-t-crash-on-unknown-audio-devices.patch

error: patch failed: services/audiopolicy/managerdefault/AudioPolicyManager.cpp:3490

error: services/audiopolicy/managerdefault/AudioPolicyManager.cpp: patch does not apply

error: patch failed: services/audiopolicy/managerdefault/AudioPolicyManager.h:910

error: services/audiopolicy/managerdefault/AudioPolicyManager.h: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0034-AudioPolicyManager-retry-with-SW-bridge-if-hardware-.patch

warning: services/audiopolicy/enginedefault/src/Engine.cpp has type 100644, expected 100755

error: patch failed: services/audiopolicy/enginedefault/src/Engine.cpp:52

error: services/audiopolicy/enginedefault/src/Engine.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0035-Reenable-STRATEGY_ROUTING.-This-is-a-leftover-of-tri.patch

error: services/audiopolicy/engine/config/src/EngineConfig.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0036-Use-a-fake-volume-policy-when-none-has-been-found.patch

error: patch failed: services/audiopolicy/common/managerdefinitions/src/Serializer.cpp:609

error: services/audiopolicy/common/managerdefinitions/src/Serializer.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0037-Not-all-sources-in-a-route-are-valid.-Dont-ignore-th.patch

error: patch failed: services/audiopolicy/managerdefault/AudioPolicyManager.cpp:3490

error: services/audiopolicy/managerdefault/AudioPolicyManager.cpp: patch does not apply

error: patch failed: services/audiopolicy/managerdefault/AudioPolicyManager.h:910

error: services/audiopolicy/managerdefault/AudioPolicyManager.h: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0038-Revert-AudioPolicyManager-retry-with-SW-bridge-if-ha.patch

error: patch failed: services/audiopolicy/managerdefault/AudioPolicyManager.cpp:575

error: services/audiopolicy/managerdefault/AudioPolicyManager.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0039-APM-Fall-back-to-legacy-voice-call-routing-if-creati.patch

error: patch failed: services/camera/libcameraservice/common/CameraProviderManager.cpp:618

error: services/camera/libcameraservice/common/CameraProviderManager.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_av/0040-When-aux-cameras-are-enabled-ignore-system-only-came.patch

~/lineage

repo sync has finished successfully.

~/lineage/frameworks/base ~/lineage

HEAD is now at 8306a7e8add Automatic translation import

error: patch failed: services/core/java/com/android/server/StorageManagerService.java:1533

error: services/core/java/com/android/server/StorageManagerService.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0001-Relax-requirement-for-visible-flag-to-sdcards.patch

error: patch failed: services/core/java/com/android/server/lights/LightsService.java:32

error: services/core/java/com/android/server/lights/LightsService.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0002-backlight-Fix-backlight-control-on-Galaxy-S9.patch

error: patch failed: core/jni/android_util_AssetManager.cpp:140

error: core/jni/android_util_AssetManager.cpp: patch does not apply

error: patch failed: core/jni/fd_utils.cpp:135

error: core/jni/fd_utils.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0003-Also-scan-system-overlay.patch

error: patch failed: services/core/java/com/android/server/ConsumerIrService.java:50

error: services/core/java/com/android/server/ConsumerIrService.java: patch does not apply

Applying: Don't crash if there is IR HAL is not declared

error: patch failed: services/core/java/com/android/server/ConsumerIrService.java:50

error: services/core/java/com/android/server/ConsumerIrService.java: patch does not apply

Patch failed at 0001 Don't crash if there is IR HAL is not declared

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

patching file services/core/java/com/android/server/ConsumerIrService.java

Hunk #1 succeeded at 52 with fuzz 2 (offset 2 lines).

Applying: Don't crash if there is IR HAL is not declared

Applying: Fix(?) #62

error: cmds/idmap2/idmap2/Scan.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0006-property-matching-RROs-allow-to-prefix-the-value-wit.patch

error: services/core/java/com/android/server/biometrics/fingerprint/FingerprintService.java: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0007-Galaxy-S9-remaining-of-HAL-onEnroll-is-actually-a-pe.patch

error: patch failed: telephony/java/android/telephony/CarrierConfigManager.java:4026

error: telephony/java/android/telephony/CarrierConfigManager.java: patch does not apply

Applying: Show APN Settings for CDMA carriers

error: patch failed: telephony/java/android/telephony/CarrierConfigManager.java:4026

error: telephony/java/android/telephony/CarrierConfigManager.java: patch does not apply

Patch failed at 0001 Show APN Settings for CDMA carriers

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

patching file telephony/java/android/telephony/CarrierConfigManager.java

Hunk #1 succeeded at 2146 with fuzz 1 (offset -1880 lines).

Applying: Show APN Settings for CDMA carriers

error: patch failed: services/core/java/com/android/server/ConsumerIrService.java:46

error: services/core/java/com/android/server/ConsumerIrService.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0009-Don-t-wait-IR-HAL-to-the-infinity-and-beyond.patch

error: patch failed: services/core/java/com/android/server/net/NetworkPolicyManagerService.java:746

error: services/core/java/com/android/server/net/NetworkPolicyManagerService.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0010-Re-order-services-so-that-it-works-even-without-qtag.patch

error: patch failed: services/core/jni/Android.bp:167

error: services/core/jni/Android.bp: patch does not apply

error: patch failed: services/core/jni/com_android_server_lights_LightsService.cpp:39

error: services/core/jni/com_android_server_lights_LightsService.cpp: patch does not apply

error: patch failed: services/core/jni/com_android_server_power_PowerManagerService.cpp:24

error: services/core/jni/com_android_server_power_PowerManagerService.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0011-Support-new-samsung-Pie-and-Q-light-hal-and-Samsung-.patch

error: services/core/java/com/android/server/biometrics/fingerprint/FingerprintService.java: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0012-Make-Samsung-fingerprint-broken-HAL-overridable.patch

error: patch failed: packages/SettingsLib/src/com/android/settingslib/display/BrightnessUtils.java:51

error: packages/SettingsLib/src/com/android/settingslib/display/BrightnessUtils.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0013-Add-property-to-use-linear-brightness-slider.patch

Applying: Add support for samsung touch proximity sensor as fallback to real proximity sensor

Applying: Also add com.samsung.sensor.physical_proximity (if available, it is more a true proximity sensor than touch proximity sensor)

Applying: fix crashing on devices with higher aspect ratio down to sw288dp

.git/rebase-apply/patch:45: new blank line at EOF.

warning: 1 line adds whitespace errors.

Applying: Remove orientation 4 from sensor earlier in the process chain

error: services/core/java/com/android/server/biometrics/BiometricServiceBase.java: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0018-Allow-disabling-of-fingerprint-cleanups-needed-on-so.patch

error: patch failed: services/core/jni/Android.bp:171

error: services/core/jni/Android.bp: patch does not apply

error: patch failed: services/core/jni/com_android_server_lights_LightsService.cpp:26

error: services/core/jni/com_android_server_lights_LightsService.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0019-Support-Huawei-light-HAL.patch

error: patch failed: services/core/java/com/android/server/pm/UserManagerService.java:5353

error: services/core/java/com/android/server/pm/UserManagerService.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0020-Always-allow-overriding-the-number-of-work-profiles.patch

error: services/core/java/com/android/server/biometrics/BiometricServiceBase.java: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0021-Support-unexpected-onAuthenticated.patch

error: patch failed: core/java/android/view/KeyEvent.java:1976

error: core/java/android/view/KeyEvent.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0022-HOME-deserves-to-wake-up-devices-just-as-well-as-bac.patch

error: patch failed: telephony/java/android/telephony/TelephonyManager.java:10120

error: telephony/java/android/telephony/TelephonyManager.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0023-On-old-inits-A-only-devices-multi-sim-basedband-prop.patch

error: patch failed: services/core/java/com/android/server/display/DisplayPowerController.java:550

error: services/core/java/com/android/server/display/DisplayPowerController.java: patch does not apply

Applying: Some devices have proximity sensor reporting NaN as max range for some reason. Make them behave standard way by setting 5 cm

error: patch failed: services/core/java/com/android/server/display/DisplayPowerController.java:550

error: services/core/java/com/android/server/display/DisplayPowerController.java: patch does not apply

Patch failed at 0001 Some devices have proximity sensor reporting NaN as max range for some reason. Make them behave standard way by setting 5 cm

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

patching file services/core/java/com/android/server/display/DisplayPowerController.java

Hunk #1 succeeded at 511 with fuzz 1 (offset -39 lines).

Applying: Some devices have proximity sensor reporting NaN as max range for some reason. Make them behave standard way by setting 5 cm

error: patch failed: services/core/java/com/android/server/power/PowerManagerService.java:914

error: services/core/java/com/android/server/power/PowerManagerService.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0025-Fix-brightness-range-not-being-complete-on-Samsung-d.patch

error: patch failed: core/java/android/content/pm/PackageParser.java:2476

error: core/java/android/content/pm/PackageParser.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0026-Re-implement-fnmatch-like-behaviour-for-RRO-java-sid.patch

error: patch failed: api/current.txt:79

error: api/current.txt: patch does not apply

error: non-updatable-api/current.txt: No such file or directory

error: patch failed: services/core/java/com/android/server/pm/PackageManagerService.java:4405

error: services/core/java/com/android/server/pm/PackageManagerService.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0027-Add-support-for-app-signature-spoofing.patch

error: patch failed: packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java:32

error: packages/SystemUI/src/com/android/systemui/qs/QuickStatusBarHeader.java: patch does not apply

error: patch failed: packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarView.java:189

error: packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarView.java: patch does not apply

error: patch failed: packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java:24

error: packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0028-Make-rounded-corners-padding-overridable-with-persis.patch

error: patch failed: services/core/jni/Android.bp:171

error: services/core/jni/Android.bp: patch does not apply

error: patch failed: services/core/jni/com_android_server_lights_LightsService.cpp:26

error: services/core/jni/com_android_server_lights_LightsService.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0029-Revert-Support-Huawei-light-HAL.patch

error: patch failed: services/core/java/com/android/server/am/ActivityManagerService.java:5574

error: services/core/java/com/android/server/am/ActivityManagerService.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0030-Remove-useless-notification-about-console-service-be.patch

error: packages/Tethering/src/com/android/networkstack/tethering/TetheringConfiguration.java: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0031-Tethering-Ignore-DUN-required-and-always-use-main-AP.patch

error: patch failed: telephony/java/android/telephony/TelephonyManager.java:7043

error: telephony/java/android/telephony/TelephonyManager.java: patch does not apply

Applying: Revert "Remove unused SystemProperties.set"

error: patch failed: telephony/java/android/telephony/TelephonyManager.java:7043

error: telephony/java/android/telephony/TelephonyManager.java: patch does not apply

Patch failed at 0001 Revert "Remove unused SystemProperties.set"

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

patching file telephony/java/android/telephony/TelephonyManager.java

Hunk #1 succeeded at 7036 with fuzz 2 (offset -7 lines).

Applying: Revert "Remove unused SystemProperties.set"

Applying: TelephonyManager: bring back getNetworkClass()

Applying: TelephonyManager: add API annotations for setTelephonyProperty

error: patch failed: services/core/jni/com_android_server_power_PowerManagerService.cpp:78

error: services/core/jni/com_android_server_power_PowerManagerService.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0035-Fix-Samsung-Power-HAL-switch-case-was-filled-with-mi.patch

error: patch failed: keystore/java/android/security/KeyStore.java:1124

error: keystore/java/android/security/KeyStore.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0036-KeyStore-Block-key-attestation-for-Google-Play-Servi.patch

error: patch failed: packages/SystemUI/src/com/android/systemui/util/wakelock/WakeLock.java:110

error: packages/SystemUI/src/com/android/systemui/util/wakelock/WakeLock.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0037-Fix-Wakelock-issue.patch

error: packages/SystemUI/src/com/android/systemui/screenrecord/ScreenMediaRecorder.java: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0038-SystemUI-Relax-AVC-level-requirement.patch

error: packages/SystemUI/src/com/android/systemui/screenrecord/ScreenMediaRecorder.java: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0039-SystemUI-Use-AVCProfileMain-for-screen-recorder.patch

error: patch failed: services/core/java/com/android/server/StorageManagerService.java:3304

error: services/core/java/com/android/server/StorageManagerService.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0040-Fix-for-TestDirectBootEmulated-testcase.patch

Applying: Make secondary displays' lock screen black. Useful for Moto Razr AOD

error: patch failed: services/core/jni/com_android_server_power_PowerManagerService.cpp:112

error: services/core/jni/com_android_server_power_PowerManagerService.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0042-On-Samsung-R-vendor-there-is-still-the-ISehMiscPower.patch

Applying: Handle another type of Samsung proximity sensor: Hover Proximity Sensor, with yet another behavior (seen on S20 FE)

error: core/java/android/hardware/display/AmbientDisplayConfiguration.java: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0044-Automatically-detect-pick-up-sensor-so-that-an-overl.patch

error: patch failed: core/java/android/view/DisplayCutout.java:681

error: core/java/android/view/DisplayCutout.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0045-Catch-broken-mainBuiltInDisplayCutoutRectApproximati.patch

error: patch failed: services/core/java/com/android/server/display/DisplayPowerController.java:61

error: services/core/java/com/android/server/display/DisplayPowerController.java: patch does not apply

error: patch failed: services/core/java/com/android/server/power/PowerManagerService.java:240

error: services/core/java/com/android/server/power/PowerManagerService.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0046-Reintroduce-button-backlight-and-respective-inactivi.patch

error: patch failed: services/core/java/com/android/server/power/PowerManagerService.java:2298

error: services/core/java/com/android/server/power/PowerManagerService.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0047-Fix-crash-on-start-systemReady-might-be-called-too-l.patch

error: patch failed: services/core/java/com/android/server/display/DisplayPowerController.java:909

error: services/core/java/com/android/server/display/DisplayPowerController.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0048-Fix-crash-on-start.-lights-arent-available-early-on.patch

error: patch failed: services/core/java/com/android/server/display/DisplayPowerController.java:62

error: services/core/java/com/android/server/display/DisplayPowerController.java: patch does not apply

Applying: Fix build

error: patch failed: services/core/java/com/android/server/display/DisplayPowerController.java:62

error: services/core/java/com/android/server/display/DisplayPowerController.java: patch does not apply

Patch failed at 0001 Fix build

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

patching file services/core/java/com/android/server/display/DisplayPowerController.java

Hunk #1 succeeded at 53 with fuzz 2 (offset -9 lines).

Applying: Fix build

error: patch failed: services/core/Android.bp:138

error: services/core/Android.bp: patch does not apply

error: services/core/java/com/android/server/biometrics/fingerprint/FingerprintService.java: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_base/0050-Import-back-FacolaView-for-under-display-fingerprint.patch

Applying: beautiful v313 bootanim (for likely latest A11 build)

~/lineage

repo sync has finished successfully.

~/lineage/frameworks/native ~/lineage

HEAD is now at a3a55dadc Merge tag 'android-security-9.0.0_r74' into staging/lineage-16.0_merge-android-security-9.0.0_r74

error: opengl/libs/EGL/egl_platform_entries.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_native/0001-Some-Samsung-devices-requires-lying-colorspace.patch

error: opengl/libs/EGL/egl_platform_entries.cpp: No such file or directory

error: patch failed: services/sensorservice/SensorDevice.cpp:34

error: services/sensorservice/SensorDevice.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_native/0002-On-Samsung-we-need-to-send-a-hack-message-to-HAL-to-.patch

error: services/surfaceflinger/CompositionEngine/src/OutputLayer.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_native/0003-Use-BKK-s-hwcomposer-hacks-to-properly-display-FOD-l.patch

error: services/surfaceflinger/BufferQueueLayer.cpp: No such file or directory

error: services/surfaceflinger/CompositionEngine/src/OutputLayer.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_native/0004-Samsung-Xiaomi-new-FOD-HBM-controls.patch

error: services/vr/hardware_composer/manifest_vr_hwc.xml: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_native/0005-vr_hwc-crashes-because-it-registers-a-2.3-hwc-while-.patch

error: patch failed: services/surfaceflinger/DisplayHardware/HWComposer.cpp:34

error: services/surfaceflinger/DisplayHardware/HWComposer.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_native/0006-Add-persist.sys.phh.no_present_or_validate-property-.patch

error: patch failed: services/sensorservice/SensorDevice.cpp:22

error: services/sensorservice/SensorDevice.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_native/0007-Add-persist.sys.phh.disable_sensor_direct_report-pro.patch

error: services/inputflinger/reader/InputDevice.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_native/0008-Matching-an-input-with-a-display-uses-uniqueId.patch

error: services/inputflinger/reader/mapper/JoystickInputMapper.cpp: No such file or directory

error: services/inputflinger/reader/mapper/JoystickInputMapper.h: No such file or directory

error: patch failed: services/inputflinger/tests/InputReader_test.cpp:20

error: services/inputflinger/tests/InputReader_test.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_native/0009-Apply-associated-display-for-joysticks.patch

error: patch failed: libs/ui/Gralloc2.cpp:108

error: libs/ui/Gralloc2.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_native/0010-Ignore-usage-bits-verification.patch

error: cmds/installd/migrate_legacy_obb_data.sh: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_native/0011-unshared_oob-didn-t-exist-in-O-P-so-detect-its-suppo.patch

error: patch failed: services/surfaceflinger/DisplayDevice.h:313

error: services/surfaceflinger/DisplayDevice.h: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_native/0012-DO-NOT-MERGE-Correct-physical-orientation.patch

error: libs/gralloc/types/Gralloc4.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_native/0013-gralloc4-fix-PlaneLayout-encode-typecasting.patch

Applying: Remove Samsung system permission on sensors

~/lineage

repo sync has finished successfully.

~/lineage/frameworks/opt/net/wifi ~/lineage

HEAD is now at 7752ca6d0 Merge tag 'android-security-9.0.0_r66' into staging/lineage-16.0_merge_android-security-9.0.0_r66

Applying: Revert "SupplicantManager: Remove |ensure_config_file_exists|"

error: patch failed: service/java/com/android/server/wifi/HalDeviceManager.java:229

error: service/java/com/android/server/wifi/HalDeviceManager.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_opt_net_wifi/0002-Support-hostap-on-O-O-MR1-vendors.patch

error: patch failed: service/java/com/android/server/wifi/SupplicantStaIfaceHal.java:831

error: service/java/com/android/server/wifi/SupplicantStaIfaceHal.java: patch does not apply

error: patch failed: service/java/com/android/server/wifi/WifiNative.java:439

error: service/java/com/android/server/wifi/WifiNative.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_opt_net_wifi/0003-Restore-O-O-MR1-behaviour-of-initing-ifaces-before-s.patch

error: patch failed: service/java/com/android/server/wifi/SupplicantStaIfaceHal.java:690

error: service/java/com/android/server/wifi/SupplicantStaIfaceHal.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_opt_net_wifi/0004-Boot-wifi-supplicant-both-with-lazy-hal-style-and-in.patch

~/lineage

repo sync has finished successfully.

~/lineage/frameworks/opt/telephony ~/lineage

HEAD is now at 94cb96153 Merge tag 'android-security-9.0.0_r71' into staging/lineage-16.0_merge_android-security-9.0.0_r71

error: patch failed: src/java/com/android/internal/telephony/RIL.java:66

error: src/java/com/android/internal/telephony/RIL.java: patch does not apply

error: patch failed: src/java/com/android/internal/telephony/dataconnection/DcTracker.java:2029

error: src/java/com/android/internal/telephony/dataconnection/DcTracker.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_frameworks_opt_telephony/0001-telephony-forward-port-support-for-forceCognitive.patch

Applying: Telephony: Don not call onUssdRelease for Huawei RIL

~/lineage

repo sync has finished successfully.

~/lineage/packages/apps/Bluetooth ~/lineage

HEAD is now at fe7e3e97 Automatic translation import

Applying: On Samsung devices, we need to tell Audio HAL if we're running narrow band or wide band

~/lineage

repo sync has finished successfully.

~/lineage/packages/apps/Settings ~/lineage

HEAD is now at cdb8663ed7 Import translations. DO NOT MERGE ANYWHERE

error: patch failed: src/com/android/settings/connecteddevice/usb/UsbConnectionBroadcastReceiver.java:78

error: src/com/android/settings/connecteddevice/usb/UsbConnectionBroadcastReceiver.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_packages_apps_Settings/0001-Act-as-usb-device-when-there-is-no-hal-but-we-believ.patch

~/lineage

repo sync has finished successfully.

~/lineage/packages/services/Telephony ~/lineage

HEAD is now at 1b70aa11e Automatic translation import

warning: src/com/android/services/telephony/TelephonyConnection.java has type 100644, expected 100755

error: patch failed: src/com/android/services/telephony/TelephonyConnection.java:28

error: src/com/android/services/telephony/TelephonyConnection.java: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_packages_services_Telephony/0001-Telephony-Support-muting-by-RIL-command.patch

~/lineage

repo sync has finished successfully.

~/lineage/system/bt ~/lineage

HEAD is now at 1445e3d80 security: Use-After-Free in btm_sec_[dis]connected

Applying: Make BTM_BYPASS_EXTRA_ACL_SETUP dynamic

Applying: Add props to control supported features and states (#1)

error: patch failed: btif/src/btif_av.cc:971

error: btif/src/btif_av.cc: patch does not apply

Applying: Add persist.sys.phh.disable_a2dp_offload property to force a2dp offload

error: patch failed: btif/src/btif_av.cc:971

error: btif/src/btif_av.cc: patch does not apply

Patch failed at 0001 Add persist.sys.phh.disable_a2dp_offload property to force a2dp offload

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

patching file btif/src/btif_av.cc

Hunk #1 succeeded at 890 with fuzz 1 (offset -81 lines).

patching file stack/a2dp/a2dp_codec_config.cc

Hunk #1 succeeded at 559 (offset -1 lines).

Hunk #2 succeeded at 658 (offset -1 lines).

Applying: Add persist.sys.phh.disable_a2dp_offload property to force a2dp offload

Applying: Add a property to disable eSCO

Applying: Add option to change eSCO Transport Unit Size

~/lineage

repo sync has finished successfully.

~/lineage/system/core ~/lineage

HEAD is now at 014c908ea Merge tag 'android-security-9.0.0_r65' of https://android.googlesource.com/platform/system/core into staging/lineage-16.0_merge_android-security-9.0.0_r65

error: patch failed: sdcard/sdcard.cpp:110

error: sdcard/sdcard.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_system_core/0001-Detect-allowed-sdcard-options-based-on-vndk.patch

warning: logd/LogKlog.cpp has type 100755, expected 100644

Applying: Ignore /proc/kmsg if reading from it faults

warning: logd/LogKlog.cpp has type 100755, expected 100644

error: init/first_stage_mount.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_system_core/0003-first-stage-If-Vboot2-fails-fall-back-to-Vboot1.patch

error: patch failed: rootdir/ueventd.rc:45

error: rootdir/ueventd.rc: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_system_core/0004-Ugly-but-secure-Set-dev-uinput-as-0666-to-fix-finger.patch

error: patch failed: sdcard/sdcard.cpp:103

error: sdcard/sdcard.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_system_core/0005-Have-sdcard-daemon-detect-sdcardfs-params-based-on-v.patch

error: patch failed: adb/Android.bp:160

error: adb/Android.bp: patch does not apply

error: patch failed: adb/adb.cpp:66

error: adb/adb.cpp: patch does not apply

error: patch failed: adb/adb.h:29

error: adb/adb.h: patch does not apply

error: patch failed: adb/client/main.cpp:36

error: adb/client/main.cpp: patch does not apply

error: patch failed: adb/client/usb_dispatch.cpp:15

error: adb/client/usb_dispatch.cpp: patch does not apply

error: patch failed: adb/client/usb_libusb.cpp:14

error: adb/client/usb_libusb.cpp: patch does not apply

error: patch failed: adb/client/usb_linux.cpp:18

error: adb/client/usb_linux.cpp: patch does not apply

error: patch failed: adb/client/usb_osx.cpp:18

error: adb/client/usb_osx.cpp: patch does not apply

error: patch failed: adb/client/usb_windows.cpp:18

error: adb/client/usb_windows.cpp: patch does not apply

error: fastboot/device/usb.h: No such file or directory

error: patch failed: adb/daemon/usb.cpp:45

error: adb/daemon/usb.cpp: patch does not apply

error: adb/daemon/usb_ffs.h: No such file or directory

error: adb/daemon/usb_ffs.cpp: No such file or directory

error: fastboot/device/usb.cpp: No such file or directory

error: patch failed: adb/transport.cpp:1453

error: adb/transport.cpp: patch does not apply

error: patch failed: adb/transport.h:40

error: adb/transport.h: patch does not apply

error: adb/client/transport_usb.cpp: No such file or directory

error: adb/client/usb.h: No such file or directory

error: fastboot/Android.bp: No such file or directory

error: fastboot/device/usb_client.h: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_system_core/0006-Revert-Move-adbd-s-legacy-USB-implementation-to-fast.patch

warning: logd/LogListener.cpp has type 100755, expected 100644

Applying: Enable PASSCRED incoditionnally. This is needed on A-only devices that cant set passcred on socket

warning: logd/LogListener.cpp has type 100755, expected 100644

Applying: Don't abandon creating property tree if there is a conflict, and hope for the best

error: patch failed: init/property_service.cpp:873

error: init/property_service.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_system_core/0009-Make-ro.product.cpu.abilist-to-be-fetched-dynamicall.patch

error: patch failed: fs_mgr/fs_mgr.cpp:1305

error: fs_mgr/fs_mgr.cpp: patch does not apply

error: patch failed: fs_mgr/include/fs_mgr.h:60

error: fs_mgr/include/fs_mgr.h: patch does not apply

error: patch failed: init/builtins.cpp:666

error: init/builtins.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_system_core/0010-Only-store-result-of-mount_all-that-mounted-userdata.patch

error: patch failed: fs_mgr/fs_mgr.cpp:1521

error: fs_mgr/fs_mgr.cpp: patch does not apply

Applying: Store result of mount_all for mounted userdata by metadata encryption

error: patch failed: fs_mgr/fs_mgr.cpp:1521

error: fs_mgr/fs_mgr.cpp: patch does not apply

Patch failed at 0001 Store result of mount_all for mounted userdata by metadata encryption

hint: Use 'git am --show-current-patch=diff' to see the failed patch

When you have resolved this problem, run "git am --continue".

If you prefer to skip this patch, run "git am --skip" instead.

To restore the original branch and stop patching, run "git am --abort".

patching file fs_mgr/fs_mgr.cpp

Hunk #1 succeeded at 1023 with fuzz 2 (offset -498 lines).

Applying: Store result of mount_all for mounted userdata by metadata encryption

error: patch failed: rootdir/Android.mk:78

error: rootdir/Android.mk: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_system_core/0012-Adding-postinstall-root-dir-unconditionally.patch

~/lineage

repo sync has finished successfully.

~/lineage/system/extras ~/lineage

HEAD is now at 3b4b5a8d Merge remote-tracking branch 'aosp/pie-gsi' into lineage-16.0-pie-gsi

error: libfscrypt/fscrypt.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_system_extras/0001-libfscrypt-Bail-out-if-we-can-t-open-directory.patch

~/lineage

error: project system/linkerconfig not found

error: project system/memory/lmkd not found

repo sync has finished successfully.

~/lineage/system/netd ~/lineage

HEAD is now at 09e8f9d netd: Consolidate restrict apps methods

error: patch failed: server/TetherController.cpp:748

error: server/TetherController.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_system_netd/0001-device-Huawei-Kirin-960-accept-broken-rpfilter-match.patch

error: patch failed: server/TetherController.cpp:752

error: server/TetherController.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_system_netd/0002-Don-t-fail-on-FTP-conntracking-failing.patch

~/lineage

repo sync has finished successfully.

~/lineage/system/nfc ~/lineage

HEAD is now at 28bd023 Merge tag 'android-security-9.0.0_r73' into staging/lineage-16.0_merge_android-security-9.0.0_r73

error: patch failed: src/adaptation/nfc_config.cc:30

error: src/adaptation/nfc_config.cc: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_system_nfc/0001-Let-vendor-have-priority-over-NFC-config-file-rather.patch

~/lineage

repo sync has finished successfully.

~/lineage/system/vold ~/lineage

HEAD is now at 0ff3b95 Add "changepw" command to vdc.

error: FsCrypt.cpp: No such file or directory

Failed applying /home/philipp/lineage/patches/patches/platform_system_vold/0001-Allow-deletion-of-symlink.patch

Applying: Support Samsung's implementation of exfat, called sdfat

error: patch failed: cryptfs.cpp:1623

error: cryptfs.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_system_vold/0003-Check-needsCheckpoint-only-if-checkpoint-is-supporte.patch

Applying: Sony has texfat exfat fs

error: patch failed: vold_prepare_subdirs.cpp:164

error: vold_prepare_subdirs.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_system_vold/0005-Failing-to-create-facedata-shouldn-t-be-fatal.patch

error: patch failed: main.cpp:249

error: main.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_system_vold/0006-Every-voldmanaged-storage-is-adoptable.patch

error: patch failed: KeyStorage.cpp:141

error: KeyStorage.cpp: patch does not apply

Failed applying /home/philipp/lineage/patches/patches/platform_system_vold/0007-vold-Generate-storage-key-without-rollback-resistanc.patch

~/lineage

Do you want to clean? (y/N) y

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=9

TARGET_PRODUCT=aosp_arm

TARGET_BUILD_VARIANT=eng

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

TARGET_CPU_VARIANT=generic

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.13.0-30-generic-x86_64-Ubuntu-21.10

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=PQ3A.190801.002

OUT_DIR=/home/philipp/lineage/out

============================================

20:44:04 Deleted images and staging directories.

including device/generic/car/vendorsetup.sh

including device/generic/mini-emulator-arm64/vendorsetup.sh

including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh

including device/generic/mini-emulator-x86/vendorsetup.sh

including device/generic/mini-emulator-x86_64/vendorsetup.sh

including device/generic/uml/vendorsetup.sh

including vendor/lineage/vendorsetup.sh

including sdk/bash_completion/adb.bash

Trying dependencies-only mode on a non-existing device tree?

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=9

LINEAGE_VERSION=16.0-20220302-UNOFFICIAL-

TARGET_PRODUCT=treble_arm64_avN

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=generic

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=generic

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.13.0-30-generic-x86_64-Ubuntu-21.10

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=PQ3A.190801.002

OUT_DIR=/home/philipp/lineage/out

============================================

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=9

LINEAGE_VERSION=16.0-20220302-UNOFFICIAL-

TARGET_PRODUCT=treble_arm64_avN

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=generic

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=generic

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.13.0-30-generic-x86_64-Ubuntu-21.10

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=PQ3A.190801.002

OUT_DIR=/home/philipp/lineage/out

============================================

20:44:13 Deleted images and staging directories.

build completed successfully (2 seconds)

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=9

LINEAGE_VERSION=16.0-20220302-UNOFFICIAL-

TARGET_PRODUCT=treble_arm64_avN

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_ARCH=arm64

TARGET_ARCH_VARIANT=armv8-a

TARGET_CPU_VARIANT=generic

TARGET_2ND_ARCH=arm

TARGET_2ND_ARCH_VARIANT=armv8-a

TARGET_2ND_CPU_VARIANT=generic

HOST_ARCH=x86_64

HOST_2ND_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-5.13.0-30-generic-x86_64-Ubuntu-21.10

HOST_CROSS_OS=windows

HOST_CROSS_ARCH=x86

HOST_CROSS_2ND_ARCH=x86_64

HOST_BUILD_TYPE=release

BUILD_ID=PQ3A.190801.002

OUT_DIR=/home/philipp/lineage/out

============================================

[1/1] /home/philipp/lineage/out/soong/.minibootstrap/minibp /home/philipp/lineage/out/soong/.bootstrap/build.ninja

[61/62] glob prebuilts/ndk/cpufeatures.bp

[80/80] /home/philipp/lineage/out/soong/.bootstrap/bin/soong_build /home/philipp/lineage/out/soong/build.ninja

FAILED: /home/philipp/lineage/out/soong/build.ninja

/home/philipp/lineage/out/soong/.bootstrap/bin/soong_build -t -l /home/philipp/lineage/out/.module_paths/Android.bp.list -b /home/philipp/lineage/out/soong -n /home/philipp/lineage/out -d /home/philipp/lineage/out/soong/build.ninja.d -o /home/philipp/lineage/out/soong/build.ninja Android.bp

error: vendor/foss/SeedvaultOverlay/Android.bp:1:1: unrecognized module type "runtime_resource_overlay"

ninja: build stopped: subcommand failed.

20:45:35 soong bootstrap failed with: exit status 1

philipp@philipp-VirtualBox:~/lineage$ git am --show-current-patch=diff

fatal: not a git repository (or any of the parent directories): .git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant