yashsingh1/xdaforums huggingface dataset:
[Android] DiamondJohn:
I have been looking at an init.*.rc file for my device (specifically init.qcom.rc on https://github.com/kyasu/android_device_samsung_ks01ltexx/blob/lineage-15.1/rootdir/etc/init.qcom.rc). One thing I have noticed is that it references many paths/files which do not exist.

The one which is confusing me the most, I have found on 3 other devices. the following is the excerpt for example (around line 110):

# DRK permission
mkdir /efs/prov 0770 radio system
chown radio system /efs/prov/libdevkm.lock
chmod 0660 /efs/prov/libdevkm.lock

So, reading this to me it translates to (in English):

make the directory /efs/prov

change the owner of the file /efs/prov/libdevkm.lock

change the permission on the file /efs/prov/libdevkm.lock

However, logically to me :cyclops:, simply by creating the directory, it is assuming that the file "libdevkm.lock" magically appears in the newly created directory :silly: I have checked on a booted device, and this file does not exist. I could maybe understand if a service or another boot process creates the file, but assuming the file to exist a few micro seconds after creating the path seems a bit of a reach, And the booted device appears to agree with me; ie the file is not even there a boot completed. As I said, these same lines are in three other devices I checked.:confused:

Am I missing something?
[Android] TimSchumi:
You might want to try and target an API level (with your app) that doesn't support runtime permissions. That way, Android should fall back to the old permissions-on-installation way of handling those things. Alternatively, try making it a system app (at build time) and sign it with the platform keys.
[Android] RickySplashHD:
Hi,

Where can I obtain proprietary files for my Wiko View? I'm trying to compile a 9.0 AOSP-based ROM, but I can't find anything online.

Aaand sorry for the dumb question :p
[Android] eccko:
On github.
[Android] RickySplashHD:
On GitHub there isn't nothing for my device. But there are 2 repos for another device, that for what I saw it's similar (or identical too) to mine. Tinno bought Wiko last year, so maybe they can be useful. Here are the links.

Device compared: https://www.devicespecifications.com/en/comparison/5e37d2e7f

Android device for similar device: https://github.com/TINNO-8937/android_device_micromax_hs2

Proprietary vendor for similar device:

https://github.com/TINNO-8937/proprietary_vendor_tinno

So can I use them for my device?
[Android] eccko:
You can TRY. But always you can find any rom for this device Micromax Canvas Infinity and port them. ;)
[Android] RickySplashHD:
For the port: isn't port only possible between same version rom? ex. 7.1 to 7.1. What I am trying to achieve is to upgrade my device to 9.0. (From what I know)

For the compile: Now I only miss the kernel. Any advice? Do I need that for my device or the latest one?
[Android] eccko:
Fitrst question, Porting is only rom 6.0 to 6.0 not from 6.0 to 9.0.

Second question, I didin't find any kernel repositories. As you can see on XDA there is 0 roms for Micromax Canvas Infinity - https://xdaforums.com/t/micromax-canvas-infinity

Also you cannot use this propert vendor (https://github.com/TINNO-8937/proprietary_vendor_tinno), there is msm8937 and you have msm8917. Addidtional there is only branch cm-14.1 - android 7.1.2.

https://www.devicespecifications.com/en/comparison/5e37d2e7f

You have to find device with same Processor - msm8917 snapdragon 425 and for better SAME RESOLUTION and same GB of RAM. Then this maybe something we can do. :)
[Android] RickySplashHD:
So the device tree is correct or I need to change that too? Oh man, this is more complicated that I thought! (and I like it :D)

Anyway, for vendor and kernel is there a way to "get them from my current rom"? Any other way is accepted too.
[Android] eccko:
To make it easier, you just need to find a device that is similar or nearly identical to yours. There is no need to complicate matters, just find a simple exit. ;)

I find a HUGE list of smartphones who using Snapdragon 425 (msm8917) I pretty sure, you there find a similar device to your - https://www.kimovil.com/en/list-smartphones-by-processor/qualcomm-snapdragon-425-msm8917

If you've already found a device, I'd be happy to help you with the ROM porting for your Wiko View. :)
[Android] RickySplashHD:
Oh yeah, thank you dude! Where can we talk?

I think the Xiaomi Redmi 5A can be a nice one to start with. It has got same Soc, but different RAM, and screen resolution. The reason I choosed this one is because someone already developed a 9.0 Rom (https://xdaforums.com/xiaomi-redmi-5a/development/rom-carbonbeta-cr-7-0-t3830374). I don't know if this can be useful.

The most similar to mine is the Huawei Y6 2018, with same Soc, RAM and screen resolution.

What should we use for porting? Thanks again for helping me. :o
[Android] deve678:
You can use Honor Y6 for porting as it is more similar to yours as you don't want to do complicated.
[Android] eccko:
You can use this easy tutorial - https://alpharom.blogspot.com/p/how-to-port-any-roms-for-qualcomm.html

If you get any trouble, I'm here to help you.
[Android] Yogesh1969:
No Device tree

Hi,

Can I use a similar-cpu Device Tree for my Device ?

If not, then how to make a new Device/Kernel/Vendor Tree For my Device.

I want to make a rom for Nougat/Oreo

Some basic doubts:

1. If we are building a AOSP with any version, then is it necessary to have the device tree(source code) already existing earlier .

( my device Swipe Elite Max,(qualcomm 8937), does not have any tree)

2. Can I download from Android source? If so how to select the correct one from it ? What should I modify /add from my device.

3. Same about Kernel and Vendor source tree.

Note: I ported Lineage Rom(Android 6) for Redmi 3s to my device but it has camera and wifi problems.
[Android] Not_James_Bond:
Lenovo Z2 Plus(z2_plus)

POSP ( https://github.com/PotatoProject )

DT ( https://github.com/davidevinavil/android_device_zuk_z2_plus)

KT ( https://github.com/DD3Boh/android_kernel_zuk_msm8996)

VT ( https://github.com/davidevinavil/android_vendor_zuk)

CT ( https://github.com/zuk-devs/android_device_zuk_msm8996-common)

https://del.dog/pupiqepave.makefile

I'm getting this error.
[Android] smart-t78:
EDIT: wrong commit
[Android] eccko:
Hello, I get very annoying error at the very end while I try to build Aosp Extended (Android Pie) for ks01ltexx.

FAILED: /home/vps2k2018/aosp/out/target/product/ks01ltexx/aosp_ks01ltexx-ota-e4b0e05ced.zip
/bin/bash -c "PATH=/home/vps2k2018/aosp/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/home/vps2k2018/aosp/out/host/linux-x86/bin/mkbootimg build/make/tools/releasetools/ota_from_target_files -v --block --extracted_input_target_files /home/vps2k2018/aosp/out/target/product/ks01ltexx/obj/PACKAGING/target_files_intermediates/aosp_ks01ltexx-target_files-e4b0e05ced -p /home/vps2k2018/aosp/out/host/linux-x86 -k build/target/product/security/testkey --backup=true /home/vps2k2018/aosp/out/target/product/ks01ltexx/obj/PACKAGING/target_files_intermediates/aosp_ks01ltexx-target_files-e4b0e05ced.zip /home/vps2k2018/aosp/out/target/product/ks01ltexx/aosp_ks01ltexx-ota-e4b0e05ced.zip"
Warning: could not read VENDOR/build.prop

Also here FULL ERROR - https://pastebin.com/2LH7yCEw
[Android] RickySplashHD:
I'm trying to compile a Rom for my Wiko Pulp 4G (l5421) and I found this website which offers to download all Wiko's device sources.

Is there something I can do with that? It looks pretty strange (and I can't found the "vendor" folder too).

This is the main folder structure.
[Android] savsir:
Any solution?
[Android] pix106:
Hi,

some build error i need help with :

Rom : RR-marshmallow (with modified manifest to use RR versions of some repositories that are referenced in manifest but removed from https://github.com/HridayHS)

device tree

Log

From what i saw, problems start with

cp: cannot stat ‘/src/android/out/rr-marshmallow/target/product/Tab2A710F/obj/SHARED_LIBRARIES/libclcore.bc_intermediates/ll32/allocation.d’: No such file or directory

and end with

make: *** No rule to make target `/src/android/out/rr-marshmallow/target/common/obj/JAVA_LIBRARIES/play_intermediates/classes.jack', needed by `/src/android/out/rr-marshmallow/target/common/obj/APPS/LockClock_intermediates/with-local/classes.dex'. Stop.

Thanks for any suggestion :)
[Android] sheepkill15:
Looking at the log, I can suggest you two things: try running the build command as root and make sure jack is installed.
[Android] pix106:
Thanks.

I'll try as root, but if you thought about it because of the first lines, /obj is created soon after.

For jack, how to check it ? Isn't part of the source, and wouldn't an error pop sooner ?

I can build lineage 13 (not working but build succeeds) with the same docker container, only RR gives me this error.
[Android] sheepkill15:
Yes, for the root I saw the Permission denied text so that's why I suggested it.

Almost the last line of log is that classes.jack is needed and that's Jack itself, so that's why I suspected.

Try jack-admin stop-server

and jack-admin uninstall-server // jack-admin install-server

If I recall correctly, those are the commands.
[Android] pix106:
You're probably right, i dont have these commands... I have to find how to install it.

Thanks
[Android] sheepkill15:
Maybe you should start looking in prebuilts/sdk/tools if it's there.

If it's there, run export PATH=$PATH:~/myandroid/prebuilts/sdk/tools
[Android] savsir:
ninja: error: '/home/savsr/Raxas/out/target/product/sagit/obj_arm/SHARED_LIBRARIES/libmemalloc_intermediates/export_includes', needed by '/home/savsr/Raxas/out/target/product/sagit/obj_arm/SHARED_LIBRARIES/hwcomposer.msm8998_intermediates/import_includes', missing and no known rule to make it

00:51:31 ninja failed with: exit status 1

Sagit havoc build. Any solution?
[Android] pix106:
it is indeed there.

I've added it to PATH, added a few other environment variables, kill/start jack server... and still the same errors.

But I realized that the package on which build fails (LockClock) is from one of the repositories that "used to be officialy forked but are not available anymore on the author's github and i had to use base RR version"... maybe it's related too ?

Maybe someone know something about those RR Marshmallow forked repositories ?
[Android] smart-t78:
you can fork the repo from my github.

https://github.com/smartT78/android_packages_apps_LockClock

its a fork of the last official 6.0.1 rr-source updated by hridayhs.
[Android] deve678:
Can any one point me to the kernel source code of GT S7562 (Samsung Galaxy S Duos)

Not GT S7560
[Android] sheepkill15:
https://github.com/V4MSHI/S7562_kernel

https://github.com/KlinkOnE/android_kernel_kyleoc2

These are what I have found
[Android] deve678:
Can i use this to build Slimkat rom
[Android] danon.brown:
Unix\Linux and coding isn't for everyone. A VM is perfect for beginning. Everyone has to start some where.
[Android] fizbanrapper:
Exactly. Two years ago I hadn't yet bought my first smartphone and I hadn't ever used Linux.

Fast forward to today and I've compiled about a dozen different ROMs, built my own custom kernel, have a dedicated Linux build box, and I'm about to set up Jenkins to automate nighties.

None of this would have happened without VB and this guide. It gave me the confidence I needed to abandon Windows.

I don't mean to sound boastful though. I've got a ton left to learn. I haven't written any original code yet, so I wouldn't even call myself a developer. Not far off at this rate, but well behind thousands of the great minds at xda.
[Android] jaymillajay:
linux OP's

Well thanks a will be using linux... which of linux OP's you must recommenced for me to use.
[Android] commencal661:
If it's your first time on Linux go for Ubuntu.
[Android] CV01:
Hello.

I'm trying to build CM 12 for my SGS4 (i9500).

I'm getting this error:

$ breakfast i9500
including vendor/cm/vendorsetup.sh
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/i9500/cm.mk]]: "vendor/cm/config/gsm.mk" does not exist. Stop.
Device i9500 not found. Attempting to retrieve device repository from CyanogenMod Github (http: / / github.com / CyanogenMod). #IN OROGINAL THERE IS NO SPACES. Spaces added, because there is a link to GitHub
Found repository: android_device_samsung_i9500
Default revision: cm-12.0
Checking branch info
CyanogenMod/android_device_samsung_i9500 already exists
Syncing repository to retrieve project.
Fetching project CyanogenMod/android_device_samsung_i9500
Fetching projects: 100% (1/1), done.

Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:239: *** _nic.PRODUCTS.[[device/samsung/i9500/cm.mk]]: "vendor/cm/config/gsm.mk" does not exist. Stop.

** Don't have a product spec for: 'cm_i9500'
** Do you have the right repo manifest?

Can you help?
[Android] :
need help

I need help

I build for ks01lte and I get the error

0/0 dependencies (0.00%) were violated; 0 source blocks removed.
Reticulating splines...
using prebuilt boot.img from IMAGES...
boot size (7630848) is 36.39% of limit (20971520)
running: openssl pkcs8 -in build/target/product/security/testkey.pk8 -inform DER -nocrypt
running: java -Xmx2048m -jar /home/jonathan/cm12v1/out/host/linux-x86/framework/signapk.jar -w build/target/product/security/testkey.x509.pem build/target/product/security/testkey.pk8 /tmp/tmpG7FLhc /home/jonathan/cm12v1/out/target/product/ks01lte/cm_ks01lte-ota-b27f236c68.zip
done.
ln: failed to access ‘/home/jonathan/cm12v1/out/target/product/ks01lte/cm_ks01lte-ota-b27f236c68.zip’: No such file or directory
make: *** [bacon] Error 1

real	13m50.541s
user	11m11.536s
sys	1m23.955s
jonathan@jonathan-Aspire-5750:~/cm12v1$
[Android] fizbanrapper:
Yep. Ubuntu has the most users and has a friendly UI. There is not a consensus on which is the best distro for advanced users, but everyone seems to agree that ubuntu is where one should start.
[Android] jaymillajay:
Starting

Ok i will be using it am setting up it now on my computer and give me a idea where a should start or some project that a can develop.:)
[Android] MuS3SbElLaMy:
I'm trying to compile AOSPA-Legacy and keep hitting a wall i've got past a few but this current problem i have i can't find a solution

This is the error

build/core/binary.mk:617: recipe for target '/home/musesbellamy/PA/system/out/target/product/d855/obj/SHARED_LIBRARIES/libmedia_jni_intermediates/android_mtp_MtpDatabase.o' failed
make: *** [/home/musesbellamy/PA/system/out/target/product/d855/obj/SHARED_LIBRARIES/libmedia_jni_intermediates/android_mtp_MtpDatabase.o] Error 1
make: *** Waiting for unfinished jobs....

from what i can work out this means somewhere along the line there is a problem with line 617 of that binary.mk but i can see no obvious problems so i was hoping someone with a bit more knowledge than me could suggest what could be causing it

here is the code in question in red

ifneq ($(strip $(cpp_objects)),)
$(cpp_objects): $(intermediates)/%.o: \
$(TOPDIR)$(LOCAL_PATH)/%$(LOCAL_CPP_EXTENSION) \
$(yacc_cpps) $(proto_generated_headers) \
$(LOCAL_ADDITIONAL_DEPENDENCIES) \
| $(my_compiler_dependencies)
[COLOR="Red"]$(transform-$(PRIVATE_HOST)cpp-to-o)[/COLOR]
-include $(cpp_objects:%.o=%.P)
endif

hopefully
[Android] jgcaap:
having something similer. I changed kernel source , and i cant make builds with it.

/home/jgcaap/rom/kernel/oneplus/msm8974/drivers/cpufreq/cpufreq.c: In function 'cpufreq_register_driver':
/home/jgcaap/rom/kernel/oneplus/msm8974/drivers/cpufreq/cpufreq.c:2251:28: error: 'CONFIG_MSM_CPU_FREQ_MIN' undeclared (first use in this function)
/home/jgcaap/rom/kernel/oneplus/msm8974/drivers/cpufreq/cpufreq.c:2251:28: note: each undeclared identifier is reported only once for each function it appears in
/home/jgcaap/rom/kernel/oneplus/msm8974/drivers/cpufreq/cpufreq.c:2252:28: error: 'CONFIG_MSM_CPU_FREQ_MAX' undeclared (first use in this function)
/home/jgcaap/rom/kernel/oneplus/msm8974/scripts/Makefile.build:307: recipe for target 'drivers/cpufreq/cpufreq.o' failed
make[4]: *** [drivers/cpufreq/cpufreq.o] Error 1
make[4]: *** Waiting for unfinished jobs....
target R.java/Manifest.java: Gallery2 (/home/jgcaap/rom/out/target/common/obj/APPS/Gallery2_intermediates/src/R.stamp)
/home/jgcaap/rom/kernel/oneplus/msm8974/scripts/Makefile.build:443: recipe for target 'drivers/cpufreq' failed
make[3]: *** [drivers/cpufreq] Error 2
/home/jgcaap/rom/kernel/oneplus/msm8974/Makefile:965: recipe for target 'drivers' failed
make[2]: *** [drivers] Error 2
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/jgcaap/rom/kernel/oneplus/msm8974'
build/core/tasks/kernel.mk:216: recipe for target 'TARGET_KERNEL_BINARIES' failed
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
warning: string 'saved' has no default translation.

been trying to figure out but as been hard , if anyone has an idea would be a blast..
[Android] mohit310:
Your default kernel defconfig is not initialized correctly.. What kernel you trying to compile
[Android] MuS3SbElLaMy:
when ive had that in the past its been down to a custom toolchain
[Android] jgcaap:
yeah i see i solved this by luck the other time... using chris tool chains. So anoying xD Lol
[Android] mohit310:
Since you changed the kernel source it will have a different defconfig setting.

Check kernel doc
[Android] shmshd12:
Heyy guys,

Someone help me here...repo sync stopped here (see attached screen)!!! I dont know what to do!! I waited for long 3 hours!! Still there where no change!!
[Android] DSA:
Cancel the sync and start again
[Android] shmshd12:
WTF? :eek:

3 days im bak of this due to internet prob!!

no other solution??
[Android] mohit310:
Repo sync - j1 try it will take long but you know where it stops
[Android] shmshd12:
Can you tell aproximate time for the normal internet speed?
[Android] mohit310:
When i usually do it with 50Mbps it takes me around 25-35 minutes with -j4 which is 4 threads.

with -j1 it should be 1-2 hours.
[Android] sheepkill15:
Sure, but probably some files will have different names or some thing will be missing but those should be fairly easy to handle
[Android] deve678:
I will try building slimkat with that.

I hope you will be here to help me fix the problems
[Android] W.B.:
I'm getting this similar error, would appreciate if someone tell me what I'm doing wrong or missed
[Android] DiamondJohn:
You "missed" reading the first line.
[Android] alphamale:
build error

Build error with crdroid Pie

https://hastebin.com/ahotatiwad.sql
[Android] NepoRood:
I didn't see the error when I clicked the link, however, there are a lot of open commits on Lineage Gerrit that need to be picked for crDroid to build properly. In other words, their code is "not quite ready" for building...
[Android] alphamale:
https://pastebin.com/SKzCVj09
[Android] amarbajpai:
Guys I am getting this error. Device-Tissot. ROM-crdroid pie (1st rom building)

https://del.dog/okuvogahoq.sql
[Android] savsir:
Build error havoc

https://hastebin.com/fubocivova.xml
[Android] TimSchumi:
I bet that it is some missing header and linked lib. Search for the definition of those functions.
[Android] savsir:
I revert last commit. (Some ifdef and endif codes) Problem solved. Thanks anyway.
[Android] deve678:
Device tree

github.com/deve678/msm8909_512

Kernel tree

github.com/deve678/kernel-msm-3.1.0

Can any one pls modify the device tree to compile AOSPA .
[Android] Hlcpereira:
Could you send the links of the trees that you've used?
[Android] NepoRood:
crDroid isn't ready for building, yet, if you want to build it anyway, you need to pick quite a few open commits from Lineage Gerrit
[Android] amarbajpai:
DT- https://github.com/TheScarastic/android_device_xiaomi_tissot

KT- https://github.com/TheScarastic/android_kernel_xiaomi_msm8953

VT- https://github.com/TheScarastic/proprietary_vendor_xiaomi

I switched over from crdroid to PE as the sources are not ready yet. But I am stuck at boot logo. The device never boots. For logs adb recognizes the device as offline. So that too a dead end. Can you help? [MENTION=7237874]NepoRood[/MENTION] can you also look into this please?
[Android] sheepkill15:
Is your device officially supported on lineageos? Also the kernel writes log into last_kmsg maybe try grabbing that.
[Android] amarbajpai:
Lineage 15.1 is officialy supported. I tried grabbing the logs they are empty. Maybe some boot commits are required. As I am new I don't have any idea which ones.
[Android] deve678:
How can I make a vendor tree for my device from system dumb.

Or where can I get proprietary-files.txt for my device
[Android] NepoRood:
Are you building SELinux permissive?

Which GApps did you use?

Did you try booting the ROM without flashing GApps?

I've got some Pie builds done for my device, but if I flash a GApps package it doesn't boot (crDroid and GZR, so far), I have to build them in
[Android] yeshwanthvshenoy:
Hi, Trying to build GZOSP for Titan and facing this error:

device/qcom/sepolicy/common/attributes:58:ERROR 'Duplicate declaration of type' at token ';' on line 4866:
attribute hal_vehicle;
checkpolicy: error(s) encountered while parsing configuration

Checked the device.te from device tree, nothing mentioning HAL is present there. Any guidance would be great.
[Android] amarbajpai:
Selinux is permissive.

Didn't use gapps on benzo and aosp. On PE they came inbuilt.
[Android] Hlcpereira:
For adb I recommend do a -eng build. I'm also having bootloops with PE Pie with Xiaomi Mi 5 series device (Mi 5, Mi 5s and Mi 5s Plus), plus PE Pie sources are under a rebase (again) so I recommend you wait for finish it anyways.
[Android] YedanyXD:
Someone know how to fix this?

https://del.dog/ohededofil.cs

device tree--https://github.com/XPerience-AOSP-Lollipop/android_device_motorola_ghost

ROM source:https://github.com/dirtyunicorns

kernel--https://github.com/XPerience-AOSP-Lollipop/android_kernel_motorola_ghost

andorid version--N
[Android] deve678:
Any One plssss
[Android] sheepkill15:
Does your device support nfc?
[Android] YedanyXD:
Yep, i deleted the line in the makefile due that dirty unicorns doesnt contain the nfc file
[Android] sheepkill15:
For texts this large, please use hastebin.com . And developers need more information to help you: device tree, kernel and vendor source. Also what rom are you compiling and which version.
[Android] sbcrumb:
Trying to build AEX Pie for Dumpling and during my build I am getting the following Error. Not sure how to solve it.
[Android] NepoRood:
Try syncing msm8998 CAF repos from Lineage. Looks like they're in the AEX manifest already, just commented out (for some reason)
[Android] sbcrumb:
Thanks for the fast reply, I put back in all the CAF repos from LOS. And am trying a build on my slow box. I got past the error and am getting further, I will see where I land next.
[Android] deve678:
Any Idea ????:confused:
[Android] savsir:
FAILED: TARGET_KERNEL_BINARIES

/bin/bash -c "(make -j4 CFLAGS_MODULE="-fno-pic" -C kernel/xiaomi/msm8998 O=/home/savsr/Raxas/out/target/product/sagit/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="aarch64-linux-androidkernel-" CROSS_COMPILE_ARM32="arm-linux-androideabi-" CLANG_TRIPLE=aarch64-linux-gnu- CC=" /home/savsr/Raxas/prebuilts/clang/host/linux-x86/clang-4691093/bin/clang" Image.gz-dtb ) && (if grep -q '^CONFIG_OF=y' /home/savsr/Raxas/out/target/product/sagit/obj/KERNEL_OBJ/.config; then	echo -e "Building DTBs" ;	make -j4 CFLAGS_MODULE="-fno-pic" -C kernel/xiaomi/msm8998 O=/home/savsr/Raxas/out/target/product/sagit/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="aarch64-linux-androidkernel-" CROSS_COMPILE_ARM32="arm-linux-androideabi-" CLANG_TRIPLE=aarch64-linux-gnu- CC=" /home/savsr/Raxas/prebuilts/clang/host/linux-x86/clang-4691093/bin/clang" dtbs;	fi ) && (if grep -q '^CONFIG_MODULES=y' /home/savsr/Raxas/out/target/product/sagit/obj/KERNEL_OBJ/.config; then	echo -e "Building Kernel Modules" ;	make -j4 CFLAGS_MODULE="-fno-pic" -C kernel/xiaomi/msm8998 O=/home/savsr/Raxas/out/target/product/sagit/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="aarch64-linux-androidkernel-" CROSS_COMPILE_ARM32="arm-linux-androideabi-" CLANG_TRIPLE=aarch64-linux-gnu- CC=" /home/savsr/Raxas/prebuilts/clang/host/linux-x86/clang-4691093/bin/clang" modules;	fi )"

Kernel build error