[ROM][8.1.0] LineageOS 15.1

Status
Not open for further replies.
Search This thread

Claymore1297

Senior Member
May 14, 2017
1,492
2,864
Stuttgart
24304779
LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1.0 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

Code:
#include <std_disclaimer.h>

/*
 * Your warranty is now void.
 *
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for Lineage OS is available in the LineageOS Github repo. And if you would like to contribute to Lineage OS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

Instructions

First time flashing Lineage OS 15.1 your device?
Coming from a SENSE ROM?
  1. Enable all location services: Settings > Location > (all location services) = On
Coming from another ROM?
  1. Download the zip(s).
  2. Install a compatible Recovery
  3. Perform a NANDroid backup of your current ROM (Optional)
  4. Wipe data & cache partitions of your device (required when coming from stock!).
  5. Flash LineageOS.
  6. Optional: Install the Google Apps addon package.

Downloads

Downloads
AFH - https://androidfilehost.com/?w=files&flid=267579&sort_by=date&sort_dir=DESC

Google Apps - http://opengapps.org/?arch=arm64&api=8.1&variant=nano

TWRP Recovery - https://dl.twrp.me/hima/twrp-3.2.3-0-hima.img.html

What is not working
  • Developers :)

How to Build

To setup the build environment, follow instructions here: https://wiki.lineageos.org/devices/himaul/build
Remember to change cm-14.1 to lineage-15.1
Create the direct and file .repo/local_manifests/roomservice.xml and add the following:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="Claymore1297/android_device_htc_himawl" path="device/htc/himawl" remote="github" />
<project name="Claymore1297/android_device_htc_himaul" path="device/htc/himaul" remote="github" />
<project name="Claymore1297/android_device_htc_hima-common" path="device/htc/hima-common" remote="github" />
<project name="Claymore1297/android_kernel_htc_msm8994" path="kernel/htc/msm8994" remote="github" />
<project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
<project name="Claymore1297/proprietary_vendor_htc" path="vendor/htc" remote="github" />
<project name="LineageOS/android_packages_apps_FlipFlap" path="packages/apps/FlipFlap" remote="github" />
</manifest>

Things for successful builds:
Code:
cd <build LOS-root-dir>
cd frameworks/av
git fetch https://github.com/Claymore1297/android_frameworks_av lineage-15.1
git cherry-pick b0bb4377d1163233b96b1ca55b0814d778f52569
cd <build LOS-root-dir>
cd hardware/qcom/audio-caf/msm8994
git fetch https://github.com/Claymore1297/android_hardware_qcom_audio lineage-15.1-caf-8994	
git cherry-pick 1e597fdbf233d361af1e6ca70ff69cb4c8d9cb73
git cherry-pick 652740eadecfc29b31e9b11810187b195afdb2cd
 
Last edited:

szaj

Senior Member
Feb 1, 2011
392
86
Finger crossed for this project. I hope everything will work soon. Thanks for all hard work
 
  • Like
Reactions: rognlorie

bubba1601

Senior Member
Aug 23, 2016
1,886
1,191
51
Nokia G10/G20
I wish you luck, as if your first release is anything to go by, this is going to be a HUGE success.

Great job for a first build.

Very smooth, stable and fast, no issues to report as yet.

I can manage without the camera.

BTW

the battery life is absolutely awesome!!!!

Great work!
 

UltraM8

Senior Member
Jan 27, 2015
1,157
4,903
Moscow
Is there something we can add audio-wise? I've seen some device's kernels with the stuff for hexagon & etc
 

xangma

Senior Member
May 15, 2008
437
59
Is there something we can add audio-wise? I've seen some device's kernels with the stuff for hexagon & etc

Probably at some point, though my priority is the camera ...

Speaking of that, I have made some progress by adding a few lines to the device/htc/hima-common/hima.mk file and now I get this as an error, which I think I might be able to do something about. I think the important one was: 'android.hardware.camera.provider@2.4-service'

Code:
11-05 13:17:30.806  4179  4179 I android.hardware.camera.provider@2.4-service: Camera provider Service is starting.
11-05 13:17:30.807   415   415 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry android.hardware.camera.provider@2.4::ICameraProvider in either framework or device manifest, using default transport.
11-05 13:17:30.820  4179  4179 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/camera.msm8994.so from the current namespace instead.
11-05 13:17:30.883  4179  4179 E HAL     : load: module=/vendor/lib/hw/camera.msm8994.so
11-05 13:17:30.883  4179  4179 E HAL     : dlopen failed: cannot locate symbol "_ZN7android13GraphicBufferC1Ejjij" referenced by "/system/vendor/lib/libHtcVteEngine.so"...
11-05 13:17:30.883  4179  4179 E CamProvider@2.4-impl.legacy: Could not load camera HAL module: -22 (Invalid argument)
11-05 13:17:30.883  4179  4179 E CamProvider@2.4-impl.legacy: HIDL_FETCH_ICameraProvider: camera provider init failed!
11-05 13:17:30.884  4179  4179 E /vendor/bin/hw/android.hardware.camera.provider@2.4-service: Passthrough lookup opened android.hardware.camera.provider@2.4-impl.so but could not find symbol HIDL_FETCH_ICameraProvider: dlsym failed: invalid handle: 0x7379c16b
11-05 13:17:30.884  4179  4179 E android.hardware.camera.provider@2.4-service: Could not get passthrough implementation for android.hardware.camera.provider@2.4::ICameraProvider/legacy/0.
 
  • Like
Reactions: Mirenk

Mirenk

Member
Oct 21, 2015
20
21
Fukushima
Probably at some point, though my priority is the camera ...

Speaking of that, I have made some progress by adding a few lines to the device/htc/hima-common/hima.mk file and now I get this as an error, which I think I might be able to do something about. I think the important one was: 'android.hardware.camera.provider@2.4-service'

Code:
11-05 13:17:30.806  4179  4179 I android.hardware.camera.provider@2.4-service: Camera provider Service is starting.
11-05 13:17:30.807   415   415 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry android.hardware.camera.provider@2.4::ICameraProvider in either framework or device manifest, using default transport.
11-05 13:17:30.820  4179  4179 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/camera.msm8994.so from the current namespace instead.
11-05 13:17:30.883  4179  4179 E HAL     : load: module=/vendor/lib/hw/camera.msm8994.so
11-05 13:17:30.883  4179  4179 E HAL     : dlopen failed: cannot locate symbol "_ZN7android13GraphicBufferC1Ejjij" referenced by "/system/vendor/lib/libHtcVteEngine.so"...
11-05 13:17:30.883  4179  4179 E CamProvider@2.4-impl.legacy: Could not load camera HAL module: -22 (Invalid argument)
11-05 13:17:30.883  4179  4179 E CamProvider@2.4-impl.legacy: HIDL_FETCH_ICameraProvider: camera provider init failed!
11-05 13:17:30.884  4179  4179 E /vendor/bin/hw/android.hardware.camera.provider@2.4-service: Passthrough lookup opened android.hardware.camera.provider@2.4-impl.so but could not find symbol HIDL_FETCH_ICameraProvider: dlsym failed: invalid handle: 0x7379c16b
11-05 13:17:30.884  4179  4179 E android.hardware.camera.provider@2.4-service: Could not get passthrough implementation for android.hardware.camera.provider@2.4::ICameraProvider/legacy/0.
Nice!
I think that you should fix this line for dlopen error.(libHtcVteEngine.so is located /system/vendor/lib now.)
 
  • Like
Reactions: xangma

UltraM8

Senior Member
Jan 27, 2015
1,157
4,903
Moscow
Probably at some point, though my priority is the camera ...

Speaking of that, I have made some progress by adding a few lines to the device/htc/hima-common/hima.mk file and now I get this as an error, which I think I might be able to do something about. I think the important one was: 'android.hardware.camera.provider@2.4-service'

Code:
11-05 13:17:30.806  4179  4179 I android.hardware.camera.provider@2.4-service: Camera provider Service is starting.
11-05 13:17:30.807   415   415 W /system/bin/hwservicemanager: getTransportFromManifest: Cannot find entry android.hardware.camera.provider@2.4::ICameraProvider in either framework or device manifest, using default transport.
11-05 13:17:30.820  4179  4179 I vndksupport: sphal namespace is not configured for this process. Loading /vendor/lib/hw/camera.msm8994.so from the current namespace instead.
11-05 13:17:30.883  4179  4179 E HAL     : load: module=/vendor/lib/hw/camera.msm8994.so
11-05 13:17:30.883  4179  4179 E HAL     : dlopen failed: cannot locate symbol "_ZN7android13GraphicBufferC1Ejjij" referenced by "/system/vendor/lib/libHtcVteEngine.so"...
11-05 13:17:30.883  4179  4179 E CamProvider@2.4-impl.legacy: Could not load camera HAL module: -22 (Invalid argument)
11-05 13:17:30.883  4179  4179 E CamProvider@2.4-impl.legacy: HIDL_FETCH_ICameraProvider: camera provider init failed!
11-05 13:17:30.884  4179  4179 E /vendor/bin/hw/android.hardware.camera.provider@2.4-service: Passthrough lookup opened android.hardware.camera.provider@2.4-impl.so but could not find symbol HIDL_FETCH_ICameraProvider: dlsym failed: invalid handle: 0x7379c16b
11-05 13:17:30.884  4179  4179 E android.hardware.camera.provider@2.4-service: Could not get passthrough implementation for android.hardware.camera.provider@2.4::ICameraProvider/legacy/0.
So the older camera functions doesen't want to start on the new ones. Actually there were some problems when people were porting los14 too, maybe we need to contact with them.
 
  • Like
Reactions: xangma

xangma

Senior Member
May 15, 2008
437
59
Yeah thanks MirenK, I'll focus on that HTCvtc thing with libshims or whatever after (I'm not saying it's important or required, I'm just focusing on one error at a time). I'm just trying to get it to find the hidl definition in the device manifest at the moment. I've changed it to look like this hidl camera entry.

And thanks for the suggestions UltraM8. Keep 'em coming =] I had run out of things to try and was about to give up so all suggestions welcome!

EDIT: Ok, yeah, updating the libshims stuff to see if I can make that HAL error go away... and going back to passthrough from hwbinder because I feel that was a stupid change.
 
Last edited:
  • Like
Reactions: bubba1601

lucyr03

Senior Member
Dec 23, 2013
965
614
26
Constanța
I get this when trying to compile with your roomservice:
Code:
[ 99% 1119/1120] glob vendor/qcom/open...terfaces/display/config/1.0/Android.bp
ninja: error: '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes', missing and no known rule to make it
 

xangma

Senior Member
May 15, 2008
437
59
I get this when trying to compile with your roomservice:
Code:
[ 99% 1119/1120] glob vendor/qcom/open...terfaces/display/config/1.0/Android.bp
ninja: error: '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by '/home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes', missing and no known rule to make it

Yes, this is the audio error I didn't know how I fixed. I think I removed the audio caf repo from the roomservice (my one), synced the LOS15.0 one, then made the changes from my repo in the hardware/qcom/audio-caf folder or whatever. I reset the build environment variables and compiled again and it went away? Sorry I can't help more.

EDIT: Like I rm -rf ed the whole audio-caf folder and synced the LOS one and made my changes. Sorry I'm terrible at repo/git.
 
Last edited:

lucyr03

Senior Member
Dec 23, 2013
965
614
26
Constanța
Yes, this is the audio error I didn't know how I fixed. I think I removed the audio caf repo from the roomservice (my one), synced the LOS15.0 one, then made the changes from my repo in the hardware/qcom/audio-caf folder or whatever. I reset the build environment variables and compiled again and it went away? Sorry I can't help more.

EDIT: Like I rm -rf ed the whole audio-caf folder and synced the LOS one and made my changes. Sorry I'm terrible at repo/git.

I think I fixed with USE_CUSTOM_AUDIO_POLICY := 0
 
  • Like
Reactions: abu-mustafa

xangma

Senior Member
May 15, 2008
437
59
For people trying to debug camera errors, I've found the most useful ones are on the first boot jussssttt as the camera app disappears from the app tray. The ones when opening the camera are basically a continuation of the camera errors from it starting the cameraservice on boot.

Though I'm having the do a fresh build, as I'm unsure changes I made were being rebuilt =[
 

lucyr03

Senior Member
Dec 23, 2013
965
614
26
Constanța
And this error? :))
Code:
[  0% 136/39502] target thumb C++: hwc...af/msm8994/libhwcomposer/hwc_vsync.cpp
FAILED: /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.o 
/bin/bash -c "PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-3859424/bin/clang++ 	-I device/htc/hima-common/include -I hardware/qcom/display-caf/msm8994/libgralloc -I hardware/qcom/display-caf/msm8994/liboverlay -I hardware/qcom/display-caf/msm8994/libcopybit -I hardware/qcom/display-caf/msm8994/libqdutils -I hardware/qcom/display-caf/msm8994/libhwcomposer -I hardware/qcom/display-caf/msm8994/libhdmi -I hardware/qcom/display-caf/msm8994/libqservice -I /home/lucy/android/lineage/out/target/product/himaul/obj/KERNEL_OBJ/usr/include -I ./external/skia/include/core -I ./external/skia/include/images -I hardware/qcom/display-caf/msm8994/libhwcomposer -I /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I /home/lucy/android/lineage/out/target/product/himaul/gen/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I libnativehelper/include/nativehelper \$(cat /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -isystem frameworks/av/include -isystem /home/lucy/android/lineage/out/target/product/himaul/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/uapi -c  -fno-exceptions -Wno-multichar -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -DNDEBUG -g -Wstrict-aliasing=2 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/= -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -nostdlibinc -msoft-float -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a7 -D__ARM_FEATURE_LPAE=1 -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin  -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -fvisibility-inlines-hidden -std=gnu++14 -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing  -fno-rtti -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -Wno-sign-conversion -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DMDSS_TARGET -D__STDC_FORMAT_MACROS -DQTI_BSP -DLOG_TAG=\\\"qdhwcomposer\\\" -Wno-absolute-value -Wno-float-conversion -Wno-unused-parameter -DDYNAMIC_FPS -fPIC -D_USING_LIBCXX -DANDROID_STRICT   -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type   -MD -MF /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.d -o /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.o hardware/qcom/display-caf/msm8994/libhwcomposer/hwc_vsync.cpp"
hardware/qcom/display-caf/msm8994/libhwcomposer/hwc_vsync.cpp:119:5: error: use of undeclared identifier 'android_set_rt_ioprio'
    android_set_rt_ioprio(0, 1);
    ^
1 error generated.
[  0% 141/39502] target thumb C++: hwc...play-caf/msm8994/libhwcomposer/hwc.cpp
ninja: build stopped: subcommand failed.
21:58:42 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
make: Leaving directory '/home/lucy/android/lineage'

#### make failed to build some targets (01:46 (mm:ss)) ####
 

xangma

Senior Member
May 15, 2008
437
59
And this error? :))
Code:
[  0% 136/39502] target thumb C++: hwc...af/msm8994/libhwcomposer/hwc_vsync.cpp
FAILED: /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.o 
/bin/bash -c "PWD=/proc/self/cwd prebuilts/misc/linux-x86/ccache/ccache prebuilts/clang/host/linux-x86/clang-3859424/bin/clang++ 	-I device/htc/hima-common/include -I hardware/qcom/display-caf/msm8994/libgralloc -I hardware/qcom/display-caf/msm8994/liboverlay -I hardware/qcom/display-caf/msm8994/libcopybit -I hardware/qcom/display-caf/msm8994/libqdutils -I hardware/qcom/display-caf/msm8994/libhwcomposer -I hardware/qcom/display-caf/msm8994/libhdmi -I hardware/qcom/display-caf/msm8994/libqservice -I /home/lucy/android/lineage/out/target/product/himaul/obj/KERNEL_OBJ/usr/include -I ./external/skia/include/core -I ./external/skia/include/images -I hardware/qcom/display-caf/msm8994/libhwcomposer -I /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I /home/lucy/android/lineage/out/target/product/himaul/gen/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates -I libnativehelper/include/nativehelper \$(cat /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/import_includes)  -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I libnativehelper/include -I frameworks/native/include -I frameworks/native/opengl/include -isystem frameworks/av/include -isystem /home/lucy/android/lineage/out/target/product/himaul/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libc/kernel/android/uapi -c  -fno-exceptions -Wno-multichar -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -DNDEBUG -g -Wstrict-aliasing=2 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/= -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -nostdlibinc -msoft-float -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a7 -D__ARM_FEATURE_LPAE=1 -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin  -Wsign-promo -Wno-inconsistent-missing-override -Wno-null-dereference -fvisibility-inlines-hidden -std=gnu++14 -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing  -fno-rtti -DDEBUG_CALC_FPS -Wno-missing-field-initializers -Wconversion -Wall -Werror -Wno-sign-conversion -D__ARM_HAVE_NEON -DVENUS_COLOR_FORMAT -DMDSS_TARGET -D__STDC_FORMAT_MACROS -DQTI_BSP -DLOG_TAG=\\\"qdhwcomposer\\\" -Wno-absolute-value -Wno-float-conversion -Wno-unused-parameter -DDYNAMIC_FPS -fPIC -D_USING_LIBCXX -DANDROID_STRICT   -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type   -MD -MF /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.d -o /home/lucy/android/lineage/out/target/product/himaul/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8994_intermediates/hwc_vsync.o hardware/qcom/display-caf/msm8994/libhwcomposer/hwc_vsync.cpp"
hardware/qcom/display-caf/msm8994/libhwcomposer/hwc_vsync.cpp:119:5: error: use of undeclared identifier 'android_set_rt_ioprio'
    android_set_rt_ioprio(0, 1);
    ^
1 error generated.
[  0% 141/39502] target thumb C++: hwc...play-caf/msm8994/libhwcomposer/hwc.cpp
ninja: build stopped: subcommand failed.
21:58:42 ninja failed with: exit status 1
build/core/main.mk:21: recipe for target 'run_soong_ui' failed
make: *** [run_soong_ui] Error 1
make: Leaving directory '/home/lucy/android/lineage'

#### make failed to build some targets (01:46 (mm:ss)) ####

I included this commit mentioned here. Then I had that audio error you first encountered, but that was due to my terrible repo/git skills and not this commit, as this relates to the display-caf and not audio-caf.
 
Last edited:

Flyhalf205

Inactive Recognized Developer / Contributor
Oct 21, 2010
5,639
8,045
Birmingham, AL
flyhalf205.com
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 41
    24304779
    LineageOS is a free, community built, aftermarket firmware distribution of Android 8.1.0 (Oreo), which is designed to increase performance and reliability over stock Android for your device.

    Code:
    #include <std_disclaimer.h>
    
    /*
     * Your warranty is now void.
     *
     * We are not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at us for messing up your device, we will laugh at you.
     *
     */

    LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. You will need to provide your own Google Applications package (gapps). LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

    All the source code for Lineage OS is available in the LineageOS Github repo. And if you would like to contribute to Lineage OS, please visit our Gerrit Code Review. Your changelog is whatever was merged into gerrit.

    Instructions

    First time flashing Lineage OS 15.1 your device?
    Coming from a SENSE ROM?
    1. Enable all location services: Settings > Location > (all location services) = On
    Coming from another ROM?
    1. Download the zip(s).
    2. Install a compatible Recovery
    3. Perform a NANDroid backup of your current ROM (Optional)
    4. Wipe data & cache partitions of your device (required when coming from stock!).
    5. Flash LineageOS.
    6. Optional: Install the Google Apps addon package.

    Downloads

    Downloads
    AFH - https://androidfilehost.com/?w=files&flid=267579&sort_by=date&sort_dir=DESC

    Google Apps - http://opengapps.org/?arch=arm64&api=8.1&variant=nano

    TWRP Recovery - https://dl.twrp.me/hima/twrp-3.2.3-0-hima.img.html

    What is not working
    • Developers :)

    How to Build

    To setup the build environment, follow instructions here: https://wiki.lineageos.org/devices/himaul/build
    Remember to change cm-14.1 to lineage-15.1
    Create the direct and file .repo/local_manifests/roomservice.xml and add the following:

    <?xml version="1.0" encoding="UTF-8"?>
    <manifest>
    <project name="Claymore1297/android_device_htc_himawl" path="device/htc/himawl" remote="github" />
    <project name="Claymore1297/android_device_htc_himaul" path="device/htc/himaul" remote="github" />
    <project name="Claymore1297/android_device_htc_hima-common" path="device/htc/hima-common" remote="github" />
    <project name="Claymore1297/android_kernel_htc_msm8994" path="kernel/htc/msm8994" remote="github" />
    <project name="LineageOS/android_device_qcom_common" path="device/qcom/common" remote="github" />
    <project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
    <project name="Claymore1297/proprietary_vendor_htc" path="vendor/htc" remote="github" />
    <project name="LineageOS/android_packages_apps_FlipFlap" path="packages/apps/FlipFlap" remote="github" />
    </manifest>

    Things for successful builds:
    Code:
    cd <build LOS-root-dir>
    cd frameworks/av
    git fetch https://github.com/Claymore1297/android_frameworks_av lineage-15.1
    git cherry-pick b0bb4377d1163233b96b1ca55b0814d778f52569
    cd <build LOS-root-dir>
    cd hardware/qcom/audio-caf/msm8994
    git fetch https://github.com/Claymore1297/android_hardware_qcom_audio lineage-15.1-caf-8994	
    git cherry-pick 1e597fdbf233d361af1e6ca70ff69cb4c8d9cb73
    git cherry-pick 652740eadecfc29b31e9b11810187b195afdb2cd
    24
    just dropping this here ...:D
    20
    here are the download-links for my builds:

    himaul:
    https://drive.google.com/open?id=1xV8QVcMDEIwuXt9kXnZM6_vQDcEXd2vw
    md5sum: 4a483d4cc231d3e16b1deee9b153e7fa

    himawl:
    https://drive.google.com/open?id=1ZuUq_yQ_NceonneXXaKYrANkvTqtPdwe
    md5sum: dfbe02c65a3237ef1220dcf4ac664f95

    The following is not working/ are known bugs:
    1. video recording, due the hal1-problem. But there is a workaround use Footej Camera-App https://play.google.com/store/apps/details?id=com.footej.camera for video recording
    2. sometimes Whatsapp-Videos can't played. The workaround here is, to kill the app, then videos can be played
    3. last but not least device decryption is broken
    4. ... and Updater-App only works in my WLAN ;)

    This build supports (or should support) exfat, but I couln't test it yet.


    As mentioned before, this builds will be deleted immediately, as soon Flyhalf205 steps in.
    And I hope that I have not violated any XDA guidelines now...
    19
    #### New build is up!! ####

    the builds are containing mainly the following:
    -audio-issue which causes random reboots solved
    -panorama-mode in snap work properly
    -Kernel is patched to the highest patchlevel (EOL=End of Life) on 3.10, which is v3.10.108

    *due the audio-issue:
    this issue causes random reboots, while playing music with a player like the buildin eleven.
    This should be the same issue as the random reboots on bluetooth-connections

    I've updated the OP and you can find my builds in the AFH-Link.
    I've also updated the build instruction for the selfbuilders out there :)

    OK folks, lets talk about officials...
    LineageOS has a new charter, which should garantee several level of quality:
    https://github.com/LineageOS/charter/blob/master/device-support-requirements.md

    So, curently we are hitting this by 2 cases:
    1. hardware encryption:
    Yes, as reported below, hw-encryption works on this ROM, when the device is a himaulatt and has got the latest firmware (4.30.617.12). @nimbius: can you confirm this, or have you got an other firmware-version.
    I could not test this forther, because I was busy to solve the remaining issues on this ROM, to make it stable for everyone.
    If you want to help. you can try to encrypt and report here or PM me directly which device and firmareversion you are using and if it's working.
    We are not finished with this, and will try to solve this issue...

    2. video-recording/camcorder:
    the current solution of camcorder is not mergable and so this would be an other point we are hitting the charter. @root-expert (Maintainer of HTC One M8S) and I will try to find a better solution, but I can't say, if we will get success.

    So our current state is, that we can't get official, as long we can't solve the issues mentioned above.

    In my opinion the only difference to a official supported ROM is the following:
    - the ROM is not build on LineageOS-jenkins
    - ROM-files aren't signed
    - Updater don't work

    But I can ensure you ,I'll be here and support hima - because it's also my daily driver! So you don't have to worry about this!
    I'll be providing minimum 1 build in a month, so you get the latest ASB's.

    If it is important for you to have an official ROM, you have to switch to AICP - on which I'm one of the maintainers, and I can assure you
    the device codebase is 99% the same!
    So there is absolute no need for it.

    And just to clarify, when this would be an official ROM, the only one who would solve bugs on it or something like that, would be me (or the corresponding maintainer,
    as @Flyhalf205 did the last years) - exact as I do it right now!

    Enjoy!
    16
    !!New builds!!

    himaul:
    https://androidfilehost.com/?fid=890278863836284923

    himawl:
    https://androidfilehost.com/?fid=746163614322263976


    the builds are containing mainly the following:
    -May ASB's
    -Live display
    -CPU/GPU performance related adjustments