yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] Xistance:
The src error is nothing important and you can just ignore it. I just don't get what error you mean. Your java error? If it is about your java error and my fix didn't work you can delete the jdk from your system and download jdk6 directly from Java's site.

Edit: Oh your no zip files problem? Did you try lunch instead of brunch? I can't really say anything right now since I am away.
[Galaxy S Plus I9001 Android Development] hypnos17:
I've do all step by step but no zip in my out folder..with lunch command

Sent from Galaxy Tablet
[Galaxy S Plus I9001 Android Development] Xistance:
Just built it fine with the same instuctions on 12.10. Still haven't gotten a single reply of a successful build :C
[Galaxy S Plus I9001 Android Development] omegaRED7:
I've successfully built both CM9 for the SGS+ and the Archos G9 in the past, and built CM10 using camcory's sources a couple of days ago. Your tutorial is in line with what's available on the internet, though i you could add specificis for Doomsday's and camcory's builds (i.e. that beside the main repo (device) you also need to fetch vendor, MSMRIL, the audio part, camera HAL overlays ... etc.).

I had issues with permission as i ran out of space on my Linux drive and tried to build (changed the /out/ directory path) on an NTFS drive, in the end i reverted to creating an ext4 file on the NTFS drive and mounting it as loop, then building from there. Otherwise, no compilation errors or anything. Camera isn't available in camcory's build, i'll try to poke around a bit and get myself acquainted with JB sources this weekend.

Edit: On Ubuntu 12.04
[Galaxy S Plus I9001 Android Development] Alpha120:
Well, I cant get this to compile.

I get this error:

make: *** No rule to make target `out/target/product/ariesve/obj/lib/libaudioalsa.so', needed by `out/target/product/ariesve/obj/SHARED_LIBRARIES/audio.primary.msm7x30_intermediates/LINKED/audio.primary.msm7x30.so'. Stop.

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

I have followed your tutorial step by step (twice), but not sure if I did it right.

When cloned the git from ivendor, I downloaded the files from Doomsday, extracted them and overwrote the ivendor ones, so I think that is wrong,

Not a noob on Linux, I have sucessfully build LFS, kernels, and the like, but nothing for Android until now.

Well, hope you can help me with this
[Galaxy S Plus I9001 Android Development] omegaRED7:
Have you downloaded the needed replacement files for the audio? You can find them on camcory's github.

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] Alpha120:
Didnt used git before, just svn...

Can you give me the command line, please?

I am afraid i can do someting wrong
[Galaxy S Plus I9001 Android Development] Xistance:
Well yeah that is true but this is just a tutorial to building and I really hoped for people to actually know how to use gerrit and github before doing this. I guess I will add them using camcory's sources.

As for Alpha's problem, you can just download the files as zip from camcorys repo and place them where the readme shows you to put them in. You have to do this for MSMRIL, camera and audio. I can't explain it right now since I am currently out but will get home shortly.

EDIT: Updated OP with camcory's sources and the fixes.
[Galaxy S Plus I9001 Android Development] omegaRED7:
I completely understand your point of view. But you already went into much detail, and as you can see, people have trouble compiling because of missing patches. As it is, for our phone you need to add patches which either a) aren't merged in the CM sources or b) aren't included in the "main" repos (device/vendor). It would be of help to more inexperienced members if you included the necessary additions in your guide. But it's your guide, so i don't want to butt in.
[Galaxy S Plus I9001 Android Development] broodplank1337:
make -otapackage -j8
[Galaxy S Plus I9001 Android Development] Xistance:
You can do this or just use brunch ariesve instead of lunch. Look at OP at the build section.
[Galaxy S Plus I9001 Android Development] Alpha120:
I tried with brunch ariesve

But, now, in the "lunch" menu, i dont have the cm_ariesve_userdebug!!

I will try to compile again :fingers-crossed:
[Galaxy S Plus I9001 Android Development] omegaRED7:
Before you "brunch", you need to run "source build/envsetup.sh", then you can run "brunch ariesve".

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] Alpha120:
I did first time, but I cant get past this point.

Same error:

target Dex: framework

make: *** [/home/alpha/WORKING_DIRECTORY/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes-with-local.dex] Terminado (killed)

Dont know what's going on...:mad:

At least when compiling LFS, there was plenty of info about errors, but with CM10 is not the same, so if I google about that error, I only find references on XDA...
[Galaxy S Plus I9001 Android Development] Xistance:
All I can think of is you have a problem with your repo. Did you use the correct branch and repo? Also, could you run repo sync again. If all of these don't work then delete everything in your working_dir keeping the ".repo" folder. You can also keep the device folder if needed. Then run repo sync again.
[Galaxy S Plus I9001 Android Development] Alpha120:
Another question, this one is related to the Android SDK.

I typed "android" in the terminal to install and download updates, but, should I install everything?? As the APIs and tools needed isnt stated in the tutorial...
[Galaxy S Plus I9001 Android Development] Xistance:
Not everything. You only need the 4.1 API, SDK tools and platform tools. Didn't really feel the need of putting this on OP. Sorry :C

Edit: Actually, you don't even need the API. SDK tools and platform tools is enough.
[Galaxy S Plus I9001 Android Development] Alpha120:
Ok, it seems it was my fault after all, because I didnt tell you i was using VirtualBox machine.

I though it could be some VM-related config, and I assigned 4 cores to the VM and 3 gig of RAM to it.

It is still compiling and this time i hope it will finish sucessfully.

i will check at night and report here.

Sorry for all trouble :o
[Galaxy S Plus I9001 Android Development] Xistance:
Haha, that is mostly my fault then for not noticing. I am not accustomed with VB's but I am pretty sure you should give it as much RAM as you can. If 3GB still isn't enough and you have no more RAM then make a swap partition.
[Galaxy S Plus I9001 Android Development] Alpha120:
Ok, finally I got it to compile successfully :D

Got another "killed" but tried again in console mode (no desktop) and finally got it :victory:

Anyway, Im going to compile it again., making a nandroid and flash it.

Btw, im using Kubuntu 12.04 LTS, i like KDE :)

And one las t question: how can this help the development of CM10?
[Galaxy S Plus I9001 Android Development] Xistance:
Haha, great :). What helps the development isn't you building it but what you do as a result. Fix code, add features, make it more stable, you can even try to fix the camera if you'd like and then share with everyone. Building was the easy part :P
[Galaxy S Plus I9001 Android Development] Alpha120:
I'm not a experienced coder, so I will wait for the real devs to make the needed modifications.

For the camera thing, it seems camcory got the camera partially working with kernel 2.6.x

And for what I can read at other threads, there are problems with voltage regulators on kernel 3.x, so probably i will not flash it.

Anyway, good tutorial, it took me 3 hours to succesfully compile CM10 (again).

Maybe i will try with your other tutorial, how to compile a kernel...
[Galaxy S Plus I9001 Android Development] davidteri91:
how make for build fron ivendor's github ???? help me @Xistance
[Galaxy S Plus I9001 Android Development] hypnos17:
sinc with his github
[Galaxy S Plus I9001 Android Development] davidteri91:
this is his github git://github.com/ivendor/android_device_samsung_ariesve.git -b jb-2.6 ???
[Galaxy S Plus I9001 Android Development] Xistance:
Yes that is it :). Make sure to add ariesve to the end.

git clone git://github.com/ivendor/android_device_samsung_ariesve.git -b jb-2.6 ariesve
[Galaxy S Plus I9001 Android Development] davidteri91:
if and downloaded from github of ivendor

which focuses this

Get some needed files

Download all three of These as zips and paste the files into folders Their respective Shown in the README. This Should fix any errors you get while compiling.

code:

https://github.com/camcory/SamsungMSMRIL.java

https://github.com/camcory/hardware-qcom-audio-msm7x30

https://github.com/camcory/frameworks-native-include-ui
[Galaxy S Plus I9001 Android Development] Xistance:
You can use them for any repo. In other words, you HAVE to use them.
[Galaxy S Plus I9001 Android Development] davidteri91:
ok, but no problem if and downloaded from github of ivendor.

because I see that those who serve to configurations downloaded from github of camcory.

bone in a nutshell are consistent with the Code of ivendor
[Galaxy S Plus I9001 Android Development] Xistance:
These files have nothing to do with device files. These change files inside your CM repo and not device so you will have to do this for ivendor's as well. But still, correct me if I am wrong since I just might not be understanding what you are saying.
[Galaxy S Plus I9001 Android Development] davidteri91:
ok sorry I do not speak very good English and I'm helping with google translator

thanks for your help you are very kind

---------- Post added at 11:20 PM ---------- Previous post was at 11:17 PM ----------

another question for me is this error

david @ david-desktop: ~ / working_directory $ https://github.com/camcory/SamsungMSMRIL.java

bash: https://github.com/camcory/SamsungMSMRIL.java: No such file or directory
[Galaxy S Plus I9001 Android Development] Xistance:
You are supposed to download it as zip from the site and not put it in your terminal. Open that url in your browser and there should be a button that says ZIP with a cloud icon. Download that and place the files where the readme tells you to put it.
[Galaxy S Plus I9001 Android Development] davidteri91:
OK this https://github.com/camcory/hardware-qcom-audio-msm7x30 and this https://github.com/camcory/frameworks-native-include-ui

not working, I do?
[Galaxy S Plus I9001 Android Development] Xistance:
Not working? You are supposed to download all three of them if that is what you are asking.
[Galaxy S Plus I9001 Android Development] davidteri91:
but if not let me download the zip, because the pages do not work, I can do in this case
[Galaxy S Plus I9001 Android Development] Xistance:
Yep, sorry. This is totally my fault for not checking the links. Here is an attachment with the files.
[Galaxy S Plus I9001 Android Development] Xistance:
CM10.1(4.2) is building right now. Been going pretty well so far. Going out for a bit and by the time I come back hopefully I will have something for you guys.
[Galaxy S Plus I9001 Android Development] ckiikc:
I've added the three files and using ivendor jb 2.6 repo I got this error...

target SharedLib: camera.msm7x30 (/home/ckiikc/WORKING_DIRECTORY/out/target/product/ariesve/obj/SHARED_LIBRARIES/camera.msm7x30_intermediates/LINKED/camera.msm7x30.so)

/home/ckiikc/WORKING_DIRECTORY/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: /home/ckiikc/WORKING_DIRECTORY/out/target/product/ariesve/obj/SHARED_LIBRARIES/camera.msm7x30_intermediates/cameraHAL.o: in function camera_set_preview_window(camera_device*, preview_stream_ops*):device/samsung/ariesve/camerahal/cameraHAL.cpp:495: error: undefined reference to 'android::eek:verlay::eek:verlay(void (*)(void*, int), void (*)(void*, unsigned int, unsigned int, unsigned int, unsigned int), void (*)(void*, void*), void*)'

collect2: ld returned 1 exit status

make: *** [/home/ckiikc/WORKING_DIRECTORY/out/target/product/ariesve/obj/SHARED_LIBRARIES/camera.msm7x30_intermediates/LINKED/camera.msm7x30.so] Errore 1

make: *** Attesa per i processi non terminati....
[Galaxy S Plus I9001 Android Development] CastagnaIT:
I do not have these hidden files .bashrc and .profile

how can I do?

for bashrc i used: "sudo gedit .bashrc"

I hope goes well, the file is blank i hope it is normal
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
Use CTRL+H on the home dir, scroll down and you will see:D
[Galaxy S Plus I9001 Android Development] CastagnaIT:
I'm not blind, is not present
[Galaxy S Plus I9001 Android Development] EternalFame:
I had same problem but using

"gksudo nautilus" i saw them!
[Galaxy S Plus I9001 Android Development] CastagnaIT:
but you could say who was in the ROOT folder, not in the HOME!!!! :-/
[Galaxy S Plus I9001 Android Development] Xistance:
Anyway, as an update to my build I got an error it seems when I came home. Fixed that and now continuing the build. I just want everyone to know that I most likely won't release this build until a nightly comes out or at least onto the stable repo on CM.

Edit: Built is done and flashed it. As expected it doesn't boot. Hopefully I can fix it tomorrow.
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
will you post a tutorial to build cm10.1?
[Galaxy S Plus I9001 Android Development] Xistance:
What is the point of releasing a tutorial that will only last a few days?
[Galaxy S Plus I9001 Android Development] ckiikc:
I think you're in the home directory. you have to go in the ~/home/[your nick] directory instead.

sent from my i9001 using

CyanogenMod 10 by ivendor Alpha5
[Galaxy S Plus I9001 Android Development] jjaacckk94:
repository not found!!!!!!!!!!!!!!!! can you add, please a working repo?

jack@Home-Ubuntu:~/WORKING_DIRECTORY/device/samsung$ git clone git://github.com/camcory/device_ariesve-jb.git -b master ariesve
Cloning into 'ariesve'...
fatal: remote error:
Repository not found.
jack@Home-Ubuntu:~/WORKING_DIRECTORY/device/samsung$

i tried also this

jack@Home-Ubuntu:~/WORKING_DIRECTORY/device/samsung$ git clone git://github.com/ivendor/android_device_samsung_ariesve.git -b master ariesve
Cloning into 'ariesve'...
fatal: Remote branch master not found in upstream origin
jack@Home-Ubuntu:~/WORKING_DIRECTORY/device/samsung$
[Galaxy S Plus I9001 Android Development] jaggyjags:
[URL]https://github.com/camcory/SamsungMSMRIL.java[/URL]
[URL]https://github.com/camcory/hardware-qcom-audio-msm7x30[/URL]
[URL]https://github.com/camcory/frameworks-native-include-ui[/URL]

links are not working any more (only first one)

also other links to camcory's github don't exist and got the files from ivendor's

could you please fix them or share the files? :)
[Galaxy S Plus I9001 Android Development] Xistance:
The files are above in a post of mine. I will try to fix them a bit later.
[Galaxy S Plus I9001 Android Development] jjaacckk94:
another error...why ?!?!?!?!?!!?!?!?!?!?!?!?!?!

jack@Home-Ubuntu:~/WORKING_DIRECTORY/device/samsung/ariesve$ ./extract-files.sh
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
./extract-files.sh: 14: ./extract-files.sh: adb: not found
jack@Home-Ubuntu:~/WORKING_DIRECTORY/device/samsung/ariesve$
[Galaxy S Plus I9001 Android Development] Xistance:
Try the quote right under that. Anyway, you need adb to do that. Install android SDK.
[Galaxy S Plus I9001 Android Development] jjaacckk94:
Thanks!!!!
[Galaxy S Plus I9001 Android Development] jaggyjags:
process stops at this point:

make: *** No rule to make target `/home/jags/WORKING_DIRECTORY/out/target/product/ariesve/obj/lib/libaudioalsa.so', needed by `/home/jags/WORKING_DIRECTORY/out/target/product/ariesve/obj/SHARED_LIBRARIES/audio.primary.msm7x30_intermediates/LINKED/audio.primary.msm7x30.so'. Stop.

followed every step and copied the all the files from the fix.zip

any clues?

EDIT: compiling again with no other changes and apparently it is not stopping now... will post results

EDIT2: same results but error showed some minutes after. will try to copy the files below tonight and try again
[Galaxy S Plus I9001 Android Development] blackmambazzz:
Do you have copied all files from here to ~/WORKING_DIRECTORY/hardware/qcom/audio/

Maybe you also need to copy this to ~/WORKING_DIRECTORY/frameworks/native/

and this to ~/WORKING_DIRECTORY/frameworks/av/

I hope this helps you with errors :)
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
a well tutorial !!!!!! but i was stuck at repo sync for a few hours,,,,

is normal ???
[Galaxy S Plus I9001 Android Development] jjaacckk94:
Yes it is...

Inviato dal mio GT-I9001 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
Probably how many hours in this step?
[Galaxy S Plus I9001 Android Development] Xistance:
According to how long your internet connection downloads 6 GB.
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
oh no ,6GB , mine only downloaded 1.1GB , :(

one questions , the android sdk is download ADT Bundle or sdk tools only?

Any news for your cm10.1?

Sry for poor english:p
[Galaxy S Plus I9001 Android Development] Xistance:
Only the first two whichever ones they were(platform tools and another). Don't get any of the SDK's for JB, ICS etc...

I might be able to get it working soon. Really busy lately since I have my own exams at school.
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
stop on fetching projects :75%(237/315)

but i type sync repo command again,seen it will continue sync, isn't it or i want to clear all and sync it again?
[Galaxy S Plus I9001 Android Development] Xistance:
You don't have to clear it. Just repo sync again to continue.
[Galaxy S Plus I9001 Android Development] alaanto:
hi bro :) i have one very noob problem so excuse me :/

i have had this on my .bashrc

and in .profile

but when i write " android " in terminal ti report my command don't found, where is my mistake ? :/
[Galaxy S Plus I9001 Android Development] Xistance:
Why are you writing /home/antonio/android-sdk where PATH is? There is no need to do that. Just copy paste the lines as it is in OP.
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
see private message, sent the problem there
[Galaxy S Plus I9001 Android Development] alaanto:
so I have to paste without changing anything ?! oook
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
i have this error Install: /home/ezekiel/WORKING_DIRECTORY/out/host/linux-x86/bin/aapt

target Export Resources: framework-res (/home/ezekiel/WORKING_DIRECTORY/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk)

libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area

libpng warning: Ignoring attempt to set cHRM RGB triangle with zero area

device/samsung/ariesve/overlay/frameworks/base/core/res/res/values/config.xml:200: error: Resource at config_qualcommElectronBeam appears in overlay but not in the base package; use <add-resource> to add.

make: *** [/home/ezekiel/WORKING_DIRECTORY/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1

make: *** Deleting file `/home/ezekiel/WORKING_DIRECTORY/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'

somebody can help?

---------- Post added at 10:48 AM ---------- Previous post was at 10:45 AM ----------

ezekiel@ezekiel-virtual-machine:~/WORKING_DIRECTORY$ brunch ariesve -j+1

including vendor/cm/vendorsetup.sh

Trying dependencies-only mode on a non-existing device tree?

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.1.2

TARGET_PRODUCT=cm_ariesve

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.5.0-17-generic-x86_64-with-Ubuntu-12.10-quantal

HOST_BUILD_TYPE=release

BUILD_ID=JZO54K

OUT_DIR=/home/ezekiel/WORKING_DIRECTORY/out

============================================

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.1.2

TARGET_PRODUCT=cm_ariesve

TARGET_BUILD_VARIANT=userdebug

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a-neon

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.5.0-17-generic-x86_64-with-Ubuntu-12.10-quantal

HOST_BUILD_TYPE=release

BUILD_ID=JZO54K

OUT_DIR=/home/ezekiel/WORKING_DIRECTORY/out

============================================

find: `src': No such file or directory

but the process will continue ,,,,"src"is it an error or normal?
[Galaxy S Plus I9001 Android Development] Xistance:
You can go to the config.xml and just comment out those lines. The src error is normal. You don't have to worry about that.
[Galaxy S Plus I9001 Android Development] luckana:
Hey Xsitance what's up with CM 10.1 ? Like 9 days have passed since you last mentioned that you MIGHT get it working soon (btw hope you did well on the exams)
[Galaxy S Plus I9001 Android Development] t0kgrumps:
+1 have been waiting anxiously after xistance said that. I'm seriously so jealous of i9000 having androud 4.2 There have also been a large number of custom roms. Being made and have been made based on android 4.2 now I feel like taking my uncle's galaxy s and run cm10.1 right now but I cant
[Galaxy S Plus I9001 Android Development] Xistance:
Haha, really sorry. I got past my kernel problems and can get logcats now. There are problems with my libs and I am trying to find out how to fix them. I am only doing this in my free time so I would like to say it might take a bit. My exams are still going on but my Maths exam is done I actually did really well ^_^. Sorry for all the hype as I was really excited for building it.
[Galaxy S Plus I9001 Android Development] MicroDroidXDA:
what does that mean where do i change this -j16 to -j8? because i am getting connection errors...
[Galaxy S Plus I9001 Android Development] Xistance:
repo sync -j8

If this gets you connection errors then you should drop to -j4 or even none at all and just use "repo sync".
[Galaxy S Plus I9001 Android Development] MicroDroidXDA:
lol i just used repo sync from the beginning and got connection errors wtf xD