yashsingh1/xdaforums huggingface dataset:
[Android] Elanza_48:
Error:

native: #08 pc 0000000000010138 /home/rajarshi/aex/out/host/linux-x86/bin/dex2oat (art::Dex2Oat::Setup()+488)
native: art::Dex2Oat::Setup()
native: art/dex2oat/dex2oat.cc:1564
native: #09 pc 000000000000ad98 /home/rajarshi/aex/out/host/linux-x86/bin/dex2oat (main+744)
native: art::Dex2oat(int, char**)
native: art/dex2oat/dex2oat.cc:3117
native: main
native: art/dex2oat/dex2oat.cc:3139
native: #10 pc 0000000000021b96 /lib/x86_64-linux-gnu/libc-2.27.so (__libc_start_main+230)
native: __libc_start_main
native: /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
native: #11 pc 000000000000a988 /home/rajarshi/aex/out/host/linux-x86/bin/dex2oat (???)
/bin/bash: line 1: 13176 Aborted (core dumped) ( ANDROID_LOG_TAGS="*:e" /home/rajarshi/aex/out/host/linux-x86/bin/dex2oat --runtime-arg -Xms64m --runtime-arg -Xmx512m --class-loader-context="&" --boot-image=/home/rajarshi/aex/out/target/product/otus/dex_bootjars/system/framework/boot.art --dex-file=/home/rajarshi/aex/out/target/common/obj/JAVA_LIBRARIES/ethernet-service_intermediates/javalib.jar --dex-location=/system/framework/ethernet-service.jar --oat-file=/home/rajarshi/aex/out/target/product/otus/obj/JAVA_LIBRARIES/ethernet-service_intermediates/oat/arm/javalib.odex --android-root=/home/rajarshi/aex/out/target/product/otus/system --instruction-set=arm --instruction-set-variant=krait --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 )
ninja: build stopped: subcommand failed.
18:31:19 ninja failed with: exit status 1

#### failed to build some targets (06:51:32 (hh:mm:ss)) ####

please help !

Compiling Aosp Extended on ubuntu 18.04.
[Android] sheepkill15:
Hurray! It finished building successfully! Thanks for your help so far.

I installled the ROM and not surprisingly it's not booting, the lineage logo doesn't even show up. I'm wondering if it's a kernel problem.

But my question: I got at the end a bunch of errors regarding VNDK abi being broken (VNDK Abi broken: Please check compatiblity report at : /home/simonarons15_gmail_com/android/lineage/out/soong/.intermediates/frameworks/native/libs/gui/libgui/android_arm64_armv8-a_cortex-a53_shared_core/libgui.so.abidiff) and maybe that's the problem? I googled it and found nothing about it :crying:
[Android] DiamondJohn:
I suggest you get a last_kmsg and have a read, and then maybe post it up on www.hastebin.com with a question here. Someone else here may be able to help you on your next issue. ie I dont think I will be the one, and targetting me specifically with any questions will limit you, severely.

again, paste the log up on www.hastebin.com maybe somewone else here will be able to help you. Also let them know which device and ROM you are building; with linkis to your device/kernel/vendor/ROM sources. It looks like you are possibly building LOS. When I first started building I started with an official LOS device and found their IRC channel very helpful (https://webchat.freenode.net/?channels=lineageos-dev but its a couple of years back since I last went there.)
[Android] bunnyy:
ninja: error: '/home/buns/Slim7/out/target/common/obj/JAVA_LIBRARIES/telephony-ext_intermediates/classes.dex.toc', needed by '/home/buns/Slim7/out/target/common/obj/APPS/Settings_intermediates/with-local/classes.dex', missing and no known rule to make it

Help anyone... please help....

---------- Post added at 04:30 AM ---------- Previous post was at 03:55 AM ----------

Please help anyone:confused::confused:
[Android] bunnyy:
I fixed it anyways thank you[emoji1303][emoji1303]
[Android] aoleary:
Any one?
[Android] sheepkill15:
LineageOS build completed, but not booting

Device: a5y17lte (A520F)

ROM: LineageOS 15.1

Sources: Device: https://github.com/LineageOS/android_device_samsung_a5y17lte

https://github.com/LineageOS/android_device_samsung_universal7880-common

Kernel: https://github.com/LineageOS/android_kernel_samsung_universal7880

I uploaded last_kmsg.txt and the build log to google drive, since they are more than 1 MB :D

https://drive.google.com/drive/folders/1go0jQVTew_TpDq8MaXOlZgLVV13xzoJ9?usp=sharing

The problem is that when I install the ROM and try to boot it, it just stays at the Samsung Galaxy A5 17 Powered by Android logo and doesn't go further to the lineageos boot menu, after a while it restarts.
[Android] IKGapirov:
Are you added all dependencies and vendor?

Maybe you missed something?

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<!-- Device -->
<project name="LineageOS/android_device_samsung_a5y17lte" path="device/samsung/a5y17lte" remote="github" revision="lineage-15.1" />
<project name="LineageOS/android_device_samsung_universal7880-common" path="device/samsung/universal7880-common" remote="github" revision="lineage-15.1" />
<project name="LineageOS/android_hardware_samsung" path="hardware/samsung" remote="github" revision="lineage-15.1" />
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" revision="lineage-15.1" />

<!-- Kernel -->
<project name="LineageOS/android_kernel_samsung_universal7880" path="kernel/samsung/universal7880" remote="github" revision="lineage-15.1" />

<!-- Vendor -->
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="lineage-15.1" />
</manifest>
[Android] sheepkill15:
I did, but how I can check that I added 'all' of them?
[Android] IKGapirov:
https://xdaforums.com/showpost.php?p=77222254&postcount=8868
[Android] sheepkill15:
Sorry, didn't see the code in my hurry.

I just checked once again, and yes I have all of those.

PS: I had to delete the sepolicy folder as a temporary fix from my universal7880-common folder becouse I had problems with it and didn't let me finish the build. Do you think it could be the root of the problem?
[Android] IKGapirov:
I think not, but you have to build without problems ..

And the vendor checked that you have it there?
[Android] sheepkill15:
I have that too.

At 98% I had a bunch of these warnings: VNDK Abi broken: Please check compatiblity report at : /home/simonarons15_gmail_com/android/lineage/out/soong/.intermediates/frameworks/av/media/libstagefright/codecs/hevcdec/libstagefright_soft_hevcdec/android_arm_armv7-a-neon_cortex-a53_shared_core/libstagefright_soft_hevcdec.so.abidiff

Do you know anything about it? I googled a hour and didn't find anything
[Android] spezi77:
Add this line to your make file to hide those warnings:

export SKIP_ABI_CHECKS := true
[Android] bunnyy:
Yes of course without device sepolicy it won’t boot.

---------- Post added at 10:51 PM ---------- Previous post was at 10:50 PM ----------

Any help still facing the same issue

I used codeaurora/telephony but it came with another error. Any ideas to fix it for Slim7?
[Android] DiamondJohn:
He has not deleted every SEPolicy, only a specific bunch. And the device can boot if permissive and its missing some SEPolicy files.
[Android] bunnyy:
He has mentioned already he deleted every sepolicy.
[Android] DiamondJohn:
I checked your last_kmsg out of interest, and it appears you are not building it as permissive.

36>[ 3.462333] [4: logd.auditd: 2378] type=1400 audit(1533107787.389:14): avc: denied { search } for phd5 3 c/mm="ku/rKdp/0:1" name="%ds" dev- po/tfs i.o=8#1" sbontext=q
R kernel:c0 tc/nt%xt-u:/bjecd r8efs_fILe:s0 4alass=dir [B][COLOR="Red"]permissive=0[/COLOR][/B]
[Android] bunnyy:
[MENTION=5417899]DiamondJohn[/MENTION] any idea for this?
[Android] DiamondJohn:
No, if you read above, he specifically states he deleted every SEPolicy in a single folder. There are multiple directories which contain SEPolicy files. Personally I would of done a more surgical approach and removed individual offending lines (to get it to build), but hey, each to their own.
[Android] bunnyy:
Okay okay bro got it[emoji1303][emoji1303]
[Android] sheepkill15:
Thanks for pointing out that to me. I have absolutely no experience with kernels so I searched it up but I'm unsure it's the correct way. Could you please link a thread on permissive kernel building or something?
[Android] DiamondJohn:
You don't need a link, the thread is this one. Simply search this thread for "permissive".
[Android] Jay_B:
Any suggestions been waiting for a while. For help.
[Android] icantstopflash:
Hello guys,

I try to build DU, build fail at 57%, i'am totally stuck.... no idea :confused:

if someone can help it would be nice , thanks

cheers

Errors screens attached
[Android] sheepkill15:
I have finally built a booting LOS 15.1, everything is working except the sim card. It also says that baseband version is unknown. I tried to manually clone the qcom_common git, but it didn't help.
[Android] aoleary:
Comment out the overlay referenced in line 20 as you don't have it..

Also, attach error logs to hastebin.com as screenshots ****ing suck and are annoying..

---------- Post added at 15:07 ---------- Previous post was at 15:02 ----------

Nobody can do a thing for you if you don't provide a logcat..
[Android] Jay_B:
I have already provided it in the original post

Here's a smaller version on hastebin.

https://hastebin.com/wetaxomibo.coffeescript
[Android] Apachyx:
Hello, i build Cosmic-OS for Nexus 6P ( No Official ) but i'm stuck on google logo after flash it on twrp and i don't know what i can do, any help ? Thanks ! :)
[Android] alphamale:
Need help with the following build error for xtended room for taimen
[Android] DiamondJohn:
post your last_kmsg in www.hastebin.com or such as someone may be able to help.

You will have better chance of help, by making it easier for others to help you, by posting the text on a site like www.hastebin.com
[Android] IKGapirov:
Good Day Guys!

I'm trying to build Lineage-13 for Samsung Galaxy J1Mini SM-J105H (

Spreadtrum SC8830).

First time I build for this device

When trying to compile i receive this error:

https://gist.github.com/IKGapirov/c5f253ef8a34f418935b786ebb34d357

This is manifest

Device tree

Can u advise something about error :confused:

Thank you in advance!
[Android] alphamale:
https://www.hastebin.com/idedeqimov.makefile
[Android] Jay_B:
Sepolicy errors.
[Android] IKGapirov:
I know but find`t solution, Can u advise something about it? :confused:
[Android] Jay_B:
R u build permissive or enforcing? If permissive then u can remove the files which are giving error and build.
[Android] IKGapirov:
In permissive, ok I`ll try
[Android] bunnyy:
Which vendor's property to inherit while building AOSP??

Like for slim or any one /vendor/slim/config/common_full_phone.mk

But what for AOSP?

---------- Post added at 08:42 PM ---------- Previous post was at 08:27 PM ----------

Okay I came to know after little bit of digging up.

Its /product/aosp_base_telephony.mk

Anyways thank you [emoji4]
[Android] dev.kasibhatla:
My lineage os 15.1 builds fine and creates all the .img files (boot, recovery, system, etc). The recovery file works perfectly fine too when i flash it with fastboot.

But it doesn't create a flashable zip file.

I've tried both make and mka (which essentially do the same thing).

What am i missing?
[Android] NepoRood:
Did you remember the bacon?

mka bacon
[Android] dev.kasibhatla:
Thanks for the reply.

I'm a little confused. Isn't bacon a codename for oneplus3 or something?

Previously I built a working lineage 14.1 for my old device with just make -j4 and it created a zip.

Could you please clarify?
[Android] dev.kasibhatla:
warning no file_contexts

i used mka bacon. it built fine and created a zip file. I flashed it using twrp and while installing, it gave a warning

warning no file_contexts

the rom doesn't boot.

I've been googling and can't find a definitive answer.

thank you.
[Android] NepoRood:
Check out this guide by [MENTION=5184450]USA-RedDragon[/MENTION], it has some useful information and it may help: Link
[Android] DiamondJohn:
I compile Oreo crDroid for two devices. When i first compiled it for my daily (unofficial device), I found that the Launcher application would build, but was not recognised as an app on the phone; ie Launcher APK was there, but it didn't run. I did some www searching and found that at least one official device build was having the same issue, so I simply chalked it up to the source and not anything I was doing wrong as everything else in the ROM appeared to work. To avert the issue, I simply brought in the Launcher from RR, and that worked fine.

However, recently I built for another device, and the same happened again ie the default Launcher built, but wasn't recognised on the device.

Recently an official build was released of my second device, and it includes a working Launcher. Clearly there is something wrong with my build, but what?

My plan is to do another build with the default Launcher included (as well as the RR Launcher), then take a logcat on trying to install it as an app, to see if that gives any clues.

My question are:

1. Has anyone got any ideas what could be going wrong?

2. Is there something wrong with my environment? The build proceeds, without errors that stop the build. If I was missing an installed component in my build environment, would it allow the build to proceed? ie logcat of trying to install the APK on a running device.

3. Any ideas apart from the one I have above for getting to the cause of the problem?
[Android] linusdan:
Hello peoples!

I am trying porting the CarbonROM Oreo for the i9100, but this problem is appearing and I do not know what is wrong (I have already looked at everything).

Link: https://github.com/CarbonROM-i9100/android_bionic/commit/d79f3231ba76ab23cfc9e50ddc7a7c64631aeb2e

Can anybody help me? Thank you!
[Android] sheepkill15:
First you need to load the device configuration: lunch codename of device. Also dont forget the sorce build/envsetup.sh command before building.
[Android] FoxA:
IProfileManager.aidl:21: couldn't find import for class android.app.NotificationGroup

https://hastebin.com/usukuhalox.makefile idk what's wrong, tried to import for the specific class but didn't work, giving syntax error
[Android] sheepkill15:
Try running the make clean command. If it doesn't work, wait for someone else to help you.
[Android] FoxA:
didn't work
[Android] sheepkill15:
Okay then, make a post here but indicating the ROM you are building, the device and maybe the sources you used. With that info, and the log, I'm sure more help can come for you :)
[Android] FoxA:
Rom Link - https://github.com/LiquidRemix

Device tree - https://github.com/sb6596/android_device_zuk_ham

Device Kernel - https://github.com/sb6596/android_kernel_cyanogen_msm8974

Device Vendor -

https://github.com/sb6596/android_proprietary_vendor_zuk

Log link - https://hastebin.com/usukuhalox.makefile

I hope this helps:):D
[Android] letsmakecakes:
[ 99% 1276/1277] glob vendor/rr/build/soong/Android.bp

ninja: error: '/home/ken/RR/out/target/product/a53g/kernel', needed by '/home/ken/RR/out/target/product/a53g/boot.img', missing and no known rule to make it

09:46:44 ninja failed with: exit status 1

need help regardingg this issue
[Android] Albe96:
Define Kernel Source Path In BoardConfig.mk
[Android] alphamale:
Any one have a suggestion with following error? https://hastebin.com/ovezewawaz.coffeescript
[Android] karthik km:
Link your device tree
[Android] alphamale:
Device https://github.com/deed-taimen/android_device_google_wahoo/tree/xtended-2.0

Device https://github.com/deed-taimen/android_device_google_taimen/tree/xtended-2.1

Kernel https://github.com/deed-taimen/android_kernel_google_wahoo/tree/xtended-1.0
[Android] karthik km:
Its probably source error

Check sources & and pick some useful commits
[Android] NepoRood:
Check this commit, Link

This answer is right up there with: "You're missing dependencies"....
[Android] deve678:
Any one has fix for this???
[Android] MHK2012:
how fix this error?

Log:
[Android] sheepkill15:
Look in kernel/samsung/smdk4412/arch/arm/configs for the name of the defconfig. If you find a file with very similar name to that needed, simply rename it to lineage_n7100_defconfig

Alternatively, you can disable the requirement in the BoardConfig.mk but I dont recommend doing that
[Android] MHK2012:
Now show this error

Log:
[Android] sheepkill15:
Did you add this to roomservice.xml?

<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung"/>
[Android] MHK2012:
No, I add vendor with this code
[Android] sheepkill15:
That would be the best option, but it is bound to bring many problems. I suggest that if you want as few problems as possible, use themuppets code.
[Android] MHK2012:
I add themuppets code and now show this error :
[Android] NepoRood:
Ubuntu 18 (or equivalent)?

Add to bash.rc

export LANG=C
[Android] deve678:
Any one there to help me?
[Android] MHK2012:
I have Ubuntu 18.04 LTS

now show this error:
[Android] sheepkill15:
Go to device/samsung/n7100/overlay/frameworks/base/core/res/res/values and add the following lines to config.xml:

<add-resource type="bool" name="config_multiColorNotificationLed"></add-resource>

<add-resource type="bool" name="config_multiColorBatteryLed"></add-resource>

<add-resource type="bool" name="config_stylusGestures"></add-resource>
[Android] sheepkill15:
Hey! So I'm building RR-6.1.0 for a5y17lte, it boots it works fine, but NFC and video recording doesn't work.

Here is the logcat I took when recording a 1 second video, it contains the crash of the nfc too: https://drive.google.com/file/d/1KqS3dYuzlCBy-JZvgcdWb9BRGgB-zZWE/view?usp=sharing

---------- Post added at 12:10 PM ---------- Previous post was at 12:03 PM ----------

What command did you use for build? Also what version are you building. And you need to clone hardware_samsung to hardware/samsung since you didn't write it above.
[Android] MHK2012:
now show this error:
[Android] sheepkill15:
I'm not perfectly sure on this fix, but I guess it's worth a try:

Go to device/samsung/n7100/selinux and remove these two lines from device.te:

type hpd_device, dev_type;
type mfc_device, dev_type;
[Android] MHK2012:
How fix this?
[Android] smart-t78:
it looks like that you are out of ram
[Android] DiamondJohn:
Please use www.hastebin.com or such to post large blocks of text.
[Android] deve678:
I used lunch command.

I am building KitKat 4.4.4 slimrom .

Where can I get hardware_samsung repository???
[Android] sheepkill15:
https://github.com/CyanogenMod/android_hardware_samsung.git
[Android] dbzdivik:
Some queries i need help with for building ROM based on AOSP for Rockchip RK3066 so i'm able to find Kernel only..

What else will be needed ?
[Android] MHK2012:
now show this error:

https://paste.ubuntu.ir/ptqa
[Android] smart-t78:
your recovery is too large. try it with compression.

add

LZMA_RAMDISK_TARGETS := recovery

to your BoardConfigCommon.mk. maybe it helps
[Android] MHK2012:
build finished, But after flashing mobile, My Device Can Not Start Boot Normally And reboots
[Android] sheepkill15:
Well we need a little more info than that. You should try to get a last_kmsg and upload it to hastebin. That's the log the kernel writes.

Also did you build as permissive? Maybe that would solve it.
[Android] MHK2012:
kmsg: https://paste.ubuntu.ir/xwmn

dmesg: https://paste.ubuntu.ir/ttyx
[Android] DiamondJohn:
Is there anyway to add logging to the processing of init.qcom.rc?

I am not finding anything obvious in last_kmsg, and I have seen previously errors in this file appearing there. However, I am now suffering from a bootlooop on startup :mad: , which will stop when another file is dropped in, which is not for the device, but allows it to boot up reliably, just not with all working.
[Android] deve678:
You mean bootloop?
[Android] smart-t78:
please post a link to your device sources (device, vendor, kernel)
[Android] MHK2012:
vendor: http://github.com/TheMuppets/proprietary_vendor_samsung

device: http://github.com/tilaksidduram/android_device_samsung_n7100

kernel: http://github.com/LineageOS/android_kernel_samsung_smdk4412
[Android] _d4Mn_:
Can Auto-Permissions Enabled be done?

Friends,

I'm in a making of an application that has to be running on a custom rom (this projects is running for 1,5 years now and I am nearly finished). Basically I am creating a tablet that is meant to be used for one thing only and that's it (purpose made machine). Have nearly finished my app and have built my ROM with most of the modifications I needed (cm14.1).

Few things I cannot figure out.

The goal is to avoid the "give permission" pop-up window to appear at the first run of the app.

1.: Is it achievable to have the required permissions already given to my application? Can I set this somewhere in the source files?

2.: Alternatively can I give all the required permissions to every app somehow?

3.: Is the above goal is achieveable at all?

This tablet will be used in schools by mentally low-skilled people and cannot rely on them reading and giving the permissions at the first run. I also dont want their teachers to do this at the first time after the tablets are delivered. I would like to have a ROM that I flash and will have everything ready to go.

Can anyone help?
[Android] DiamondJohn:
Having a bootloop issue on an Oreo Rom for ks01ltexx.

kernel: https://github.com/kyasu/android_kernel_samsung_msm8974

device: https://github.com/kyasu/android_device_samsung_ks01ltexx

vendor: https://github.com/kyasu/android_vendor_samsung_ks01ltexx

The weird things are:

It will boot loop about 2-5 times and then boot up ok

If I replace the init.qcom.rc from another device (but a little similar), the bootloop disappears but things like WiFi don't work

I previously built this without problems

I have taken a last_kmsg at both success and failure, and compared the two.Basically the difference starts at the following

GOOD: https://www.hastebin.com/avabopojug.bash

BOOT-LOOP: https://www.hastebin.com/odajuqonit.bash

View attachment 4577859

They appear to diverge at "samsung_dsi_panel_event_handler : unknown event " on the good side, but that same event occurs many times on both sides above.

Any ideas? or even where to start next?

I have looked for the function, and its defined in 4 or 5 files within the kernel, which appear to be based on resolution. I am 1920x1080

View attachment 4577872
[Android] Jay_B:
I am compiling Oreo-based ROMs for Oxygen (Xiaomi Mi Max 2). The Oreo sources are not out yet for it.

The issue we have been facing is the "in-call" vol. We are not able to increase or decrease the vol during a call be it from the phones hardware keys or from a headphones hardware keys. For the rest of the media, it works quite good.

I am attaching a call log along with links to the trees I am using, hoping someone out on XDA might be able to help us out.

Oxygen DT : https://github.com/jayant-b/device_xiaomi_oxygen

msm8953-common DT :

https://github.com/jayant-b/device_xiaomi_msm8953-common

Kernel :

https://github.com/jayant-b/andorid_kernel_xiaomi_oxygen

Vendor

https://github.com/jayant-b/proprietary_vendor_xiaomi_oxygen

Log:

https://hastebin.com/wetaxomibo.coffeescript
[Android] Ololoev9999:
Hello guys!

I am building Pie rom and want to include some system accents to it.

I dont have sources of them but i have apks wich should be located in /vendor/overlay/*name*/*name*.apk

How can i include them to rom?