yashsingh1/xdaforums huggingface dataset:
[Android] Garv Maggu:
Getting this error and toybox folder is there in external folder.

Checking build tools versions...

build/core/binary.mk:1180: external/deqp/Android.mk: libdeqp: Unused source files: \

build/core/binary.mk:1180: external/pdfium/third_party/pdfiumbigint.mk: libpdfiumbigint: Unused source files: bigint/BigInteger.cc bigint/BigIntegerUtils.cc bigint/BigUnsigned.cc bigint/BigUnsignedInABase.cc

frameworks/av/camera/cameraserver/Android.mk:18: Target has integrated cameraserver into mediaserver. This is weakening security measures introduced in 7.0

build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets

find: `/home/garvmaggu/ducaf/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates': No such file or directory

build/core/package_internal.mk:143: Empty argument supplied to find-subdir-assets

build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them!

build/core/binary.mk:37: libwifi-hal-qcom uses kernel headers, but does not depend on them!

No private recovery resources for TARGET_DEVICE nicki

Using '/usr/bin/ccache' binary

build/core/Makefile:51: warning: overriding commands for target `/home/garvmaggu/ducaf/out/target/product/nicki/system/lib/libjni_latinime.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/garvmaggu/ducaf/out/target/product/nicki/system/lib/libjni_latinime.so'

build/core/Makefile:51: warning: overriding commands for target `/home/garvmaggu/ducaf/out/target/product/nicki/system/etc/mkshrc'

build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/garvmaggu/ducaf/out/target/product/nicki/system/etc/mkshrc'

build/core/Makefile:51: warning: overriding commands for target `/home/garvmaggu/ducaf/out/target/product/nicki/system/lib/hw/sensors.default.so'

build/core/base_rules.mk:316: warning: ignoring old commands for target `/home/garvmaggu/ducaf/out/target/product/nicki/system/lib/hw/sensors.default.so'

device/sony/nicki/boot/custombootimg.mk:31: warning: overriding commands for target `/home/garvmaggu/ducaf/out/target/product/nicki/ramdisk-recovery.img'

build/core/Makefile:1112: warning: ignoring old commands for target `/home/garvmaggu/ducaf/out/target/product/nicki/ramdisk-recovery.img'

Starting build with ninja

ninja: Entering directory `.'

ninja: error: '/home/garvmaggu/ducaf/out/target/product/nicki/utilities/toybox', needed by '/home/garvmaggu/ducaf/out/target/product/nicki/boot.img', missing and no known rule to make it

make: *** [ninja_wrapper] Error 1

real	0m43.135s

user	0m51.340s

sys	0m3.320s
[Android] Arvind7352:
AOSP Toybox doesn't get built for some Sony Devices.

Get toybox from LineageOs and replace it with the existing toybox located at 'external/toybox'
[Android] :
hello,

can i use a device tree that was made for cm11 on my cm13 project.

also if that is possible with both kernel and vendor blobs that were made for cm11 of my device.

this is since my device doesn't have an active latest cm developers.

thanks in advance
[Android] Garv Maggu:
Thanks, it worked. :)
[Android] TimSchumi:
You have to hope that the kernel source still works on CM 13.

The vendor tree from CM 11 COULD work, but I recommend to start with an empty one and only copy over the libs requested by the system

I doubt that the device tree will work, you better make a new one with the mkvendor script and copy over things like the general information (cpu, partitions, fstab, etc.) and do everything else as it's needed
[Android] :
wow. thanks.

let me try making them, in case i fail, ill be here
[Android] allurba:
Error:
[Android] nicesoni_ash:
I have about 128gb of partition only for ccache. I am building for two devices and overtime this partition gets out of space as I make dirty builds usually as making clean takes up a lot of my time. So eventually I either have to clean my ccache by ccache -C or make clean, both takes longer time to build. Is there any reason why it's happening or somehow I can delay it as much as possible?

Thanks.
[Android] prakharluv:
How to add OMS to NON-OMS rom?
[Android] Charles IV:
It'll be interesting to see if it works, but just a quick thing I want to add:

vendor blobs should work, and if the rest doesn't, see if you can find a way of copying then to a new build, because extracting them (as you probably discovered) is a pain.
[Android] allurba:
I'm new to the kitchen android, I've compiled RR, Lineage, AOKP, XenonHd and Vanir Aosp, use the device tree of CM 7.1.1 and there is no way to compile CAF, I tested with aosp-caf, citrus-caf but only errors.

You should modify some of the device tree? Not find nothing.

My device tree:

android_device_huawei_rio, branch 7.1.1

android_vendor_huawei_rio, branch 7.1.1

android_kernel_huawei_msm8939, branch 7.1.1
[Android] qoejohn:
#ask

#compile_android_N

Sometimes I get a little error in java,

Once fixed,

Can I directly "brunch" back without "make clean"?

Will there be any effect when compiling or after successfully compiled?
[Android] nitin.chobhe:
Dirty brunch - yes

Any effect during/after compiling - no

Nitin
[Android] qoejohn:
Thanks dude ;)
[Android] alphamale:
Can someone advise. Getting this error while building aosip rom. No private recovery resources for TARGET_DEVICE shamu

Import includes file: /home/krystalsdude/aosip/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/import_includes

host C: libhost <= build/libs/host/CopyFile.c

make: *** No rule to make target 'kernel/motorola/shamu/arch/arm/configs/slim_shamu_defconfig', needed by '/home/krystalsdude/aosip/out/target/product/shamu/obj/KER

NEL_OBJ/.config'. Stop.

make: *** Waiting for unfinished jobs....

host C: libcompiler_rt-extras <= external/compiler-rt/lib/builtins/mulodi4.c
[Android] Infinity:
You need to add those commits...

If you're a newbie then may be difficult task for you...

But if you want to those commits then ask

Regards

Infinity
[Android] prakharluv:
Hello sir,

Yeah I am newbie in this development field, please help me

Thank you for your support :)
[Android] Infinity:
https://github.com/SubstratumResources

Sir,. Git fetch correct one in correct directory

And cherry pick

(It's simple just you need to learn git 1st)
[Android] nitin.chobhe:
Check if you have this file: kernel/motorola/shamu/arch/arm/configs/slim_shamu_defconfig

Nitin
[Android] prakharluv:
OK Thank you sir
[Android] Garv Maggu:
Getting this error, any ideas?

http://pastebin.com/9LiNqZXS
[Android] MSF Jarvis:
Sorry for being rude but hastebin or gtfo for build logs or ANYTHING longer than four or five lines
[Android] Garv Maggu:
Done. :good: http://pastebin.com/9LiNqZXS
[Android] MSF Jarvis:
Source is derped, either revert any recent aapt2 commits to the fwb or wait for Xenon to fix it
[Android] Garv Maggu:
FWB? What does that mean?
[Android] MSF Jarvis:
Frameworks_base
[Android] Garv Maggu:
Okay, thanks.
[Android] :
Hello guys,

Am a little bit unsure with what am doing. I made device tree using the mkvendor.sh method, the only thing i was worried about is that some folder and configuration lines were not present in boardconfig.mk, like bluetooth. I decided to do the eady way of copying them from previous trees, while changing some line configurations on boardconfig.mk manually counter checking them if they exist on my device.

Now my question is, did i do the right thing by copying or i did not make device tree successfully, if latter, can anyone suggest me any full recourse for making device tree. Suggest to me a material like am 5
[Android] TimSchumi:
I would recommend that you first keep the device tree generated by mkvendor.sh as it is and only check all the values that were already inside there and correct them if needed. To return your device tree back to original state, just run "git reset --hard" (Warning, will delete all data made after the last commit) inside your device tree.

Also, uploading your device and kernel tree to GitHub would be nice
[Android] :
So it means that its ok to do what i did.. provided that i can roll back changes...
[Android] :
anyone know why am getting this error, tried googling, but nuh!
[Android] TimSchumi:
You just need to run this:

mkdir out/target/product/degas3g/obj/KERNEL_OBJ/usr
[Android] alphamale:
file doesnt exist
[Android] nitin.chobhe:
Show me this file:

device/motorola/shamu/boardconfig.mk

Or link your device tree github

Nitin
[Android] MoistPicklez:
Does anyone know where I might find a guide to add in device dependencies and compile a ROM for a device that's not normally supported? If that makes sense..?

I have a Canadian G3 (d852) which doesn't get a lot of custom ROM love, so I'd really like to learn to build various ROMs for my fellow Canadians. Any help would be welcomed and greatly appreciated!
[Android] nitin.chobhe:
This guide is for that purpose only mate... Read fourth post of this thread :cowboy:

Nitin
[Android] MoistPicklez:
Perfection, thank you kindly my good sir!
[Android] alphamale:
krystalsdude@instance-1:~/aosip$ find device/motorola/shamu/boardconfig.mk

find: ‘device/motorola/shamu/boardconfig.mk’: No such file or directory

krystalsdude@instance-1:~/aosip$

I tried to re sync and and got the following

/bin/sh: 1: bc: not found

/home/krystalsdude/aosip/kernel/motorola/shamu/kernel/Makefile:141: recipe for target 'kernel/timeconst.h' failed

make[3]: *** [kernel/timeconst.h] Error 127

/home/krystalsdude/aosip/kernel/motorola/shamu/Makefile:799: recipe for target 'kernel' failed

make[2]: *** [kernel] Error 2

make[2]: *** Waiting for unfinished jobs....

CC mm/swap_state.o

target StaticLib: libutils (/home/krystalsdude/aosip/out/target/product/shamu/obj/STATIC_LIBRARIES/libutils_intermediates/libutils.a)

CC mm/swapfile.o

CC mm/dmapool.o

target StaticLib: libc (/home/krystalsdude/aosip/out/target/product/shamu/obj/STATIC_LIBRARIES/libc_intermediates/libc.a)

CC mm/slub.o

CC mm/migrate.o

target StaticLib: libselinux (/home/krystalsdude/aosip/out/target/product/shamu/obj/STATIC_LIBRARIES/libselinux_intermediates/libselinux.a)

CC mm/page_isolation.o

target StaticLib: libc++_static (/home/krystalsdude/aosip/out/target/product/shamu/obj/STATIC_LIBRARIES/libc++_static_intermediates/libc++_static.a)

Import includes file: /home/krystalsdude/aosip/out/target/product/shamu/obj/STATIC_LIBRARIES/libminijail_intermediates/import_includes

target StaticLib: libminijail_generated (/home/krystalsdude/aosip/out/target/product/shamu/obj/STATIC_LIBRARIES/libminijail_generated_intermediates/libminijail_generated.a)

LD mm/built-in.o

target StaticLib: libminui (/home/krystalsdude/aosip/out/target/product/shamu/obj/STATIC_LIBRARIES/libminui_intermediates/libminui.a)

Makefile:130: recipe for target 'sub-make' failed

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory '/home/krystalsdude/aosip/kernel/motorola/shamu'

build/core/tasks/kernel.mk:297: recipe for target 'TARGET_KERNEL_BINARIES' failed

make: *** [TARGET_KERNEL_BINARIES] Error 2

make: *** Waiting for unfinished jobs....

And that file still doesnt exist
[Android] NepoRood:
You need to clone shamu repo to your machine, or add it to your local manifest and re-sync. You can't build for a device without the device tree...
[Android] TimSchumi:
You didn't try to resync, you tried to build there. If this error still exists after resyncing, try to cherry-pick this into your kernel repository:

https://github.com/SiniTurk/android...mmit/5c8d2da0289f0a08d2c00f48acb5ccdd0d8ac4e4

(Check if the error message says something like "the usage of 'defined(@array)' is deprecated" before though)

I cannot see the exact error message, but this fixes a common problem (and the only one i know) with this file.

Also, it probably isn't boardconfig.mk, but BoardConfig.mk (Finding files is easier through a graphical file manager)

PS: It would be easier if you put your device tree on GitHub. Also, if you have to paste big chunks of code/text, upload it to pastebin.com and share the link here
[Android] :
any idea on how i should go by this. or what it should be doing..
[Android] bablu048:
hi, how did you solve this?
[Android] osas514:
Check page 523 and 528 for solutions..
[Android] :
someone help please.

i cant get solution from uncle Google have no solution
[Android] bablu048:
how did you solve this ?
[Android] htcones:
Failing Play Store connectivity and much much more

I have been successfuly building CM 13.0 for a long time, I have just "successfuly" built Lineage 14.1 for ville but I have issues with the Google Play Store from OpenGapps for arm-7.1 dated 02/03/17. The Play store claims there is no Internet connect, but the built-in browser works just fine.

adb logcat shows lots of Bad Record MAC TLS alerts being reported from a wide range of sources (DownloadManager, GDataClient, GCoreUlr, PeopleSync, AuthZen, Auth.Api.Credentials, Finsky, ContactsSyncAdapter, PlayCommon) so I figure there must be something wrong with my boringssl implementation.

Anyone have any suggestions on what to do diagnose this further. Can someone suggest how I can just rebuild the boringssl implementation without rebuilding everything else?
[Android] mihran_thalhath:
Sepolocy error, i think! Any suggestions?

pastebin.com/Mv6J7LDB
[Android] nicesoni_ash:
Hi,

I am trying to use squisher and crusher from old cm which is now ported for nougat with my rom build but first I thought it should have been run with my build commands but it didn't I have both ota and final zips with me, now if I run it through bash manually, I am getting

ERROR: /home/ashoksoni/rr/vendor/cm/tools/squisher only works with a full build environment. $OUT should exist.

Any help.
[Android] Snehith:
Build error.

Been getting this error lately.

Any help would be appreciated.

Using /home/snehith/aosp-DU/kernel/huawei/angler as source for kernel

target C++: libv8 <= external/v8/src/compiler/all-nodes.cc

HOSTLD scripts/mod/modpost

HOSTCC scripts/asn1_compiler

/bin/sh: 1: Syntax error: Unterminated quoted string

make[2]: *** [include/generated/utsrelease.h] Error 2

make[2]: *** Waiting for unfinished jobs....

target C++: libv8 <= external/v8/src/compiler/ast-graph-builder.cc

make[1]: *** [sub-make] Error 2

make[1]: Leaving directory `/home/snehith/aosp-DU/kernel/huawei/angler'

make: *** [TARGET_KERNEL_BINARIES] Error 2

make: *** Waiting for unfinished jobs....

Cheers.

EDIT: http: //pastebin.com/ qQrgfup6 (spaces added)
[Android] NepoRood:
Try an older version of GApps...
[Android] TimSchumi:
Of this still occurs after you ran ". build/envsetup.sh" you might try "mkdir $OUT"

Also, if it's Nougat, you might try "make otapackage", which should generate the zip files automatically
[Android] nicesoni_ash:
Thanks, it did make it automatically.

Sent from my "1+2" powered by Unofficial RR 7.x.x

Compiled by myself
[Android] Infinity:
lunch error....?

hi there, i am try building aospa for kenzo but got the error in selecting device in lunch menu

ERROR =>

File "build/tools/roomservice.py", line 64, in <module>
dependencies = json.loads(open(dependencies_json_path, 'r').read())
File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Expecting , delimiter: line 50 column 5 (char 1509)

** Roomservice failure for: 'pa_kenzo'

For reference for you guys my room service is here

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

<manifest>
<remove-project name="AOSPA/android_frameworks_av" />
<project name="LineageOS/android_device_xiaomi_kenzo" path="device/xiaomi/kenzo" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_kernel_xiaomi_msm8956" path="kernel/xiaomi/msm8956" remote="github" revision="cm-14.1" />
<project name="TeamHorizon/proprietary_vendor_xiaomi" path="vendor/xiaomi" remote="github" revision="n" />
<project name="LineageOS/android_device_xiaomi_msm8956-common" path="device/xiaomi/msm8956-common" remote="github" revision="cm-14.1" />
<project name="LineageOS/android_hardware_qcom_audio" path="hardware/qcom/audio" remote="github" revision="cm-14.1-caf-8952" />
<project name="LineageOS/android_hardware_qcom_display" path="hardware/qcom/display" remote="github" revision="cm-14.1-caf-8952" />
<project name="platform/hardware/qcom/keymaster" path="hardware/qcom/keymaster" remote="caf" revision="LA.BF.1.1.3_rb1.13" />
<project name="LineageOS/android_hardware_qcom_media" path="hardware/qcom/media" remote="github" revision="cm-14.1-caf-8952" />

</manifest>

device tree link => https://github.com/LineageOS/android_device_xiaomi_kenzo

note= i edit my tree and make it pa-ify

thanks !
[Android] htcones:
After your suggestion I tried some others that had the same issue or worse as in one case the setup wizard even crashed. and the only way out was to power off. I finally tried yesterday's OpenGapps nano build and Play Store would at least connect, however no downloads ever start, you just see downloading forever and logcat again shows BAD_RECORD_MAC errors

02-06 13:31:35.157 3765 4424 E PlayCommon: [263] com.google.android.play.a.g.a(1057): Failed to upload logs: javax.net.ssl.SSLProtocolException: Read error: ssl=0x9aeb6680: Failure in SSL library, usually a protocol error

02-06 13:31:35.157 3765 4424 E PlayCommon: error:100003fc:SSL routines:eek:PENSSL_internal:SSLV3_ALERT_BAD_RECORD_MAC (external/boringssl/src/ssl/s3_pkt.c:610 0xab397580:0x00000001)

Now I am not sure if Gapps is the problem or something in boringssl
[Android] spirto82:
Hi to all.

This is my first attempt to compile a custom ROM, so forgive me for any mistakes, or If I ask more details.

I am trying to build a Ressurection Remix ROM (based on 7.1.1) for Huawei P8 Lite. Some guys from XDA on our sub-forum, have created the vendor, kernel and device tree, for Android N, which I use, with some modifications (on the device tree).

I always run into an error, and cannot point out what's the problem.

I get:

Starting build with ninja
ninja: Entering directory `.'
ninja: error: unknown target 'bacon', did you mean 'racoon'?
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/..... /RR'

Can someone help me with this?

I have read that others run into this, but there was no solution.

Thanks in advance.
[Android] Raja_12:
I'm trying to compile pure nexus. I'm confused on device tree compatibility. This guide gave example of editing cm.mk, cm.dependencies, Android products.mk. I find it difficult to figure out the modifications to be made. So if anyone recently compiled pure nexus for ur device. Please hint me ur steps. Thnks
[Android] Snehith:
Use:

$ sudo gedit ~/.bashrc

export USE_NINJA=false

Add that line to your .bashrc so it applies to every build you run.
[Android] spookcity138:
Don't use sudo to edit a file in your home folder. Just saying [emoji6]
[Android] Qiangong2:
What do you do when you can't make mrproper a kernel source? When building with lineageOS, It tells me to make mrproper, but when I try, it fails each time.

Device source: https://github.com/Qiangong2/android_device_blu_d790q

Kernel source: https://github.com/Qiangong2/android_kernel_blu_d790q
[Android] TimSchumi:
Since Android 7 it is "mka otapackage" instead of "mka bacon"
[Android] htcones:
Looks like I am not alone in experiencing this issue.

https://jira.lineageos.org/plugins/servlet/mobile#issue/BUGBASH-21
[Android] tech mashido:
generally you don't need to edit device tree for rr and crdroid , just sync and compile ...

use
[Android] tech mashido:
do you mean aosp based roms?
[Android] DJKristy:
Android open source program
[Android] Raja_12:
how to clear this error.
[Android] Elanza_48:
Can anyone suggest a powerful webserver for building roms ?

I was currently using vagrant but while syncing repo of RR-OS I'm continuously getting errors about resoving url and end host not responding.

I tried decreasing load from -j4 to j1 but same !!
[Android] :
What can i do when my rom is stuck on patching system image unconditionally. What might be the problem
[Android] NepoRood:
Very hard to read that little picture, upload to pastebin or something...

I know a lot of people use Google Cloud, but, If you take the time to do the math, you'll save in the long run by just getting your own machine. They're not as expensive as you might think.
[Android] spirto82:
Hi,

I am trying to build a Resurrection Remix custom ROM (first attempt), but I am getting an error:

Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/home/ ... /RR/out/target/common/obj/JAVA_LIBRARIES/sap-api-java-static_intermediates/classes.jack', needed by '/home/ ... /RR/out/target/common/obj/APPS/Bluetooth_intermediates/with-local/classes.dex', 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/ ... /RR'

#### make failed to build some targets (04:26 (mm:ss)) ####

I've tried to follow up on this error and I found 3 "possible" reasons:

- Hardware/ril-caf (manifest)

- JACK

- memory

The first one is excluded. I have changed the local_manifest in order to prevent this.

As for the second one, I cannot check it, cause I don't have any .jack file .... ???? :confused:

As for the third one, I have a clear Ubuntu 16.04 installation (not through VM), but, I only have 4 Gb of Ram (where my OS recognizes only 3.1 :confused::confused:) - I have set ccache -M 50G for the building....

Can someone indicate the problem?

If it is hardware, I will just .... quit my effort ....

Thanks in advance.
[Android] Raja_12:
http://cloud.tapatalk.com/s/589b5763b01ec/Screenshot_20170208-230025.png? [MENTION=7237874]NepoRood[/MENTION]
[Android] NepoRood:
Do you have a link to your device repo?

There's several things wrong with your sources, it appears...
[Android] Raja_12:
https://github.com/CyanogenMod/android_device_yu_tomato
[Android] nicesoni_ash:
When asking for help, put all log on pastebin kind of site and then explain your issue. Also put your links for your device tree for the start.

Sent from my "1+2" powered by Unofficial RR 7.x.x

Compiled by myself
[Android] tech mashido:
i know full name of aosp....
[Android] sub77:
r

looks like you are infected by i686 which is sucking your ram.

you should get some x86_64 iso and reinstall your system.

the error message sounds like a misconfigured ril setup.
[Android] spirto82:
My mistake.

The output is : here

The device tree can be found here

*this code is not mine.

Can you elaborate please? From what I can recall, I had 3.1 Gb of Ram, at the very beginning.

I have read in one case, that it had something to do with the ril-caf.

So, I tried on local_manifest to remove the default one and add it again on mine, but I had the same ressults.

Sorry for my ignorance, but this is my first attempt.
[Android] GryffindorJayson:
THANKS

thanks a lot for ur fabulous guide! really helpful!:)
[Android] gtpitch:
Issue: bootloop after compiling CarbonROM for Oneplus2

Log: http://pastebin.com/MHETkuKf

Device Tree: https://github.com/aosp-oneplus2/device_oneplus_oneplus2/tree/carbon

Hoping someone has encountered something similar and can point me in the right direction.
[Android] Infinity:
Dude

Do Make clean or do make clobber & compile again

Explanation: when ever you compile a successful build that doesn't mean it's bootable build..

So, you have to just compile once again

That's it
[Android] nicesoni_ash:
That won't just magically fix his issue, he needs to get the log while the device is bootlooping and then check them on pc what's the issue, it could be a permission issue or supolicy.

Sent from my "1+2" powered by Unofficial RR 7.x.x

Compiled by myself
[Android] Raja_12:
[MENTION=7237874]NepoRood[/MENTION] bro i hav cleard some of my previous errors. can you help me with this one?
[Android] Infinity:
Edit your device tree properly

Nothing else

Follow post 9 for this

---------- Post added at 10:30 AM ---------- Previous post was at 10:29 AM ----------

Sir, don't think too Much.

I don't think it's happening due to any other issues..

He should try make clean build 1st

Lol