yashsingh1/xdaforums huggingface dataset:
[Android] spookcity138:
Nice! And thanks for posting this. It will help me as well if I want to do the same. I was wrong about all of the necessary steps to get it working.
[Android] DKnightX91:
If you need anything help doing this I got a pretty good idea of who to fix this now. Now on to making OMS rootless to work then getting V4A.
[Android] spookcity138:
Thank you very much. I may need to take you up on that offer sometime.
[Android] Raja_12:
https://hastebin.com/fitisopuko.rb

Device

Rom nitrogen-caf
[Android] nicesoni_ash:
Did you even check your own log?

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

Compiled by myself
[Android] Raja_12:
yea what does it mean multiple targets?
[Android] nicesoni_ash:
Post your complete logs. When you can post them then what's the rush for just few more seconds by posting only the last part.

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

Compiled by myself
[Android] Raja_12:
https://hastebin.com/ekefebuhoz.makefile
[Android] mahmoud_10th:
i need help please

i need help please with ( sound ) it works from the headphones but no sound from the loud speaker :crying:

the device mt6582 kernel ver. 3.4.76

every thing work now except for sound comes only from headphones

what can i do to have sound from the loud speaker

i am building kernel source

From Projectconfig.mk #

CUSTOM_KERNEL_SOUND = amp_yad

form Dalvik Debug Monitor#

the full log :https://hastebin.com/eranagatit.vbs

this is the project on github
[Android] redfeast:
Where to place ramdisk files in source code?
[Android] Rmontoya83:
[MENTION=5216756]jackeagle[/MENTION] I have a build for the style 2 plus it boots but radio Wi-Fi and Bluetooth don't work is there an easy method to fix these issues?
[Android] spookcity138:
I can't help you, sorry, but I too am curious about this. I tried to build ThemeInterfacer as well a week or so ago and had the exact same problem. I assumed at the time that it was an error in the code and would be fixed. I guess this is not the case.
[Android] Infinity:
Comment this line "system/sepolicy/interfacer.te:47"

And make selinux permissive
[Android] DKnightX91:
But with a permissive selinux wouldn't it fail safety net?

---------- Post added at 10:16 AM ---------- Previous post was at 10:47 AM ---------

The way I been starting it to was brunch <device code name> user too. I want it to be a user build not a debug built so android wear works as well.
[Android] mahmoud_10th:
:cowboy:

i am here and i want help people :rolleyes:
[Android] AnotherFreakinNoob:
Not sure how to add my device tree, vendor, kernel
[Android] rajatgupta1998:
Go to your working folder and do this:

Vendor:

git clone url -b branchname vendor/brandname

Device:

git clone url -b branchname device/brandname/devicename

Kernel:

git clone url -b branchname kernel/brandname/cpuname

For example I have a motorola moto g4 plus (athene) which runs on Qualcomm Snapdragon 617 (msm8952) and I'm building lineage os 14.1 so here's what I do:

git clone https://github.com/TheMuppets/proprietary_vendor_motorola -b cm-14.1 vendor/motorola

git clone https://github.com/LineageOS/android_device_motorola_athene

-b cm-14.1 device/motorola/athene

git clone

https://github.com/LineageOS/android_kernel_motorola_msm8952 -b cm-14.1 kernel/motorola/msm8952

I'm using the app, maybe it gets split into different lines. One tree's code in one line.
[Android] Vijay chandra:
Here u go bro,, i attached logs from SLIM ROM .. I have compiled it but it is stuck at boot animation
[Android] TimSchumi:
This line looms interesting:

03-16 09:41:06.402 300 300 F libc : CANNOT LINK EXECUTABLE "/system/bin/mtk_agpsd": library "libshim_agps.so" not found

Try to fix it yoursdlf (though I think it's obvious)

Also, if you are in a bootloop and you have a logcat of it, it's always a good idea to search for the line "beginning of crash" after that, most of the really bad errors happen
[Android] Vijay chandra:
how to fix this bro ?im new to compiling i have more experience in porting,,i dont even know how to read logs ..can u explain it out ?
[Android] aaron74:
Dev Help?

Ok, Ive finally succeeded in getting my 1st build to work, with all the help here on XDA. Now that I know a little more about editing local manifest and adding projects. I want to attempt to take this a step forward.

Since there are already plenty of Devs here building Lineage OS, It was a little easier for me getting help to get this Lineage build to actually build! So what Id like to do, to further my knowledge on this matter, is to build vanilla AOSP. From what Ive managed to read so far, I understand there would be a lot more further editing to get this to work!

So are there any Devs here that could give me some advice and point me into the right direction to get this started!

Thank you!

PS

I already have all aosp source synced!

And I am building for N910P Sprint Note 4 device!
[Android] #Henkate:
Hi there!

Did you manage to fix this error? Im currently experiencing same error while building AOSP 6.0.1.

EDIT: Solved the error by changing "USE_CUSTOM_AUDIO_POLICY := 1" flag to "0" in BoardConfig.mk. Ill see if this will cause any troubles.
[Android] rajatgupta1998:
Guys please use pastebin or something like that for the outputs...!! Reading on xda website or the app makes it difficult..
[Android] Infinity:
Completely agreed

Use hastebin or pastebin as per your preference
[Android] DKnightX91:
I guess that's pointed at me... My bad.
[Android] nicesoni_ash:
Guys, literally just above your posts it's requested to upload your log to hastebin or pastebin or whatever you feel best for your needs. These posts are making reading this thread too much difficult. At least follow this simple request to seek help. (I am not quoting a single post as it's referred to more than one post)

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

Compiled by myself
[Android] DKnightX91:
Hey does anyone know what could be making this error when I try to add Themeinterfacer to my LOS build? I been stuck on this for days now.

http://pastebin.com/WpjX5cEj

[MENTION=4659955]nicesoni_ash[/MENTION] would you know as I think you used it in your ROM?
[Android] nicesoni_ash:
You are adding oms in pure lineage, RR even though based on lineage is different, still based on your logs it's looking like you are missing some commits in other repos related to oms as it's missing some references, most likely in framework/base.

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

Compiled by myself
[Android] DKnightX91:
Do you happen to know which files in general? I mean I done multiple changes in framework_base framework_native and system_sepolicy. I have cut the errors I had down to these last 2.

Prechanges to framework_base framework_native and system_sepolicy: http://pastebin.com/LqsMQajver
[Android] nicesoni_ash:
Just search the undeclared or missing variables (part of your errors) on any rom's git where oms is included or substratum repos and you will find the required commits or related files.

Edit:

Your typeface related error most probably should be fixed by this commit.

https://github.com/ResurrectionRemi...mmit/517557fedf17737a3413bd033f6d9b74654c0f26

Notice the declaration of reloadresources method in that commit, that's how you find and fix issues.

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

Compiled by myself
[Android] Growtopia Jaw:
Cool!!! Nice guide you've done here mate!!! Beginners should come here and read this guide... The guide is really detailed on everything man... And 1 problem, some people living out of US may have quota problems example:(me) I think there's no way you can download the source code... Quota limited to like 5GB max Facepalm
[Android] DKnightX91:
Thank you for the help. I got it working. I needed to do just one more change on framework_base core/java/android/provider/Settings.java on line 6575

* Force authorize Substratum (or equivalent) frontend calling packages by Masquerade
* @hide
*/
public static final String FORCE_AUTHORIZE_SUBSTRATUM_PACKAGES = "force_authorize_substratum_packages";

/**
[Android] heisenberg33:
hey guys, i was compiling via rr_cm13 [Sultan-ized] and I encountered this error can someone help?

regards

ERROR: /home/xam/rr_13/frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java:9653: Duplicate method checkContentProviderAccess(String, int) in type ActivityManagerService

ERROR: /home/xam/rr_13/frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java:9690: Duplicate method checkContentProviderAccess(String, int) in type ActivityManagerService

ERROR: /home/xam/rr_13/frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java:21230: Duplicate method checkContentProviderAccess(String, int) in type ActivityManagerService.LocalService

ERROR: /home/xam/rr_13/frameworks/base/services/core/java/com/android/server/am/ActivityManagerService.java:21235: Duplicate method checkContentProviderAccess(String, int) in type ActivityManagerService.LocalService
[Android] Suvam Mondal:
Facing Exited sync due to fetch errors at a particular point:

"Fetching projects : 100% (586/586)

Exited sync due to fetch errors"

I tried repo sync -f / repo sync --force-broken still the same error at that point

Please help

I have already downloaded 32GB and I dont want this 32GB to be a waste :(
[Android] Matt07211:
I'm currently gonna be setting up and using Google Cloud at the end of this week, but before that happens I've gotta try and fix this error.

It's been bugging for this last week, the person trying to compile encounters this error each and every time, it seems like a stupid simple fix. Logs attached to post.

But the main error is

vendor/cm/build/tasks/kernel.mk:187: ********************************************************** vendor/cm/build/tasks/kernel.mk:188: * Kernel source found, but no configuration was defined * vendor/cm/build/tasks/kernel.mk:189: * Please add the TARGET_KERNEL_CONFIG variable to your * vendor/cm/build/tasks/kernel.mk:190: * BoardConfig.mk file * vendor/cm/build/tasks/kernel.mk:191: **********************************************************

Ive tried (The user Compiling it at the moment, under my instruction) adding a forward slash to the TARGET_KERNEL_SOURCE, this didn't fix the error. I have fixed the spelling error that was there originally, the error still persistsed. I've got the user to verify the kernel source location and config location to be the exact same as specified in BoardConfig.mk

Links to all repos used:

https://github.com/Matt07211/android_device_samsung_xcover3lte

https://github.com/Matt07211/android_kernel_samsung_xcover3lte

https://github.com/Matt07211/local_manifests

https://github.com/Matt07211/android_vendor_samsung_xcover3lte

Hopefully I'm just overlooking something obvious, and someone in this thread could easily point out my mistake.

:fingers-crossed:
[Android] TimSchumi:
Could you upload the full log of repo sync to something like pastebin/hastebin? There is an error before that
[Android] NepoRood:
If you do the following:

repo sync -j1

It will stop at the exact point of the error...

You should target arm64, not arm, from what I can tell. This Line
[Android] Suvam Mondal:
Ok. I will give it a try and if i manage to find any corrupt file then I will delete it and try to resync.
[Android] Suvam Mondal:
Here is the log file :
[Android] osas514:
Here is the cause of the problem

fatal: Unable to create '/home/suvam/RR/.repo/projects/external/chromium-webview.git/shallow.lock': File exists.

If no other git process is currently running, this probably means a

git process crashed in this repository earlier. Make sure no other git

process is running and remove the file manually to continue.

And the solution is already provided ie manually delete shallow.lock in repo/projects/external/chromium-webview.git then try to repo sync again
[Android] heisenberg33:
hey guys can someone help with this error ?

https://hastebin.com/yuceyupeze.rb
[Android] Matt07211:
Wow, a simple oversight on my part, it's been like that since the beginning, from when it was first started with mkvendor.sh

I've just got one question.

$ cat /proc/cpuinfo
Processor : ARMv8 Processor rev 2 (v8l)
processor : 0
processor : 1
processor : 2
processor : 3
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 half thumb fastmult edsp tls vfp vfpv3 vfpv4 neon idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 2

Hardware : PXA1908
Revision : 0007

If i change this to arm64 (cause kernel is arm64) will the other binary files that get compiled (E.G. for example Busybox) as ARM (as you can see above the cpu is arm64 (64 bit) but runs the arm architecture (32 bit).

Basically I want to know if I change this that the kernel will be compiled as arm64 but the OS and any library's that are gonna run on the device will be arm.
[Android] TimSchumi:
You can't change most stuff in /proc

I don't know what you want to say in the last part of your message, could you try to explain what you want to achieve?
[Android] Matt07211:
I wasn't​ asking to change what was in /proc, I was only providing extra info for my question.

Sorry for the messy question, let me try and re-phrase it and try again.

As the above user told me the fix (have yet to test it), it involved change a value from arm to arm64.

Now, my Kernel is 64 bit (arm64) but the OS runs as 32 bit (arm instruction set). My question was if I change that value does it effect the OS binarys, as I need the OS stuff to be 32 bit but my kernel needs to be compiled as 64 bit.

Please tell me if I managed to make my question readable
[Android] TimSchumi:
If you change the value, everything will be compiled as arm64.

About the TARGET_KERNEL_CONFIG:

At first, remove the trailing slashes from TARGET_KERNEL_SOURCE, so the line reads

TARGET_KERNEL_SOURCE := kernel/samsung/<your device>

Then (WARNING: Your defconfig NEEDS to be inside arch/arm64/configs because you set the Arch to arm64), you just write the name of the defconfig into the TARGET_KERNEL_CONFIG property. Like this

TARGET_KERNEL_CONFIG := <your defconfig name without path>
[Android] Matt07211:
Well there's a problem then. How do I get it to look in arch/arm64/configs and compile an arm64 Kernel, but compile the rest of the OS as arm (32 bit).

As you can see my kernel is arm64

$ cat /proc/cpuinfo
Processor : ARMv8 Processor rev 2 (v8l)
processor : 0
processor : 1
processor : 2
processor : 3
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 half thumb fastmult edsp tls vfp vfpv3 vfpv4 neon idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 2

Hardware : PXA1908
Revision : 0007
$

but as you can see my system is 32 bit

soundfx
ssl
$ file libxml2.so
libxml2.so: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /system/bin/linker, stripped, with debug_info

So what am I ment to do in this situation?

Edit: I believe I've found a solution to my problem

https://source.android.com/source/64-bit-builds.html

Edit 2: Heres the fix I implemented, for anyone else stuck on the problem. https://github.com/Matt07211/androi...mmit/63cc4eebc113d6c42b96ddfec0cbfe745ce2c790
[Android] DEVILOPS 007:
Can someone confirm this error is because I have too little ram? My heap size is 7.2 gb and that is also how much ram I have. Thanks!

---------- Post added at 11:32 AM ---------- Previous post was at 11:24 AM ----------

Can someone confirm that this error is because I have too little RAM. My RAM and heap size is 7.2gb. Thanks! https://www.dropbox.com/s/jhkxt1906nvim1u/Untitled Document?dl=0
[Android] Infinity:
Use hastebin.com bro

It's very hectic to download the app read log
[Android] Suvam Mondal:
Did that..it worked. But then I faced this problem at the last step. Something with unpacking error.

I have attached the log file.
[Android] Swapnil Soni:
i have 2gb ram only can i compile rom without any problems?
[Android] spookcity138:
No. I get by barely on 4GB and 4GB of swap,but it takes forever and I need to adjust some things. No way can I imagine that 2GB would work.
[Android] Swapnil Soni:
well i download source in 5 days lol(yea its too long but i deal wid that),

now im thinking to get 4gigs more from friend.. anyways thanks.. :)

regards.
[Android] tschmid:
I have constant reboots with system server crashes, does anybody know what happens here? I'll post logcat, dmesg and tombstone files here:

Tombstone

http://pastebin.com/tyraNHLt

Logcat

http://pastebin.com/88XqqZTA

Dmesg

http://pastebin.com/1nUnWrSN

Thanks

Gesendet von meinem Nexus 6P mit Tapatalk

Any tips?

Btw it's a tegra4 device with (i guess L vendor Libs).

Is a tombstone helpful to get an idea what went wrong?

Thanks Guys
[Android] TimSchumi:
Glad you fixed that.

Btw, why did you want to compile kernel with arm64, but the other parts of the OS with 32-bits?
[Android] Matt07211:
Just woke up to the user testing the changes for me and the error still persists. I honestly don't know what else to try. :-/

Because the phone is using an uncommon/rare SoC (Marvell PXA1908) for phones.

Now to the kernel is compiled as arm64 because that's what the stock kernel is, that's where all the source code is (.DTS files, config files etc), and the phone hardware is expecting to boot the Kernel from the arm64 address (which I believe is 0x08000000, I think that is wrong though cause it came off the top of my head).

Now I need to run the OS as 32 bit because that's what's it running at stock, that's the architecture of the binary blobs pulled off the phone, as well as a hardware limitation (my device has only 1.5GB of RAM, I need more to run the OS as 64bit).

If you look at my previous post you can see my output of cat /proc/cpuinfo and the results of "file" on one of the ".so" files found in the /system/lib folder.

I really don't know have to fix the config error. Everything is correct, so I am just at a loss of what to do. Any help would be really appreciated
[Android] naimrlet:
Well, you are building for aosp_arm instead of the targeted device
[Android] Matt07211:
Facepalm. The user Bloody forgot to sync the repo before building.

I'll tell him to repo sync to get the newest build of my device repo.

Can't. Believe he didn't sync repo... Ehhh...I'll report back if he's success full
[Android] Swapnil Soni:
Does 7.1 compiling work on 2gb ram? I'll be patienceful if it will take more time...
[Android] smart-t78:
building 7.1 with 2 gb ram wont work. no chance.
[Android] neonkat:
FIRST OF ALL FOR GOD' SAKE GUYS PLEASE USE HASTEBIN! OR ATLEAST USE

OR

TAGS!

in you boardconfig.mk(must be in device/xiaomi/libra,disable custom_audio_policy(delete the line or coment that line)

you have a non aosp device,why using n7x branch?you should use n7x-caf.
[Android] Swapnil Soni:
so any recommendation of ram for 7.1 build..
[Android] spookcity138:
Well,as I said I can get by on 4GB and 4GB of swap. So at leat that. I'd highly recommend 8GB though. Someday I hope to have more RAM [emoji3]
[Android] smart-t78:
lineage and others recommend minimum 8gb of ram
[Android] Swapnil Soni:
wew okey, time to get RAM lol.. thanks

---------- Post added at 03:15 PM ---------- Previous post was at 03:13 PM ----------

haha sure you will get... goodluck :)

well I'm gonna get more asap...

---------- Post added at 03:16 PM ---------- Previous post was at 03:15 PM ----------

also, with 8gb ram will that be okey on core2duo 2.53ghz ?
[Android] spookcity138:
There are a couple of other thing of importance first. If your computer only had/came with 2GB of RAM are you sure that its 64 bit compatible? Because if not none of this will matter.
[Android] Suvam Mondal:
I am trying to build Resurrection Remix for my Meizu m2 note.

But I am facing this error during the brunch process. I have attached the log file.

Can anyone help me with this, please ?
[Android] NepoRood:
Downloading should not be required, use a different method, please. Or just paste your error, everyone else does...
[Android] Swapnil Soni:
i had 4gb ram before but one ram got cooked up lol

---------- Post added at 04:59 PM ---------- Previous post was at 04:55 PM ----------

yeah its 64bit compitible

using 64bit ubuntu now... and also i currently have 2gb ram only
[Android] spookcity138:
Yeah, then you'll be fine with 8gb of RAM then. As stated your processor will create slower builds, but it should be OK. I build on a core 2 quad. Works out OK.
[Android] Swapnil Soni:
okey :D not any problem of timing #patienceful lol
[Android] NepoRood:
First, there shouldn't be a space between your "-j" and "4", meaning: "-j4"

Second, use: mka bacon (and leave out the "-j4", the log commands are good to go, so keep those)

And C: what are your machine specs?
[Android] Suvam Mondal:
Intel core 2 quad @2.40GHz

4GB RAM

Nvidia GTX 750ti

Windows 8(building the ROM using virtual box ,ubuntu)
[Android] spookcity138:
Those specs seem problematic for building in a VM. The RAM in particular.
[Android] Suvam Mondal:
1) Okk. My bro's laptop is having 6gb ram, intel i3. Will it work there if i install ubunt( not using virtualbox) ?

2) How are my system specs related with the errors that i posted earlier ? I mean if you see the errors in the log , most of them are either "no such file or directory" or "cannot allocate memory" (although i think "cannot allocate memory" one is related with RAM but the "no such file or directory" one ?)
[Android] spookcity138:
Yeah, honestly not positive off hand, but 4gb of RAM running a VM is a def problem. Your brothers laptop will work. Just have some swap. 4gb or so should be plenty.

Edit:

This is all assuming, as you said that you do not use virtualbox.
[Android] mani16467:
Yyy
[Android] Dr_DjEnder:
Local manifest help

Hey guys im trying to build resurrection remix for my oneplus 2 using a local manifest to fetch the same resources as the official build which are located at the maintainers GitHub thus the local manifest. I've created one using those projects/links but when I run :

repo sync

its seems to not be able to remove the existing project as it can find it says:

fatal: remove-project element specifies non-existent project: ResurrectionRemix/packages_apps_DUI

I've tried to just include the path but it says there is no project name:

fatal: no name in <remove-project> within /home/devorak/RR/.repo/manifest.xml

I've attached a copy of my local manifest so you guys can see everything and tell me what I'm probably doing wrong :silly: any help would be appreciated
[Android] Suvam Mondal:
Yeah. it solved that cannot allocate memory issue, but still I am getting this error at 99% when I am compiling the rom :crying:

[ 99% 3295/3298] Docs droiddoc: /home/...t/target/common/docs/doc-comment-check
FAILED: /bin/bash /home/suvam/rr/out/target/common/docs/doc-comment-check-timestamp.rsp
frameworks/base/core/java/android/provider/Settings.java:3657: error 101: Unresolved link/see tag "android.provider.Settings.Global#KEY_SMS_BREATH" in android.provider.Settings.System
frameworks/base/core/java/android/widget/SeekBar.java:41: error 101: Unresolved link/see tag "ProgressBar#setMax(int)" in android.preference.CustomSeekBarPreference
DroidDoc took 345 sec. to write docs to /home/suvam/rr/out/target/common/docs/doc-comment-check
ninja: build stopped: subcommand failed.
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
[Android] Elanza_48:
Can any one tell me that to modify the systemUI values xml files which directory should I have to browse ??
[Android] tathanhlam66:
Go to devices folder/overlay/frameworks/base/package/SystemUI/res/values/config.xml
[Android] AnotherFreakinNoob:
OK so I created my local manifest and entered the following (see image) via copy and paste. After successful repo sync, when I go to build I'm keep getting the breakfast menu and asked to pick a combo. My device (S2 i777) is not listed though the S2 i9100 is. Do I use the i9100 userdebug or am I missing something when I create the local manifest? Apologizes in advance for noob question.
[Android] alial04:
hi guys. does anyone knows how to fix this

thx in advance :)