yashsingh1/xdaforums huggingface dataset:
[Android] Mohd Noman:
Error

xternal/ant-wireless/ant_native/Android.mk: error: antradio_app (EXECUTABLES android-arm64) missing libantradio (SHARED_LIBRARIES android-arm64)

You can set ALLOW_MISSING_DEPENDENCIES=true in your environment if this is intentional, but that may defer real problems until later in the build.

build/make/core/main.mk:844: error: exiting from previous errors.

21:36:31 ckati failed with: exit status 1

#### failed to build some targets (34 seconds) ####

need help
[Android] DiamondJohn:
I have found a search in github can give a lead.

Based on your error: error:

no matching function for call to 'setRequestingSid'

https://github.com/search?q=setRequestingSid&type=Code
[Android] ZeroVirus:
~/bootleg# lunch bootleg_device-userdebug

build/make/core/product_config.mk:267: error: No matches for product "bootleg_device".

13:03:46 dumpvars failed with: exit status 1

build/make/core/product_config.mk:267: error: No matches for product "bootleg_device".

13:03:47 dumpvars failed with: exit status 1

Getting this error pls help me
[Android] zaibansari20:
Which rom are you building?

In "lunch_device-userdebug"

"device" should be the codename of device you're building
[Android] gauravk95:
What's the leaning curve for ROM development?

Hi,

I am a android developer with knowledge of Android SDK. Does that help in ROM development?

What's is the learning curve for an experienced Developer?

I always wanted to explore this....

Thanks
[Android] DiamondJohn:
I come from a background of windows dev (.net etc). I was also not a Linux user.

If you plan to build for an official device of some ROM (to start), then its mechanically following "simple" steps for a dev; ie not really what I would call true dev.

For me, In the beginning (on an official device), the most learning occurred around github and Linux. I dev on a Virtual Box on windows, so once I had the disk space and internet bandwidth, I could start. Give it a go, I now only run ROMs I build myself; with minor mods included. Although when I started I was driven because there were no real newer heavily customized ROMs (eg RR) for my device, only for a very very similar device, and only LOS for that.
[Android] EoflaOE:
I have made an archive for my android/lineage directory so that when I get my new computer, I will move it to it, unpack, and continue where I left off. Do I have to reinitialize the repo when I unpacked in my new PC?
[Android] martinusbe:
No

But you can init every day, doesn't harm anything ;)
[Android] DiamondJohn:
I build on multiple VBox's. Each ROM is on separate partition/disk, which I keep and move between boxes (s each ROM is on a different USB drive). For example, I could rebuild a new box, add the partition/disk of the ROM source from my last VBox and continue building. So I think it should work the same if I was to compress the source. Also, there was a project that had many custom rom source to expand out and start building from; ie do what your doing. You may also find that you basically only need the ".repo" folder, and the rest will be recreated by a sync, without re-downloading the source. You have compressed the .repo folder...
[Android] aala27:
Thanks mate,

Commenting out the following line in system/tools/hidl/generateCpp.cpp allowed for my build to successfully complete.
[Android] maghfurcak:
can somebody help me with this error.?

my device is capricorn, i am trying to build havoc os pie
[Android] IKGapirov:
You can copy paste the error from terminal to here using Tag or You can Pastebin it.
[Android] zaibansari20:
This must be the low RAM problem

How much ram do you have?
[Android] maghfurcak:
thank you for your reply

i already solved it by make clean and run build again.

my spec is ryzen 5 1600 with 16gb ram and i set on my virtualbox is 6 core and 10gb ram.
[Android] dungphp:
I'm building a Circus caf P build but has a problem, can't fix:

Already has hardware/qcom/display/msm8956 driver (source from Circus caf P sources)

Please any devs help me out this problem !

Thank you so much

Edit: Fixed by add path for Namespace
[Android] eccko:
Hello, I trying to build Lineage os 16 on Xiaomi Redmi note 5 (whyred) but I got error. :confused:

ninja: error: '/home/vps2k2018/pie/out/target/common/obj/JAVA_LIBRARIES/WfdCommon_intermediates/javalib.jar', needed by '/home/vps2k2018/pie/out/target/product/whyred/dex_bootjars/system/framework/boot.prof', missing and no known rule to make it
22:10:43 ninja failed with: exit status 1

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

Full error - https://pastebin.com/T5RWAskr

I used this sources

https://github.com/ResurrectionRemix-Devices/proprietary_vendor_xiaomi/tree/pie

https://github.com/ResurrectionRemix-Devices/device_xiaomi_whyred

https://github.com/PixelExperience-Devices/kernel_xiaomi_whyred

Thanks in advance,

Regards. :)
[Android] dungphp:
No vendor for whyred ?

Here man: https://github.com/AOSiP-Devices/proprietary_vendor_xiaomi
[Android] Douglas Gomes:
I am trying to compile the crDroid ROM, the compilation ends well, but when I start it, it goes to Download mode, all other ROMs work, can you help me?

DEVICE: Galaxy J7 Prime

ANDROID: Pie

GITHUB ROM: https://github.com/crdroidandroid
[Android] DiamondJohn:
I would guess people would expect to see a last kmsg log in order to help you
[Android] dungphp:
Sync sources to new folder then build
[Android] Douglas Gomes:
What new folder?
[Android] dungphp:
sources in your current folder have some miss, brocken,...

I has this problem and just del that filder sources and sync to new folder
[Android] Douglas Gomes:
I've tried this, strangely it happens in this ROM, in others it works normally
[Android] Josevega:
Any idea of what can be failing here? , It seems like system can't unmount after building

error:https://del.dog/yequporezi.cs

device: https://github.com/Jdelavega36/device_xiaomi_perseus

kernel:https://github.com/LineageOS/android_kernel_xiaomi_sdm845

vendor:https://github.com/Jdelavega36/vendor_xiaomi/tree/pie-sdm845
[Android] nitish159:
Hey, I had the same error error: no matching function for call to 'setRequestingSid' and commenting on the line as you said seemed to have fixed it but then later I got this error

error: invalid pre
processing directive
#setRequestingSid(::android::hardware::details::gServiceSidMap.get(_hidl_impl, false));

Does anyone know how to fix this? https://del.dog/evamokecuc.pl
[Android] Jolt151:
C++ comments are // and /* */, not #, which is for the preprocessor. Also, please let me know if that does indeed fix it, as I had the same error earlier.
[Android] aala27:
Hello,

Just finished my build of RR but when I come to flash the rom in TWRP I get the following error.

E1001: Failed to update system image
Updater process ended with ERROR: 7

I have tried the fix where you edit the updater script file but I still get the same error.

I am currently using TWRP 3.2.3

See attached kernel log and recovery log.
[Android] nitish159:
Thanks bro, that actually worked, wish I knew C++ :p
[Android] AndyDroid10:
Can anybody help me?

vendor/xiaomi/wayne/wayne-vendor.mk:1374: error: _nic.PRODUCTS.[[device/xiaomi/wayne/aosp_wayne.mk]]: "vendor/aosp/common.mk" does not exist.
15:10:04 dumpvars failed with: exit status 1

problem. Device: Mi 6X(wayne)
[Android] Hlcpereira:
First of all: Which ROM?
[Android] lightwars:
You could also sync the missing changes in libhwbinder and hwservicemanager like so.

Which worked for me. Alternative you could follow this here.
[Android] madbat99:
Error 7 is assert prop. Are you sure it was for the right device? Wipe system and data before flash as well.
[Android] Lelwar:
Can you use kali linux instead?
[Android] aala27:
The device tree I am working off is for the Samsung Galaxy SM-T550. I have made some minor changes for it to work on the SM-P550 (AFAIK the only difference between the two is that the SM-P550 has the S-Pen while the SM-T550 doesn't.).

I also have wiped system and data before flashing.
[Android] NepoRood:
Link to your device tree?
[Android] madbat99:
Link to your device tree?
[Android] dungphp:
Devs help me to fix: Hex-edit libmmcamera2_isp_modules for P's mutex restrictions

File link

This is lib from xiaomi Mi Max

Thanks

Edit: Fixed by modify in the sources
[Android] aala27:
Device Tree: https://github.com/Galaxy-MSM8916/android_device_samsung_gt510wifi

Kernel Source: https://github.com/Galaxy-MSM8916/android_kernel_samsung_msm8916/tree/lineage-15.1
[Android] NepoRood:
Tree looks right, I guess, did you try deleting all the asserts from the zip? You can actually delete all the lines associated with it trying to grep the device.
[Android] aoleary:
Help with script to delete tombstone files on init..

Hi,

I'm trying to get RIL working on Pie for the LG G4, and I'm using this workaround at the moment to try to get it booting consistently.

The issue in Pie is that the RIL crashes as least once or twice during the boot process, creating a tombstone that causes the device to go into a bootloop.

My idea was to "listen" for the creation of the tombstone and then kill the RIL-daemon, which allows the device to boot after the initial install.

However, on subsequent boots, it doesnt delete the old tombstones, so my kill is ineffective as it creates a tombstone with a number higher than 0, and stays in a bootloop.

Can you help me to figure out why it doesnt delete the tombstone on boot?

I'm trying to work around the RIL crashing by stopping the ril-daemon with this commit:

https://github.com/theKramer77/andr...mmit/894dd57a26e3cc927ebe4bd4b154ab1c09c36807

The service gets created and started => line 3351

https://del.dog/yofedicuka.md#L3351

RIL Start => line 4404

https://del.dog/mowematevo.md#L4044

Kills RIL manually => line 5983

https://del.dog/yofedicuka.md#L5983

Really appreciate any help you can provide..

TIA
[Android] aala27:
I have tried deleting the asserts from the zip but I still get the same error. Anyways, I have managed to compile RR pie rom for the device but I am now stuck in a bootloop.

See attached log and link for details.

https://hastebin.com/egemazogar.coffeescript

Please let me know if you or anyone can help.

Thanks.
[Android] micoeyes:
Can anyone guide me how to resolve this build issue? Thanks in advance.
[Android] ZeroVirus:
how to show changelogs?
[Android] aala27:
Just for the record, I managed to find the solution to the issue. Ended up having incorrect partition sizes for system, userdata etc. in my BoardConfig.mk file.
[Android] gibbsnich:
FWIW there's already a working RIL for the G4 at https://github.com/Suicide-Squirrel.

(They fixed it by restarting if a crash occurs.)

Edit: Related xda threat is at https://xdaforums.com/g4/development/g4-cypheros-t3680102

HTH!
[Android] FlagersXDA:
I'm working on porting Android Oreo to Moto E4 Plus and this is the error I'm getting.

https://gist.githubusercontent.com/...4e61fb1411f744340f6090081d9d97d/error1600.txt

---------- Post added at 02:09 AM ---------- Previous post was at 02:09 AM ----------

I'm working on porting Android Oreo to Moto E4 Plus and this is the error I'm getting.

https://gist.githubusercontent.com/...4e61fb1411f744340f6090081d9d97d/error1600.txt
[Android] NepoRood:
Yeah, that'll do it too, lol

Glad you sorted it out :good:
[Android] aala27:
Hello again,

Hopefully this will be the last time I have an issue. I managed to complete the RR pie build for my tablet (Samsung SM-P550). Tablet boots up and everything seems to be working fine apart from the audio.

Currently there is no audio coming from the speakers at all (alarm, music, youtube from browser, notifications, etc.). However, I receive audio through the headphones when I plug it in.

See below (Link or attachment) of a log taken when I play and pause a song from the music player.

https://hastebin.com/erucekuwox.pl
[Android] ahmed gamal 1m:
i'm trying to build cm-12.1 rom for my device but i got this error https://del.dog/fulozilede.pl i don't know how to fix it could any one help me
[Android] alphamale:
Keep getting following error for taimen Msm xtended rom
[Android] nitin.chobhe:
Pasting the error on del.dog would encourage others to help you ;)

Nitin
[Android] pix106:
Or anything that is not a screenshot
[Android] alphamale:
https://del.dog/uduxezelaj.sql
[Android] NepoRood:
Selinux

You are building permissive? Where are your trees?
[Android] alphamale:
https://github.com/slothdabski/havoc_device_google_taimen

https://github.com/slothdabski/havoc_device_google_wahoo

I've always done it that with with this ROM for months now all they sudden it won't build. I don't think it will boot otherwise, but I'll try
[Android] NepoRood:
OG Pixel was bad enough, then they went really awry with the Pixel 2, at least they got some sense of balance with the Pixel 3.

I likely can't help you with this. Maybe rebase your trees off of current DU or Lineage, I'm not sure which would work best (if your ROM is based on LOS or AOSP, it should be obvious). I got a Pixel 1 and a Pixel 3, lol
[Android] alphamale:
I got it to build by using google.git sepolicy. https://android.googlesource.com/platform/system/sepolicy/
[Android] NepoRood:
That's great, did it boot?
[Android] alphamale:
Yep got it booted! Thanks for your help.
[Android] ParanoidNemo:
Getting this error while building AOSPA for suzu.

Someone has any clue?

https://pastebin.com/9XD5pRMY
[Android] blakegriplingph:
Anyone else encounter this error when building LineageOS 14.1 on a prebuilt kernel?

frameworks/base/services/core/jni/com_android_server_AlarmManagerService.cpp:427:61: error: use of undeclared identifier 'CLOCK_POWEROFF_ALARM'
if ((fds[i] < 0) && (android_alarm_to_clockid[i] == CLOCK_POWEROFF_ALARM)) {

Couldn't find any clear or definite solutions to get around this as adding "#declare CLOCK_POWEROFF_ALARM" to the kernel headers results in this error:
[Android] DiamondJohn:
Maybe search github for clues: https://github.com/search?q=CLOCK_POWEROFF_ALARM"
[Android] blakegriplingph:
Already did, but I couldn't seem to find anything definite that suits my needs. :/
[Android] Serpico_One:
For this type of errors I find this answer very useful:

https://stackoverflow.com/a/38746451/3265432

You must find where CLOCK_POWEROFF_ALARM is 'originally' defined (which file) and following the relative makefile trying to find how is builded (probably from a module?).

Hope it helps.
[Android] blakegriplingph:
I'm using a prebuilt kernel unfortunately.
[Android] Serpico_One:
Ouch.

At this point I think you should try to edit os sources.

After a quick search I find, for example, this

https://review.slimroms.org/c/SlimR...m_android_server_AlarmManagerService.cpp#b397

a commit from slimrom where an if clause with CLOCK_POWEROFF_ALARM is added:

if ((fds[i] < 0) && (android_alarm_to_clockid[i] == CLOCK_POWEROFF_ALARM)) {
ALOGV("timerfd does not support CLOCK_POWEROFF_ALARM, using CLOCK_REALTIME_ALARM instead");
fds[i] = timerfd_create(CLOCK_REALTIME_ALARM, 0);
}

Searching in los16 sources i can't find CLOCK_POWEROFF_ALARM, and this is the code at the same point:

if (fds[i] < 0) {
log_timerfd_create_error(android_alarm_to_clockid[i]);
close(epollfd);
for (size_t j = 0; j < i; j++) {
close(fds[j]);
}
}

You can try to remove

&& (android_alarm_to_clockid[i] == CLOCK_POWEROFF_ALARM)

or something like that.

The class path is \frameworks\base\services\core\jni\com_android_server_AlarmManagerService.cpp
[Android] blakegriplingph:
So I should use that snippet from LOS16 then? I remember seeing a similar implementation on CM12.1. Would that matter much on a MediaTek device?
[Android] kegang:
I'm building a Resurrection Remix ROM for leeco s2 oreo.

The error I'm facing:

https://hastebin.com/awazamejof.makefile

I can find Bluetooth repo but I can't find Bluetooth_ext repo.

Any ideas how to fix this?

---------- Post added at 04:35 PM ---------- Previous post was at 04:35 PM ----------

I'm building a Resurrection Remix ROM for leeco s2 oreo.

The error I'm facing:

https://hastebin.com/awazamejof.makefile

I can find Bluetooth repo but I can't find Bluetooth_ext repo.

Any ideas how to fix this?
[Android] alphamale:
Getting new error any advice

https://del.dog/asuzicoqub.md
[Android] quake73:
"export SKIP_ABI_CHECKS=true" is the cure for that.
[Android] aala27:
Managed to fix the no external audio issue. Just added the following line:

AUDIO_USE_LL_AS_PRIMARY_OUTPUT := true
[Android] DiamondJohn:
Whenever i am have been missing a file, one avenue is to search the whole of github

https://github.com/search?q=packages_apps_bluetooth_ext
[Android] alphamale:
Trying to push some changes to get keep getting following error https://del.dog/tagexacayu.sh
[Android] JT1510365:
Can Someone help me i am trying to build rr remix oreo for the nexus 7 2013 and i am getting this error and it fails at 75%
[Android] DiamondJohn:
Make it easier for someone to actually help you. Post the log on a text host, not a screen shot. eg http://hastebin.com
[Android] JT1510365:
how do you comment out this line if i may ask?
[Android] fsct2k:
Hi guys. I have tablet Lenovo X103F.

I would build android Oreo for him, but I can't boot this.

After patching binder, I build ROM in working device tree for nougat , but this don't boot. Logcat and lastkmsg don't work for me.

I don't have enough experience, please help me build this. I will be testing. Please, pm me in tg - [MENTION=279901]fsc[/MENTION]t2k .

Thanks in advance :)
[Android] aala27:
Use /* at the start of what you want to comment out and */ at the end
[Android] NepoRood:
Did you figure this out?

A "git remote -v" will list all of your fetch/pull urls

Usually, just a "git push" will do the trick, unless you have setup more than 1 remote
[Android] alphamale:
No kept getting errors. I'll try again later
[Android] kegang:
Any Ideas?
[Android] somadsul:
Forgot,

I think that you need to disable it in boardconfig.mk
[Android] kegang:
Can you teach me how to do that?
[Android] somadsul:
Remove those headers coz it's already present in kernel

---------- Post added at 11:51 AM ---------- Previous post was at 11:50 AM ----------

Remove those headers / files coz it's already present in kernel
[Android] kegang:
I can't find anything related to videodev2_exynos_media.h in BoardConfig.mk of my device tree.

https://del.dog/ecubibetab.coffeescript this is my FAILED log. Should I remove all the files mentioned there?
[Android] somadsul:
Link of your complete device source?
[Android] kegang:
https://github.com/kegang0619/android_device_samsung_j5y17lte

I'm building an AEX Oreo rom, and cloned Lineage-15.1 branch.
[Android] spookcity138:
Your error is clear:

In file included from hardware/samsung_slsi-cm/exynos/libhwc/ExynosHWC.cpp:38:
In file included from hardware/samsung_slsi-cm/exynos/libhwc/ExynosHWC.h:57:
hardware/samsung_slsi-cm/exynos/libhwc/../include/exynos_v4l2.h:45:10: fatal error: 'linux/videodev2_exynos_media.h' file not found

You are missing the videodev2_exynos_media.h file. I would guess it's part of your kernel source,but I am not positive. you either need to find this file and add it (best idea. Search github) or remove the include from the samsung_slsi-cm/exynos/libhwc files that reference it.
[Android] kegang:
Thank you. I solved it.

And now, I have another error. https://del.dog/kejeqezuxu.rb

I think the error is related to samsung_slsi-cm/exynos https://github.com/kegang0619/android_hardware_samsung_slsi-cm_exynos

so I searched for Lineage-specific code in the repository, but couldn't find anything.
[Android] kegang:
https://github.com/kegang0619/android_device_samsung_j5y17lte

https://github.com/kegang0619/android_device_samsung_exynos7870-common

Vendor tree:= https://github.com/kegang0619/android_vendor_samsung

Kernel Source:= https://github.com/kegang0619/FlareKernel_AOSP_V2

ROM Source:= https://github.com/AospExtended/platform_frameworks_base

Haste or Dogbin URL:=

https://del.dog/hixepifazo.rb

List Of Things You Have Tried To Do To Try And Resolve This Error:=

I'm building an AEX Oreo ROM. Here are the repositories I cloned https://github.com/kegang0619?tab=repositories

FAILED: TARGET_KERNEL_BINARIES

After a few searches, I thought that must be declared in the BoardConfig.mk of the device tree. But I couldn't figure out.

Any help would be appreciated.
[Android] unmaskedfalesh:
any tips on how to improve the boot time? i built an AEX rom for onyx but the boot time is painfully slow.
[Android] karthik km:
Enable DEXPREOPT
[Android] NepoRood:
The repo tool can do funny stuff at times, I saw no reason for to even be trying to pull in anything other than Lineage 16 repos. You could try adding a few more flags to your sync command:

repo sync -j# -c -f --force-sync --no-clone-bundle --no-tags

I have an alias set up with the above ;)

What is your build error?
[Android] DiamondJohn:
That is basically the default repo sync command I use:good: When that failed, I simplified it to that which I posted.

repo sync -fc -j16 --force-sync --force-broken --no-clone-bundle --no-tags;

https://www.hastebin.com/lezuvewixa.cs

I am guessing its not actually related, but am just concerned the repo sync will either cause a later build error or a dodgy build.
[Android] unmaskedfalesh:
thanks but when i do , it gave me this:

ERROR: Dex2oat failed to compile a boot image. It is likely that the boot classpath is inconsistent. Rebuild with ART_BOOT_IMAGE_EXTRA_ARGS=--runtime-arg -verbose:verifier to see verification errors.
[Android] NepoRood:
Right on, I get it. I usually don't watch my syncs, I start then go do something else, so I don't know if I get those kinds of errors or not. I'm not syncing anything Lineage related though...

Your paste link was blank for me, I'm a fan of del.dog, stays up for quite a while, I've heard that they never go away, lol
[Android] AmirHRC:
who can help me with this I'm building Dot Os rom for nexus 6 -shamu- iget this error when trying to build I'm at the last step help please
[Android] DiamondJohn:
I dont normally watch my syncs, but after the build was failing and the fact I ran a second synch straight after, the sync ran pretty fast, so I was waiting/watching the screen so I could start the next step, and I saw it.

I have in the past had issues with synchs where I *think* my ISP's DNS server thought it was under a dos attack and blocked my requests (no hosts resolved for a period inc github or google source :mad:) I worked around it via an explicit IP in my local hosts file. ie not specific to LOS.

hmmm.. hastebin did give me a little problem the day before (It didnt save:confused:) But I just tried the link and also copied it into a TOR browser, and both worked. Heres the del.dog of the same https://del.dog/axegalizej.cs in case you are still interested; its only 10 lines long and I think it has the info.

I actually tried a re-synch and build again last night, and it failed much earlier; even before the main build started (ie it didn't get to the above issue). They are obviously making changes and maybe I need to try to synch my build attempts with their official build windows.

I am also a little suspicious of my build machine (VBox) as I built it for Oreo a loooong time ago. I think I may give LOS16.1 a go as a 'shakedown" of my build environment. We have an unofficial build of LOS16.1, but the Havoc-OS is official.

---------- Post added at 10:16 ---------- Previous post was at 09:57 ----------

You could help yourself by posting the log on a text host and not a screen shot (such as del.dog or hastebin.com)
[Android] karthik km:
try this

https://review.lineageos.org/c/LineageOS/android_art/+/233821
[Android] NepoRood:
The ccache error could be from switching from Oreo to Pie, I always clean mine out when switching to new releases.

Trying to build straight Lineage is a good idea too, I know clearing ccache will increase build time, I've never used a VM, so I don't know what your build times are. They go up with every Android release though, lol