Tutorial for downloading the cyanogenmod source code. - Forum - ARCTABLET NEWS


Please consider registering


— Forum Scope —

— Match —

— Forum Options —

Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?

ClockworkMod (CWM) Recovery easy install for RK3066 and RK3188 -- TWRP/CWM Flash-Tool and root for RK3288

 Please donate to support OMA and CrewRKTablets firmware work, thank you !

sp_Feed sp_TopicIcon
Tutorial for downloading the cyanogenmod source code.

Forum Posts: 78
Member Since:
sp_UserOfflineSmall Offline
2012/01/12 - 02:10
sp_Permalink sp_Print sp_EditHistory

as some may have noticed ive been having a few problems getting the cyanogen source code to download properly. files missing and what not. since i fixed the problems i thought i might share it with everyone.


to download the source code we first need to make a couple of folders in our home folder.

mkdir -p ~/bin

mkdir -p ~/android/system

curl https://dl-ssl.google.com/dl/googlesource/git-repo/repomake a folder in android/system call it prebuilt and unzip the file into it.

New Member
Forum Posts: 1
Member Since:
sp_UserOfflineSmall Offline
2012/10/30 - 15:10
sp_Permalink sp_Print sp_EditHistory

Working on getting a local copy of the cyanogenmod source code and followed your link, only to find a 404 error.  Leaving this message for others that find this tutorial via Google, I believe the code is now on github.  If I get things sorted out, I will try and write up my steps here for others to follow.


OK, I think I have had success.  According to my notes, this is what I did (on 64-bit Xubuntu 12.04):

Installed mercurial (and mercurial-common) via Synaptic (provided hg).  I am not sure this is necessary now because I don't think hg was used by the repo script.  It was from an earlier attempt.


(I already had repo installed from getting AOSP, but you need repo installed, and in your path.  For me, ~/bin is in my path)

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

chmod u+x ~/bin/repo


cd <source directory head>

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

repo sync -j 4


This seems to have worked, I now have over 9GB in the directory but I haven't had a chance to start building yet (before I got too engrossed in that, I wanted to make sure I updated this post for anyone else trying to get the source as I was).

I believe you can change the -b argument to gingerbread (or some such) to get a version other than Ice Cream Sandwich.
Hope this helps!

Forum Timezone: Europe/Paris

Most Users Ever Online: 749

Currently Online: admin, test28
201 Guest(s)

Currently Browsing this Page:
2 Guest(s)

Top Posters:

Oma7144: 5817

globula_neagra: 2424

finless: 604

DarthJabba: 551

exelletor: 450

JochenKauz: 450

cracktech: 432

maikal: 394

Newest Members:







Forum Stats:

Groups: 10

Forums: 185

Topics: 5938

Posts: 58991


Member Stats:

Guest Posters: 43

Members: 257385

Moderators: 5

Admins: 1

Administrators: admin

Moderators: globula_neagra, exelletor, JochenKauz, Oma7144, cracktech