yashsingh1/xdaforums huggingface dataset:
[P3300, MDA Compact III ROM Development] krijger:
Maar waarom niet een engelse rom gebruiken? Het is net zo handig en de meeste mooie software is toch in engels.
[P3300, MDA Compact III ROM Development] TryOG:
Als je een beetje rond zou kijken en de "engelse zinnen"

van de nederlandse gebruikers op deze forum zou lezen,

zou je toch wel kunnen raden dat niet iedereen Engels gewend is :)

I'm just jokin' around kids... :D

But, really... I'm still waiting for a WM6.1 ROM with the Cube :)
[General Questions and Answers] Trasorv:
Hi everyone, does anyone know why I can not optimize battery usage for Google play services app ? This app draining very fast phone battery. I have made a screenshot for a better understanding . As you have seen "do not optimize battery usage" is already selected . Why I can't change this? I tried everything I knew including resetting to factory values , ​​I do not know what else to do. What can I do ? Thanks for a useful answer .

PS. My phone is a galaxy s5 sm-g 900f
[General Questions and Answers] James_Watson:
Unlike virtually every other app, Play Services is permanently set to "Not Optimized" by default in the Battery Optimization menu, and until now, there's nothing you could do about it unless you root your device and install the special Magisk module to enable Doze Mode. As we know, your device will be at risk if you have rooted it.

On the other hand, as for Google Play services consuming abnormal battery life, I think you can narrow it down pretty fast though!

https://us.community.samsung.com/t5...es-consuming-abnormal-battery-life/td-p/88429

Good luck to you.
[General Questions and Answers] Trasorv:
I think I understood, there is a few things that I can do and I will do, no doubt . Thanks for your support .
[Xiaomi Mi A1 Guides, News, & Discussion] DGEEEK:
Thanks bro..
[Xiaomi Mi A1 Guides, News, & Discussion] saski4711:
Thany you for this guide! Will try this!
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
:good:
[Xiaomi Mi A1 Guides, News, & Discussion] prabhjot-singh:
Thanks for guide, btw what's the size of source code ? :p
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Around 20-25GB I think
[Xiaomi Mi A1 Guides, News, & Discussion] saski4711:
Followed the above steps to the letter but I get an error right at the beginning:

ninja: error: 'kernel/xiaomi/msm8953/arch/arm64/configs/lineage_tissot_defconfig', needed by '/home/rossi/android/lineage/out/target/product/tissot/obj/KERNEL_OBJ/.config', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/rossi/android/lineage'

Current git broken? Any idea?
[Xiaomi Mi A1 Guides, News, & Discussion] black_arashi:
Hello,

Don't use that kernel, as actually don't work properly in Xiaomi Mi A1. This error is caused because the file "lineage_tissot_defconfig" it's not named like that, exactly it's name is "tissot_defconfig", for your first build with lineage I recommend you to use the following sources, because are adapt for Lineage. Don't forget to use superuser privileges to compile, it avoids a lot of possible errors with normal user.

Device tree

Vendor

Kernel

Give thanks to user [MENTION=5393309]ghpranav[/MENTION] for sources :good:

Regards
[Xiaomi Mi A1 Guides, News, & Discussion] saski4711:
Thanks for the info. I'm now past the error. Will take some time though since I'm building on my laptop :cyclops:
[Xiaomi Mi A1 Guides, News, & Discussion] black_arashi:
Between 3 to 5h in modern pc, probably you will need between 7 to 10h in a laptop, depends on Nº of Cores and RAM, anyway, good luck in your first compilation :good:
[Xiaomi Mi A1 Guides, News, & Discussion] saski4711:
Thx m8. Still no error. Compiling over night on single core to avoid throttling / overheating. :highfive:
[Xiaomi Mi A1 Guides, News, & Discussion] black_arashi:
Probably you will se a lot of "warning" don't apologice, it's normal, these warning issues is being solved during the compilation. Some info just in case :D
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Rename tissot_defconfig to lineage_tissot_defconfig in arch/arm64/configs
[Xiaomi Mi A1 Guides, News, & Discussion] -Rhoby|™-Bugs:
Nice share brotherr :good:

Keep mia1 like the sky full of stars, so many custom rom :highfive::laugh::D
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Thanks :)
[Xiaomi Mi A1 Guides, News, & Discussion] mparmpas122321:
Hello and thanks for the guide.

I am trying to build Dirty Unicorns 7.1.2 for tissot. I have downloaded kernel, vendor and device and repo synced DU n7x branch. I have also downloaded device_qcom_sepolicy and changed some files in device/xiaomi/tissot folder in order for the build to start normally. After 1.30 minutes of building i get this error

ninja: error: '/home/manoskav/du-tissot/out/target/product/tissot/obj/STATIC_LIBRARIES/bootctrl.msm8953_intermediates/export_includes', needed by '/home/manoskav/du-tissot/out/target/product/tissot/obj/EXECUTABLES/update_engine_sideload_intermediates/import_includes', missing and no known rule to make it
make: *** [build/core/ninja.mk:167: ninja_wrapper] Error 1

Maybe should i try n7x-caf branch or n7x is ok for tissot? Can anyone help me with the building process?

Thanks in advance.
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Hmm but seriously it's tougher bro because its bootctrl it need more configuration
[Xiaomi Mi A1 Guides, News, & Discussion] shubham8:
I tried building for Tissot but I'm having this issue.

Can anyone please help me out?
[Xiaomi Mi A1 Guides, News, & Discussion] DoR3M3:
[MENTION=5366227]black_arashi[/MENTION]

Oh so ghpranav's repo has LOS source added into it? If so is there any Android Stock for all these?

Thanks
[Xiaomi Mi A1 Guides, News, & Discussion] black_arashi:
Hello,

Yeah ghpranav's repo it's been built for LOS, but you can addapt it, just edit in the device tree the files circled in the images and add some files.

To know what you should edit and add just have a look at my device tree with the changes made to build XenonHD.

https://github.com/blackarashi/android_device_xiaomi_tissot_XenonHD/tree/cm-14.1

Regards
[Xiaomi Mi A1 Guides, News, & Discussion] DoR3M3:
[MENTION=5366227]black_arashi[/MENTION] how much would need to be changed to revert it back to Stock Device Tree?

Of course like everyone else we want bug fixes, but besides bug fixes, I am just trying to work with a Stock Device & Vendor Tree...

Also what Vendor Tree are you using?

THANKS
[Xiaomi Mi A1 Guides, News, & Discussion] shubham8:
Can anyone please help me out?
[Xiaomi Mi A1 Guides, News, & Discussion] black_arashi:
Hello,

What are you building? It's not normal to see that lot of "vendorsetup.sh", usually you will need one, two in some cases.

Also, I see a lot of different architecture(x86, x64) so you are not building for a specific device, you are trying to build differents devices at the same time.

Regards
[Xiaomi Mi A1 Guides, News, & Discussion] ivomin:
Just downloaded it and it takes exactly 43G
[Xiaomi Mi A1 Guides, News, & Discussion] atttoush:
[MENTION=5366227]black_arashi[/MENTION] [MENTION=6768248]arunassain[/MENTION] Can you do a guide for building twrp please? I'm trying to do build twrp, but I don't get where the Image.gz-dtb comes from (I'm guess it's the prebuilt kernel right?)
[Xiaomi Mi A1 Guides, News, & Discussion] ivomin:
Has anyone being able to run the build for a few days?

Just curious how it is... any issues....

It is still compiling for me (60%) and just want to be prepared what to expect.
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Yes it's prebuilt kernel u have to compile kernel and u will get Image.gz-dtb

I don't know about twrp building
[Xiaomi Mi A1 Guides, News, & Discussion] DoR3M3:
[MENTION=6768248]arunassain[/MENTION] address needs to be changed;

repo init -u https://github.com/LineageOS/android.git -b cm-14.1
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Yes I did but I don't know xda making that Android word missing
[Xiaomi Mi A1 Guides, News, & Discussion] DoR3M3:
[MENTION=6768248]arunassain[/MENTION] ok...

Besides the Lineage source, do you have the device and vendor tree sources specific for the Mi A1 to compile with this?

THANKS
[Xiaomi Mi A1 Guides, News, & Discussion] GamingDevilsCC:
Could I have a recommendation on what sources to use for 8.1, too many different sources for the 8.1 device trees for tissot. I wanna get building a new rom and tweak the kernel to optimize battery and change a line of code to speed up the fast charge!
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Hmm wait for Oreo trees it will be released soon
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Yes I have for nougat see the post
[Xiaomi Mi A1 Guides, News, & Discussion] DoR3M3:
[MENTION=6768248]arunassain[/MENTION]

Sorry I wasn't clear have a look at;

https://github.com/arunassain/android_device_xiaomi_tissot/blob/lineage-15.1/BoardConfig.mk

Line 214-216;

# SELinux

include device/qcom/sepolicy/sepolicy.mk

BOARD_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy

lineage.dependencies

https://github.com/arunassain/android_device_xiaomi_tissot/blob/lineage-15.1/lineage.dependencies

[

{

"repository": "android_device_qcom_common",

"target_path": "device/qcom/common"

},

]

I've been looking to see if anyone had device/qcom I'm working with AOSP and it doesn't come with it, so my understanding it has to be taken from the original rom...
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Don't try my Oreo tree its still having bugs

Clone device/qcom/common from lineage repo
[Xiaomi Mi A1 Guides, News, & Discussion] DoR3M3:
[MENTION=6768248]arunassain[/MENTION]

I've looked at the LOS trees before. Have these been changed in anyway to only work for LOS, or can I use them for the Stock Nougat AOSP?

I also need the sepolicy so would these both work for the common and sepolicy?

https://github.com/LineageOS/android_device_qcom_common/tree/cm-14.1

https://github.com/LineageOS/android_device_qcom_sepolicy/tree/cm-14.1

Android.mk should line 6 be uncommented?

https://github.com/LineageOS/android_device_qcom_sepolicy/blob/cm-14.1/Android.mk

Thanks
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Clone sepolicy from lineage repo

Yes it will work for both aosp and lineage

But still some ROM not supporting A/B partition for Nougat like slim ROM, omni ROM So wait for Oreo tree and try it
[Xiaomi Mi A1 Guides, News, & Discussion] DoR3M3:
[MENTION=6768248]arunassain[/MENTION] ok...

I'm still having bloody problems, so I sent you a message.

Thanks
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Yes error is because of A/B partition so try other ROMs because source is not updated for this device right now in Nougat or else clone some repo from lineage about bootable/recovery and hardware/qcom/bootctrl Oreo is supported smoothly

So leave Nougat :)

Thanks
[Xiaomi Mi A1 Guides, News, & Discussion] DoR3M3:
[MENTION=6768248]arunassain[/MENTION] I just wanted to build Stock AOSP without all the Gapps, Nougat runs good for me.

I cloned LOS bootable/recovery and hardware/qcom/bootctrl and added them to the source, and compiled over, I still get the same ninja error message;

https://xdaforums.com/mi-a1/help/private-recovery-resources-targetdevice-t3763830
[Xiaomi Mi A1 Guides, News, & Discussion] mparmpas122321:
I was getting the same error while trying to build dirty Unicorns 7.1.2. I think some more hardware/qcom/ folders are needed as LOS uses more than those you described but i haven't tried yet.
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Yes its because of A/B partition try this

Go to hardware/qcom/bootctrl and

Nano android.mk

& add msm8953 to filter

If its not workings then try prebuilt bootctrl

https://github.com/arunassain/android_device_xiaomi_tissot/tree/lineage-15.1/bootctrl

Or else go for Oreo
[Xiaomi Mi A1 Guides, News, & Discussion] Mukesh kalaga:
Thanks the fix for low ram devices helped me alot
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Leave nougat bro because all nougat ROM sources are dropped just move on to Oreo
[Xiaomi Mi A1 Guides, News, & Discussion] mparmpas122321:
I just wanted to get started with rom building etc. Nothing special.
[Xiaomi Mi A1 Guides, News, & Discussion] DoR3M3:
[MENTION=6768248]arunassain[/MENTION]

I hear ya... :)

I want to compile AOSP, so I'm wondering if I'm going to just run into the same problems, even if I compile Oreo AOSP source?

These trees of yours I should use?

https://github.com/arunassain/android_device_xiaomi_tissot

https://github.com/arunassain/android_vendor_xiaomi_tissot

https://github.com/arunassain/kernel_xiaomi_tissot-o

But Xiaomi released the Oreo Kernel Tree, so better to get this instead?

https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/tissot-o-oss

I just flashed stock Oreo back and with the Feb. update it is on OPR1.170623.026.

So I'm assuming I should repo init -u https://android.googlesource.com/platform/manifest -b android-8.0.0_r7 ??

https://source.android.com/setup/build-numbers#source-code-tags-and-builds

THANKS
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
My Oreo tree is not stable and wait for sometime to get stable tree and manifest updated I think use android-8.1.0_r18

Thanks:)
[Xiaomi Mi A1 Guides, News, & Discussion] DoR3M3:
[MENTION=6768248]arunassain[/MENTION], oh man after all this excitement, now I have to wait... LOL ;)

I'm assuming someone will make a post on XDA letting everyone know there's stable trees?

Thanks
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Yes I will update this thread to Oreo tree
[Xiaomi Mi A1 Guides, News, & Discussion] DoR3M3:
[MENTION=6768248]arunassain[/MENTION] thanks :)
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Guys trees have been updated to Oreo

Thanks:)
[Xiaomi Mi A1 Guides, News, & Discussion] saski4711:
So the trees have been updated great. Can I use them to build LOS 15.1 from source? The guide still says to clone the cm-14.1 branch. Shouldn't this be updated to -b Lineage-15.1 to align with the oreo trees? ;)

repo init -u https://github.com/LineageOS/android.git -b lineage-15.1
[Xiaomi Mi A1 Guides, News, & Discussion] DoR3M3:
[MENTION=6768248]arunassain[/MENTION] thanks for updating this, but could you also please update this to include compiling from AOSP, not Lineage?

repo init --depth 1 -u https://android.googlesource.com/platform/manifest -b android-8.0.0_r7

OPR1.170623.026 is what is shown on my phone for Oreo...

Thanks
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
U have to clone this repo

git clone https://github.com/LineageOS/android_packages_resources_devicesettings.git -b lineage-15.1 packages/resources/devicesettings
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Yeah I missed now updated
[Xiaomi Mi A1 Guides, News, & Discussion] saski4711:
Thx m8 one obsticale down =). Can I ask one more time for help plz? Because now I'm running into another nasty error and I don't have the slightest Idea where to look for the cause:

[ 88% 88154/100145] Dexpreopt Jar: ethernet-service (/mnt/extended2/android/lineage-...uct/tissot/obj/JAVA_LIBRARIES/ethernet-service_intermediates/oat/arm64/javalib.odex)
FAILED: /mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/JAVA_LIBRARIES/ethernet-service_intermediates/oat/arm64/javalib.odex
/bin/bash -c "(rm -f /mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/JAVA_LIBRARIES/ethernet-service_intermediates/oat/arm64/javalib.odex ) && (mkdir -p /mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/JAVA_LIBRARIES/ethernet-service_intermediates/oat/arm64/ ) && (ANDROID_LOG_TAGS=\"*:e\" /mnt/extended2/android/lineage-15.1/out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx512m --class-loader-context=\"&\" --boot-image=/mnt/extended2/android/lineage-15.1/out/target/product/tissot/dex_bootjars/system/framework/boot.art --dex-file=/mnt/extended2/android/lineage-15.1/out/target/common/obj/JAVA_LIBRARIES/ethernet-service_intermediates/javalib.jar --dex-location=/system/framework/ethernet-service.jar --oat-file=/mnt/extended2/android/lineage-15.1/out/target/product/tissot/obj/JAVA_LIBRARIES/ethernet-service_intermediates/oat/arm64/javalib.odex --android-root=/mnt/extended2/android/lineage-15.1/out/target/product/tissot/system --instruction-set=arm64 --instruction-set-variant=cortex-a53 --instruction-set-features=default --runtime-arg -Xnorelocate --compile-pic --no-generate-debug-info --generate-build-id --abort-on-hard-verifier-error --force-determinism --no-inline-from=core-oj.jar --compiler-filter=speed --generate-mini-debug-info )"
dex2oatd F 03-29 08:57:59 15096 15096 utils.cc:762] ANDROID_DATA not set and /data does not exist
Runtime aborting...

ANDROID_DATA is supposed to be set by the environment. I don't understand. The build environment seems ok since I can build Lineage-14.1 just fine :(

Any ideas?
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Pick these commit

https://github.com/Cosmic-OS/platform_build/commit/9013d05ace54ad08a3d9fe884ee12b34485d2a5e

https://github.com/Cosmic-OS/platform_build/commit/2860e7c4d91511796a28a66e24baf8e942c9851a
[Xiaomi Mi A1 Guides, News, & Discussion] saski4711:
THANK YOU SOOO MUCH! I was about to give up but now the image builds w/p errors. Flashing went well too so far.

Say where did you get that information to patch the target configuration and to checkout an aditional device-config tree? I youldn't find that anywhere. Is there a Thread on XDA or somewhere else I missed? Anyway thanks again for the swift help! :highfive:
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
U need to see other ROM sources repo and they have specific config tree
[Xiaomi Mi A1 Guides, News, & Discussion] fosseperme:
i m tring a build AOSP for tissot and receive many errors durings compilation from out folders. The latest is

ninja: error: 'NOTICE-HOST-STATIC_LIBRARIES-libcompiler_rt-extras', needed by '/home/tony/pn/out/host/linux-x86/bin/mkbootfs', missing and no known rule to make it

22:24:27 ninja failed with: exit status 1

How resolve it?
[Xiaomi Mi A1 Guides, News, & Discussion] DoR3M3:
If you're building off the LOS source, I think you're going to have troubles.

Try using the AOSP Extended Trees;

https://github.com/AospExtended-Devices

And then the actual Android source;

repo init --depth 1 -u https://android.googlesource.com/platform/manifest -b android-8.0.0_r7
[Xiaomi Mi A1 Guides, News, & Discussion] GamingDevilsCC:
I am currently building NitrogenOS for Tissot, however it's not being able to find the boardconfig.mk thats inside of the device source.

ubuntu@Compiler:~/nitrogen$ . build/envsetup.sh && lunch nitrogen_tissot-userdebug

including device/oneplus/oneplus3/vendorsetup.sh

including device/xiaomi/kenzo/vendorsetup.sh

including device/xiaomi/tissot/vendorsetup.sh

including sdk/bash_completion/adb.bash

build/core/envsetup.mk:223: *** No config file found for TARGET_DEVICE tissot generic. Stop.

ubuntu@Compiler:~/nitrogen$

Inside of the code for envsetup.mk:223

SDK_HOST_ARCH := x86

# Boards may be defined under $(SRC_TARGET_DIR)/board/$(TARGET_DEVICE)
# or under vendor/*/$(TARGET_DEVICE). Search in both places, but
# make sure only one exists.
# Real boards should always be associated with an OEM vendor.
board_config_mk := \
$(strip $(sort $(wildcard \
$(SRC_TARGET_DIR)/board/$(TARGET_DEVICE)/BoardConfig.mk \
$(shell test -d device && find -L device -maxdepth 4 -path '*/$(TARGET_DEVICE)/BoardConfig.mk') \
$(shell test -d vendor && find -L vendor -maxdepth 4 -path '*/$(TARGET_DEVICE)/BoardConfig.mk') \
)))
ifeq ($(boardconfig_mk),)
$(error No config file found for TARGET_DEVICE $(TARGET_DEVICE))
endif

Help?
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
SOLVING MISSING TARGET AND NO RULE TO MAKE IT ERRORS

1. Figure out what the module is. You do this by taking what's between the "/" and "_intermediates".

2. Find out what module requires it, as this means that there is a shared library or dependency that you are missing. You can do this via mgrep after using build/envsetup.sh. Example:

mgrep "<modulenamefromstep1>"

3. Figure out what repo it is by using source from another ROM that you know works. Same thing as step 2 BUT you need to find the actual local module.

mgrep "LOCALMODULE := <modulenamefromstep_1>"

After that, add the repo to your dependencies or local manifest and try again.
[Xiaomi Mi A1 Guides, News, & Discussion] JaiKK:
I want to make a 8.1 ROM that would be as close to stock as possible. How to do it? So far all I could find that I can use CAF sources and also xiaomi has uploaded oreo sources for A1. So I want to use these 2 sources only. Can someone please help? Where do I start?
[Xiaomi Mi A1 Guides, News, & Discussion] sdeft:
When building for Oreo LOS or RR don't we need to used a device common tree for msm8953 as well like the below ?

https://github.com/TheScarastic/android_device_xiaomi_msm8953-common/commits/lineage-15.1

I am asking as when I was building for LG G3 I was using a g3-common device tree.
[Xiaomi Mi A1 Guides, News, & Discussion] black_arashi:
Depend on, as you can see, the attached tree has a common path, but, for the other, example the TeamOreo tree for RR, there is no common path, it's because it comes all include in the device tree path, without the needing for an external one, but in the end, it's all the same, you can use both.
[Xiaomi Mi A1 Guides, News, & Discussion] sdeft:
Clear:). One other thing. In nougat I was not building with NINJA as it was slow to build, had export USE_NINJA=false.

With oreo although I have this in my envrironment it is still building with NINJA. Seems this is overridden somewhere. Is there another way of disabling NINJA ?
[Xiaomi Mi A1 Guides, News, & Discussion] contactwajeeh:
Hello everyone,

Please help I am getting the following error towards the end of the compilation process it ran for 5 hrs+ as you can see.

/root/lineage/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/icu/util/ChineseCalendar.java:2: error: unmappable character for encoding UTF-8
// ? 2016 and later: Unicode, Inc. and others.
^
/root/lineage/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/icu/util/JapaneseCalendar.java:2: error: unmappable character for encoding UTF-8
// ? 2016 and later: Unicode, Inc. and others.
^
/root/lineage/out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/android/icu/util/RangeValueIterator.java:2: error: unmappable character for encoding UTF-8
// ? 2016 and later: Unicode, Inc. and others.
^
81 errors
[ 88% 88265/99365] //frameworks/compil... header-abi-linker libbcinfo.so.lsdump
ninja: build stopped: subcommand failed.
03:52:15 ninja failed with: exit status 1

#### failed to build some targets (05:22:03 (hh:mm:ss)) ####

btw I am building LOS, with instructions from the OP. [MENTION=6768248]arunassain[/MENTION] please help me with any inputs you may have in regards to this error.
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
Have you installed required packages which is posted in the thread because you are missing something
[Xiaomi Mi A1 Guides, News, & Discussion] contactwajeeh:
Appreciate your help.

I got this sorted out, need to rebuild the server with 14.04 initially was using the 16.04. The build finished and now I am preparing to test it out and see if it works.

It worked absolutely fine, thanks so much for this guide.
[Xiaomi Mi A1 Guides, News, & Discussion] contactwajeeh:
It would be great if you can add instructions on how to do subsequent builds after the first one.
[Xiaomi Mi A1 Guides, News, & Discussion] arunassain:
No I can't do it u have to figure it out yourself

This thread for just reference and how to start initially
[Xiaomi Mi A1 Guides, News, & Discussion] TheButti:
Hope

Gonna Use This..

Fingers Crossed !
[Xiaomi Mi A1 Guides, News, & Discussion] LilBlinx:
Check lineage.dependencies. You'll need android_device_qcom_common to be cloned also if you want to get double touch 2 wake and performance monitor working.

git clone https://github.com/LineageOS/android_device_qcom_common.git -b lineage-15.1 device/qcom/common