yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] baselsayeh:
https://github.com/baselsayeh/gt-s7560-cm-device

and currently im using

"mmm device/samsung/kylessopen/libaudio"

---edit---

new errors compiling without libaudio

what to add in boardconfig.mk?

---edit---

after editing the files

cyanogenmod compiled but wont start on device(stuck on bootloader screen)
[Android Q&A, Help & Troubleshooting] SohamJ:
Compiling LiquidSmooth L for falcon

Hi guys, I started with compiling from source and am stuck on this -

make: *** No rule to make target '/home/soham/liquid/out/target/product/falcon/obj/SHARED_LIBRARIES/libqdutils_intermediates/export_includes', needed by '/home/soham/liquid/out/target/product/falcon/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/import_includes'. Stop.

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

Help would be appriciated!

Thank you :)
[Android Q&A, Help & Troubleshooting] Quasar:
Looks like you've not synced qcom common correctly.
[Android Q&A, Help & Troubleshooting] Epirex:
Hi, try to compile CM11 these sources kernel: https://github.com/mkaluza/Samsung_STE_Kernel

And I had this problem, any solution?
[Android Q&A, Help & Troubleshooting] ishtiaque9:
Hi guys,

I'm trying to build cyanogenmod 12 from sources.

however, the problem I'm facing is that my build gets stuck at creating system.img over and over again... i don't know why...

here's my terminal output:

Install: /home/ishtiaque/CM12/android/system/out/target/product/codina/system/app/Email/Email.apk
build/tools/generate-notice-files.py /home/ishtiaque/CM12/android/system/out/target/product/codina/obj/NOTICE.txt /home/ishtiaque/CM12/android/system/out/target/product/codina/obj/NOTICE.html "Notices for files contained in the filesystem images in this directory:" /home/ishtiaque/CM12/android/system/out/target/product/codina/obj/NOTICE_FILES/src
Combining NOTICE files into HTML
Combining NOTICE files into text
Installed file list: /home/ishtiaque/CM12/android/system/out/target/product/codina/installed-files.txt
Target system fs image: /home/ishtiaque/CM12/android/system/out/target/product/codina/obj/PACKAGING/systemimage_intermediates/system.img
Running: mkuserimg.sh -s /home/ishtiaque/CM12/android/system/out/target/product/codina/system /home/ishtiaque/CM12/android/system/out/target/product/codina/obj/PACKAGING/systemimage_intermediates/system.img ext4 system 641728512 /home/ishtiaque/CM12/android/system/out/target/product/codina/root/file_contexts
make_ext4fs -s -T -1 -S /home/ishtiaque/CM12/android/system/out/target/product/codina/root/file_contexts -l 641728512 -a system /home/ishtiaque/CM12/android/system/out/target/product/codina/obj/PACKAGING/systemimage_intermediates/system.img /home/ishtiaque/CM12/android/system/out/target/product/codina/system
Creating filesystem with parameters:
Size: 641728512
Block size: 4096
Blocks per group: 32768
Inodes per group: 7840
Inode size: 256
Journal blocks: 2448
Label:
Blocks: 156672
Block groups: 5
Reserved block group size: 39
Created filesystem with 2572/39200 inodes and 106353/156672 blocks

Any help please?

Thanks :)
[Android Q&A, Help & Troubleshooting] MasterAwesome:
It takes time, you've got to wait.
[Android Q&A, Help & Troubleshooting] ishtiaque9:
you don't mean three hours straight, do you? :/ i waited that long before posting
[Android Q&A, Help & Troubleshooting] MasterAwesome:
Hmm... Depends on your pc. Did your pc lag after you quit the process?
[Android Q&A, Help & Troubleshooting] ishtiaque9:
My PC has 4 cores running at 1.67GHz and 4GB RAM plus 4GB Swap space

what i noticed, though, is the fact that whenever the build gets stuck at making filesystem, exactly one core is 100% occupied and none other.

No my PC doesn't lag after exiting.
[Android Q&A, Help & Troubleshooting] MasterAwesome:
Why not just make again without cleaning your build directory. Use make - j5
[Android Q&A, Help & Troubleshooting] ishtiaque9:
Should it be like:

brunch codina -j5

or

make otapackage -j5

?
[Android Q&A, Help & Troubleshooting] MasterAwesome:
umm, brunch is basically lunch and mka commands, so mka otapackage -j5 should do the trick
[Android Q&A, Help & Troubleshooting] ishtiaque9:
doesn't work... started a fresh build again

btw could you tell me what's the use of header (.h) files that appear in my <CMDIR>/device/samsung/u8500-common/include folder? my BoardConfig.mk points to those files by the

TARGET_SPECIFIC_HEADER_PATH := device/samsung/u8500-common/include

line.

and now I'm getting this error:

device/samsung/u8500-common/selinux/wpa_supplicant.te:8:ERROR 'unknown type system' at token ';' on line 11135:
allow wpa wpa_socket:unix_dgram_socket { read write };
allow wpa_socket system:unix_dgram_socket sendto;
checkpolicy: error(s) encountered while parsing configuration
external/sepolicy/Android.mk:121: recipe for target '/home/ishtiaque/CM12/android/system/out/target/product/codina/obj/ETC/sepolicy_intermediates/sepolicy' failed
make: *** [/home/ishtiaque/CM12/android/system/out/target/product/codina/obj/ETC/sepolicy_intermediates/sepolicy] Error 1
make: *** Waiting for unfinished jobs....
CHK include/linux/version.h
make[1]: Leaving directory '/home/ishtiaque/CM12/android/system/kernel/samsung/u8500'

what's happening?
[Android Q&A, Help & Troubleshooting] ishtiaque9:
hey guys,

Now i'm having a different problem

frameworks/base/media/jni/android_media_ImageReader.cpp: In function 'void Image_getLockedBufferInfo(JNIEnv*, android::CpuConsumer::LockedBuffer*, int, uint8_t**, uint32_t*, int32_t)':
frameworks/base/media/jni/android_media_ImageReader.cpp:437:14: error: 'HAL_PIXEL_FORMAT_RAW10' was not declared in this scope
case HAL_PIXEL_FORMAT_RAW10:
^
frameworks/base/media/jni/android_media_ImageReader.cpp: In function 'jint Image_imageGetPixelStride(JNIEnv*, android::CpuConsumer::LockedBuffer*, int, int32_t)':
frameworks/base/media/jni/android_media_ImageReader.cpp:511:14: error: 'HAL_PIXEL_FORMAT_RAW10' was not declared in this scope
case HAL_PIXEL_FORMAT_RAW10:
^
frameworks/base/media/jni/android_media_ImageReader.cpp: In function 'jint Image_imageGetRowStride(JNIEnv*, android::CpuConsumer::LockedBuffer*, int, int32_t)':
frameworks/base/media/jni/android_media_ImageReader.cpp:574:14: error: 'HAL_PIXEL_FORMAT_RAW10' was not declared in this scope
case HAL_PIXEL_FORMAT_RAW10:
^
build/core/binary.mk:617: recipe for target '/home/ishtiaque/CM12/android/system/out/target/product/codina/obj/SHARED_LIBRARIES/libmedia_jni_intermediates/android_media_ImageReader.o' failed
make: *** [/home/ishtiaque/CM12/android/system/out/target/product/codina/obj/SHARED_LIBRARIES/libmedia_jni_intermediates/android_media_ImageReader.o] Error 1
make: *** Waiting for unfinished jobs....

i think its a totally new error (re-downloading repo didnt help) and i dont know how to fix it. any help?

thanks
[Android Q&A, Help & Troubleshooting] adinkwok:
Have you synced the qcom-common folder properly?

Edit: oops, misread the error. I honestly don't know
[Android Q&A, Help & Troubleshooting] MasterAwesome:
Have you changed anything in the source or is it a clean build?
[Android Q&A, Help & Troubleshooting] ab-samy:
Plz help,

i am facing this error during build.
[Android Q&A, Help & Troubleshooting] ishtiaque9:
clean build. solved this issue though...

had to declare

HAL_PIXEL_FORMAT_RAW10 = 0x25

inside function jint Image_imageGetPixelStride(JNIEnv*, android::CpuConsumer::LockedBuffer*, int, int32_t)

thanks
[Android Q&A, Help & Troubleshooting] baselsayeh:
any help?

and now im trying to compile cm as generic device

as in samsung opensource files
[Android Q&A, Help & Troubleshooting] baselsayeh:
new errors:
[Android Q&A, Help & Troubleshooting] MasterAwesome:
You're getting errors one should never get unless you change the particular files... Resync your source and then make it.
[Android Q&A, Help & Troubleshooting] baselsayeh:
same error:(

im using generic files
[Android Q&A, Help & Troubleshooting] ishtiaque9:
hey guys,

I've come across a build error while building CM12 for codina...

my terminal output:

target SharedLib: libstelpcutils (/home/ishtiaque/CM12/android/system/out/target/product/codina/obj/SHARED_LIBRARIES/libstelpcutils_intermediates/LINKED/libstelpcutils.so)
target Strip: libwebrtc_audio_preprocessing (/home/ishtiaque/CM12/android/system/out/target/product/codina/obj/lib/libwebrtc_audio_preprocessing.so)
/home/ishtiaque/CM12/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
/home/ishtiaque/CM12/android/system/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lrt
collect2: error: ld returned 1 exit status
build/core/shared_library_internal.mk:68: recipe for target '/home/ishtiaque/CM12/android/system/out/target/product/codina/obj/SHARED_LIBRARIES/libstelpcutils_intermediates/LINKED/libstelpcutils.so' failed
make: *** [/home/ishtiaque/CM12/android/system/out/target/product/codina/obj/SHARED_LIBRARIES/libstelpcutils_intermediates/LINKED/libstelpcutils.so] Error 1
make: *** Waiting for unfinished jobs....

im completely new to android rom building and have no idea what the above error is trying to say... any leads anybody? :rolleyes:

thanks :)
[Android Q&A, Help & Troubleshooting] SohamJ:
Compiling LiquidSmooth L for falcon

hey guys im getting the following error-

http://pastebin.com/BfL0tvtJ

Any ideas?
[Android Q&A, Help & Troubleshooting] adinkwok:
Go into the msm8226-common tree and open the config.xml. Then look at the lines causing the error. The output is basically saying that those lines are not within the ROM source. That means that you can delete or comment (#) out those lines since they aren't needed (the source doesn't have it anyways). That will solve the problem. If you delete the lines, make sure that you keep the line numbers in order!
[Android Q&A, Help & Troubleshooting] sooorajjj:
slimkat sync issue

hi guys

a little help with updating slimkat sources kk4.4-caf :(

Fetching projects: 100% (433/433), done.
Syncing work tree: 49% (213/433) Traceback (most recent call last):
File "/home/sooraj/Desktop/Slimkat/.repo/repo/main.py", line 500, in <module>
_Main(sys.argv[1:])
File "/home/sooraj/Desktop/Slimkat/.repo/repo/main.py", line 476, in _Main
result = repo._Run(argv) or 0
File "/home/sooraj/Desktop/Slimkat/.repo/repo/main.py", line 155, in _Run
result = cmd.Execute(copts, cargs)
File "/home/sooraj/Desktop/Slimkat/.repo/repo/subcmds/sync.py", line 675, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/sooraj/Desktop/Slimkat/.repo/repo/project.py", line 1204, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/home/sooraj/Desktop/Slimkat/.repo/repo/project.py", line 2241, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/sooraj/Desktop/Slimkat/.repo/repo/project.py", line 2435, in rev_list
p.stderr))
error.GitError: SlimRoms/android_external_stagefright-plugins rev-list (u'^fef4db0fc32e8dcd3f8f6e6387d97782a51d9167', 'HEAD', '--'): fatal: bad object fef4db0fc32e8dcd3f8f6e6387d97782a51d9167

Thank you
[Android Q&A, Help & Troubleshooting] rodman01:
You can try to solve it with deleting the folder: SlimRoms/android_external_stagefright-plugins and do a repo sync again.
[Android Q&A, Help & Troubleshooting] baselsayeh:
Even after building asop

my device wont to start
[Android Q&A, Help & Troubleshooting] ishtiaque9:
hey guys,

my CM build finishes all well... my ota zip even flashesin to my samsung device. but as i give reboot, my phone never gets past the Samsung Galaxy Ace 2 GT_i8160 logo and never boots... any recommendation on where i could start identifying the problem?
[Android Q&A, Help & Troubleshooting] adinkwok:
Pull logs and see what's preventing it from booting. The logs you need are kmsg and last_kmsg
[Android Q&A, Help & Troubleshooting] ishtiaque9:
adb doesn't detect device... i dont think

adb shell cat /proc/kmsg

would work... isn't that the command for kmsg? idk
[Android Q&A, Help & Troubleshooting] adinkwok:
You can pull from TWRP yenno :D
[Android Q&A, Help & Troubleshooting] MasterAwesome:
You need to add custom udev rules for that particular vendor and device id
[Android Q&A, Help & Troubleshooting] ishtiaque9:
could you elaborate a little more please? i'm just learning as i'm going...

---------- Post added at 06:30 PM ---------- Previous post was at 06:28 PM ----------

how... to... do... that :(
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Delete. Reason: fixed;)
[Android Q&A, Help & Troubleshooting] Gokulbalram:
Hey guys, I was building for Omni, when this happened:

jar: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
make: *** [/media/alectradar/fbc507f8-78eb-482c-b687-3aa5871ca1f5/OmniROM/out/host/common/obj/JAVA_LIBRARIES/bouncycastle-host_intermediates/javalib.jar] Error 127
make: *** Waiting for unfinished jobs....
external/libpng/pngread.c: In function 'png_build_index':
external/libpng/pngread.c:796:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

real	8m49.692s
user	14m34.251s
sys	2m23.757s
alectradar@BuildOS:/media/alectradar/fbc507f8-78eb-482c-b687-3aa5871ca1f5/OmniROM$
[Android Q&A, Help & Troubleshooting] baselsayeh:
stuck in bootloader splash screen

Any help?

I don't have LAST_kmsg
[Android Q&A, Help & Troubleshooting] judas1977:
Hello. I (ok, we, "the team":)) try to build some aospa based ROM. After successfull compilation there is one serious bug: Every internet browser force close right after opening... we think it's connected with chromium, but using prebuilt one didn't help...

I made some logcat - opened about two-tree times default browser AND CM Browser from google play once.

Logs are here:

http://hastebin.com/uzujojegih.vbs
[Android Q&A, Help & Troubleshooting] winxuser:
getting this error while compiling

make: *** No rule to make target `/home/winxuser/cm12/out/target/product/p713/obj/SHARED_LIBRARIES/libqdutils_intermediates/export_includes', needed by `/home/winxuser/cm12/out/target/product/p713/obj/SHARED_LIBRARIES/libsurfaceflinger_intermediates/import_includes'. Stop.

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

any idea on how it is fixed??? been searching the net for hours with nothing
[Android Q&A, Help & Troubleshooting] Quasar:
Missing qcom-common, perhaps?
[Android Q&A, Help & Troubleshooting] winxuser:
got a new error for framework

frameworks/av/media/libstagefright/SurfaceMediaSource.cpp: In constructor 'android::SurfaceMediaSource::SurfaceMediaSource(uint32_t, uint32_t)':

frameworks/av/media/libstagefright/SurfaceMediaSource.cpp:67:15: error: 'GRALLOC_USAGE_PRIVATE_WFD' was not declared in this scope

| GRALLOC_USAGE_PRIVATE_WFD

^
[Android Q&A, Help & Troubleshooting] rodman01:
which hardware/samsung sources you are using? If you are on derteufels cm-12.0 then there are some gralloc patchs missing, as far as I know. You can try it with the cm-12.0-hwc branch but not sure whether this is complete and works. You can compare it with nameless sources and try it with theirs, but you most probably will get the 3G bug too.
[Android Q&A, Help & Troubleshooting] winxuser:
Actually this is for a lg. So Qualcomm
[Android Q&A, Help & Troubleshooting] dels07:
compile AOSPA legacy 4.6?

tried to compile AOSPA legacy 4.6 for unofficial device (armani/redmi 1s), since this tutorial is outdated

http://xdaforums.com/showthread.php?t=1863547

and I haven't found any updated guide, I tried to compile it like CM11 (using local_manifests, etc) but stuck when building

http://hastebin.com/opiteyogux.md

I use device tree from https://github.com/armani-dev/android_device_xiaomi_armani with several change (local not committed to github) :

1. rename cm.mk to pa.mk also change cm_armani to pa_armani in PRODUCT_NAME

2. rename cm.dependencies to pa.dependencies adjust qcom_common to use AOSPA-legacy/android_device_qcom_common

3. added add_lunch_combo pa_armani-userdebug to envsetup.sh

anything I have missed? since I think I don't need to manually add files into vendor/pa folder

http://xdaforums.com/showpost.php?p=30958881&postcount=2 aren't this obsolete in PA 4?
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
You also replaced those other repos in pa with all armani-dev repos?

Sent from my GT-I9082
[Android Q&A, Help & Troubleshooting] dels07:
all other repo? you mean kernel and proprietary vendor?

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="kernel/xiaomi/armani" name="armani-dev/android_kernel_xiaomi_armani" remote="github" revision="cm-11.0" />
<project path="device/xiaomi/armani" name="armani-dev/android_device_xiaomi_armani" remote="github" revision="cm-11.0" />
<project path="vendor/xiaomi" name="armani-dev/proprietary_vendor_xiaomi" remote="github" revision="cm-11.0" />
</manifest>

thats what i put in manifest, armani_dev display_caf and media_caf are defined in pa.dependencies
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
In vendor/pa/products(that's the folder name I guess) you must also define a pa_armani.mk . Also define your device in AndroidProducts.mk .

Regards

Sent from my GT-I9082
[Android Q&A, Help & Troubleshooting] Archerous:
Kernel compiling error with linaro 4.9

Hi,

I try to compile Temasek Cm12 klte on Archlinux with linaro 4.9

At Kernel building i get this error

../../../../../../kernel/samsung/klte/drivers/cpufreq/cpufreq_interactive.c: In function 'show_target_loads':

../../../../../../kernel/samsung/klte/drivers/cpufreq/cpufreq_interactive.c:1066:6: warning: operation on 'ret' may be undefined [-Wsequence-point]

error, forbidden warning: cpufreq_interactive.c:1066

/home/archerous/android/system/kernel/samsung/klte/scripts/Makefile.build:307: die Regel für Ziel „drivers/cpufreq/cpufreq_interactive.o“ scheiterte

make[4]: *** [drivers/cpufreq/cpufreq_interactive.o] Fehler 1

/home/archerous/android/system/kernel/samsung/klte/scripts/Makefile.build:443: die Regel für Ziel „drivers/cpufreq“ scheiterte

make[3]: *** [drivers/cpufreq] Fehler 2

/home/archerous/android/system/kernel/samsung/klte/Makefile:950: die Regel für Ziel „drivers“ scheiterte

make[2]: *** [drivers] Fehler 2

Makefile:130: die Regel für Ziel „sub-make“ scheiterte

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

make[1]: Verzeichnis „/home/archerous/android/system/kernel/samsung/klte“ wird verlassen

build/core/tasks/kernel.mk:209: die Regel für Ziel „TARGET_KERNEL_BINARIES“ scheiterte

make: *** [TARGET_KERNEL_BINARIES] Fehler 2

make: *** Es wird auf noch nicht beendete Prozesse gewartet...

Using gcc 4.8 compiles with no errors.

I got the same error with Sabertooth toolchain 4.9

I build on Archlinux

Regards
[Android Q&A, Help & Troubleshooting] :
Hey people! I'm compiling CM12 on my PC but it breaks, any help?
[Android Q&A, Help & Troubleshooting] co_dominic:
Build error

Good day, everyone!

Is anyone familiar with/has encountered this build error:?

build/core/product_config.mk:250: *** No matches for product "full". Stop.

I'm trying to build du for the titan. Any help would be appreciated. Thank you.
[Android Q&A, Help & Troubleshooting] RMarkwald:
Do you have Titan devices trees from DU or did you sync another set of devices trees?
[Android Q&A, Help & Troubleshooting] co_dominic:
I'm using source trees currently used to build cm12 (motog2014devteam). I made the necessary file changes (*.mk, vendorsetup, etc.) to pull it in line with DU.

Edit: Fixed the issue. Building failed after 34 minutes with this error message:

make: *** [/home/nick/du/out/target/common/obj/PACKAGING/checkapi-current-timestamp] Error 38

Hopefully, someone has ideas... Thank you.
[Android Q&A, Help & Troubleshooting] RMarkwald:
You'll need to post the output from Terminal to determine the error before this line.
[Android Q&A, Help & Troubleshooting] co_dominic:
Deleted
[Android Q&A, Help & Troubleshooting] XneofuX:
Hello, I'm currently trying to compile CM12 from Ziyann for my maguro. But after ~1/2 hour compiling i get the following error:

target Prebuilt: init.rc (/home/jannes/android/system/out/target/product/maguro/obj/ETC/init.rc_intermediates/init.rc)
/home/jannes/android/system/out/target/product/maguro/target/kbuild/services4/srvkm/env/linux/mm.c: In function 'NewIONLinuxMemArea':
/home/jannes/android/system/out/target/product/maguro/target/kbuild/services4/srvkm/env/linux/mm.c:1538:23: error: 'struct omap_ion_tiler_alloc_data' has no member named 'token'
asAllocData[i].token = ui32ProcID;
^
/home/jannes/android/system/out/target/product/maguro/target/kbuild/services4/srvkm/env/linux/mm.c:1546:27: error: 'struct omap_ion_tiler_alloc_data' has no member named 'out_align'
asAllocData[i].out_align = CONFIG_TILER_GRANULARITY;
^
/home/jannes/android/system/out/target/product/maguro/target/kbuild/services4/srvkm/env/linux/mm.c:1552:27: error: 'struct omap_ion_tiler_alloc_data' has no member named 'out_align'
asAllocData[i].out_align = PAGE_SIZE;
^
CC [M] /home/jannes/android/system/out/target/product/maguro/target/kbuild/services4/srvkm/env/linux/sysfs.o
/home/jannes/android/system/out/target/product/maguro/target/kbuild/services4/srvkm/env/linux/mm.c:1568:22: error: 'OMAP_ION_HEAP_SYSTEM' undeclared (first use in this function)
PAGE_SIZE, (1 << OMAP_ION_HEAP_SYSTEM));
^
/home/jannes/android/system/out/target/product/maguro/target/kbuild/services4/srvkm/env/linux/mm.c:1568:22: note: each undeclared identifier is reported only once for each function it appears in
Copy: /home/jannes/android/system/out/target/product/maguro/root/init.trace.rc
CC [M] /home/jannes/android/system/out/target/product/maguro/target/kbuild/services4/srvkm/common/buffer_manager.o
make[6]: *** [/home/jannes/android/system/out/target/product/maguro/target/kbuild/services4/srvkm/env/linux/mm.o] Error 1
make[6]: *** Waiting for unfinished jobs....

I would know what i have to change in the code ... but i highly doubt that there is a broken file in any repo which doesn't even compile :confused: ^^. (I'm building on an Ubuntu x64 dualboot with Windows, so no VM)

Thanks in advice, XneofuX.
[Android Q&A, Help & Troubleshooting] ##W4TCH0UT##:
Ok guys, having some errors.

packages/apps/Settings/res/values/sokp_arrays.xml:169: error: Error: No resource found that matches the given name (at '^index_0' with value '@*android:drawable/ic_shortcut_alarm').

target Java: TextSecureLibrary (/home/w4tch0ut/sokp/out/target/common/obj/JAVA_LIBRARIES/TextSecureLibrary_intermediates/classes)
make: *** [/home/w4tch0ut/sokp/out/target/common/obj/APPS/Settings_intermediates/src/R.stamp] Error 1
make: *** Waiting for unfinished jobs....

Line 169 in sokp_arrays.xml:

<item>@*android:drawable/ic_shortcut_alarm</item>

Help appreciated.

Regards
[Android Q&A, Help & Troubleshooting] Vivek_Neel:
android:drawable refers to the framework-res drawable. Which does not have the below resource

ic_shortcut_alarm

But why are you redirecting resources to android? Package is Settings.

Remove the android word and rename it to [MENTION=882419]Draw[/MENTION]bale/ic_settings_alarm

Add that ic_settings_alarm into drawable folder . if its a xml then add it to drawable or if its supposed to be a png then add it to drawable-x(dpi) folder
[Android Q&A, Help & Troubleshooting] XneofuX:
Ok, got much further, but now i'm stuck again with following 'error'. Actually I can't find one but there is no zip at the end. I pastebinned the complete log of a rerun of mka:

http://pastebin.com/K1y6fGYW

The only real error i could find was:

make -C kernel/samsung/tuna O=/home/jannes/android/system/out/target/product/maguro/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/jannes/android/system/prebuilts/misc/linux-x86/ccache/ccache arm-eabi-" dtbs
make: Entering directory `/home/jannes/android/system/kernel/samsung/tuna'
ccache: FATAL: Could not find compiler "arm-eabi-gcc" in PATH
make[1]: *** No rule to make target `dtbs'. Stop.

Hope somebody can help.