yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Version 2 blues

Step 2 output:

~/aokp$ repo sync
Traceback (most recent call last):
File "/home/wantowan2/aokp/.repo/repo/main.py", line 384, in <module>
_Main(sys.argv[1:])
File "/home/wantowan2/aokp/.repo/repo/main.py", line 364, in _Main
result = repo._Run(argv) or 0
File "/home/wantowan2/aokp/.repo/repo/main.py", line 120, in _Run
copts, cargs = cmd.OptionParser.parse_args(argv)
File "/home/wantowan2/aokp/.repo/repo/command.py", line 45, in OptionParser
self._Options(self._optparse)
File "/home/wantowan2/aokp/.repo/repo/subcmds/sync.py", line 124, in _Options
self.jobs = self.manifest.default.sync_j
File "/home/wantowan2/aokp/.repo/repo/manifest_xml.py", line 251, in default
self._Load()
File "/home/wantowan2/aokp/.repo/repo/manifest_xml.py", line 299, in _Load
self._ParseManifest(nodes)
File "/home/wantowan2/aokp/.repo/repo/manifest_xml.py", line 383, in _ParseManifest
(project.name, self.manifestFile))
error.ManifestParseError: duplicate project android_device_samsung_skyrocket in /home/wantowan2/aokp/.repo/manifest.xml

P.S. Sorry if I post something LATE. I'm running really slow Ubuntu on a really fast computer. What would normally be limited by how fast my scrolling finger is takes me 5 minutes to go from the top of the thread to the bottom of the page. I'm not kidding. lol I have to guess what I type because it doesn't show on the screen for awhile...

Edit: Sorry, it's syncing now. I must have screwed something up
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
I should have a CM10 build up in the next half an hour with BT fixed.

edit: it's copying to my server now should be here in about 5-10 minutes: http://builds.redpepperracing.com/uploader/index.php?&direction=0&order=nom&directory=rpr

Look for cm-10-20121003-UNOFFICIAL-BT-FIX-skyrocket.zip with a size of 149MB. The MD5 is a6d31c4fdb748f3fae829c10b65504ce

I'm booting up on my phone now, will test shortly.

edit 2: BT in call audio works, nothing else seems broken.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] R4INS:
Aokp nightly builds are.. well.. a waste of time. Reason being that not enough changes on a daily basis, and all the newest cool features are usually cherry picks for awhile before they get merged. Building every 3rd day maybe is better.

Also as far as automation goes you really shouldn't with aokp as you will want to check for cherry picks before every build, at least that's what I do.

And it will randomly take a dump when ever they alter any of the files me and m457 mentioned and won't get a clean checkout. Which is sometimes no big deal and sometimes a big issue.

All in all, nightly builds are too much. Every 3rd day max, and no automation, cherry picks ftw (also random issues).
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Alright, I will not waste my time then. You guys have a pretty good handle on it, I'll stick with my CM10 nightlies. :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Took care of the OP. All the new instructions are in place and ready to go. At least I hope so; managing this friggin thread is more of a pain than building, at least on days like today. Thanks to everybody who gave input. Gonna screw around with my wife's Excite...like to see some of these big brains figure out how to root this thing. Toshiba make great stuff, but being the last in line to unlock bootloaders is just foolish....be cool everybody:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Ok, under v.2 instructions.

My sync finished and when I went to "4) go to device/samsung/skyrocket and edit vendorsetup.sh to have the following in it :" as per instructions...there was no skyrocket folder? Do I make one and then make a file with the stated code? Re-sync? ....or do I clone the Hercules folder and rename to shyrocket? If so, there isn't a "vendorsetup.sh" in the herc folder anyway? Make one?

Edit: I cloned the herc folder. Does step 7 make step 4 redundant?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wilbarger:
BT FIXED!!!

rpr, thanks for this fix. Mind if I ask what it was?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Hey guys I found this searching through gerrit and believe it or not it fixes the BT in-call routing issue. I posted my PA 2.17 build this morning and the fix has been verified by muiltple people.

I've been bombarded with PMs for the BT fix so here it is.

All credit goes to topprospect from TeamChopsticks for creating the patch make sure to thanks him.

Just cherry-pick this for your next CM based build and you'll be golden.

fetch http://review.cyanogenmod.com/CyanogenMod/android_hardware_qcom_audio refs/changes/38/24238/1 && git cherry-pick FETCH_HEAD

Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
If you notice in the manifest, AOKP uses CM's repo for hardware/qcom/audio so you can use that cherry pick on AOKP as well.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Awesome thanks for pointing that out I haven't built AOKP but will in the near future.

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
So I did what I proposed but the build stopped right away at the kernel again. The repo didn't even create a kernel folder...

make: *** No rule to make target `out/target/product/skyrocket/kernel', needed by `out/target/product/skyrocket/boot.img'. Stop.
make: *** Waiting for unfinished jobs....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] quikt:
Thanks top & thanks guys for including in ur builds :good:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
If you are missing both device/samsung/skyrocket and kernel/samsung/msm8660-common then it sounds like you didn't create the local manifest in Step 2 which contains both of those.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
I ended up having to copy the kernel from my cm10 folder to get it to go.

I'll have to retrace my steps again but I have limited knowledge. Nor do I know what of what I did was needed. But it got it to build...sooo far. 3.75hrs. & 30Gb So far.

I sure liked the previous idea of limiting the scope through manifest to keep the build size low and probably faster too. All that time and space must = ware & tare

EDIT:

Well, there it is! I couldn't quite get there using the OP instructions but I got it there. If you want and it is sound, the steps I took are in the last few preceeding posts.

I'm running it right now and it seems just as stable as any AOKP I have ever run. Let me know!:good:

aokp_skyrocket_unofficial_Oct-03-12wantowan2.zip - 130.10 MB
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
That's very possible. I was pretty sure I checked everything but I will have to check again the next time I boot into Ubuntu. I'm new to it and it's running soooo slow. Like 20% of my windows 7. Thanks for the input.

Edit: This is a cut and paste of what I put in the manifest...?

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/samsung/skyrocket" name="android_device_samsung_skyrocket" remote="cm" revision="jellybean"/>
<project path="kernel/samsung/msm8660-common" name="android_kernel_samsung_msm8660-common" remote="cm" revision="jellybean"/>
</manifest>
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
If you have a fast system, but it's slow now that you are using Ubuntu, chances are you didn't option yourself enough swap partition. For example, I have 6 gigs of RAM, and my swap partition is 5 gigs. Do you have a similar set up? I use Luninux, but it's essentially a Ubuntu 12 generic, so it works the same...actually, another reason I don't use Ubuntu is that I had the same issues with it. I don't know why I have such a better time with the Luninux, like I said, it's essentially the same, but my setup is pretty fast. All surfing or other average tasks are as fast as my 7 setup. My build takes about three hours, but I'm running it off of a dual core, so...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Thanks for the advice. I'm sure it's something I did or didn't do when I set it up. I've run live versions off of a thumb drive that were quick enough. Same here basically. Dual core, 4G's RAM, 5G's Swap and lots of allocated temp space. I have had video driver issues too. It's just crazy cuz I'm trying to learn linux while I'm learning Android/building. Funny thing is, cm10 builds in 3.25hrs and AOKP is about 3.75hrs. However, I've been messing with ccache and I haven't finished yet but I think I will be able to pare it down by an hour or so?

The pain is surfing actually. Well everything but terminal. lol Once I have learned more, get brave with stuff I'll redo everything.

Anyway, I hope my posts have provided a few laughs and maybe some helpful info. :p
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
If you have 6GB of RAM, I wouldn't even run any swap at all. I doubt that is the problem.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I hear ya. But, I'm not the one having the problem. ;)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Even 4GB should be plenty.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Decepticaons:
I originally ran without a swap and i have 4gb ram and quad core, adding swap of even 4gb reduced my time from sync to finishing a build from 6hrs to 3hrs. Just saying swap is highly recommended on any linux machine, especially when dealing with transfers of that much data(potentially).

Sent via RF signal from my JellyRocket to XDA on the Internet!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Interesting. I have 8GB RAM on my build server, and no swap configured. I've never noticed any OOM's, but I'll try and enable some swap and see if it makes a difference. I bet if I could put my build tree on the SSD drive it would help, but I don't have enough room on it... :)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
I have 8GB RAM and 4GB on the swap partition. I dunno if it matters anymore but at the time I configured my partitions the conventional wisdom was that if you're dual booting, the swap partition should be between your Windows partition and your Linux partition. Also, if you don't allocate enough memory to swap, you might run into issues with the computer going to sleep or hibernating, if you're on a laptop.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
I added a 2GB swap, it didn't make my build happen any faster.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
I'm pretty sure that ccache took 30min off of my aokp build... Not sure what everything means but these are from 2 aokp and 1 cm10:

cache hit (direct) 0
cache hit (preprocessed) 11911
cache miss 33257
called for link 5870
unsupported source language 5337
compiler check failed 803
unsupported compiler option 196
no input file 1025
files in cache 85097
cache size 8.2 Gbytes
max cache size 20.0 Gbytes

I also have another question for anybody. I don't know how to cherry pick ROMControl but should I be able to copy from aokp/packages/apps/ROMControl and build it on it's own like a rom?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] new ion?:
OT, but HAPPY THANKS GIVING EVERYONE!

unless of course you're in the States, then read this like 2 months later.

Seriously tempted to put together a real nice high end desktop with a Linux partition... I want one for CAD anyways..

Yay for being in butt **** nowhere with crap internet
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] new ion?:
Why not just download it from the play store?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Wow. Really? I never would have imagined that was possible. Lol thanks for holding back on the flamage too! Haha

I'll look into that.

.........or wait. Are you thinking "ROM Customizer"? cuz I meant ROMControl from aokp. Don't see it at The Store
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] new ion?:
Lol I wasn't thinking of either... I was thinking of the tool that the cm team took out for cm10 in lieu of the old cm updater. This isn't the first time ive mixed this up. Sorry!

Rommanager is what I was thinking of!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
Anyone know how to build with a different default DPI?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
In device/samsung/skyrocket the system.prop file is some of the stuff that will end up in build.prop file. I would imagine you could just edit the dpi there where it says:

ro.sf.lcd_density=240

---------- Post added at 06:36 PM ---------- Previous post was at 06:22 PM ----------

to build a single package like ROMControl, or Mms, or whatever, you can just do this:

lunch aokp_skyrocket-userdebug
make ROMControl

or

lunch aokp_skyrocket-userdebug
mmm ROMControl

read through the first 20 lines or so of the build/envsetup.sh file for more commands.

Also, cherry-picking is something completely different. That is where you are adding changes to the source that have not yet been merged. For example, if you wanted to include this change to Mms: http://review.cyanogenmod.com/#/c/24216/

Just above where you see the list of files that have been changed, click on the cherry-pick tab, copy that command and paste it in your terminal. In this case,

git fetch http://review.cyanogenmod.com/CyanogenMod/android_packages_apps_Mms refs/changes/16/24216/3 && git cherry-pick FETCH_HEAD
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
On that note, how to you remove a cherry pick and get back to head? I tried adding some of your cherry picks to my repo, and then removing them, and I think I completely messed it up, so I blew it away and I'm resyncing now, but there must be a better way? It seems that once you cherry pick, the files won't get updated if the merge actually happens in the future, or am I reading it wrong? The last thing i would get is:

repo sync

Fetching projects: 100% (317/317), done.

frameworks/base/: discarding 1 commits

packages/apps/Mms/: discarding 1 commits

packages/apps/Settings/: discarding 1 commits

Does that mean it discarded commits into my repo, or that it was trying to sync back to github, which of course isn't going to work?

Also, once the cherry pick is applied to my local repo, do I have to keep re-applying it after a sync, or not?

Thanks

Tom
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
DAKPluto's AOKP Custom Build

Built from AOKP, updated to all latest sources as of 7pm EST 10/08/12. Wallpapers updated to some of my favorites. Stock DPI set at 182. I did have to disable HW Overlay to prevent some screen flicker.

I highly recommend using Instigator's 6.3.6 kernel with the lower clock set at 486Mhz. This has completely eliminated all SODs for me.

I hope you enjoy the ROM!

http://d-h.st/cRU
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
As the repo sync message implied, all cherry-picks are lost whenever you do a repo sync so if you want to revert a cherry pick all you have to do is run repo sync. If you tried to revert it by manually editing files, that is where you would likely run into issues when you want to sync.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
That makes sense, thanks!

The problem I have now is that I am trying to cherry pick the center clock patches, one of them works, the second fails I think because the original source that it was patching has changed enough that it doesn't know where to put some of the code. How can I fix that? I tried a git revert but it says that it wasn't committed so it can't revert. Not sure where to go from here.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
In that case you're probably going to have to compare the files and manually add the center clock patch (I recommend using Meld). It will be fine until there is a merge that changes one of those files, and you will have to move that file, sync, and then add the change again. That is, unless that patch is updated again or merged. But, until there is a merge that changes one of those files, you can sync without it throwing an error. However, the patch changes frameworks/base/core/java/android/provider/Settings.java which gets changed/updated a lot.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
I'll try that. The conflict was in PhoneStatusBar.java, I think. Hopefully that doesn't change much.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Gotch ya. Tried it, did it. However I am not sure what to do with the output. I just clean and forget exactly where but there are 5 files that seem important in the output tree: ROMControl.apk, package.apk, package.apk.unaligned, package.apk.unsigned, package.apk. The first and last seem to be the most obvious but running them as any other apk fails. Putting them in any of the data/app folders doesn't work either. Do I have to deodex these somehow?

Edit: I should add that I am trying ultimately to install this in cm10. Possible?

Sidenote: Lots of aokp/android source today

Side sidenote: WOW! It took like 4 builds but ccache just kicked it, huge. Build went from 4 to 3.5 to 1.15 hours for AOKP.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Uhh, yeah. I'm gonna go ahead and just say that you are not going to be able to do that. AOKP broke up part of the code in Settings from the way CM does it, and separated it into Settings and ROM Control and the packages have drifted apart from there. There would be an ungodly amount of recoding involved (all the java source files) to try and add ROMControl to CM's Settings. Not worth it, and beyond my capabilities.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Ok, cool. I still learned something. Lets say that it was something I could install, which of the choices I mentioned would be the install .apk? (aokp/out/target/product/generic/obj/APPS/ .apk, package.apk.unaligned, package.apk.unsigned, package.apk) or*.apk
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
None of the above. If you typed lunch aokp_skyrocket-userdebug first it should not have built it for a generic device. It should have built it for the skyrocket and the apk would be at out/target/product/skyrocket/system/app/ROMControl.apk
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Just an FYI, both CM and AOKP have merged the 4.1.2 update that Google released to AOSP yesterday.:)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Sounds good! I have been seriously out of the loop lately, so throw me a bone: what does the .2 have to offer as far as new features? Also, I have had no time to build in the last week, but have wanted to get rolling on my own AOKP build. Is it possible to gather both sets of files and just build either CM10 or AOKP, depending on the command? For example, I want to do something like this:

mkdir ~/aokp
cd ~/aokp
repo init -u https://github.com/AOKP/platform_manifest.git -b jb

and then complete the rest of m4570d0ns steps? My theory is whichever repo file I access will be the one I am building with, while the common files remain the same for both.Or will that screw everything up? I want to be able to build one or the other without having to trash the one I'm not building that day, or without compromising my files in any way. Has this been done by anyone? I don't believe I'm the only one whos thinking this way.Let me know if I have the right idea or am totally off. By the way dak, I have your latest AOKP release up front on the OP; sorry for the delay, been buying my wife a new van and then picturing my financial demise when I found out the payment is about the same as a ****ing Mercedes. With 5 kids, whattaya gonna do....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
For the update, here's some info:

http://pocketnow.com/2012/10/10/android-4-1-2-factory-images/

http://www.redmondpie.com/cyanogenmod-10-nightly-android-4.1.2-jelly-bean-now-available-to-download/

As far as building goes, there is no easy way to merge both build trees without a serious amount of editing all the make files. For example, frameworks/base in CM is totally different from the one in AOKP, but the directory has the same name. Without any changes, you can't have both, and even if you renamed one, you would have to change every file that uses it to point to that new name. Then do that for nearly everything else in your build tree. It would be way too much work. The best you might be willing to do is have two separate full build trees. That would probably require 80GB or so minimum.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Decepticaons:
Sweet ill be building a 4.1.2 cm10 build tomorrow, I'll post it here since i haven't laid one down in a month. JellyTRON 4.1.2 build 1 coming soon! Themed version soon after!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Well, everything seems to be running smooth, so here's my 4.1.2 build of AOKP from tonight.

Download link

:

http://d-h.st/bZH
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
So I have been building steady since you guys taught me. Was wondering if you noticed the same thing. comparing say 6 blds. cm10 and 6 blds. aokp, the same thing. Aokp has screen rotation problems. Does your aokp have that prob?

Also, this is the output on a build in a vertual ubuntu I'm trying

/bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-gcc: cannot execute binary file
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.1.2
TARGET_PRODUCT=cm_skyrocket
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.2.0-31-generic-pae-i686-with-Ubuntu-12.04-precise
HOST_BUILD_TYPE=release
BUILD_ID=JZO54K
OUT_DIR=/home/wantowan2/cm10/out
============================================
build/core/java.mk:33: *** cts/apps/CtsVerifier: Invalid LOCAL_SDK_VERSION 'current' Choices are: . Stop.

I've tripple checked all the steps, dunno...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Kernel anybody?

Just to toss it out there. I have wondered first about a kernel revert for these ROMS. (go back from venom or instigator to base) Then the next logical next step would be to actually pull/mod the base kernel for flashing. I have always loved what a really good kernel can do to a snazy rom but until Mohan decides to come over to JB, I'll have to wait. In the mean time I thought about learning myself. Problem is I have only been even following this tutorial for a couple weeks and know nothing. At all. lol

Is there anybody out there doing this?:good:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
I have no idea what you mean by 6 CM10 or 6 AOKP, but I have not had any rotation issues with CM10 or AOKP.

And it sounds like you have an issue with your build environment.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Sorry about that. What I meant was out of 6 builds of each, 6 aokp and 6 cm10. All of my aokp builds have rotation problems. Wasn't sure if this was just my problem or something larger.

As far as the errors in my other build environment. Its in a windows virtual machine and I am using Ubuntu again. I tried to emulate exactly what I did with my dual boot. The only real difference is that its 32bit. That and maybe its a space issue again? I could only provide 60gigs for it...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
I think it's a 32bit issue. 60GB is more than enough. Do you have the SDK installed on the VM?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Yep, sdk and android update. Although, when I did the android sdk, I only selected 4.1 (JB) and didn't bother with 4.0 (ICS).

Everything seems to install just fine during setup too. Including repo sync
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Rookie question ... searched and couldn't find an answer, so ...

I'm working through the steps in the OP to get setup and start hacking away at my own build of CM10. I get to the following command:

CM_EXTRAVERSION=-yourname CM_SNAPSHOT=1 brunch cm_skyrocket-userdebug

And the following error is returned:

** Don't have a product spec for: 'cm_skyrocket'

Any ideas on what I'm doing wrong here?