yashsingh1/xdaforums huggingface dataset:
[Android] carlosuema:
You need copy that lib from your phone to you vendor tree in source files.

Enviado de meu UMI_MAX usando Tapatalk
[Android] pierg75:
As you can see in the output it's already there.
[Android] carlosuema:
So, you need copy that lib from /system/lib/libqomx_core.so in your stock rom and put in your vendor tree ./vendor/nubia/nx507j/proprietary/lib/libqomx_core.so . Because It wasnt there, in your source vendor tree.

Enviado de meu UMI_MAX usando Tapatalk
[Android] pierg75:
Sorry I don't get it...the output there is from the vendor tree (it's actually from the sync'ed repo).

This is from the vendor tree:

# git config remote.origin.url
https://github.com/pierg75/android_vendor_nubia_nx507j.git
# git branch
* nougat-7.1
# find . -name libqomx_core.so
./proprietary/lib/libqomx_core.so
# grep -IR libqomx_core.so
nx507j-vendor.mk: vendor/nubia/nx507j/proprietary/lib/libqomx_core.so:system/lib/libqomx_core.so \

Or is there something I'm missing?
[Android] TimSchumi:
delete
[Android] danward:
Heya guys,

I'm trying to port LineageOS to the Xiaomi Mi 6 (Sagit) using a prebuilt kernel. I have it compiling now with some CAF sources for audio, display, and media. The kernel is linked against the msm-4.4 from CAF too.

I'm using wo0d's https://github.com/thune-xiaobai/android_device_xiaomi_sagit as the device tree.

I can't see what's wrong with the kmsg and why the services all die: https://zifb.in/WOjBenpoJL.

Note that I deleted audioserver as it has invalid memory references which I'll sort out later once it's booting.

Any help would be appreciated in analysing the log..

Thanks!

Edit: the LineageOS recovery that is build runs fine on the device.
[Android] Suvam Mondal:
Hello guys, I need your help.

I have built a Resurrection Remix Rom based on Android 6.0.1 fom source. The problem is after flashing, the phone is stuck at the company logo. I dont understand what is the reason for this. Can someone please help me out how to solve this problem ?
[Android] rahul8040:
ok! so i tried the clean command! and it did clean everything form OUT folder! now i am building the ROM again! if any error comes i'll report it back to you! :D
[Android] akhilnarang:
Don't clear your ccache after a successfully build though, then the building time will increase

CCache reduces my consecutive build time to one fourth
[Android] rahul8040:
I DID ALL this am i doing anything wrong?

ok so its like this! i'll say what i did step by step!

I did a full REPO SYNC 100%

then i created the local_manifest! (galaxy grand duos i9082) -

then i did full repo sync again! 100%

then i started with build/envsetup.sh and brunch i9082

then it gave that error which i stated in the LINK!!

THIS ERROR!

CC fs/generic_acl.o
target thumb C++: v8_tools_gyp_v8_base_gyp <= external/chromium_org/v8/src/arguments.cc
LD fs/built-in.o
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/rahul/cm12/kernel/samsung/i9082'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
rahul@rahul-VirtualBox:~/cm12$

then i did a clean command like u said! cd cm12 ---->> make clean

and now i am doing "build/envsetup.sh" and then "brunch i9082" again! and it's processing it!

now tell me what i did wrong ?? and if any error comes i'll report back!

---------- Post added at 01:23 PM ---------- Previous post was at 01:22 PM ----------

ok so its like this! i'll say what i did step by step!

I did a full REPO SYNC 100%

then i created the local_manifest! (galaxy grand duos i9082) -

then i did full repo sync again! 100%

then i started with build/envsetup.sh and brunch i9082

then it gave that error which i stated in the LINK!!

THIS ERROR!

CC fs/generic_acl.o
target thumb C++: v8_tools_gyp_v8_base_gyp <= external/chromium_org/v8/src/arguments.cc
LD fs/built-in.o
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/rahul/cm12/kernel/samsung/i9082'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
rahul@rahul-VirtualBox:~/cm12$

then i did a clean command like u said! cd cm12 ---->> make clean

and now i am doing "build/envsetup.sh" and then "brunch i9082" again! and it's processing it!

now tell me what i did wrong ?? and if any error comes i'll report back!
[Android] akhilnarang:
Do

mka kernel

Or

make kernel

Instead of brunch

What's the output then
[Android] rahul8040:
whT DOES THIS "MAKE KERNEL" command actually do..i have done that! and remember my previous process it gave the same error! now i took full log fof it check it HERE!

what should i do now?> i did ur make kernel command and its completed! Now what?
[Android] akhilnarang:
make kernel

Makes just a boot.img

Are you sure kernel source is proper?

And device tree is cm-12.0
[Android] rahul8040:
yes yes! kernel source is proper and it's cm12.0 only! i talked to jack and he said then error is not an error it will go away on second try now lets see!
[Android] jack9394:
i'm getting this error when the sync is over how to fix this?

https://www.dropbox.com/s/pukbcluooa29qv4/Capture.PNG?dl=0
[Android] ivankolev:
Hi,

Could you help me with instructions how to remove packages prior build process?

For instance /packages/apps/Calculator

How to remove and not build it?
[Android] icke:
Look at your manifest.xml., search for the line that contains the calculator package, copy that line and past in your local_manifest.xml and add "remove-" in front of "project".

For example for CM12:

<[COLOR="Red"]remove-[/COLOR]project path="packages/apps/Calculator" name="CyanogenMod/android_packages_apps_Calculator" remote="cm" revision="cm-12.0" />

Than repo sync again.
[Android] ivankolev:
Thanks

I tried this for packages I think not important, but gives me compiling error.

I will try with one package, because tried with several when got the error!

Anyway, is there any kind of dealing with .mk files reaching same result?
[Android] icke:
Yeah...some packages have depencies with other ones. For example I've tried to remove email package in this way and during compile process it gaves me an error that there are some bluetooth depencies and it stoped my build. So be careful what U remove from your repo. ;)
[Android] akhilnarang:
You just need to do <remove-project name=" blah"/>
[Android] icke:
fatal: remove-project element specifies non-existent project: packages/apps/Calculator

;) Not working.
[Android] akhilnarang:
Make it packages_apps_calculator
[Android] tobitege:
[MENTION=422552]icke[/MENTION]: try to specify it with the full repo name
[Android] rahul8040:
hey can u please help me! i am getting this error while building the ROM!

ERROR!
[Android] mohit310:
what that means is that there are two methods with same signature defined in the java class. See the one which is empty and remove that
[Android] rahul8040:
and how can i do that exactly brother! can u explain step by step!
[Android] mohit310:
pastebin your file and I can tell you what to do

packages/services/Telephony/src/com/android/phone/msim/SelectSubscription.java
[Android] MZO:
See the log messages
[Android] Suvam Mondal:
how to see the log messages can you please tell me ? I am new to all this. :)
[Android] vinaysharma5558:
Is any kitchen tool support lolipop or up
[Android] neonkat:
if stuck at oem logo then i guess adb will not work,you can try with android monitor(sdk tools) to take that log.
[Android] XTutorials:
Hi. I am building AOSP 6.0.1. But after make command it gives me an error:

build/core/Makefile:34: warning: overriding recipe for target 'out/target/product/alice/system/etc/clatd.conf'

build/core/base_rules.mk:559: warning: ignoring old recipe for target 'out/target/product/alice/system/etc/clatd.conf'

No private recovery resources for TARGET_DEVICE alice

No recovery.fstab for TARGET_DEVICE alice

make: *** No rule to make target 'aosp_alice-userdebug'. Stop.

#### make failed to build some targets (02:07 (mm:ss)) ####

andrei@Andrei-HP-EliteBook:~/aosp$

Cand someone help me, please?

Thanks in advance
[Android] karna11:
Hey guys... Can anyone help me please.
[Android] pintspin:
replacing apps can be done via updater-script you need to tweak your script

e.g. for delete use

delete("/system/app/YouTube.apk");

check out this thread for more info . i recently build aosp and currently trying to create my script to flash via recovery .

https://xdaforums.com/showthread.php?p=17684719#post17684719
[Android] MZO:
You can put the sources of thise apps in your packages/apps/* and mka their module names and it'll build with them.

---------- Post added at 07:33 AM ---------- Previous post was at 07:29 AM ----------

If you're building your own build from scratch then use python scripts to modify the source abd call these commands. Calling then after the ROM is built is kinda unprofessional if you ask me.
[Android] pintspin:
m still learning , have limited knowledge on edify but will look into python scripts too thanks for tip .
[Android] Albe96:
[MENTION=6304619]MZO[/MENTION] [MENTION=5991747]neonkat[/MENTION]

how to fix this error?

https://hastebin.com/bekamayilo.cs
[Android] MZO:
Have you nade any kernel changes? Because the kernel is broken. Revert the commits which cause the problem
[Android] neonkat:
you added vendorsetup.sh?

pure aosp 6?which device you building for?
[Android] TheReaper1:
Hello, guys!

I try to build Cosmic-OS for D855 but I recive this error: https://hastebin.com/malazejise.pas

Can you help me resolving this?

Regards, Traian!
[Android] MZO:
BOARD_HAVE_QCOM_FM := true goes in your boardconfig
[Android] TheReaper1:
Something like this: https://hastebin.com/faguhuquzo.go ?
[Android] TheReaper1:
Ok, thx for your help! :)
[Android] XTutorials:
Thank you. I already fixed the error
[Android] Kungencortes:
How can i remove the installation of stock google recovery from my compiled build? for it not to replace twrp custom recovery
[Android] Albe96:
[MENTION=6304619]MZO[/MENTION] Wht's going on here buddy?

Which would you like? [aosp_arm-eng] 11
build/core/product_config.mk:250: *** _nic.PRODUC
TS.[[device/samsung/e53g/xosp.mk]]: "device/samsu
ng/qcom-common/qcom-common.mk" does not exist. S
top.
WARNING: Trying to fetch a device that's already
there
WARNING: device/samsung/e53g/xosp.dependencies fi
le not found
build/core/product_config.mk:250: *** _nic.PRODUC
TS.[[device/samsung/e53g/xosp.mk]]: "device/samsu
ng/qcom-common/qcom-common.mk" does not exist. S
top.
build/core/product_config.mk:250: *** _nic.PRODUC
TS.[[device/samsung/e53g/xosp.mk]]: "device/samsu
ng/qcom-common/qcom-common.mk" does not exist. S
top.

** Don't have a product spec for: 'xosp_e53g'
** Do you have the right repo manifest?
[Android] MZO:
device/samsung/qcom-common isn't synced
[Android] Suvam Mondal:
[MENTION=5991747]neonkat[/MENTION] [MENTION=6304619]MZO[/MENTION]

Hello guys, i took the error log like you said but I am not sure how to solve this error. Can you guys please help me out ?

These are the errors that showed up (stuck at android logo) :

E/perfprofd: unable to open configuration file /data/data/com.google.android.gms/files/perfprofd.conf

E/cutils: Failed to read /data/.layout_version: No such file or directory

E/installd: Could not create directories; exiting.

E/gatekeeperd: chdir: /data/misc/gatekeeper: No such file or directory

E/keystore: chdir: /data/misc/keystore: No such file or directory

E/SurfaceFlinger: hwcomposer module not found

E/cutils-trace: Error opening trace file: No such file or directory (2)
[Android] MZO:
Try permissive kernel and clean flash it. It seems like something is stopping system from reading /data
[Android] Suvam Mondal:
can you please tell me how to build a permissive kernel ? I did some google search and in one post it said to change one line in the MakeFile but it didnt help.

I have the source for the kernel ( https://github.com/Moyster/android_kernel_m2note/tree/mm-6.0 ) but dont know how to build permissive kernel from it.
[Android] MZO:
https://xdaforums.com/google-nexus-5/devs-only/correct-to-compile-permissive-selinux-t3074761
[Android] Suvam Mondal:
I followed this method only..didnt work..still stuck at company logo
[Android] lazybatman123:
we have used the codes that you provided for us but the following error pops up that you can see in the print screen that we have taken.

if you could take a look we would appreciate it.

thanks for the help everyone
[Android] neonkat:
add

androidboot.selinux=permissive

in BOARD_KERNEL_CMDLINE in boardconfig.mk.

i don't think that permissive kernel will help here.
[Android] MZO:
Yea it won't. He'll need kmsg and drivers message to find the problem
[Android] gabrielgagz:
Hi, did you solve this error?
[Android] Albe96:
How to solve this??? somethings in missing I think!

Hastebin Link-->>https://hastebin.com/umaxorihos.pas

Sources-->>https://github.com/TeamExyLords
[Android] herawais:
Help regarding building 7.1 ROM for Galaxy SM-g531h

Hi,

Sir i am compiling Rom for my device ( grandprimeve3g) which is Recurrion remix ( Android 7.1) after compiling 10,000+ files of C++ and C. When the files of java are start it goes to busy and at 37% it does not move forward...

i checked by putting it on compilation whole the night but it does not move forward

Need a solution please ...
[Android] MZO:
Change jack heap size to 4G
[Android] TheReaper1:
Hello! Trying to build DU for D855 but I recive this error. How to resolve this?

https://pastebin.com/0TVqa8DM
[Android] neonkat:
you will need ril-caf.track it from lineageos git.(android_hardware_ril,branch cm-14.1-caf)

or else disable

TARGET_RIL_VARIANT := caf

in your device boardconfig.mk.
[Android] MZO:
Disabling via boardconfig isn't recommended because G3 needs CAF stuff, otherwise ril etc might be broken.
[Android] TheReaper1:
Solved renaming "ril" to "ril-caf"
[Android] MZO:
You shouldn't be doing that ? ril and ril-caf are different set of codes. Doing this could break your baseband/SIM Recognition
[Android] TheReaper1:
Oh ****... I synced DU n7x-caf branch but on DU git I not found a "ril-caf" repo only a "ril" repo. And I asked first on DU G+ and a Nexus 4 unofficial maintainer told me to rename "ril" to "ril-caf". I don't know what to do now :(
[Android] MZO:
The android_hardware_ril has ril-caf branch IIRC.
[Android] TheReaper1:
But why I recive this error: https://pastebin.com/0TVqa8DM ?
[Android] MZO:
Hastebin it please. My ISP doesn't allow pastebin

---------- Post added at 08:31 PM ---------- Previous post was at 08:26 PM ----------

Okay it's sap-api, it is due to missing ril-caf. Remove all rils and clone ril n7x to ril, and ril n7x-caf to ril-caf and you'll be good to go.
[Android] TheReaper1:
Thank you very much [MENTION=6304619]MZO[/MENTION]!
[Android] Hritik utekar:
Pastebin : https://pastebin.com/zhpUujYD

Can't fix this and I'm not able to understand this error.......

Thank you if you read this and replied me!!!!!!!!
[Android] herawais:
Another error

Sir when i change it to 4g then the error is " Out of memory error (version 1.2-rc4 'Carnac' (298900 f95d7bdecfceb327f9d201a1348397ed8a843843 by android-jack-team@google.com)).

GC overhead limit exceeded.

Try increasing heap size with java option '-Xmx<size>'. "

What can be the solution ??
[Android] Jamie_oppo:
https://stackoverflow.com/questions...ror-try-increasing-heap-size-with-java-option

Its there. How to change heap size
[Android] Albe96:
[MENTION=6304619]MZO[/MENTION] [MENTION=5991747]neonkat[/MENTION]

/base_rules.mk:183: *** vendor/samsung/
j2lte: MODULE.TARGET.SHARED_LIBRARIES.libGLES_and
roid already defined by frameworks/native/opengl/
libagl. Stop.
make: Leaving directory '/home/alberteno098/los-1
4'

#### make failed to build some targets (01:56 (mm
:ss)) ####
[Android] zipperX:
How to extract vendor blobs to rom directory? I want build aospextended but can't find vendor source for my mi 5, anyone can help? Device tree and kernel already clone.
[Android] smart-t78:
https://github.com/Mi5Devs/proprietary_vendor_xiaomi?files=1
[Android] zipperX:
Pardon me. Never know mi5dev's github exist. Thanks for fast respond

---------- Post added at 07:34 PM ---------- Previous post was at 06:44 PM ----------

Well, i still got error https://hastebin.com/relagoyule.erl
[Android] NepoRood:
Change your device make file (aosp_gemini.mk), you have:

vendor/aosp/config/common_full_phone.mk

Should be:

vendor/aosp/common.mk
[Android] aoleary:
Hi.

I have the logcat from the point where the Display Settings button is pressed, and a soft restart results.

See attached link: https://drive.google.com/open?id=0B6cvHrzjYgfGVzBVbllEWGJyVkk

Any ideas?
[Android] Wywern.pl:
Hi, I'm absolutely newbie in cooking ROMs, this is my first attempt to it

I configured envinronment Kubuntu in VB as was described on L/CM wiki and here in first post

Now, how should I connect to repo published on git in 3 parts:

https://github.com/PaoloW8/android_device_nubia_nx505j

https://github.com/PaoloW8/android_vendor_nubia_nx505j

https://github.com/PaoloW8/android_kernel_nubia_nx505j

I know my ZTE Nubia Z7max lineage 14.1 is build based on OnePlus One tree, so I want to try update this excellent Paolo's work

I tried to make the local clone of the device repo, but it went wrong:

I know, that Paolo built the ROM from those repos, so everything should be on place?

And - how to make one install zip file from those 3 repos?
[Android] :
Brother,

First thing that I must mention is that these are device trees and I cannot find the link of the ROM git or you must have forgot.

2nd thing, device tree can be synced through implementing "local_manifests/roomservice.xml".

I have attached one just for the shake of example. You need to make changes as per your device n need.

Once done with these changes, enter the command in terminal

$ repo sync -f -c --no-tags --no-clone-bundle --force-sync

.

If you still want to go ahead and clone only these repos then the command should be -

git clone https://github.com/PaoloW8/android_device_nubia_nx505j.git -b cm-14.1 device/nubia/nx505j

Others will be like wise to their respective folders. Please do try this and let us know.

Kindly let me know if you need help in making roomservice.xml.

Regards

Bond
[Android] Wywern.pl:
Thank you fo your answer

I know, I don't understand it yet. I just have this androidiani as source of the knowledge and codes for this ROM.

Should I sync repo https://github.com/LineageOS/android, branch 14.1 as first (base)?

I'm reading tutorial about those manifests files now, in LineageOS14.1 git there is default.xml (as I assume, local_manifest should change some default). So I'm trying to figure out what to write in local*

As I wrote before - I want to make those repos that way, so I can build ROM (for now without any changes), everything lacking consider as my mistake / misunderstand.
[Android] MZO:
You have to sync lineageOS as base just like you said. Then you have to make a local manifest with XML.. Enter your device links with name="link" path="local path" remote="remote you defined" revision="branch"
[Android] :
Brother,

Thanks for the clarification.

1) First, make a folder in home directory "lineage".

2) Type "cd lineage" in command terminal.

3) Now we will initiate the repo and so please type - "repo init -u git://github.com/LineageOS/android.git -b cm-14.1"

4)Once finished, please make the a directory inside ".repo" folder (If not showing, then press ctrl + h) by the name "local_manifests".

5) Now we will make "roomservice.xml" file inside our local_manifests folder.

6) Please copy the codes given below in a blank document in notepad++ or other editor that you have and kindly save it as "roomservice.xml".

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="git" fetch="git://www.github.com/" />
<project name="PaoloW8/android_kernel_nubia_nx505j" path="kernel/nubia/nx505j" remote="git" branch="cm-14.1" />
<project name="PaoloW8/android_device_nubia_nx505j" path="device/nubia/nx505j" remote="git" branch="cm-14.1" />
<project name="PaoloW8/android_vendor_nubia_nx505j" path="vendor/nubia/nx505j" remote="git" branch="cm-14.1" />
</manifest>

Save and close.

7) Now please type "repo sync -f -c --no-tags --no-clone-bundle --force-sync".

Let the sync finish and let us know if everything goes well.

Regards

Bond
[Android] Wywern.pl:
I went ok for 20 minutes, and then stopped:

repo sync -f -c --no-tags --no-clone-bundle --force-sync > repo_sync.txt
Fetching projects: 1% (6/598) fatal: Couldn't find remote ref refs/heads/cm-14.1
Fetching projects: 9% (54/598) fatal: Couldn't find remote ref refs/heads/cm-14.1
Fetching projects: 12% (72/598) remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
Fetching projects: 22% (132/598) fatal: Couldn't find remote ref refs/heads/cm-14.1
Fetching projects: 42% (252/598) remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
Fetching projects: 59% (353/598) remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
Fetching projects: 64% (383/598) remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
Fetching projects: 66% (395/598) remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
Fetching projects: 70% (419/598) fatal: Couldn't find remote ref refs/heads/cm-14.1
Fetching projects: 73% (437/598) remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
Fetching projects: 98% (587/598) remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
Fetching projects: 99% (593/598) fatal: Couldn't find remote ref refs/heads/cm-14.1
fatal: Couldn't find remote ref refs/heads/cm-14.1
error: Cannot fetch PaoloW8/android_vendor_nubia_nx505j
warn: --force-broken, continuing to sync
error: Cannot fetch PaoloW8/android_kernel_nubia_nx505j
warn: --force-broken, continuing to sync
error: Cannot fetch PaoloW8/android_device_nubia_nx505j
warn: --force-broken, continuing to sync
Fetching projects: 100% (598/598)
error: Exited sync due to fetch errors
[Android] NepoRood:
Your local manifest xml file is not properly setup, make sure you are using the proper paths. Repo can't sync something that it can't find...
[Android] Wywern.pl:
I think the cause is that in github.com/LineageOS/android.git there is no refs/heads/cm-14.1

Whatever it is :)
[Android] NepoRood:
No, look closely at your device tree(s), make sure you are referencing the proper branch...
[Android] m4570d0n:
Not true. "cm-14.1" is most definitely the current branch for LineageOS. However, taking a quick glance at those repos on PaoloW8's github, they use the branch name "cm14.1" (notice there is no hyphen). You may have a typo in your local manifest somewhere in which you added the hyphen where it does not belong.
[Android] Wywern.pl:
Yes , I noticed and corrected this

But I still got the same message about refs:

Fetching projects: 1% (6/598) fatal: Couldn't find remote ref refs/heads/cm-14.1
[Android] NepoRood:
You weren't supposed to "spell it out" :p

For you, did you clean or clobber after you changed java? (you should be using OpenJDK, not Oracle, in the first place). Maybe clear your ccache...

---------- Post added at 02:33 PM ---------- Previous post was at 02:29 PM ----------

Post current error, there's still something wrong somewhere