yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Build in process now, if it works, I'll setup a build script and it will build a new one overnight after the CM10 build....and scratch that, build failed.

edit: missed a step in the instructions, trying again...

edit 2: still no go, failing on the kernel:

Header: out/target/product/skyrocket/obj/include/mm-core/omxcore/QOMX_StreamingExtensions.h

Header: out/target/product/skyrocket/obj/include/mm-video/DivxDrmDecrypt/DivXDrmDecrypt.h

Import includes file: out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/import_includes

Export includes file: system/core/mkbootimg/Android.mk -- out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/export_includes

Export includes file: build/libs/host/Android.mk -- out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/export_includes

Import includes file: out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/import_includes

Export includes file: build/tools/acp/Android.mk -- out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/export_includes

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....

Notice file: system/core/libmincrypt/NOTICE -- out/host/linux-x86/obj/NOTICE_FILES/src//lib/libmincrypt.a.txt

Not sure what I'm missing.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wilbarger:
Does anyone know if the AOKP has the BT bug?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
For step 2, maybe add a line at the start so people know what file to edit:

vi .repo/manifest.xml

I'm going to blow mine away and try again, see if it works better...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
hmm. Do you have a kernel folder in your build tree after the repo sync? I can't recall if I needed to run it or not, but if it didnt sync the kernel source try running the manual_add_kernel_manifest.sh script that's in the same folder as the default_manifest.xml and kernel_manifest.xml files. You can probably just right-click it and select "open in terminal" (depending on your version/flavor of Linux) or just drag the file into the terminal window, and/or run

repo sync kernel/samsung/msm8660-common

---------- Post added at 08:30 PM ---------- Previous post was at 08:25 PM ----------

Just made a new build this afternoon but I dont have a way of fully testing BT at the moment.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Decepticaons:
Anyone else missing data usage in cm10? Anyone have the apk for it?

Sent via RF signal from my JellyRocket to XDA on the Internet!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Are you using stock kernel? I have data usage in 10/02, but apparently if you use InstigatorX kernel you lose the data usage.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wilbarger:
m4570d0n, send me a link and I will test it out tomorrow and let you know if BT works.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
That seems to have done it, it's building now. I figured it was something like that. I tried running the manual*.script but it was downloading *all* of the samsung kernels, I only wanted the skyrocket so I killed it and did it with your command line. I can see the problem now of why it was doing that.

@BMP7777: can you add the following to the instructions:

Step 12:

from your aokp directory run:

vi platform_manifest/kernel_manifest.xml

and make it look like this:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="kernel/samsung/msm8660-common" name="android_kernel_samsung_msm8660-common" remote="cm" revision="jellybean" />
</manifest>

then from your aokp directory run:

.repo/manifests/manual_add_kernel_manifest.sh

Step 13:

Build:

. build/envsetup.sh
lunch aokp_skyrocket-userdebug && mka bacon
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Yeah, that might be helpful. haha. Sorry, was posting from my phone earlier.

Here's my AOKP Build 4 from today:

- Included Xloud and Bravia Engine

- Added some build.prop tweaks I picked up from Seanz.

- I switched back to CM10's Mms because I like the way they implemented the QuickMessage/QuickReply better. It also has my transparent theme.

- Ported this from CM10, because I enjoy it:

Frameworks: Option to control cursor in text fields using volume keys (1/2) (MERGED)

Settings: Option to control cursor in text fields using volume keys (2/2) (MERGED)

Download Link:

http://d-h.st/IcA

For Xloud and Bravia engine, here's a CWM flashable zip I threw together if anyone is interested in playing with it:

http://d-h.st/woJ
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] aSquard:
Finally got rid of Vista, so hopefully I'll have everything from the tut downloaded tomorrow and be ready for compiling!

Sugary Jelly Bean 4.1.1 (CM10 Alpha) and XDA Premium
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sully6789:
Figured that out right after I wrote that. Still catching up on Linux. Thanks.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Finally, I've made some progress, but in full noob fashion, now that I'm here, I'm stumbling around in the dark.

You're building on Linux

Breakfast menu... pick a combo:

1. full-eng

2. cm_grouper-userdebug

3. cm_maguro-userdebug

4. cm_toro-userdebug

5. cm_toroplus-userdebug

... and don't forget the bacon!

Which would you like? [full-eng] 1

bash: build/tools/roomservice.py: No such file or directory

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

** Do you have the right repo manifest?

bmp7777@bmp7777-HP-Pavilion-dv7-Notebook-PC:~/cm10/WORKING_DIRECTORY$

Tips, suggestions, or flat out shoves in the right direction?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mbucks911:
wait so the gapps are included in this cm10 build? how did u do that?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] new ion?:
wasn't supposed to...

FYI - syncing now. IDK if i'll get a build done tonight... we shall see
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mbucks911:
the gapps arent included. if you are looking to use this as a dd, head on over to sk8rs thread to get the gapps and just flash them immediately after flashing cm10
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sebo1084:
Hey I'm gonna join ya'll. I can't be as dedicated as you guys, but I used to do AOSP builds for my HTC Inspire 4G so I have some experience and already a working environment. I'll have more questions than answers but this thread is the shizzit. I'll keep updated.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] new ion?:
dammit - they updated in the middle of my sync.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] sebo1084:
So is everyone syncing using the instructions posted on the cm10 thread? Mine is going smoothly so far. I guess using those instructions are getting any of the latest updates pushed by CM? Or is anybody here trying to fix stuff independently? Just trying to catch up. Saw that dakpluto got a good build, but where can we find what updates have been pushed? I guess the github. I'll read more.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] new ion?:
He cherry picked some stuff.... and right now I'm just getting set up.... then I will be doing some custom stuff
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Sully6789:
The 7/26 gapps updated some stuff. Might wanna search for those. I'm using em now and everything works great.

Found them here:

http://xdaforums.com/showthread.php?t=1796675
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] new ion?:
Goo has them too. Just dled them earlier
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
I've never used Mint but you should have one in your home directory you shouldn't have to create one. Keep in mind it's a hidden file it's ".bashrc" notice the period which makes it hidden.

Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] crhylove:
So I should clear up some mint knowledge. All versions of mint are universally better than all versions of Ubuntu in my experience. Mint is like Ubuntu with all the errors fixed. However there are several versions of mint. I currently recommend xfce 13 x64, it is brand new and works phenomenally well. Another good option might be the debian based branch: LMDE. Its supposedly a rolling release, and is a great OS, however so far it has not rolled at all, LOL. Plus you may want the Ubuntu compatibility built into the other mint versions. If you want pretty shiny stuff and the bleeding edge and don't mind sacrificing a bit of performance, mint 13 cinnamon version is pretty cool, too. Good luck all!

Tenderloin has had audio for at. Least a month now, lol
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
anybody have any idea what's going on here? Seems more like an issue on CMs end, but I'm not sure:

root@dakpluto-ubuntu:~/cm10# repo sync -j16
Fetching projects: 85% (261/306) fatal: Not a git repository: '/root/cm10/.repo/projects/prebuilts/gcc/darwin-x86/x86/i686-linux-android-4.6.git'
Fetching projects: 86% (264/306) fatal: Not a git repository: '/root/cm10/.repo/projects/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6.git'
Fetching projects: 99% (303/306) fatal: Not a git repository: '/root/cm10/.repo/projects/prebuilts/gcc/darwin-x86/x86/i686-linux-android-4.6.git'
fatal: Not a git repository: '/root/cm10/.repo/projects/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6.git'
error: Cannot fetch CyanogenMod/android_prebuilts_gcc_darwin-x86_x86_i686-linux-android-4.6
error: Cannot fetch CyanogenMod/android_prebuilts_gcc_linux-x86_arm_arm-eabi-4.6

error: Exited sync due to fetch errors
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
I'm not sure if this will help but try the following.

. build/envsetup.sh
vendor/cm/get-prebuilts
repo sync -j16

EDIT: I would also do a "make clobber" before the commands above just to clean everything up.

Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
I was actually redoing my repo, and haven't hit the build steps yet. When I did it the first time, I was able to sync the repo with no issues before going into the vendor/cm/get-prebuilts, so I'm not sure why it would be happening this time.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] :
Don't sync and build in root maybe
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] new ion?:
I wasn't in root and I get the same errors
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Anyone know what I am doing wrong here?

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

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=4.1.1

TARGET_PRODUCT=full

TARGET_BUILD_VARIANT=eng

TARGET_BUILD_TYPE=release

TARGET_BUILD_APPS=

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a

HOST_ARCH=x86

HOST_OS=linux

HOST_OS_EXTRA=Linux-3.2.0-27-generic-x86_64-with-Ubuntu-12.04-precise

HOST_BUILD_TYPE=release

BUILD_ID=JRO03H

OUT_DIR=out

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

Checking build tools versions...

************************************************************

You are attempting to build with the incorrect version

of java.

Your version is: java version "1.6.0_24".

The correct version is: Java SE 1.6.

Please follow the machine setup instructions at

https://source.android.com/source/download.html < by the way, I tried this link and was given the phonebook of Java installs. Nothing offered SE 1.6

************************************************************

build/core/main.mk:141: *** stop. Stop.

I installed per the android dev page, sudo apt-get install openjdk-6-jdk

Is there something different that needs to be updated?:confused:

Also, I wanted to check out the CMC GUI, but after running the command for the install, I get this:

Reading package lists... Done

Building dependency tree

Reading state information... Done

E: Unable to locate package cmcompiler

Is there an issue with the compiler right now? I looked through the thread and didn't see any remarks about the it being down.....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Had the same kernel issue. That should be added to OP for sure...

Thanks for that.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Decepticaons:
Yeah I'm on instegator kernel. Ill see if he can incorporate that. I'm not giving up this kernel, it's too good lol

Sent via RF signal from my JellyRocket to XDA on the Internet!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Another build failure. It was close to done too...

device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:23: error: Resource does not already exist in overlay at 'shutdown_reboot_options'; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:24: error: Resource at shutdown_reboot_options appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:25: error: Resource at shutdown_reboot_options appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:26: error: Resource at shutdown_reboot_options appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:31: error: Resource does not already exist in overlay at 'shutdown_reboot_actions'; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:32: error: Resource at shutdown_reboot_actions appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:33: error: Resource at shutdown_reboot_actions appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:34: error: Resource at shutdown_reboot_actions appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: *** Waiting for unfinished jobs....

Did I miss a step somewhere?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Wups!

So. it was building for an hour, this this happened. Any ideas?

Note: external/jsilver/src/org/clearsilver/FactoryLoader.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
aapt: warning: string 'gsm_alphabet_default_charset' has no default translation in frameworks/base/core/res/res; found: ko
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:23: error: Resource does not already exist in overlay at 'shutdown_reboot_options'; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:24: error: Resource at shutdown_reboot_options appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:25: error: Resource at shutdown_reboot_options appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:26: error: Resource at shutdown_reboot_options appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:31: error: Resource does not already exist in overlay at 'shutdown_reboot_actions'; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:32: error: Resource at shutdown_reboot_actions appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:33: error: Resource at shutdown_reboot_actions appears in overlay but not in the base package; use <add-resource> to add.
device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml:34: error: Resource at shutdown_reboot_actions appears in overlay but not in the base package; use <add-resource> to add.
make: *** [out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Error 1
make: *** Deleting file `out/target/common/obj/APPS/framework-res_intermediates/package-export.apk'
make: *** Waiting for unfinished jobs....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Crap. Sorry. I completely forgot I made a change to that file. I guess it breaks the build if you don't.

Open device/samsung/skyrocket/overlay/frameworks/base/core/res/res/values/arrays.xml

and change the parts in red here:

<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

<!-- Defines the shutdown options shown in the reboot dialog. -->
<array name="[COLOR="Red"]reboot_options[/COLOR]" translatable="false">
<item>@string/[COLOR="Red"]reboot[/COLOR]</item>
<item>@string/reboot_recovery</item>
<item>@string/reboot_download</item>
</array>

<!-- Do not translate. Defines the shutdown actions passed to the kernel.
The first item should be empty for regular reboot. -->
<string-array name="[COLOR="Red"]reboot_values[/COLOR]" translatable="false">
<item></item>
<item>recovery</item>
<item>download</item>
</string-array>

</resources>
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I see more than one post of possible additions to the AOKP instructions. Could someone PM me with additions that are verified as working? I'll take care of it after that...:beer:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
just add both haha
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] R4INS:
delete device/samsung/skyrocket/overlay/packages/apps/Settings/res/values/config.xml, you dont need it nor do you want it in your build env

Those aokp instructions are a bit butchered, i dont condone doing it that way.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Throw me a bone big dog! What needs altering? m4570d0n got this going on his own and was able to build from this, but if you have a more streamlined version, please share some tips.

I'm currently running his build from yesterday, and with the addition of the instigator kernel and some AROMA, I'm running smooth. Had to disable the overlays, but at this point, every ROM I've tried requires it..
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] R4INS:
On aokp,

Do step 1

dont do 2, 3 , 4 or 5.

DONT TOUCH THE MANIFEST YOU ARE ASKING FOR TROUBLE!!

DONT TOUCH KERNEL MANIFEST EITHER

You will need your proprietary files the one step does, but i refuse to edit the manifest for that. (which is step 4}

I also dont do it the way as posted as i DO build for other devices, 4 actually.

I just take the skyrocket proprietary folder from where he says in step 4 and put it in vendor/samsung/skyrocket

create local_manifest.xml in .repo with the following in it

<?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>

Do step 6

Step 7, you dont need to delete the cm files, they wont even be used, but edit vendorsetup.sh to have the following in it

add_lunch_combo aokp_skyrocket-userdebug

Also change this in device.mk:

## overlays
DEVICE_PACKAGE_OVERLAYS += device/samsung/skyrocket/overlay

to this

## overlays
DEVICE_PACKAGE_OVERLAYS += device/samsung/hercules/overlay

This skips those build errors that wantwo was getting etc, or you can manually fail builds and delete those files, but if something resyncs them i like to avoid the failures and forgetting what files to delete.

Editing the device.mk is optional, and will cause different results with the different options you use, but go ahead and use the one in the OP.

Do steps 8 and 9

On step 9 make the following

# skyrocket overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/aokp/overlay/skyrocket

say this instead

# skyrocket overlay
PRODUCT_PACKAGE_OVERLAYS += vendor/aokp/overlay/hercules

This skips the step 10 completely, and if the hercules overlays ARE updated you will automatically build those updates. Making a copy of them into a skyrocket folder will not do this for you.

On step 11 just add $(LOCAL_DIR)/skyrocket.mk \ above hercules, dont neuter the rest it will just cause more sync issues later.

---------- Post added at 01:19 PM ---------- Previous post was at 01:13 PM ----------

Ok i think im done editing that should do it.

Just remember whenever a new device is added into manifest it will wack out your build environment and you will need to repair the issues so you get a clean checkout.

This will happen with my modified instructions and the ones in OP
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Thank you brother. I'll get this in place tonight....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] R4INS:
Please be aware that the instructions he posted, and the edits i made tho his still wont equal my builds. I have plenty of other edits that haunt me whenever i sync. But that will get you a functioning build similar to mine.

My builds are here:

http://rootzwiki.com/topic/34092-aokp-unofficial-galaxy-s-ii-skyrocket-i727-oct-2-jb-build-4/
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] rpr69:
Thanks R4INS. I was hoping to be able to automate nightly builds, but it sounds like that may be a reach, I'm still willing to give it a shot, I'll try the revised instructions tonight.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Changes to the AOKP instruction in the OP are complete. Somebody go and verify that I have everything the way it is supposed to be. Let me know:confused:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Thanks man. I'll post it when I get home :thumbup:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Well, I was 3/4 of the way done do I used R4INS reply to my post just to see what would happen. Turns out I got a pure CM10 Build. No sign of AOKP whatsoever...haha So just in case anybody was interested, the original method didn't seem to merge AOKP.

So now I will delete and go ahead with The OP version 2 method.

In a perfect world, I would LOVE an AOKP build that had 2 cherry picks... CM10- conventional USB interface (not the mp3 player one it has now) and CM10/Stock- Mobile Data/Full LTE functionality. (currently aokp doesn't even have the settings/more.../wireless&Networks/mobile networks/"Network Modes" button)

EDIT: Actually, seeing as r4ains aopk is cm10 based anyway, would it not be a matter of not letting his merge take these 2 items out?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wilbarger:
BT

Just flashed and checked BT. Still not working through the auto for phone. Thanks for the release, and I will just hold my horses till we can get BT fixed.