yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Did you do:

wget http://sk8erwitskil.com/guest/skyrocket/CM10/extras/local_manifest.xml -O .repo/local_manifest.xml

repo sync

I think I had the same error, and it was because I missed that step.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Weird, I went back and redid a couple steps before this and now it works. Thanks!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Yeah, I think I had the exact same thing. I thought I did all the steps, I got that error, went back and did them again, and it worked.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Sweet sauce, it built successfully!! Ran in about 2.5 hours.

Now I need to figure out what to do next ... hahahaha.

But, on a serious note, I can't figure out what the output landed at. More specifically, how I go about making a flashable zip or pushing my build to my phone with ADB. Is there a tutorial in the thread somewhere that I missed?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] new ion?:
Doesn't mka bacon make a zip? Idk I got lost in all the food terms .making me hungry
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
The last two lines of the output should be something like:

Package complete: ~/cm10/out/target/product/skyrocket/cm-10-20121012-UNOFFICIAL-skyrocket.zip
0663b97d3877d8b1128ad8872ac46709 cm-10-20121012-UNOFFICIAL-skyrocket.zip

So just copy out/target/product/skyrocket/cm-10-20121012-UNOFFICIAL-skyrocket.zip to your phone via whatever method is most convenient for you, reboot into recovery, and flash it. Probably want to do a backup before though, if this is your first build, just in case... :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] new ion?:
Yes, C is really good at throwing warnings. Usually for stuff like pointers or overloading of variables.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Ok, still getting the same results after a full restart ...

Ran this:

carvsdriver@ubuntu:~/cm10$ . build/envsetup.sh && make clobber && CM_EXTRAVERSION=-carvsdriver CM_SNAPSHOT=1 brunch cm_skyrocket-userdebug > build.log

Attached is my build.log if that helps.

I still cannot see where the zip files got dropped, seems like they didn't get built.

Anyone have any ideas on what's going on?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Yes. Read the first 20 lines or so of the envsetup.sh script for some definitons.

This article is useful for some info, but outdated in that it is wrong when it says mka bacon is used with brunch and not used with lunch.

http://blog.cameronpickett.com/2011/09/16/breakfast-brunch-and-lunch/

Running brunch [device] is the same as running breakfast [device] && mka bacon. lunch is the same as breakfast but allows you to build for unofficial or not officially supported devices.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
I can't read the attachment at the moment but my nightly build from last night failed with the same error in hwcomposer so it looks like it might be something else.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Bummer.

As an aside, I assigned all 8 CPU cores to my VM and I get to that point in less than two hours now. Not too shabby.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Try a repo sync as there is a commit today that should fix it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Anybody know why I can't get a x64 VM running on a x64 pc? I can see it not wanting to use all cores but vertualization should be there. Ubuntu, Mint... nothing works. I'm trying to mirror my dual boot to a new VM so I can run this stuff off my server instead of my laptop
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Here is a 10/13 BADASS JELLYBELLY :

http://d-h.st/eSn

All the latest merges, as of 5:00 p.m. today are included (4.1.2) as well as :

*Hololauncher HD

*Font Installer w/ 190+ fonts installed

*Flipboard

*M4570MOD v0.0.6 theme

*Pitchperfect theme

I'm running it and it is smooth sailing! All the real credit goes to the CM team; they have done all the heavy lifting, I'm just putting it together...

Comments are welcomed
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Cool, thanks. Running a complete refresh now.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
My latest nightly has the circle battery cherry pick, looks like it's still a WIP:

To enable it you have to set 'battery style' as hidden.

edit: looks like I put the cherry pick in, then they actually committed it after, so my build is probably a little borked in that respect. I removed the cherry pick so tomorrow's build should have the 'stock' circle battery.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Shewt. You should update the M4570M0D theme. I'm working on v0.0.9 right now. Completely redid Dropbox in v0.0.8 but the new Dropbox update a couple days ago screws it all up.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
The .6 is the last one that has had full functionality for me. I also have trouble accessing your thread in a mobile format. FCs. Not sure if it was the ROMs I've been using lately or what. But I most definitely want your latest work. As far as I'm concerned, the only two constants no matter what I'm running is your mod and aroma. :thumbup:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
all my stuffs are on.dev-host here:

http://d-h.st/users/m4570d0n

here's the link to v0.0.8:

http://d-h.st/sMT

Hopefully if I can get this mess that Dropbox started with their latest update sorted out today, I'll post up a new version later today.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
ok maybe this...

I have found a few kernel sources however I am getting stuck at the manifest. For example, this is (I think) the git link for venom cm10 (Which is discontinued , maybe remove link from OP) https://github.com/thederekjay/android_kernel_samsung_msm8660-common-1/tree/jb-rebase

I actually still prefer it to Instigator.

So I tried to build it from his source but as I said, stuck at the manifest. So, seeing as it's discontinued, I just downloaded the zip. I still can't get it to build. So I tried to just paste it into a main build kernel directory and built the rom. It still didn't take. So it's discarding the venom mods I guess?

Any help on either building OR integrating this kernel source? (git and or zip)

Edit: That said. Does this threads cm10 repo include the new M2 4.1.2 kernel? Or is this not for us yet?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] shaggyskunk:
This is a Great thread!

It should also be mandatory reading for anyone who asks a dev for an eta!

:):beer:

R4INS for AOKP!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I agree. Not only can they see what even basic building requires, but they can put up or shut up and try it out themselves. If more people really knew how difficult a process this is, the vast majority would have a much better attitude.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Finally! My first successful build :)

I had to run 'make -j9 otaupdate' once it was done to get the flashable zip, but everything seems to have worked. Flashed the phone and didn't have any immdiate issues either. Pretty cool stuff.

Now to start fiddling with a breaking things!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Okaaaaay, not all at once....lol I even changed my avatar to get in the kernel spirite.

Is it because it's impossible, too hard to explain, unreasonable. I've been bursting my brain trying to follow other tutorials for other devices but that is always sooo much harder cuz any links provided never pertain. Like, if I already have a source downloded, do I still need prebuilts and arm7 -a neon worktrees? That was for a Nexus tut that seemed to be cross compiling. here==> http://xdaforums.com/showthread.php?t=1774035 Anybody know if this should work with skyrocket?

[LIST=1]
[*][B]When building a kernel, you only need to start from here.[/B] Pick the appropriate branch from the git manually. I used the one below as an example. What I did was visiting the git repository each time and picked the appropriate branch.
[URL]https://android.googlesource.com/device/samsung/crespo[/URL]
[INDENT]	$ mkdir ~/Documents/kernel
$ cd ~/Documents/kernel
$ git clone [URL]https://android.googlesource.com/device/samsung/crespo[/URL] -b ics-plus-aosp
[/INDENT]Again pick the right branch from [URL]https://android.googlesource.com/kernel/samsung.git[/URL]

[INDENT]	$ cd crespo
$ git clone [URL]https://android.googlesource.com/kernel/samsung.git[/URL] -b android-samsung-3.0-ics-mr1
[/INDENT]
[*][B]Ensure the toolchain is in your path.[/B]
[LIST]
[*][U]Default, Easy solution[/U]
[INDENT]	$ git clone [URL]https://android.googlesource.com/platform/prebuilt[/URL] -b ics-plus-aosp
$ export PATH=$(pwd)/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$PATH
[/INDENT]$(pwd) is a variable holding the current working directory.

[*][U]Bandwidth-friendly solution[/U]
You can also download the toolchain to another directory. Bit first write down the directory you are working at.
[INDENT]	mkdir ~/Documents/toolchain
cd ~/Documents/toolchain
$ git clone [URL]https://android.googlesource.com/platform/prebuilt[/URL] -b ics-plus-aosp
export PATH=~/Documents/toolchain/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$PATH
[/INDENT]Instead of specifying the location of the toolchain with a relative path, we must specify the absolute path here.

Now we go back to where we were working.

[INDENT]	cd ~/Documents/kernel/crespo
[/INDENT]I hope you understand why I mentioned the bandwidth-friendly solution. With little insight you could have come up with it yourself.
[/LIST]
[*][B]Now let's build the kernel[/B]
[INDENT]	$ export ARCH=arm
$ export SUBARCH=arm
$ export CROSS_COMPILE=arm-eabi-
$ cd samsung
$ make ARCH=arm herring_defconfig (maybe ARCH=arm is unneeded here but added it to be sure)
$ make
[/INDENT]

[*][B]Now you need to put it in a flashable zip.[/B]
[/LIST]

Seems to me that it should be as easy as building a rom but if I am mistaken then I would love to know that too.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I haven't replied because I don't have any useful knowledge. I think pm ing instigator would be your best bet. He would probably have the info you need to get started.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Wouldn't it be possible to build CM10 ... flash it ... then build the kernel and flash that next? Then you can just create a zip from your current config. Unless I'm missing something.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I think it was posted somewhere in here that building the kernel was essentially the same just without the rest of the properties but since I've never done it, I'm leery of making suggestions
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Yeah, I figuerd my suggestion was mostly a hack/work around at best :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Try this and let me know if it helps; I can add it to the OP....

http://xdaforums.com/showthread.php?t=1748297
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Didn't thederekjay compile it with linaro? Perhaps that is the issue. Also, I would imagine that kernel is quite outdated at this point.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I'm sure you're right; I just thought that the process would remain relevant. Any ideas of how to go about gathering the proper data for a new build? Is it the way wantowan2 and car vs driver think? Can we extract the kernel form a current build and rework it, or something else?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
I think that kernels are a bit scary. Haha cuz there are fewer tutorials out there then I thought there would be.

On a side note. I think I have Fowled up at least my aokp folder somehow. Trying to build kernels. I've kept everything separate of course so that's what make it confusing. All I know is my build repeatedly failed last night for unknown reasons. Something got corrupted.

So I'll have to just redo stuff and try again.

EDIT: this is the error I get with my aokp build now. Can't figure it. I've redone everything.

hardware/qcom/display/libhwcomposer/hwc_external.cpp: In member function 'bool qhwc::ExternalDisplay::commit()':
hardware/qcom/display/libhwcomposer/hwc_external.cpp:541:26: error: 'MSMFB_OVERLAY_COMMIT' was not declared in this scope
make: *** [out/target/product/skyrocket/obj/SHARED_LIBRARIES/libhwcexternal_intermediates/hwc_external.o] Error 1
make: *** Waiting for unfinished jobs....

Thanks guys

---------- Post added at 04:39 PM ---------- Previous post was at 03:41 PM ----------

Outdated, yes in that it is in fact discontinued. lol However, I like it and have found it to be more stable then instigator. To my knowledge those are our only 2 options with JB roms? I guess I am just trying to learn the process as well. From what I understand, the only diff between ICS and JB kernel is the ram disk? That's what makes mohan's kernels incompatible with JB. However, they both are 3.0.4x version kernels.

Edit: That said, ya, if there was a nice way to extract the cm10 kernel, that's cool too.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Since you downloaded the source already, open up Meld (install from Ubuntu repos if you don't have it) and do a directory comparison between thederekjay's kernel and the normal CM10 msm8660-common kernel. It will show you which files are in one source but not the other, which files are different, and when you double click a file it will show you the differences for that file line by line. There's a significant difference.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Thanks for that. Wow, Meld, that's gonna be interesting to use.

Any ideas on my build error there? I have basically deleted everything and checked everything else. re synced, updated....etc.

hardware/qcom/display/libhwcomposer/hwc_external.cpp: In member function 'bool qhwc::ExternalDisplay::commit()':
hardware/qcom/display/libhwcomposer/hwc_external.cpp:541:26: error: 'MSMFB_OVERLAY_COMMIT' was not declared in this scope
make: *** [out/target/product/skyrocket/obj/SHARED_LIBRARIES/libhwcexternal_intermediates/hwc_external.o] Error 1
make: *** Waiting for unfinished jobs....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Looks like you still have something missing or potentially a bad piece of code. Search for the constant noted above in your code and see where it gets declared (if at all) between the two sources.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Unless there was more to the error message before that, I saw a few threads mention this recently.

Check out post #614 here:

http://xdaforums.com/showthread.php?p=32851498#post32851498

Looks like it was related to this commit from Oct 14th:

http://review.cyanogenmod.com/#/c/24580/1

In another commit thats still open, I saw this in the comments:

http://review.cyanogenmod.com/#/c/24874/
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Yeah, I suspect there's a bad header file somewhere. Check the includes on the hwc_external.cpp file and see if you can figure it out ...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
No, that was all to that error that time. But it is happening on cm10 too. Didn't see this till I tried building it. Funny thing is, I could swear that remote was defined as cm in the manifest. But now its github.

So, is that last one a revert patch? If so, how would I apply it?

Sorry, I'm having trouble browsing these links with this ubuntu.

So based on that, I'm not the only one that will be having these probs.

I guess that's kernel somewhere between 20-45 min into build. I say that range due to ccache use or not.

I went back to updating proprietary files and then continued. So far it has been building (cm10) for over an hour. (crossing fingers)

So, if they did patch the repo already, that should correct the same error in aokp as well, correct?

Ooook Edit: Just incase somebody was following and holding off there build. CM10 seems to be fine now. "I think" my build is nearly done but it's going on 7hrs. I guess it had to ccache as well. (I really got used to these only taking 1.5hrs., wow)

@ m4570d0n, thanks for your help there. It kind of focused the issue for me. Frustrated but glad it turned out (so far) to be a repo issue. I was going crazy for a couple days there trying to figure out what I diid wrong\fowled up.

Edit: Your

Add this line your device config header file

include/linux/msm_mdp.h:

#define MSMFB_OVERLAY_COMMIT _IOW(MSMFB_IOCTL_MAGIC, 163, unsigned int)

worked just fine for the AOKP, thanks again!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Do you guys think thewadegeek s tut on kernel building is a good addition to our OP? I'll place it as another set of tools if it's worth it to everyone. One stop shop and all that (sorry mike:cool:)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Holy crap man! 7+ hours?!?!? Are you compiling that on a 486?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I thought it was a Commodore 64 myself :p
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
386 more like it....NO!, that's part of my problem. This ubuntu I'm running. Soooo Slooooow. It's dual core, x64, 4gigs ram, dual boot win7. Widows flies. Also, I had deleted everything prior to that build. With ccache runningf I had it down to 1.5hrs. My prob is either temp dir is on an external drive, swapiness isn't right or maybe driver issues?

---------- Post added at 04:40 PM ---------- Previous post was at 04:39 PM ----------

You know I'm in for that. +1
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Certainly something wrong with your setup man, maybe rebuild the Linux install?

For comparison ...

I'm running in a Ubuntu 12.04 VM on a MacBook Pro 2.5GHz quad core i7.

Performance wise, I have all cores assigned to the VM when it's up (8 total CPU threads), 2GB RAM and it runs in about 2.5 hours. With only 4 threads assigned it takes just under 4 hours. I haven't tried giving the VM all 4B of RAM though, my fear is that'll just lock the machine up because OSX will have zero resources to play with.

In each scenario, with system monitor up, the CPU's over at around 80% utilization for most of the time. And let me tell you, this thing gets too hot to hold in your lap when that's going on :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Fore sure. I know that I have had an old live usb version on an old dell x32 that was way faster. My knowledge is very limited. I got this, my first and only android in March and only started building these less then a month ago. That's when I actually started spending any time on Linux. So I'm trying to learn both at once. Windows, no problem.

During setup I gave the main partition 130gigs, usr temp 8 gigs (on an external HD) and 6 gigs swap. That's all I know really. Once it booted ok I started building roms. So, it's the OS and Android stuff, thats it. In Firefox it's the worst. No joke. It takes me 5 min to scroll from the top to the bottom of this thread page. Terminal seems to be better. Like I said, that 7 hour build went to 1.5 hours once ccache was repopulated.

VM, that was a whole other mess...lol I tried to get a x32 vm ubuntu going but the builds failed on 32 bit. I have 3 windows machines. 2-x64 and 1-x32. For the life of me, mint, ubuntu, fadora, none would install on VM. (Oracle) "If" they even got to the splash screen they would fail stating that my PC's were i686? and not either 32or64 bit. pft... I dunno.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Well, you shouldn't really have to fiddle with Ubuntu 12.04 at all. I did the base install, ran through the app updates then followed the instructions on this thread for compiling.

One thing you can do is to boot right into a terminal window to save on some resources.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
I spoke too soon. This fix allowed the build to finish but they won't boot. I tried 3 of them.(aokp) I thought that maybe if it was the kernel I could try flashoing a diff kernel on top but it still wont boot. hmmm

cm10 is fixed tho

Edit:That said, I have never had to suss out what is wrong with a rom when the build succeeds but it won't boot. I tried the above fix, deleted both build and out folders, re synced, rebuilt, md5's. Do I need to delete something else?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Hey, I'm really digging this theme of yours. Completely styling, thanks!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] onlychevys:
If you are booting to an external drive that is connected via usb, that could be your problem of running so slow. can't transfer data fast enough.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
I agree it could be the problem but I'm not actually booting to it. Just my "/usr" partition. I know windows will assess disk speed ahead of time and decide to either write or wait for the ram to dump. That said I wouldn't know how to properly relocate the /usr partition without a reinstall. Theres probably a CMD or a manifest some place that designates it. I don't even know if it has to be a partition or just a folder some place.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] onlychevys:
Can some one tell me how I would go about applying this patch: https://github.com/CyanogenMod/andr...mmit/c8b97210aa31c9b80b5fd136d8617ebe4e731e09

I am trying to build SlimBean and the error I'm getting points to this patch.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
It looks like it was committed to HEAD, is it not applied in your tree? It's a pretty simple patch, you could do it manually, or cherry pick it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] onlychevys:
Thats what I thought to. Building cm10 is no problem,but Slim Bean errors:

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

4 errors

target thumb C: libcrypto <= external/openssl/crypto/asn1/asn1_gen.c

target thumb C: libcrypto <= external/openssl/crypto/asn1/asn1_lib.c

target thumb C: libcrypto <= external/openssl/crypto/asn1/asn1_par.c

make: *** [out/host/common/obj/JAVA_LIBRARIES/guavalib_intermediates/javalib.jar] Error 41

make: *** Waiting for unfinished jobs....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] onlychevys:
Thats what I thought to. Building cm10 is no problem,but Slim Bean errors:

Note: Some input files use or override a deprecated API.

Note: Recompile with -Xlint:deprecation for details.

4 errors

target thumb C: libcrypto <= external/openssl/crypto/asn1/asn1_gen.c

target thumb C: libcrypto <= external/openssl/crypto/asn1/asn1_lib.c

target thumb C: libcrypto <= external/openssl/crypto/asn1/asn1_par.c

make: *** [out/host/common/obj/JAVA_LIBRARIES/guavalib_intermediates/javalib.jar] Error 41

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

HOW DID I DO THAT TWICE LOL