yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
im total newb to linux

ubuntu vs mint: small stupid things like the .bashrc file is not in mint, had issues with repo for "https", etc, cant remember them all, since the stuff i was reading was for ubuntu 10.04, i thought i will install that, and all the terminal commands were working, no extra things i had to figure out, so im guessing mint is laid differently by default, like when trying to save a file in the home directory, in mint a couple of extra steps had to be taken to allow me to save in the home directory, w/ubuntu it just let me since i was su logged into the computer

edit: now i get permission denied are you root message trying to apt-get install python-markdown

tried su then my pw, and states authentication failed, wtf......nevermind figured it out just dont know why, i used sudo -i to get back in

so python didnt need anything as it states in terminal "python-markdown is already the newest version" message
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] aSquard:
Ha ha, Unity is pretty, but Mint is HOT!

I had no issues (until I realised I couldn't build Jelly Bean on 32-bit) - there's no hoops to jump through, IMO and the key commands are exact unlike Kubuntu.

Used MS for years and I JUMPED like a beast, scrapped Windows and now the Viao and PC run Mint 13 and Ubuntu 12.04 (respectively). I had to snag Virtual Box for some Windows only stuff, other than that - I don't much miss MS :)

Sugary Jelly Bean 4.1.1 (CM10 Alpha) and XDA Premium
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
i was using "linuxmint-13-xfce-dvd-64bit", now im using ubuntu-10.04.4-desktop-amd64", so maybe the versions is why things like .bashrc file is not in mint by default, and executing

curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

gave some error about "https"
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] ATRIXXIRTA:
Updated recovery to skaters new one. Just flashed your latest Rog. Things are working great! Nice work!

What the hell is this candy cane?? Hint at googles new OS after jelly bean?? I thought it was "key lime pie" or some s*** like that? lol
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
My bad I failed to mention for certain commands you must be a "root user" so type the command like this.

"sudo apt-get install python-markdown" enter your password.

sudo is the equivalent of installing something in M$ Windows with "administrator rights".

Definition: sudo: Sudo (superuser do) allows a system administrator to give certain users (or groups of users) the ability to run some (or all) commands as root while logging all commands and arguments. Sudo operates on a per-command basis. It is not a replacement for the shell. Features include: the ability to restrict what commands a user may run on aper-host basis, copious logging of each command (providing a clear audit trail of who did what), a configurable timeout of the sudo command, and the ability to use the same configuration file (sudoers) on many different machines.

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
thanks

roger did you use OpenSSH Server to configure your setup
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
That's right I have "openssh-server" and "openssh-client" installed on both, my server at work and my 12.04 system at home.

So were you able to install using sudo?

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
i used "sudo -i" first then pw then "apt-get install python-markdown" said it newest version installed

then tried "sudo apt-get install python-markdown" and get same message, so im guessing ubuntu comes with python
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
DO NOT use "sudo -i" that changes your shell from a normal user to root. The build process needs to done by a normal user not root. Look at the bottom left of your terminal it it displays "root@whatever" type "exit" then continue.

Run the command below

sudo apt-get install python-markdown

Tell me the outcome.

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
tops is insane, he does like 16-17 min after clobber.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
I just setup the server last week so I haven't had time for much "tweakage" I still need to setup a "ccache" on a NFS share which should help some. If I make some minor changes and build without "make clobber" my build time is about 16 minutes.

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
Mine is about 2 hours ._.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Same here if I build on the system I have at home 1.5 to 2 hrs.

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Which version of mint were you trying? The Mint version of Ubuntu 10.04 is Mint 9. I'm still running on Mint 10 which is based on Ubuntu 10.10. (Random fact of the day: Ubuntu versions are released twice per year in April and in Oct., hence the version naming scheme *.04 and *.10). Your home directory is the one directory you do NOT need root to modify files. You must have done something odd if you couldn't save a file in your home directory. That is not something you would need to set up differently in Mint. Neither is bashrc. However, if you didn't have one for some reason, you can always just create one.

Also, any time you want to do something that involves installing software (like using apt-get) or if you want to modify files in /etc, /usr, or other directories besides /home, you need to use sudo to give yourself root permission.

If you're using an older version of Mint or Ubuntu (Ubuntu 11.04/Mint11 or earlier), I recommend installing Nautilus Elementary. It adds lots of nice features to Nautilus, and among the several awesome features is the ability to right-click a file/folder and select "Open as administrator"

https://launchpad.net/~am-monkeyd/+archive/nautilus-elementary-ppa

you can install it with:

sudo add-apt-repository ppa:am-monkeyd/nautilus-elementary-ppa
sudo apt-get update
sudo apt-get dist-upgrade
nautilus -q

more info here:

http://www.webupd8.org/2011/03/install-nautilus-elementary-2322-in.html
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] blackwing182:
2:30 here , dealing with it lol i build some times if i need some changes for my self, next week i pull for nightlies for the hell of it!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
typed exit to get out of root:

vinny@vinny-linux:~$ sudo apt-get install python-markdown

[sudo] password for vinny:

Reading package lists... Done

Building dependency tree

Reading state information... Done

python-markdown is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

vinny@vinny-linux:~$
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Woot! My builds are working again.

I think it was an issue with the recovery I was using (though it was before it was mentioned by roger that upgrading recovery is now a requirement). Camera and video all seem to be working correctly. It's pretty much vanilla CM10 but I included my transparent contacts and Mms. I also added the soft keyboard type menu option and emoji support back to Mms.apk. Additionally I used these two cherry picks (one of which has now been merged):

Change Iba8e51ad: Fix compile error on QCOM targets (Merged)

Change I82266204: opticharger: skip packages labled as PRESIGNED

I was just building this one for me, but if anyone wants, I can upload it.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Call For Flashoholics: Skyrocket 0818 jb-test Build

CM10 Unofficial Nightly Alpha 3+

Ok guys this build has all the latest merges as of today. Please scroll down and read the "My install instructions:" for best performance and functionality.

Cherry-picks:

Squashed set of commits to bring it up-to-date with CAF (Didn't help Netflix):(

Changed USB connected icon to feature Cid (Get rid of the green android when connecting to usb storage to a cool blue CID)

NOTE: This build does not have the center clock see Dakpluto's builds for that. If you use a kernel other then the stock one you'll probably get a black screen of death (BSD). If you have issues with your camera don't blame me some cameras still fail with the official TC build.

ALL WARNINGS APPLY READ THE OP YOU HAVE BEEN WARNED!!!

Please read topprospect's reply in the TC thread to my question about recovery. A recovery that works with the current builds can be found in the download links. Older versions may display a (Status 7) Installation Aborted when flashing the latest builds.

Originally Posted by topprospect Beginning with CM10 alpha 3, you will need to use a Skyrocket-native recovery to flash it. We will post a compatible CWMR that we recommend that you use, but sk8er's CWM Touch and TWRP most likely will work too.

I will work with Koush to update ROM Manager's Skyrocket recovery as well. Time to ditch that old CWMR 5.0.x.x! You can get rid of darkside-wipe-cache-only.zip too. (I know, it is hard. That is the one that I used since the beginning of time too.) Also, CM10 nightlies for Skyrocket and Hercules will begin soon, but not for a few days.
​

DOWNLOADS

Download Link: http://d-h.st/uUq

Recommended Gapps: http://goo.im/gapps/gapps-jb-20120726-signed.zip

Sk8ter's CWM 6.0.1.1 Touch v8: http://xdaforums.com/show....php?t=1777970

TC Install Instructions: http://www.teamchopsticks.org/p/cm10-install-guide.html

My install instructions: These install steps have never failed me. Follow the order as listed.

Format system

Install ROM and Gapps

Format cache

Fix permissions (CWM 6.0.1.1 v8 does not have fix permissions use Rom Manager)

Reboot

Let it settle for 5 minutes

Many thanks go to CyanogenMod, Team Chopsticks, and Topprospect for allowing us access to their code. They do all the hard work we are just cherry-picking and building.

---------- Post added at 08:26 PM ---------- Previous post was at 08:21 PM ----------

Ok good it's already installed so are you done configuring whats left to do?

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Decepticaons:
Hey vin, if you're a Windows snob like me mint is great because it has the flow and feel of Windows. As for your bashrc issue, you would have had to create it. Easy fix. I actually used the ubuntu guide to set up mint. They are both debian. Good luck on your build, once you get going it's like frickin crack lol!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Congrats! another successful build.

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
initially i did this according to dastin1015's guide

repo init -u https://android.googlesource.com/platform/manifest -b android-4.1.1_r4

but sk8's guide does this which i didnt do

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

i think i shouldve followed sk8's guide, am i dl'ing the wrong repo because its taking along time
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] dakpluto:
yeah, you need to do the CyanogenMod one....you are downloading the android source, which you do not need.

---------- Post added at 10:08 PM ---------- Previous post was at 10:07 PM ----------

HAHA, was gonna include that one too in my next.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
so after i do this

repo init -u https://android.googlesource.com/platform/manifest -b android-4.1.1_r4

i continue to follow sk8's guide and do this

repo sync -j16

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

repo sync -j16

. build/envsetup.sh

vendor/cm/get-prebuilts

repo sync -j16

CM_EXTRAVERSION=-yourname CM_SNAPSHOT=1 brunch cm_skyrocket-userdebug
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
This is what I would do, I would delete everything in your build directory except the ".repo"

directory.

Then

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

when that completes.

repo sync -j16 (this will take a few hours)

Now copy the text below to ".repo/local_manifest.xml" Since you're doing this manually you won't need to do Sk8ter's "wget" command.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TeamChopsticks/android_kernel_samsung_msm8660-common" path="kernel/samsung/msm8660-common" remote="github" revision="jb-test" />
<project name="CyanogenMod/android_device_samsung_skyrocket" path="device/samsung/skyrocket" />
<project name="CyanogenMod/android_device_samsung_msm8660-common" path="device/samsung/msm8660-common" />
<project name="TeamChopsticks/proprietary_vendor_samsung" path="vendor/samsung/" remote="github" revision="jellybean" />
</manifest>

Finally "repo sync -j16" again this time it won't take hours to complete.

Then continue with the next 3 commands

. build/envsetup.sh
vendor/cm/get-prebuilts
CM_EXTRAVERSION=-yourname CM_SNAPSHOT=1 brunch cm_skyrocket-userdebug

Its take hours to setup your first build but your next build will not take as long. You can now kickback and wait for your build to complete.

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
Thanks. :) I forgot to mention, I didnt use the Team Chopsticks jb-test kernel repo. I noticed that the CM kernel repo had been updated so I tried using that one. So far everything seems to be working and running smooth.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
so i didnt need this one

repo init -u https://android.googlesource.com/platform/manifest -b android-4.1.1_r4

and delete the working folder, and start over again with this one

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

edit: my error, i did do this command "repo init -u git://github.com/CyanogenMod/android.git -b jellybean"

still dl'ing though
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
Ok if you initialize the CM branch you are good when it completes continue with the steps in my last post.

Good Luck

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
k, it finished dl'ing, but it all went to the home directory, even though it shows im in the cm10 directory i created when it finished the repo

linux:~/cm10$

cm10 is empty, can i just copy the files to the cm10 directory

edit: i just decided to do it all over again

edit: dl the repo/git again still wont save to the cm10 folder, it keeps saving in the root directory, or is it supposed to to be saved in my root directory

the "local_ manifest.xml" has to created right, because there wasnt one in my ".repo" directory

CM_EXTRAVERSION=-yourname CM_SNAPSHOT=1 brunch cm_skyrocket-userdebug

the "yourname" is the name i gave to git, so it would be "-vinny" or "vinny"
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] onlychevys:
Dang, do you guys ever sleep? Or are ya'll asleep now lol. I've been trying all night to download the repo from google and it keeps freezing and I have to start over, I seems to be starting where it left off each time though. I think my internet connection is funky lately.

I was looking at ya'lls times on a build, my box builds in about 75 to 80 minutes.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
how do you find out this stuff, and what would be the syntax to dl it
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
You have to run the "repo -u init" in the directory you want it in. If it's in your home directory that where you ran it from. So first "cd cm10/" this will dl everything to the correct directory which is "cm10". Instead of re-downing everything again you can copy everything it downloaded "repo related" from your home to "cm10" you should be ok. Copy the directories in my list below from "/home/vinny" to "cm10/" Make sure the ".repo" is in "cm10" it's a hidden file the "." makes it hidden.

Correct "-yourname" = "-vinny"

Now after copy all the files to the correct place continue with the steps below.

drwxr-xr-x 3 roger roger 4096 2012-08-13 23:50 abi
drwxr-xr-x 3 roger roger 4096 2012-08-13 23:50 android
drwxr-xr-x 9 roger roger 4096 2012-08-13 23:50 bionic
drwxr-xr-x 5 roger roger 4096 2012-08-13 23:50 bootable
drwxr-xr-x 7 roger roger 4096 2012-08-14 17:24 build
drwxr-xr-x 11 roger roger 4096 2012-08-13 23:50 cts
drwxr-xr-x 18 roger roger 4096 2012-08-13 23:50 dalvik
drwxr-xr-x 19 roger roger 4096 2012-08-13 23:50 development
drwxr-xr-x 8 roger roger 4096 2012-08-13 23:50 device
drwxr-xr-x 3 roger roger 4096 2012-08-13 23:50 docs
drwxr-xr-x 152 roger roger 4096 2012-08-13 23:50 external
drwxr-xr-x 14 roger roger 4096 2012-08-13 23:50 frameworks
drwxr-xr-x 10 roger roger 4096 2012-08-13 23:50 gdk
drwxr-xr-x 11 roger roger 4096 2012-08-13 23:50 hardware
drwxr-xr-x 3 roger roger 4096 2012-08-13 23:50 kernel
drwxr-xr-x 11 roger roger 4096 2012-08-13 23:50 libcore
drwxr-xr-x 4 roger roger 4096 2012-08-13 23:50 libnativehelper
-r--r--r-- 1 roger roger 87 2012-08-13 23:50 Makefile
drwxr-xr-x 8 roger roger 4096 2012-08-13 23:50 ndk
drwxr-xr-x 4 roger roger 4096 2012-08-18 18:57 out
drwxr-xr-x 7 roger roger 4096 2012-08-13 23:50 packages
drwxr-xr-x 4 roger roger 4096 2012-08-13 23:50 pdk
drwxr-xr-x 12 roger roger 4096 2012-08-13 23:50 prebuilt
drwxr-xr-x 9 roger roger 4096 2012-08-13 23:51 prebuilts
drwxr-xr-x 6 roger roger 4096 2012-08-13 23:49 .repo
drwxr-xr-x 48 roger roger 4096 2012-08-13 23:51 sdk
drwxr-xr-x 10 roger roger 4096 2012-08-13 23:51 system
drwxr-xr-x 5 roger roger 4096 2012-08-13 23:51 vendor

Now copy the text below to ".repo/local_manifest.xml" Since you're doing this manually you won't need to do Sk8ter's "wget" command.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TeamChopsticks/android_kernel_samsung_msm8660-common" path="kernel/samsung/msm8660-common" remote="github" revision="jb-test" />
<project name="CyanogenMod/android_device_samsung_skyrocket" path="device/samsung/skyrocket" />
<project name="CyanogenMod/android_device_samsung_msm8660-common" path="device/samsung/msm8660-common" />
<project name="TeamChopsticks/proprietary_vendor_samsung" path="vendor/samsung/" remote="github" revision="jellybean" />
</manifest>

. build/envsetup.sh
vendor/cm/get-prebuilts
CM_EXTRAVERSION=-yourname CM_SNAPSHOT=1 brunch cm_skyrocket-userdebug

Its take hours to setup your first build but your next build will not take as long. You can now kickback and wait for your build to complete.

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] onlychevys:
I would guess on CM's git hub, I'm just now getting in to the cherry picking part myself. On another note,Do you have to do make clobber command each time? I forgot and just did a build in 20 minutes.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
i was in my working directory when i did this command

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

wouldnt that make it goto the working directory

in the steps to get the repo, when would i have issued this command "repo -u init"

the "yourname" i cant remember which name i used lol,
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
I just changed my local manifest from Team Chopsticks kernel repo on github back to the Cyanogenmod kernel repo on github.

And no, you dont necessarily have to rub make clobber, but you would want to if you want to rebuild the kernel. If you were just making some changes to a package like Mms or something, you wouldnt need to. Start a build without running make clobber and then open up Nautilus and check out the /out/target/product/skyrocket directory and youll see what got cleared, and what is still there.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
What do you consider your working directory? It should be your build directory which is "cm10" that is where you have to "repo -u init". You lost me with (in the steps to get the repo, when would i have issued this command "repo -u init") not sure what you mean that should be your first step before starting to build.

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
this is what i did from sk8's guide:

mkdir ~/bin

PATH=~/bin:$PATH

curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

chmod a+x ~/bin/repo

mkdir ~/cm10

cd ~/cm10

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

repo sync -j16

(created the ".repo/local_manifest.xml" and added the code into like u stated)

repo sync -j16

. build/envsetup.sh

vendor/cm/get-prebuilts

repo sync -j16

CM_EXTRAVERSION=-yourname CM_SNAPSHOT=1 brunch cm_skyrocket-userdebug

this code above puts the repo(the stuff that takes hours to dl) into my home directory, which is considered root, yes?
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] onlychevys:
mkdir ~/cm10, that makes the cm10 directory

cd ~/cm10, that puts you in that directory

repo init -u git://github.com/CyanogenMod/android.git -b jellybean, that sets the repo so to speak

repo sync -j16, that sync's your new repo with CyanogenMod/android.git -b jellybean.

The only way your .repo file could be in you home dir. would be missing the command: cd~cm10 because you was still in your home dir.

I'm just kind of trying to tell you the way I wish I was told, If you already know what I said then I'm sorry.

And to everyone else here esp. Roger,m4570d0n, OP and anyone else who I didn't include I JUST WANT TO SAY THANKS AGAIN!! I would not be where I'm at without ya'll!
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
thats what i dont get, i know for a fact i was in the cm10 directory when issuing the command "repo init -u git://github.com/CyanogenMod/android.git -b jellybean" and its happened twice
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] onlychevys:
You know that the .repo file won't show without ctrl+h right? Or click view show hidden files. I would just do Like I think Roger said and copy and paste into cm10 folder
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] IllegalOpcode:
Did you cd into the directory or are you looking at the dir with the file manager?

Just a question no malice intended.

You can try copying the .repo directory to ~/cm10 once there do a "repo sync"
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
I have posted the steps for installing and building unofficial CM10 for the first time up front in post #1. Hopefully, it will alleviate some of the confusion of getting an environment up and running. I am up for giving some instructions for AOKP builds as well, but will need somebody to PM me the actual complete set of steps. Been out with my family all day, so expect updates on builds and testing to be held off until at least this evening. But, it will all get done. Also, anyone who wants to weigh in on some of the more advanced steps, let me know. The more info we have up front, the less basic questions we should get back here; at least that's the goal. Any help will be appreciated and credit will always be given to those taking their time to assist.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] vincom:
i knew that

no worries, im a newb to linux(but i know dos), i got a thick skin,

i typed "cd ~/cm10" in terminal

"repo sync" in the cm10 directory or the .repo directory

i copied the files to cm10

but after issuing these commands:

". build/envsetup.sh

vendor/cm/get-prebuilts

repo sync -j16

CM_EXTRAVERSION=-yourname CM_SNAPSHOT=1 brunch cm_skyrocket-userdebug"

i see new files are getting created in my home directory, .xsession-errors, .htoprc
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] roger_n:
By

"repo sync" in the cm10 directory or the .repo directory

Run the "repo" command in the "cm10/" directory not ".repo"

see new files are getting created in my home directory, .xsession-errors, .htoprc

Don't worry about those files they are normal LInux files.

I've been gone for about 5 hours are you building yet?

@BMP good job on tutorial in the OP I do things slightly different but those instructions will work to get you building.

Roger
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] BMP7777:
Let me know of any relevant differences or additions and I'll get em in place. I want the basics completely covered so everyone can concentrate on learning all of the other points instead of spending days getting the environment together like I did.
[AT&T Samsung Galaxy S II Skyrocket SGH-I727] Decepticaons:
When i write my tutorial ill make sure i add all the issues i ran into. I think there were 2 or 3 additional programs i had to install.