yashsingh1/xdaforums huggingface dataset:
[Defy General] Kayant:
I guess I was beaten to that post :p

If you do have openjdk installed I would install sun java instead it will stop any more headaches like these happening in the future
[Defy General] Sivaguru:
I am still getting that error even after installing sun JDK & applying the patch

Edit

Sorry it works now.
[Defy General] Sivaguru:
Compiled Slimbean yesterday.

But USB tethering is not working

Logcat attached

http://pastebin.com/XDM3eyhq
[Defy General] Kayant:
Some resources are missing in settings that are present in framework. try repo sync -f
[Defy General] pabloltg:
Ok, and then make clobber? or not needed?
[Defy General] Kayant:
It's not needed it just means the new stuff added cannot be found because new patches for new features are usually added in framework and settings and depend on each other to work. If your still the error the delete settings from the packages folder and repo sync again
[Defy General] pabloltg:
Cleaned, syncing, deleted Settings folder and new syncing, but again the same error.

I will try tomorrow... i tired and frustrated now. :silly:

Thanks Kayant,

PD. I compiled Slim yesterday with full spanish translation, some fix's and other stuffs.. Works AWESOME!
[Defy General] Maxxxxxxxxxx:
12.04 supports? like any problem using them
[Defy General] Kayant:
Sorry in OP I meant 12.04 not 12.10..... You can build android on almost any Linux distribution all you need is to know how to setup and also have all the packages needed installed.... And there are no problems if its Ubuntu 12.04 as long as you have sun java 6 installed and your packages then you're good to go ;)

Let's Go ^_^
[Defy General] Maxxxxxxxxxx:
thanks a lot was kinda confused whether to install 10.04 or 12.04 :D

how much data is to be downloaded during the 1st repo sync of JB :) (just repo sync) thats 6GB (GOT IT :D)

also jdk 7 not supported?
[Defy General] Sivaguru:
JDK 6 is preferred.

U can download it from here

http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html
[Defy General] labsin:
With 12.10 and Oracle JDK 6 and have no problems (appart from the one's in the threat)

Same lib's needed as the 12.04
[Defy General] Kayant:
Not as of yet and probably not in future due to oracle

To build JB you need either sun Java 6 = proprietary or Openjdk 6 = open source version.

And as Sivaguru as said sun java is preferred
[Defy General] claudiobastos:
Someone got this error after sync Quarx's repo ??

target thumb C++: libstagefright <= frameworks/av/media/libstagefright/OMXCodec.cpp
frameworks/av/media/libstagefright/OMXCodec.cpp: In static member function 'static uint32_t android::eek:MXCodec::getComponentQuirks(const android::MediaCodecList*, size_t)':
frameworks/av/media/libstagefright/OMXCodec.cpp:336:77: error: a function-definition is not allowed here before '{' token
frameworks/av/media/libstagefright/OMXCodec.cpp:5971:1: error: expected '}' at end of input
frameworks/av/media/libstagefright/OMXCodec.cpp: At global scope:
frameworks/av/media/libstagefright/OMXCodec.cpp:5971:1: error: expected '}' at end of input
make: *** [/dados/repositorios/cyanogen/quarx2k_jellybean/out/target/product/mb525/obj/SHARED_LIBRARIES/libstagefright_intermediates/OMXCodec.o] Error 1

I analyse the code of OMXCodec.cpp but it seems ok.

had tried repo sync without any success.
[Defy General] pabloltg:
Same problem here.. :(
[Defy General] Kayant:
Had to same error as well a recent patch in Omxcodec caused it :(

What I have done is reverted the repo back before these patches where added.

For a Temp fix change Quarx2k/frameworks_av to Kayant/frameworks_av then repo sync and it should compile it worked for me for the test AOKP build that I just compiled. Remember to change it back when the fix as been uploaded because am not going to update that repo. I just did it for a temporary fix.
[Defy General] username7:
OMXCodec.cpp needs a closing brace after line 305 (before line 306).
[Defy General] Sivaguru:
repo init -u git://github.com:Kayant/android_manifest.git -b jellybean

For CNA

repo init -u git://github.com/Kayant/android_manifest.git -b jellybean

":" should be replaced "/" in the OP

Everyone knows this. But I was scratching my head for 5 mins when I initialized the repo & got a error saying

fatal: unable to connect to github.com:

github.com: Servname not supported for ai_socktype

fatal: cannot obtain manifest git://github.com:Kayant/android_manifest.git
[Defy General] Kayant:
Wish I knew that before forking and reverting :p

Also CNA url fixed now thanks for the spot Sivaguru
[Defy General] pabloltg:
a little off topic, i compiled CM10 yesterday, flash it, ok so far so good.

Today I restored a data backup of my previous rom (Slim Bean) from recovery and surprise!

New feature in CM10?

i know, Quarx introduced Expanded desktop commits, but is not available in the clean build.
[Defy General] brajesh.sharma87:
CyanogenMod Officially included this feature. :)

https://plus.google.com/u/0/117962666888533781522/posts/dYSseZeQ8Sf
[Defy General] pabloltg:
I know, but for some reason the option to enable/disable is not available natively in the compilation. :confused:
[Defy General] j16sdiz:
With this and all the hostapd error, I suspect quarx2k is using different device mk fille from what we see on github.

Sent from my MB526
[Defy General] Maxxxxxxxxxx:
http://pastebin.com/UAc7HxVa

whats the error O.o sorry i am new to this

after build i dont find the zip file on out/target/mb526/
[Defy General] Kayant:
Read the OP..... You haven't finished compiling yet...

Let's Go ^_^
[Defy General] Maxxxxxxxxxx:
that actually confused me lol heres the code

exactly 60mins for 1st build \m/ thanx Kayant ;)
[Defy General] Maxxxxxxxxxx:
thanks again Kayant
[Defy General] Kayant:
60 mins what?? Let me steal that ;).... You must have some beast PC :)

Let's Go ^_^
[Defy General] Maxxxxxxxxxx:
i5 with 4GB ram thats it :D

so howz PAC man rom going on
[Defy General] Kayant:
Wow that's weird I thought it would be more beastly ;) .... compiled just need to test it out and see also need to test compiling using linaro tool chain for kernel...

Let's Go ^_^
[Defy General] pabloltg:
To compile with linaro is necessary install cross toolchain and upgrade the gcc right?
[Defy General] Kayant:
Not too sure on that one on my system I have a distro based on ubuntu 12.04 with the default gcc which is 4.7 if I remember correctly and everything as been fine so far and I didn't install any extra packages for linaro toolchain
[Defy General] Kayant:
P.A.C Added

Support for P.A.C Rom added....
[Defy General] MarcinRN:
Over 5.5gb downloaded already yet it still keeps downloading.

Is it normal that it syncs all CyanogenMod repos?

## sorry, didn't read op carefully
[Defy General] Maxxxxxxxxxx:
almost 7-8GB
[Defy General] Sivaguru:
Its normal.. 5 more GB is there to sync..
[Defy General] MarcinRN:
How can I check how long did it take to build? Tried time command but always prompts 0.00.

Thanks Kayant for the guide, really apprecciate it. However, there was a bit of confusion for newbie like me when guide says to get prebuilts from vendor/cm/. Found the answer within the thread though. :D
[Defy General] Kayant:
No problem :) I didn't think It was confusing but anyways I have changed it to the command now ;)
[Defy General] MarcinRN:
How about compilation time? Is there any way to check it except sitting there with watch? :D
[Defy General] Kayant:
I have no idea sorry
[Defy General] MarcinRN:
Ok figured it out. Just put time before make command :) example:

time make -j6 bacon
[Defy General] pabloltg:
i cant sync with PAC..

Permission denied (publickey)./73517), 3.11 MiB | 146 KiB/s
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
remote: Total 33281 (delta 22577), reused 32673 (delta 22144)
Receiving objects: 100% (33281/33281), 7.87 MiB | 185 KiB/s, done.
Permission denied (publickey).22577) 3.75 MiB | 148 KiB/s
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Resolving deltas: 100% (22577/22577), done. MiB | 179 KiB/s
From git://github.com/CyanogenMod/android_build
* [new branch] jellybean -> github/jellybean
remote: Counting objects: 65870, done.
remote: Compressing objects: 100% (20807/20807), done.
error: Cannot fetch tpruvot/android_bootable_recoveryKiB/s
remote: Counting objects: 65226, done.
remote: Compressing objects: 100% (20355/20355), done.
error: Cannot fetch Kayant/PAC_android492.00 KiB | 71 KiB/s
remote: Total 65870 (delta 40301), reused 65185 (delta 39829)
Receiving objects: 100% (65870/65870), 35.05 MiB | 80 KiB/s, done.
Resolving deltas: 100% (40301/40301), done.1 MiB | 124 KiB/s
From git://github.com/CyanogenMod/android_dalvik | 85 KiB/s
* [new branch] jellybean -> github/jellybean
remote: Total 65226 (delta 36472), reused 65038 (delta 36331)
Receiving objects: 100% (65226/65226), 68.42 MiB | 176 KiB/s, done.
Resolving deltas: 100% (36472/36472), done.0 MiB | 221 KiB/s
From git://github.com/CyanogenMod/android_development
* [new branch] jellybean -> github/jellybean
Fetching projects: 2% (7/315) Receiving objects: 49% (36629/73517), 87.46 Miremote: Total 73517 (delta 44481), reused 73461 (delta 44425)
Receiving objects: 100% (73517/73517), 142.42 MiB | 364 KiB/s, done.
Resolving deltas: 100% (44481/44481), done.
From git://github.com/CyanogenMod/android_cts
* [new branch] jellybean -> github/jellybean

error: Exited sync due to fetch errors
jagger@jagger-laptop:~/androidPAC$
[Defy General] Kayant:
In .repo open manifest.xml and change ssh://git@github.com to https://github.com/ for private it's at the top of the page. It seems you have problem connecting to the repos.
[Defy General] Maxxxxxxxxxx:
kayant did you find the reason why PASeetings are not saved i miss the Phablet mode :(
[Defy General] MarcinRN:
I tried to build SlimBean and I got this error:

build/core/java.mk:33: *** cts/apps/CtsVerifier: Invalid LOCAL_SDK_VERSION 'current' Choices are: . Stop.
[Defy General] Kayant:
From my search it looks like it could be one of these reasons -

1. Check if you have the prebuilt folder in the build folder.

2. Check if you have your environment setup properly including platform tools etc

3. If you're using a 32 bit OS then upgrade to 64 bit

Let's Go ^_^
[Defy General] MarcinRN:
there's no prebuilt folder there. also i get this error while syncing:

Fetching projects: 100% (304/304), done.
Syncing work tree: 63% (192/304) error: revision jellybean in SlimRoms/hardware_qcom_audio not found
[Defy General] Kayant:
That's the reason I will fix my sources later

Let's Go ^_^
[Defy General] peter_harr:
Hi, I've compiled this build successfully. However, I'm still using my old kernel. How do I compile the custom kernel? Or is it already compiled by default, and I'm missing out on how to install it?

Thanks.
[Defy General] MarcinRN:
kernel is compiled together with build (for me at least) :D
[Defy General] claudiobastos:
new service in init???

Hi guys,

what file I have to change to add a new service in my build ?

I know that in /root directory the init.* files are created.

But I didn't found which source generate them.

Do you know where ???

(building quarx2k for defy mb525)

Thanks in advance
[Defy General] Kayant:
Yes your right it's called Inline kernel building like you said compiles with the rom that's why in kernel version it appears as your username from your pc.

I think the files you're looking for should be located here https://github.com/Quarx2k/android_device_moto_jordan-common/tree/jb_2ndboot/bootmenu
[Defy General] claudiobastos:
@Kayant

Are you sure ?

I'm trying to create a service that run (in Linux) when WiFi is running or usb is connected.

I don't understand what they could had in common with bootmenu...

:confused:

Froyo Red 525 xda premium
[Defy General] Kayant:
You said you want to modify the init files and that's where they are located...

Let's Go ^_^
[Defy General] MarcinRN:
A little issue here, what does build date depend on? I just build jb from Quarx's repo and its name is still cm-10-20121112-UNOFFICIAL-mb526.zip. (im using CCACHE)
[Defy General] Kayant:
Yh I should add that to the OP..... basically the build prop doesn't change if you don't manually delete it from the system folder or do a make clean for a clean build. It's using the old build.prop.
[Defy General] peter_harr:
Ok, thanks.

Has anyone tried compiling Quarx2k's 4.2 AOSP repo?

I try repo init -u git://github.com/Quarx2k/android.git -b jb-aosp but get alot of "Cannot fetch"-error messages.
[Defy General] Maxxxxxxxxxx:
i guess Kayant will add them when he has it ;)
[Defy General] MarcinRN:
for the fetch error you need to open /.repo/manifest.xml and replace fetch=".." with fetch="https://android.googlesource.com" then it syncs. im not sure if its either possible or safe to build it like this for now though.
[Defy General] labsin:
It is better to change it in .repo/manifests/...

You can then add it to be committed with git add -a and the use git commit to commit.
[Defy General] Kayant:
Update 2

Guys I think it's best to leave it for some time CM and other team are working on 4.2 and also the test demo will be the same as a one that you will compile at this time.

Quarx has made some changes to the build setup & has cleanup the device & vendor tree so f you want to build a new rom after 18 November for

now plz use the readme on the device moto-jordan_common tree for now until I update the guide to reflect the changes.
[Defy General] JoseBerga:
Hi Kayant, If I want to compile a rom using your repo but for the milestone 2, What step I have to change with the milestone 2 files??

thanks for your guide..
[Defy General] Kayant:
Since defy & milestone two are very similar the changes are minimal but I can't say where they all are since its not my device but changes will be needed in vendor proprietary and device trees maybe framework and some other places. But first you need to add support for your device in the vendor tree just look at my commits for some guidance. Good luck :)

Let's Go ^_^
[Defy General] Kayant:
Anyone having error building latest Cm10

am currently compiling CNA but am running to this - error

target thumb C: tiap_cu <= hardware/ti/wlan/wl1271_softAP/CUDK/configurationutility/src/cu_common.c

hardware/ti/wlan/wl1271_softAP/CUDK/configurationutility/src/console.c: In function 'Console_displayHelp':

hardware/ti/wlan/wl1271_softAP/CUDK/configurationutility/src/console.c:546:45: warning: unused parameter 'pConsole' [-Wunused-parameter]

hardware/ti/wlan/wl1271_softAP/CUDK/configurationutility/src/cu_common.c: In function 'CuCommon_PrintDriverDebugBuffer':

hardware/ti/wlan/wl1271_softAP/CUDK/configurationutility/src/cu_common.c:415:5: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]

hardware/ti/wlan/wl1271_softAP/CUDK/configurationutility/src/cu_common.c: At top level:

hardware/ti/wlan/wl1271_softAP/CUDK/configurationutility/src/cu_common.c:466:12: warning: 'RunShellCmd' defined but not used [-Wunused-function]

cc1: some warnings being treated as errors

make: *** [out/target/product/mb526/obj/EXECUTABLES/tiap_cu_intermediates/src/cu_common.o] Error 1

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

I just wanted to do know if anyone is getting a similar error building CM10 or if you know how to fix this error. Thanks for the help
[Defy General] claudiobastos:
Found them...

Hi Kayant,

I found the one's I was looking for, there were in

system/core/rootdir/

there I could create more services

:)
[Defy General] pabloltg:
Not the same, but..

frameworks/wilhelm/src/android/android_Effect.cpp:222:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
frameworks/wilhelm/src/android/android_Effect.cpp:224:33: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
frameworks/wilhelm/src/android/android_Effect.cpp: In function 'android::status_t android_fx_setParam(android::sp<android::AudioEffect>, int32_t, uint32_t, void*, uint32_t)':
frameworks/wilhelm/src/android/android_Effect.cpp:570:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
frameworks/wilhelm/src/android/android_Effect.cpp: In function 'android::status_t android_fx_getParam(android::sp<android::AudioEffect>, int32_t, uint32_t, void*, uint32_t)':
frameworks/wilhelm/src/android/android_Effect.cpp:590:20: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
cc1plus: some warnings being treated as errors
make: *** [/home/jagger/android/out/target/product/mb526/obj/SHARED_LIBRARIES/libwilhelm_intermediates/android/android_Effect.o] Error 1
make: *** Se espera a que terminen otras tareas....
jagger@jagger-laptop:~/android$

This is CM10, after several sync.

But issue seems to be for this commit..

https://github.com/Quarx2k/android_...mmit/45d63b31c9f19ba0ba9be837aa0d0de82cdd3286
[Defy General] Kayant:
Did you run the script first before you compiled??
[Defy General] pabloltg:
Do you talking about apply_linaro.sh?

Yes, no problems with that.
[Defy General] Kayant:
Hmmm Looks like Quarx forgot some things :p because it's a similar error to mine I think. We just have to wait until he fixes it.
[Defy General] Blechd0se:
Hey,

i wonder did someone implemented zcache for the kernel already? i tried some things, but i'm not sure if it actually worked..
[Defy General] MarcinRN:
Why does it automatically start to build after I load

source build/envsetup.sh && brunch mb526

? Can it be changed? I can't set -j flag for make because of that.
[Defy General] Kayant:
If am not mistaken the brunch command using mka to build. But anyways if you really want to use make -jx then use the lunch command instead of brunch because brunch is automated.

Let's Go ^_^
[Defy General] claudiobastos:
Error + OT: motion answer

Trying to build quarx2k ...

target thumb C: libext2_blkid <= external/e2fsprogs/lib/blkid/read.c
external/e2fsprogs/lib/blkid/read.c: In function 'blkid_read_cache':
external/e2fsprogs/lib/blkid/read.c:398:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
target thumb C: libext2_blkid <= external/e2fsprogs/lib/blkid/resolve.c
external/e2fsprogs/lib/blkid/probe.c: In function 'linux_version_code':
external/e2fsprogs/lib/blkid/probe.c:251:9: warning: type defaults to 'int' in declaration of 'version_code' [-Wimplicit-int]
external/e2fsprogs/lib/blkid/probe.c: In function 'probe_jfs':
external/e2fsprogs/lib/blkid/probe.c:859:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/e2fsprogs/lib/blkid/probe.c:862:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/e2fsprogs/lib/blkid/probe.c: In function 'probe_zfs':
external/e2fsprogs/lib/blkid/probe.c:876:42: warning: unused parameter 'probe' [-Wunused-parameter]
external/e2fsprogs/lib/blkid/probe.c:876:69: warning: unused parameter 'id' [-Wunused-parameter]
external/e2fsprogs/lib/blkid/probe.c:877:23: warning: unused parameter 'buf' [-Wunused-parameter]
external/e2fsprogs/lib/blkid/probe.c: In function 'probe_hfs':
external/e2fsprogs/lib/blkid/probe.c:1173:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
external/e2fsprogs/lib/blkid/probe.c:1178:2: warning: pointer targets in passing argument 3 of 'blkid_set_tag' differ in signedness [-Wpointer-sign]
In file included from external/e2fsprogs/lib/blkid/probe.c:35:0:
external/e2fsprogs/lib/blkid/blkidP.h:176:12: note: expected 'const char *' but argument is of type '__u8 *'
external/e2fsprogs/lib/blkid/probe.c: In function 'probe_hfsplus':
external/e2fsprogs/lib/blkid/probe.c:1237:2: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
external/e2fsprogs/lib/blkid/probe.c:1299:2: warning: pointer targets in passing argument 1 of 'unicode_16be_to_utf8' differ in signedness [-Wpointer-sign]
external/e2fsprogs/lib/blkid/probe.c:1130:13: note: expected 'unsigned char *' but argument is of type 'char *'
external/e2fsprogs/lib/blkid/probe.c: In function 'probe_btrfs':
external/e2fsprogs/lib/blkid/probe.c:1372:24: warning: unused parameter 'id' [-Wunused-parameter]
external/e2fsprogs/lib/blkid/probe.c: In function 'blkid_verify':
external/e2fsprogs/lib/blkid/probe.c:1531:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
cc1: some warnings being treated as errors
make: *** [/dados/repositorios/cyanogen/quarx2k/out/target/product/mb526/obj/STATIC_LIBRARIES/libext2_blkid_intermediates/probe.o] Error 1

don't know where to fix. :confused:

Any advice??

offtopic:

made a "use natural motion to answer call feature" , based on djnilse's work, works 99% of the time.

if anyone want to test and include in their builds:

https://github.com/claudiobastos/an...mmit/a05982d48f2248c48291b01efbd73fadd0080ec9
[Defy General] pabloltg:
Quarx repo is wrong yet?
[Defy General] Kayant:
I will fix that later when I fix the linaro tool chain problems its due to the remerge in frameworks which I tried endlessly to fix then the code was updated so I need to fix it again wish I knew more programming but at least the little that I know in C# helps with java ;) :)

Let's Go ^_^
[Defy General] Husi10:
target thumb C: clatd <= external/android-clat/ipv4.c
target thumb C: clatd <= external/android-clat/ipv6.c
external/android-clat/clatd.c: In function 'drop_root':
external/android-clat/clatd.c:267: error: 'AID_CLAT' undeclared (first use in this function)
external/android-clat/clatd.c:267: error: (Each undeclared identifier is reported only once
external/android-clat/clatd.c:267: error: for each function it appears in.)
make: *** [out/target/product/jordan/obj/EXECUTABLES/clatd_intermediates/clatd.o] Erreur 1
make: *** Attente des tâches non terminées....

I have an error compiling CM9 using Quarx and Epsylon repo.

any idea ?

edit:

I resolved this issue by change debug to test into android-clat's Android.mk :evil:

But now I have a little bit bigger error :
[Defy General] MarcinRN:
is anyone able to build jb from Quarx's repo lately? mine always breaks after "some warnings being treated as errors" message.
[Defy General] yodawg:
how to build quarx 4.2 repo?
[Defy General] Kayant:
Don't think think there is a point yet he's still fixing some things.... All you need to do is change the branch from jellybean to mr1 staging

Let's Go ^_^
[Defy General] Kayant:
Is that after running the apply-linaro.sh script

Let's Go ^_^
[Defy General] yodawg:
Thanks. Maybe you are right. I think that Cyanogen will also have a 4.2-based version and that Quarx will probably adopt it at some point, right?
[Defy General] MarcinRN:
no I haven't run it yet. shall I? :D

if so could you please link it, I've seen guide on Quarx's repo but couldn't find it again.

#Nevermind, found it, seems to be ok now.

https://github.com/Quarx2k/android_device_moto_jordan-common

#2 still getting errors
[Defy General] Kayant:
They already do thats the mr1 staging branch which is being used temporary to merge everything from Cm10 before moving it into the stable branch it least that's to my understanding but I think quarx will probably just use this branch for 4.2 builds. If you look at his repos you will see some CM have already merged some things.

Let's Go ^_^
[Defy General] peter_harr:
Did you fix this? If so, how? I'm having the same issue building Quarx2k's repo, I have been trying for a few days, even restarted from scratch by deleting everything and resyncing.
[Defy General] Kayant:
Question to everyone

Ok I think I know think why we are having problems building but I just wanted to make sure am right.

Has anyone been able to build after apply the script??
[Defy General] peter_harr:
If you mean apply_linaro.sh, then no, it doesn't work for me.
[Defy General] Blechd0se:
Yes i can build. At least a few days ago, however i did some changes for some minimal improvements.
[Defy General] MarcinRN:
can you share what you did?