yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Good to know. But I was mostly looking at the diff between the names. Even When you copy pasted...notice?

It has to be "slim_skyrocket-userdebug" not "slimbean_skyrocket-userdebug" like in the OP.

js

Also, is the guava patch correct? In the OP is says to change lines 228 and 299 and the example shows lines 228 and 229..... (or vise versa...lol)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Fixed the local_manifest for CM and the typo for the guava error. Can somebody send me a current AOKP local_manifest? I don't have one right now.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
The builds seem to be moving away from a local_manifest in .repo and creating a "folder" in your cm10, aokp ...build folder. I attached a zip of mine. (aokp)

I could be way off on this but my local manifest keeps disappearing when I sync.

or

Here is an old style one. It might bich about being deprecated but meh...

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

I have had a couple successful slim builds, just thought I would try it out. But EEEEEWWWWWWW!!!! iT'S ADWARE! Thank god for Hosts files....
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
you're missing device/samsung/msm8660-common, device/samsung/celox-common, and the /vendor/samsung repo from TheMuppets for the proprietary vendor blobs.

---------- Post added at 04:03 PM ---------- Previous post was at 04:00 PM ----------

the local manifest for AOKP should be the same as CM, except for the kernel, as that is already in the kernel_manifest.xml.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roughneckboren:
Re: [GUIDE/ROM] Project Rookie - How to's - Building ROMs, Kernels & Mods [TEAM ROOK]

Is there a way to control the threads on the brunch command? Can I use like brunch..... Device.......-j16?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Just say I synced the PA git and made a manifest like this. Would anything GOOD happen? lol.....anybody?

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="ParanoidAndroid/android_device_samsung_skyrocket" path="device/samsung/skyrocket" remote="github" revision="jellybean" />
<project name="TheMuppets/proprietary_vendor_samsung" path="vendor/samsung" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_device_samsung_msm8660-common" path="device/samsung/msm8660-common" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_device_samsung_celox-common" path="device/samsung/celox-common" remote="github" revision="jellybean" />
<project name="CyanogenMod/android_kernel_samsung_msm8660-common" path="kernel/samsung/msm8660-common" remote="github" revision="jellybean" />
</manifest>
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] onlychevys:
I done went and borked my slim build lol. I'm trying to build 4.2 and made a real mess so far. I should have stayed with my cm-10.1 builds for that. jeffakajeff figured out how to get cm10.1 to boot and I've been playing with his build lately.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] jeffakajeff:
Re: [GUIDE/ROM] Project Rookie - How to's - Building ROMs, Kernels & Mods [TEAM ROOK]

You make any progress? I'm just stabbing In the dark, I'm a nooob lol.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
That's cool. So will you be posting a build model for 10.1/4.2 when you have it working?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
jeffakajeff to confirm, you swapped out the vid drivers and the kernel to make it boot

i got yours on my sr to work, which files did you replace
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mtdew:
ok boys i dunno if i have been out of the loop for a while but today i did a repo sync and something that struck me as strange showed up so I'm hoping you guys have an answer.

Fetching projects: 6% (20/319) remote: Counting objects: 11, done.

remote: Compressing objects: 100% (3/3), done.

remote: Total 6 (delta 4), reused 5 (delta 3)

Unpacking objects: 100% (6/6), done.

Fetching projects: 9% (29/319) From git://github.com/CyanogenMod/android_packages_apps_Settings

8cbfaec..d171521 jellybean -> github/jellybean

Fetching projects: 17% (55/319) From git://github.com/CyanogenMod/android_hardware_cm

* [new tag] cm-10.1-M1 -> cm-10.1-M1

Fetching projects: 41% (131/319) From git://github.com/CyanogenMod/android_external_nano

* [new tag] cm-10.1-M1 -> cm-10.1-M1

Fetching projects: 79% (253/319) From git://github.com/CyanogenMod/android_external_nist-sip

* [new tag] cm-10.1-M1 -> cm-10.1-M1

Fetching projects: 84% (268/319) From git://github.com/CyanogenMod/android_external_openvpn

* [new tag] cm-10.1-M1 -> cm-10.1-M1

Fetching projects: 87% (278/319) From git://github.com/CyanogenMod/android_packages_wallpapers_Galaxy4

* [new tag] cm-10.1-M1 -> cm-10.1-M1

Fetching projects: 90% (288/319) From git://github.com/CyanogenMod/android_external_regex-re2

* [new tag] cm-10.1-M1 -> cm-10.1-M1

From git://github.com/CyanogenMod/android_external_qrngd

* [new tag] cm-10.1-M1 -> cm-10.1-M1

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

warning: local_manifest.xml is deprecated; put local manifests in local_manifests instead

Syncing work tree: 100% (319/319), done.

why am i seeing a bunch of cm10.1 stuff show up. no my hopes aren't up and i am hoping to get a decent explanation.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
because there was a commit on the cm-10.1 branch for those package repositories which included a new tag "cm-10.1-M1" and so your local repo was updated to recognize the new tags. Tags allow you to pinpoint a specific point in history to reference. This is usually done to mark release points or milestones. If I had to guess, I would guess the "M1" means Milestone 1.

Note: this does not mean any of your files changed to CM10.1. You are still on the jellybean branch. You would have to checkout the cm-10.1 branch to see the updated changes to that branch. What you are seeing is just stuff that has changed in the ".git" directory in each of those packages.

As an example, if you were to do the following:

cd build
git remote show github

You would see something like this:

* remote github
Fetch URL: git://github.com/CyanogenMod/android_build
Push URL: git://github.com/CyanogenMod/android_build
HEAD branch: jellybean
Remote branches:
cm-10.1 new (next fetch will store in remotes/github)
cm-9.0.0 new (next fetch will store in remotes/github)
cm-9.1.0 new (next fetch will store in remotes/github)
donut new (next fetch will store in remotes/github)
eclair new (next fetch will store in remotes/github)
froyo new (next fetch will store in remotes/github)
froyo-stable new (next fetch will store in remotes/github)
gb-release-7.2 new (next fetch will store in remotes/github)
gingerbread new (next fetch will store in remotes/github)
gingerbread-release new (next fetch will store in remotes/github)
ics new (next fetch will store in remotes/github)
ics-release new (next fetch will store in remotes/github)
jellybean tracked
jellybean-release new (next fetch will store in remotes/github)
jellybean-stable new (next fetch will store in remotes/github)

Obviously you aren't working with donut, eclair, froyo, etc., but the references are there in the git directory and if you wanted to switch to a different branch you could switch to one of those by running

git checkout github [branch name]

It's basically the same thing with tags.

Also, if you go to CM's github and click on a package, you'll notice in the dropdown menu for selecting branches, that there is also a tab for selecting tabs as well:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mtdew:
Re: [GUIDE/ROM] Project Rookie - How to's - Building ROMs, Kernels & Mods [TEAM ROOK]

Appreciate the clarification
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Great explanation dude.... If I could ask a step further. Is it true that until somebody converts that source to reflect SR specs in folders like vendor_samsung_skyrocket, etc.... 'We' can't just

git checkout github [branch name]

.....to go ahead and build 10.1, correct?

Edit: That said, has is Nov., 21-12 The last meaningful update for our repo?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] onlychevys:
Quote:

Originally Posted by onlychevys

I done went and borked my slim build lol. I'm trying to build 4.2 and made a real mess so far. I should have stayed with my cm-10.1 builds for that. jeffakajeff figured out how to get cm10.1 to boot and I've been playing with his build lately.

Quote:

Originally Posted by jeffakajeff

You make any progress? I'm just stabbing In the dark, I'm a nooob lol.

I am making progress, every time I think I moved ahead it seams I fell behind. Your noob self is the first to get a good boot! Keep up the great work.

Quote:

Originally Posted by wantowan2

That's cool. So will you be posting a build model for 10.1/4.2 when you have it working?

If I get a good build the first thing I will do is post everything I did and how I did it! I love open source because we all share.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Update: CM10.1

I posted this in sk8twitskil's 4.2 thread I figured you guys would like an update.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Update: CM10.1

One step closer TeamChopSticks has 10.1 booting on the Skyrocket sort of if the device goes to sleep it won't wake up and there is an issue with the modem partition. I'll keep you guys posted they are getting very close. When you get a chance make sure to give the TC boys a shout out and a thank you.

Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ktempleton:
hey guys i rooted my friends sky rocket and flashed a radio and now it says unknown baseband does anyone have a good radio i can flash or a way to fix this thanks
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Update CM10.1 (4.2.1)

What ever was merged for my last build at 10:30 CST seems to have fixed my reboot issues I haven't had a reboot in over an hour. Mobile data, phone, and audio all working camera still borked may be the version of gapps I installed.

Roger:cool:

EDIT: Update reboots are back just a lot less frequent. WTF reboots are back.

Teaser Preview
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Search for UCLF6 in the XDA Skyrocket Dev forum.

Roger:cool:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xcrazydx:
Re: [GUIDE/ROM] Project Rookie - How to's - Building ROMs, Kernels & Mods [TEAM ROOK]

All the radios are here

Scroll down to radios

http://xdaforums.com/showthread.php?p=28350575
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] zhiwlin:
How to add custom feature to ROM

I'm learning to create the ROM following the steps. One feature I like in AOKP, circleMOD battery style. Is there any command to use, or any link to read, to import that feature into a CM ROM? I tried searching but cannot find. Only how to build ROMs, but not how to add specific features...maybe not possible?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
That's a mod to SystemUI.apk. You need to add the png files you want and update the appropriate xml files to support the new png files, assuming you want it to count from 0-100. This is also the same place where you can swap out the signal icons.

The below tutorial I created is intended for messing with the APK after it is built, but you can simply apply the same edits to the base CM10 source before building and it'll work (which allows you to skip all the apktool nonsense).

http://xdaforums.com/showthread.php?t=1951867
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] AndroidGee209:
id love to get started on learing about building roms, but for some damn reason when install Jdk , the SDK installer cant find JDK, ive made a path and everything.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] zhiwlin:
Thanks cvd. I'm interested in modifying CM10 source direct before build. I went to look at the folder structure and have no idea where to start to look for the SystemUI related png files and xml files. Where should I be looking?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] xcrazydx:
Re: [GUIDE/ROM] Project Rookie - How to's - Building ROMs, Kernels & Mods [TEAM ROOK]

The path is probably jacked up.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] zhiwlin:
Did you install openjdk or Oracle's JDK? I think the preferred method is to use oracle jdk. You have to use the version 6, not the latest version 7.

Once you downloaded, you can run the following:

$ chmod +x jdk-6u37-linux-x64.bin
$ sudo ./jdk-6u37-linux-x64.bin
$ sudo mv jdk1.6.0_37 /usr/lib/jvm/
$ sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_37/bin/java 1
$ sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_37/bin/javac 1
$ sudo update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk1.6.0_37/bin/jar 1
$ sudo update-alternatives --install /usr/bin/javadoc javadoc /usr/lib/jvm/jdk1.6.0_37/bin/javadoc 1
$ sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_37/bin/javaws 1
$ sudo update-alternatives --config java
$ sudo update-alternatives --config javac
$ sudo update-alternatives --config javaws
$ sudo update-alternatives --config jar
$ sudo update-alternatives --config javadoc
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
What's "jacked up"?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
the path......couldnt resist

in your .bashrc file have this line

and your .profile file

which sdk did u dl, should be this for linux http://dl.google.com/android/android-sdk_r21.0.1-linux.tgz, rename its install directory to "android-sdk" which should be in your home directory
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
I was wondering what would happen if I tried to crosscompile/build a kernel where there is a version mismatch? ie: Dag's w cm10.1 repo source?:good:

(Not now, but when 10.1 is more stable...)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mtdew:
Re: [GUIDE/ROM] Project Rookie - How to's - Building ROMs, Kernels & Mods [TEAM ROOK]

No

Sent from my refrigerator
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] wantowan2:
Hahaha. C'mon, 2 letters? Even your refrigerator must have a full sized keyboard. You could be guessing and still have a 50/50 chance at being right. Lets have a pearl of wisdom? :-/
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Here's what I have:

1.4M cm10/out/target/product/skyrocket/obj/STATIC_LIBRARIES

12K cm10/out/target/product/skyrocket/obj/PACKAGING/updater_extensions_intermediates

16K cm10/out/target/product/skyrocket/obj/PACKAGING

9.6M cm10/out/target/product/skyrocket/obj

4.0K cm10/out/target/product/skyrocket/root/sbin

4.0K cm10/out/target/product/skyrocket/root/data

4.0K cm10/out/target/product/skyrocket/root/system

4.0K cm10/out/target/product/skyrocket/root/dev

4.0K cm10/out/target/product/skyrocket/root/sys

4.0K cm10/out/target/product/skyrocket/root/proc

32K cm10/out/target/product/skyrocket/root

9.6M cm10/out/target/product/skyrocket

12K cm10/out/target/product/generic/obj/PACKAGING/updater_extensions_intermediates

16K cm10/out/target/product/generic/obj/PACKAGING

20K cm10/out/target/product/generic/obj

52K cm10/out/target/product/generic

9.7M cm10/out/target/product

13M cm10/out/target

20M cm10/out

14G cm10

And this:

bmp7777@bmp7777-HP-Pavilion-dv7-Notebook-PC:~$ du -h /home/BMP777

du: cannot access `/home/BMP777': No such file or directory

If this is what you are looking for, obviously I am forgetting something here.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] aSquard:
CLI?

Sugary Jelly Bean 4.1.1 (CM10 Alpha) and XDA Premium
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Command Line Interface
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
Command line, aka Terminal.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] aSquard:
Gotcha.

I still can't get something to compile but I'll keep trying. I'll take another look later today after work

Sugary Jelly Bean 4.1.1 (CM10 Alpha) and XDA Premium
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Having problems of my own. hang in there, we'll get it together soon enough...:D
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
Yeah, I broke my ubuntu last night also. Made an edit to xorg.conf and apparently it didn't like it. Won't boot past the Ubuntu opening screen now, lol. I was debating changing to something else anyways. Unity makes me want to kill small kittens. May try Mint or Suse.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] mindmajick:
Go into the terminal. Rename xorg.conf to xorg.bak

Reboot. Should work.. if not you can rename it back
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
problem is I can't boot in to get into terminal, lol. I'm stuck on the boot screen. Gonna pull out the recovery disc when I get home from work and see if I can get in that way to edit it back.

But again, I think it's a good excuse anyway to go with a new distro before I gouge my eyes out trying to use Unity.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:


If you end up starting over, take a look at Luninux. Some of the Linux Puritans may poo poo it, but I dig the smooth functionality of the UI. Now if I could get my act together with the repo downloads. I think I'm doing it right but obviously not since I have gotten 43 gigs of data and its still not finished. Can sync but can't build. Can't expand the partition that holds the home folder either. Ugh
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
meh, too much UI for me, looks like a mac clone. I'm trying to force myself to rely on CLI more. I want the learning experience from it.

Please put the steps you are following to sync the repo, I dunno why it's trying to sync so much data for you.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] bdusmc:
TMO Hercules build successful

Thanks to Roger I have finally managed to complete a build for the TMO Hercules. It has all of the issues from a few days ago (voice search not working, camera is buggered and mic is a little quiet, etc...), so now that I can actually complete a build, resolving these issues, or learning to understand how to resolve these issues, will be my focus now.

Had tons of system issues with memory limits, missing files, etc... As it turns out, I was missing part of the proprietary device tree in the vendor folder. Then, if I was doing a build overnight my USB drive would go to sleep and lock up the system, so I couldn't see what messages were being logged when the build failed, ETC, ETC.

After a lot of tinkering and messing around, out pops a little baby ZIP that actually BOOTS on the Hercules. Sweet Jesus. ;)

FYI, a full compile on my 3GHz, 2 core system, 2GB RAM, 2.5GB swap takes almost exactly 2H every time I do a make clobber first (clean build). I'm now experimenting with USECCACHE=1 to see if that helps at all... so far I'm not sure. A "rebuild" seems to take about 20 mins.

Again, big thanks to Roger and others for helping me out! Hopefully I can help those having similar issues as well.

Off to Google I go... really need speech to text working! ;)
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I hear you on the Mac clone thing. But, I have experience using macs so I liked not being so easily confused navigating where some of the utilities and other options are. Full CLI immersion is a neccesity for me too. I feel like if I was more familiar with the specific commands and processes, I wouldn't have half the trouble I'm experiencing. Actually I'm sure of it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] new ion?:
I still can't even sync the repo...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
describe your steps, and what errors you are getting.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] bdusmc:
Something is definately not right. My CM10 folder is only about 6GB with everything and it took less than an hour to sync from scratch.

Try this:

Rename your CM10 folder to CM10-old or something and start over with an empty CM10 folder.

then, cd to the empty CM10 folder and do this:

repo init -u https://github.com/CyanogenMod/android.git -b jellybean

Save the attached local.manifest.txt file to the .repo folder and rename it to .xml instead of .txt (use CTRL-H to view hidden files in the file explorer)

repo sync (no -j# parameter, just to be safe)

If that goes well for you, then use Rogers sequence to do the actual build from the root of the CM10 folder.

. build/envsetup.sh

vendor/cm/get-prebuilts

lunch cm_skyrocket-eng

make clobber

brunch cm_skyrocket-eng

*NOTE: You only need to make clobber if your previous build was completely f-ed up, or if you just want to do a clean build.

Let us know how that works out for you. These are exactly the steps I took to get a clean build.

I used the OP from this thread to set up a fresh Mint install (up to and not including step 5, and using Pluma instead of gedit):

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

Then, I followed the first 2 steps in the OP from this thread and then tweaked it to work for the Hercules instead of the Skyrocket.

http://xdaforums.com/showthread.php?t=1775133
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] new ion?:
I follow this page

and i keep getting what seems to be timeout errors. this time i couldn't get the android_frameworks_base

not that it should matter - but I hadn't actually installed the SDK or eclipse, just downloaded. obviously i need to do that today after school...

but still, i should be able to download data without having those installed...
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
This is what I used to create my build enviroment, worked perfect: http://source.android.com/source/initializing.html

Then I used sk8er's guide in the unofficial CM10 thread. Both have worked perfect for me.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Decepticaons:
Ill try this one out tonight. Seems to make more sense since it is CM lol.

I do believe you HAVE to have the SDK installed tho, I didnt initialize it to begin with and when I started over i did the installation step and I got all the way to the repo, but that is failing on me at the moment.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
I find it hard to believe you tried very hard to look for it.

frameworks/base/packages/SystemUI/

See also:

https://github.com/AOKP/frameworks_base/commit/ceaf903e3bf3181de26ec5626d5b3770fcfdb170

https://github.com/AOKP/packages_apps_ROMControl/commit/7dd711d31f6cee921aa82ae632b4d2c202705ceb
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] zhiwlin:
Thank you! Didn't try very hard, actually. Since I just started, I was afraid of muddying in the "frameworks" folder. Frameworks sounded like a folder noobs shouldn't be sticking their nose into until getting more experience...sorry!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] car vs driver:
Try harder next time - we're not going to hold your hand through the process. Help yes, do it for you? No.

You'd have very easily found the files using 'grep' or just spending a couple hours browsing through the source tree. You need to get yourself familiar with where things are and how things link together before you can start building.

This thread is for helping people learn how to build, but any rookie needs to put forth the effort to learn on their own and fix things on their own. And only after you've tried harder and still can't solve it, come here and ask questions.

---------- Post added at 09:31 AM ---------- Previous post was at 09:27 AM ----------

Ok, I'm intrigued ... why would you want to do this? I'm assuming you want features from a newer kernel version? In that case, either start with the new one or grab a patch file from kernel.org - run it on your kernel and start working out the bugs.

I actually started doing that with Nibbles, bringing it up to 3.0.59 but I got sidetracked with CM10.1 over the weekend :)