yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] Xistance:
Yeah I guess but you need to add ariesve to the brunch list. I thought this would be easier or do I know it wrong? Thanks for your suggestion :)

Edit: Ahaha, sorry crybert. I had tried before but the device wasn't in the list so I thought we had to add it there. After checking again it's there :p
[Galaxy S Plus I9001 Android Development] UpGado:
Is the toolchain in android sdk ??
[Galaxy S Plus I9001 Android Development] Xistance:
Yeah, fixed that. Sorry for the wrong path :S
[Galaxy S Plus I9001 Android Development] Xistance:
After getting a PM I noticed I got some paths wrong. I fixed them all now and it should be fully okay. Sorry if anyone couldn't build it correctly before this :(.

Edit : Please follow the steps starting with the repo init. Before, since I made you guys cd to the wrong folder to init repo the sync also went to the wrong folder. CD to the working dir and init repo again and then sync. If you don't want to wait that long again for it to sync again since I probably made you sync to the wrong folder, use Ctrl+H at where you synced and copy paste the .repo folder to the WORKING_DIRECTORY folder and sync again.
[Galaxy S Plus I9001 Android Development] mrjraider:
Perhaps an stupid and noob question, but why Ubuntu x64? And not x32? :silly:
[Galaxy S Plus I9001 Android Development] Xistance:
I don't know the specific reason but Google said it must be 64bit. You shouldn't even be trying to build with less than 4GB of RAM anyway. It wasn't a stupid question. All questions are welcome here :).
[Galaxy S Plus I9001 Android Development] mrjraider:
Also a decent CPU? I got an intel dual core 2,0 ghz and 3GB RAM..

Haha, I am not able to try it haha.

Thanks for the info :silly:
[Galaxy S Plus I9001 Android Development] Xistance:
You can still build it if you want :). It might be a little slower than usual but if you are willing do it for the development of JB for our device than it is fine.
[Galaxy S Plus I9001 Android Development] nikku_hot123:
i am trying to make ics with arco source following this tutorial with repo sync of ics.

i am facing these errors..

build/core/base_rules.mk:166: *** hardware/msm7k/liblights: MODULE.TARGET.SHARED_LIBRARIES.lights.msm7x30 already defined by device/samsung/ariesve/liblight. Stop.

i am getting this error???? Help

Edit : i corrected it but now i am stucking at

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.0.1

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_BUILD_TYPE=release

BUILD_ID=ITL41D

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

build/core/main.mk:322: implicitly installing apns-conf_sdk.xml

No private recovery resources for TARGET_DEVICE ariesve

make: *** No rule to make target `hardware/qcom/gps/loc_api/libloc_api-rpc/inc-50000/loc_api_cb.h', needed by `out/target/product/ariesve/obj/include/libloc_api-rpc/inc/loc_api_cb.h'. Stop.

????????
[Galaxy S Plus I9001 Android Development] Xistance:
First of all,

PLATFORM_VERSION=4.0.1

BUILD_ID=ITL41D

Why is your version and build ID that? The version it says is ICS, not JB. They should be 4.1.1 and JRO03L(I think that was it). Did you make sure to clone the git as jellybean?
[Galaxy S Plus I9001 Android Development] crybert:
For CM9 you need to cherry-pick or pull the following commit for working audio: http://review.cyanogenmod.com/#/c/21004/
[Galaxy S Plus I9001 Android Development] crybert:
You need this: http://review.cyanogenmod.com/#/c/13285/
[Galaxy S Plus I9001 Android Development] cezaralboiu:
So the hw acceleration is not working,right?
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
is the project butter working?
[Galaxy S Plus I9001 Android Development] Xistance:
No it isn't.

I'm not sure but I can say it is 2x faster and smoother than CM10.
[Galaxy S Plus I9001 Android Development] Aldokazer:
2x?????????? That will be gr8888!!! Can't w8 for ur release :D :D :D
[Galaxy S Plus I9001 Android Development] MicroDroidXDA:
There are already two test releases for 4.2 camera app for ariesve, one of them has even got working photosphere (according to the thread, but I haven't tested any of them yet) and is made for 3.x kernel. Have you tried including one of these? Sorry if this question is too nooby :D
[Galaxy S Plus I9001 Android Development] Xistance:
Those releases only change what the app does. The problems are in the ROM, for example one of the problems is the camera HAL.
[Galaxy S Plus I9001 Android Development] cezaralboiu:
We are waiting for you to fix the camera for 4.2.1. You'll release it when it has all the functions working?:D
[Galaxy S Plus I9001 Android Development] educk:
If you are talking about my ported 4.2 camera, the camera app has the photosphere feature but the app crashes after opening it, this is related, among others to what Xistance said, camera hal. What I uploaded was just a test relase, I hope the camera will fully work soon!
[Galaxy S Plus I9001 Android Development] Xistance:
Haha, if you get demoralized only on the sync step you should get ready when you are building a new ROM with no source like I am for CM10.1. Anyway, keep doing repo sync. If you get connection errors lower the -jX count. It happens a lot and is usually just a problem on CM's side.
[Galaxy S Plus I9001 Android Development] jjaacckk94:
do not laugh.

Your tutorial is wrong. Guys follow this:

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

It works.
[Galaxy S Plus I9001 Android Development] Xistance:
Sorry, I laughed. This tutorial is based on that one. Guess what? This also works if not for the user ends stupidity. Great that you got it working(if you got it working).
[Galaxy S Plus I9001 Android Development] cezaralboiu:
dastin's tutorial reffers to all devices and all brands, but Xistance's tutorial is made for the i9001 devs. and Dastin's one is more complicated!:P good job Xistance!:D
[Galaxy S Plus I9001 Android Development] omegaRED7:
So basically, you're blaming Xsistance's tutorial for errors while syncing repos, and after being informed by the repo sync output that there MIGHT be problems with the remote repository? You know what repo sync actually does, right? Put simply, it copies the remote repository (source files for CM from the internet) to your computer. If there are some problems with the servers or connections, you would get that kind of an error.

Sent from my GT-I9001
[Galaxy S Plus I9001 Android Development] rickvrolings:
Hey xistance, i am really sorry to start about this topic and i know it is actually spam, but can you make a discussion thread about android 4.2 for our phone with some extra information. This way we wont have any more post about android 4.2.1 in this thread.

I think it is best if you open a discussion thread because you are actually the only one around here who has a bootable android 4.2.1 on your galaxy s plus

Oh and could you release a android 4.2 preview .zip? Just like doomsday did with android 4.1

I think people would really appreciate it even it isn't working 100% ;)

Anyway, thanks in advance
[Galaxy S Plus I9001 Android Development] cezaralboiu:
yes. it's a nice idea!:D
[Galaxy S Plus I9001 Android Development] Xistance:
Dev thread it is then. I will make it when I have a build ready to be released. Till then don't post about it on this thread. If you have a question, PM me.
[Galaxy S Plus I9001 Android Development] Xistance:
Well, audio is now fixed(again) and playing vids work in S/W mode. H/W still doesn't work so HD vids might lag a little bit.
[Galaxy S Plus I9001 Android Development] sidsweb:
I know you said not to talk about in this thread, but I'm just really curious, are you talking about 4.2?
[Galaxy S Plus I9001 Android Development] rickvrolings:
Yes he is. But a discussion thread for 4.2 would reduce the spam in this thread. And i think xistance should open it
[Galaxy S Plus I9001 Android Development] luckana:
dude are you blind ? yea, he IS god damn talking about 4.2.. jesus..
[Galaxy S Plus I9001 Android Development] kouros17:
I agree. I think the time has come.
[Galaxy S Plus I9001 Android Development] Xistance:
Whoah, calm down O.o. He asked a pretty sound question as not only did I break my own "don't talk in this thread" rule but I didn't say what it was for. It still should have been obvious as those already work in 4.1 though.
[Galaxy S Plus I9001 Android Development] luckana:
i didn't mean to be rude :D just within 5 seconds of searching he would've understood
[Galaxy S Plus I9001 Android Development] camcory:
Hows the wifi going? :good:
[Galaxy S Plus I9001 Android Development] Xistance:
Building right now but PM me for such questions as this isn't the thread for it. Going to open a discussion thread soon though. Oh and I would like every to meet the guy that helped me ALOT. Big thanks to him or else I couldn't get this far.
[Galaxy S Plus I9001 Android Development] camcory:
I saw all the talk a thought Id be funny and stoke the fire. ;) PM is coming
[Galaxy S Plus I9001 Android Development] Xistance:
Well, HW and even HW+ decoding now works. 3D performance will be bad till Adreno releases their 4.2 libs(which is probably never). Err... I'm also pretty sleepy... Not that you guys care! D:
[Galaxy S Plus I9001 Android Development] jaggyjags:
thanks! but if they have released drivers for 4.1 why shouldn’t they release them for 4.2?

are there other phones than galaxy w with that gpu?
[Galaxy S Plus I9001 Android Development] Xistance:
They said they would release it 'soon' 2 months ago. Now, I'm pretty sure I know the general meaning of 'soon' and I'm pretty sure it isn't 2 months.

Yeah there are. Like the Desire HD which has everything but HW acc working.
[Galaxy S Plus I9001 Android Development] cezaralboiu:
how much will it be until you'll release it?
[Galaxy S Plus I9001 Android Development] Xistance:
Possibly tomorrow. Not really sure if I want to release it though as WiFi still has a few problems and if I release tomorrow I will release it without WiFi.
[Galaxy S Plus I9001 Android Development] cezaralboiu:
Nobody expects a stable version. you should release it as a test build or experimental!:D
[Galaxy S Plus I9001 Android Development] Ezekiel1998:
you can release two version :)
[Galaxy S Plus I9001 Android Development] cezaralboiu:
Yes you should release it today!:D
[Galaxy S Plus I9001 Android Development] t0kgrumps:
You are so greedy. Like me :P
[Galaxy S Plus I9001 Android Development] Xistance:
I'm forced to release it today whether I like it or not anyway. This week I have extremely important exams and won't be able to dev for a few days. After those are done, which is Wednesday, I will continue to fix everything. Unless you guys can wait 1 week I'll release it today.
[Galaxy S Plus I9001 Android Development] cezaralboiu:
Ok. Thank you. Can you release the one with wifi because i want to se how the apps are working. Good luck with your exams!:D
[Galaxy S Plus I9001 Android Development] Xistance:
If I release it today it will be without WiFi. I already said I was having some problems with it.
[Galaxy S Plus I9001 Android Development] t0kgrumps:
Are there any other things that are not working other than WiFi?
[Galaxy S Plus I9001 Android Development] Xistance:
WiFi works... kinda. Anyway, 3G doesn't work but is almost fixed. Bluetooth, working on it. Camera and HW acc.
[Galaxy S Plus I9001 Android Development] t0kgrumps:
That's awesome, cause that's what will be expected as an alpha/test build. But did you use the 2.6 or 3.0 kernel? Cause someone said that android 4.2 needs ion from kernel 3x
[Galaxy S Plus I9001 Android Development] Xistance:
Both 2.6 and 3.0.x works. 3.0.x makes the phone seriously fly. 2.6 is also like 3.0 on CM10.
[Galaxy S Plus I9001 Android Development] pouriajamali:
Does buttery project fully work on kernel 3 ?
[Galaxy S Plus I9001 Android Development] rickvrolings:
Anyway. If you release it. Please make a separate thread and a list with what works and what doesnt.

Thanks for your hard work and good luck on your exams!
[Galaxy S Plus I9001 Android Development] dkmali:
+1

Sent from my Android Smartphone
[Galaxy S Plus I9001 Android Development] Xistance:
I am going to of course and thanks!

I am not sure if it fully works but I can say that it is amazingly smooth and incredibly fast.
[Galaxy S Plus I9001 Android Development] Xistance:
Making the thread right now. I have a surprise for everyone :)
[Galaxy S Plus I9001 Android Development] mikrotik:
everything works ... I build for galaxy wonder ... thanks :good:
[Galaxy S Plus I9001 Android Development] Xistance:
Awesome. Congrats on your build ^_^.
[Galaxy S Plus I9001 Android Development] ckiikc:
Finally I got it compiled and obtained the zips! thank you Xistance!!

I hope to be able to investigate and fix at least a cm10 issue. I will start with faceunlock upside down. I'm complety noob but with some programming skill. If anyone has any information about the faceunlock code please give me a hand. thanks!

p.s. only one thing: at the end of the process it tell me to install pngcrush. Now I installed it... maybe it's a programm to insert in the "Install required packages" section couse is image compression related. Also I read in the sdk dev page that the -j# option could be setted with your number of cores*2 + 1. If it is wrong I apologize.
[Galaxy S Plus I9001 Android Development] Xistance:
Haha, grats on your build ;).

The pngcrush at the end is for optimizing the rom. It's a good thing but not required :p. About the -jX, I don't recommend using any more than Core+1. If you have nothing to do and have power to spare, sure you can use core x 2 but I like browsing the web and doing other stuff while it is building. It will finish soon anyway so why limit my own time?
[Galaxy S Plus I9001 Android Development] cezaralboiu:
hi. do you think it will work on 32-bit ubuntu? because i'm using virtualbox and 64-bit is not supported..
[Galaxy S Plus I9001 Android Development] Laurentyu1995:
why you don't try to make dual boot windows 7 with ubuntu 12.04 64 bit ???:confused: and you'll don't have any problems with virtualbox or something like that. just a suggestion ;)
[Galaxy S Plus I9001 Android Development] cezaralboiu:
if i change the device tree to arco's one will it work for our phone? and how can i change to j16? because i have 100mb internet speed!thank you very much! nice tutorial btw;)
[Galaxy S Plus I9001 Android Development] Xistance:
If you mean to arco's ancora repo, then no it won't work. If you mean ariesve then yes it will. You just do "repo sync -j16".
[Galaxy S Plus I9001 Android Development] cezaralboiu:
can you tell me how to install sdk? i reneamed it android-sdk as you said and put it in the home directory. and everytime i open the terminal, it shows me the error:

bash: PATH=${/cezar/home}:~/android-sdk/tools: bad substitution

bash: PATH=${/cezar/home}:~/android-sdk/platform-tools: bad substitution

bash: PATH=${/cezar/home}:~/bin: bad substitution

is the command put corect? also, when i tipe android, it shows me: android: command not found

thanks!:D
[Galaxy S Plus I9001 Android Development] krislibaeer:
copy and paste like in OP that is all no need to change anything

# Android tools

export PATH=${PATH}:~/android-sdk/tools

export PATH=${PATH}:~/android-sdk/platform-tools

export PATH=${PATH}:~/bin
[Galaxy S Plus I9001 Android Development] TheFerhatKing:
Does this Tutorial work with Android 4.2.1 too?
[Galaxy S Plus I9001 Android Development] Xistance:
Objectively speaking, yes. Technically, no.

What I mean is, the steps are the same. Just that it won't work unless you make the fixes to the repo. It's not like 4.1 which is sync repo and build.
[Galaxy S Plus I9001 Android Development] MicroDroidXDA:
curl: (6) Couldn't resolve host 'dl-ssl.goolge.com'

:confused:
[Galaxy S Plus I9001 Android Development] EminSG:
not 'dl-ssl.gooLGe.com' but 'dl-sll.gooGLe.com'
[Galaxy S Plus I9001 Android Development] MicroDroidXDA:
geeze... that makes sense :D sorry for not trying again before posting
[Galaxy S Plus I9001 Android Development] Stefano187:
R: [Tutorial] Build CM10 for i9001

Sorry for disturbing, is it possible that for sync repo with command -j7 my ubuntu environment is 3 hours that is downloading something and I don't know when will it finish? :confused:

It's the first time that I try to compile...
[Galaxy S Plus I9001 Android Development] Xistance:
Yeah, it is normal. It should take however long it takes your internet to download 7 GB.
[Galaxy S Plus I9001 Android Development] Stefano187:
R: [Tutorial] Build CM10 for i9001

OK thanks for your answer Xistance, i hope I will compile a working CM10 with your tutorial. Last question, I promise! Please don't hate me... With jb3, files in blackmambazzz's zip are needed? If so, I need to overwrite the entire folders or just the files that are inside?
[Galaxy S Plus I9001 Android Development] Xistance:
Umm... The device tree should be ariesve and nothing different. Which means the files are all in device/samsung/ariesve. It shouldn't change even if you use jb-3.0 and not jb-2.6.

If you are building for 4.1 they are probably needed. I'm not sure as I haven't built 4.1 in a long time but you should use them either way as they don't cause any harm.

Also, why should I hate you? O.o . I made this thread so I could teach people and answer their questions.
[Galaxy S Plus I9001 Android Development] Stefano187:
R: [Tutorial] Build CM10 for i9001

Yes I'm trying to compile CM10 so Android 4.1.2... So, file in blackmambazzz's zip... I have to overwrite entire folders (frameworks and hardware) or just the files that are inside? I don't know if I explained my doubt... My English is not so clear...
[Galaxy S Plus I9001 Android Development] Xistance:
Just copy paste the folders into your repo. It should merge the folders. Basically only the files that are inside, not the whole folder.
[Galaxy S Plus I9001 Android Development] Stefano187:
R: [Tutorial] Build CM10 for i9001

I received an error during compiling... Something related to camerahal and a missing file (overlay.h)... But I'm too tired now, later i'll post the screen or i'll copy the error that i got... Good night to everybody...
[Galaxy S Plus I9001 Android Development] Xistance:
Create a file called overlay.h in frameworks/native/include/ui/ and put this inside : overlay.h pastebin
[Galaxy S Plus I9001 Android Development] hahnjo:
AW: [Tutorial] Build CM10 for i9001

Depending on your repo, you might have to put it under frameworks/native/include/ui/legacy... the path has changed (at least at my device tree and I think in ivendor's new one, too)
[Galaxy S Plus I9001 Android Development] Xistance:
Re: [Tutorial] Build CM10 for i9001

It doesn't matter where it is as long as it is called at that path from the device tree. Of course, I forgot that ivendor did that commit so thank you.
[Galaxy S Plus I9001 Android Development] Stefano187:
R: [Tutorial] Build CM10 for i9001

Thank you very much guys, hahnjo is right, the file has to be placed in the path that he wrote and it seems that compiling operation is going on thanks to the file you wrote on pastebin Xistance. I hope i will not go aganist other errors... Sorry if my questions are "noobish"... :p

P.S. How can I understand if CM10 is built? Where can I found the output and how can I put it in my phone? [Next step will be compile kernel :D]
[Galaxy S Plus I9001 Android Development] Stefano187:
R: [Tutorial] Build CM10 for i9001

OK, if I succeded in compiling CM10 is only thanks to you Xistance! Also a noob like me with your tutorial reaches his purpouse! Thank you very much! Now let's step on kernel building tutorial :D
[Galaxy S Plus I9001 Android Development] blackmambazzz:
I have made a

simple script which merges the changes from Ivendor

in your working directory (cm10 only).

So you have the latest changes for vsync, camera and audio :cowboy:

Simply place in your working directory, give permission to execute and run the script.

If it works for anyone else except me, Xistance should change the link in the OP :good:

http://www.mediafire.com/?b1kj0slcwo9r707
[Galaxy S Plus I9001 Android Development] Xistance:
Thank you so much for this. I cannot go back to CM10 to check the changes out. If it worked for you then I'll just put it on OP. It will be seen better there anyway and can get a report faster.
[Galaxy S Plus I9001 Android Development] Stefano187:
R: [Tutorial] Build CM10 for i9001

And that's it! Really appreciated your help and suggestions. And finally i got it :)
[Galaxy S Plus I9001 Android Development] Christopher83:
It works, the changed files are these:

project frameworks/base/ (*** NO BRANCH ***)
-- telephony/java/com/android/internal/telephony/SamsungMSMRIL.java
project frameworks/native/ (*** NO BRANCH ***)
-- include/ui/Overlay.h
-- libs/ui/Overlay.cpp

Is it ok?

Thank you Blackmambazzz and thank you Xistance!!! :good:
[Galaxy S Plus I9001 Android Development] hahnjo:
Yes, but for the newest version, you have to move the Overlay.h to include/ui/legacy/Overlay.h
[Galaxy S Plus I9001 Android Development] Fujin.Suzukaze:
error

Help me with this error

target Java: android.policy (/home/fujin/CM10/out/target/common/obj/JAVA_LIBRARIES/android.policy_intermediates/classes)
packages/apps/Settings/src/com/android/settings/bluetooth/BluetoothPermissionActivity.java:101: cannot find symbol
symbol : variable REQUEST_TYPE_MESSAGE_ACCESS
location: class android.bluetooth.BluetoothDevice
} else if (requestType == BluetoothDevice.REQUEST_TYPE_MESSAGE_ACCESS) {

^
[Galaxy S Plus I9001 Android Development] Sot0:
I get this Error while compiling, any ideas?

Import includes file: /home/sot0/WORKING_DIRECTORY/out/target/product/ariesve/obj/SHARED_LIBRARIES/copybit.msm7x30_intermediates/import_includes
device/samsung/ariesve/camerahal/cameraHAL.cpp:34:24: fatal error: ui/Overlay.h: No such file or directory
compilation terminated.
make: *** [/home/sot0/WORKING_DIRECTORY/out/target/product/ariesve/obj/SHARED_LIBRARIES/camera.msm7x30_intermediates/cameraHAL.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
[Galaxy S Plus I9001 Android Development] krislibaeer:
the header overlay.h is in the wrong directory for the new one

look where it is frameworks/native/ui/overlay.h or ui/lecagy/overlay.h and put in

here the link to the file if it not there Overlay.h

by the way what repo/git do you use? ivendors?

i recommend to use ivendors one so frameworks/native and frameworks/av
[Galaxy S Plus I9001 Android Development] Sot0:
AW: [Tutorial] Build CM10 for i9001

Thanks, i will try that and yes i used ivendors repo

EDIT: in frameworks/native i dont even have a ui directory?

EDIT: Oh ok its in frameworks/native/include/ui

EDIT: Ok thanks Xistance and krislibaeer now it was build sucessfully :D
[Galaxy S Plus I9001 Android Development] finikorg:
Re: [Tutorial] Build CM10 for i9001

Thanks for manual. Btw can this be updated to be in sync with the latest ivendor kernel?
[Galaxy S Plus I9001 Android Development] finikorg:
fastboot in CM?

Hi,

After I install CM to Samsung phone will it support fastboot?
[Galaxy S Plus I9001 Android Development] educk:
Re: [Tutorial] Build CM10 for i9001

May I ask why do you need Fastboot? That is specific for HTC devices, we already have an equivalent mode for this, which is Download Mode.
[Galaxy S Plus I9001 Android Development] finikorg:
Re: [Tutorial] Build CM10 for i9001

Why do you think so? Fastboot is standard for flashing Nexus devices. It is described in AOSP. I would like to flash with command line tools which are coming with AOSP.
[Galaxy S Plus I9001 Android Development] educk:
Re: [Tutorial] Build CM10 for i9001

You missed the forum bro ... this is Galaxy S Plus not Nexus... and I don't "think so" I know it.... there is no fastboot for GT-i9001. ;)
[Galaxy S Plus I9001 Android Development] finikorg:
Re: [Tutorial] Build CM10 for i9001

I was referring to your statement that fastboot is only for HTC.