I keep getting this error while trying to sync the 10.2 repos, can anybody help me with this PLEASE?
from terminal:
[email protected]:~$ repo init -u https://github.com/CyanogenMod/android.git -b cm-10.2<br />/home/sands/bin/repo: line 2: syntax error near unexpected token `newline'
/home/sands/bin/repo: line 2: `<!DOCTYPE html>'
Any help is appreciated.
OP is at Android Forms.
http://androidforums.com/index.php?posts/6878783
Thanks!
Sent from my Samsung Galaxy Rush with Tapatalk.
Devices: Nook Color, Dell XPS 18, Galaxy Rush (All modded)
crazynapkinman said:
I keep getting this error while trying to sync the 10.2 repos, can anybody help me with this PLEASE?
from terminal:
[email protected]:~$ repo init -u https://github.com/CyanogenMod/android.git -b cm-10.2<br />/home/sands/bin/repo: line 2: syntax error near unexpected token `newline'
/home/sands/bin/repo: line 2: `<!DOCTYPE html>'
Any help is appreciated.
OP is at Android Forms.
http://androidforums.com/index.php?posts/6878783
Thanks!
Sent from my Samsung Galaxy Rush with Tapatalk.
Devices: Nook Color, Dell XPS 18, Galaxy Rush (All modded)
Click to expand...
Click to collapse
matrixzone or rogersb11 ??? If either one of them dont know then it probably cant be done
Related
Hello Guys Im New Lg optimus me/pecan dev so im compiling cm6 for lg optimus me but guys i m having error in downloading source code from cm source from git plz help me im stuck at it and guys plz don't say that cm7 is released then why u need cm6 but cm6 is stable for our device due to that im creating it. im on **ubuntu 10.04 64 bit)
guys im posting full log of commands which is excueted
Code:
[email protected]:~$ mkdir ~/bin
Code:
[email protected]:~$ PATH=~/bin:$PATH
Code:
[email protected]:~$ curl https://dl-s*sl.google.com/dl/googlesource/git-repo/repo[/url] > ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 19933 100 19933 0 0 2529 0 0:00:07 0:00:07 --:--:-- 5052
Code:
[email protected]:~$ chmod a+x ~/bin/repo
Code:
[email protected]:~$ mkdir cm
Code:
[email protected]:~$ cd cm
Code:
[email protected]:~/cm$ repo init -u git://github.com/CyanogenMod/android.git -b froyo
Your identity is: keyur <[email protected]>
If you want to change this, please re-run 'repo init' with --config-name
repo initialized in /home/keyur
Code:
[email protected]:~/cm$ repo sync
Fetching projects: 1% (3/205) android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
error: Cannot fetch platform/bootable/bootloader/legacy
Code:
and guys i also used repo sync -f , repo sync -j1 etc but no resolvement so devs plz help me in downloading cm6 source code
devs plz help me in downloading source
Devs Plz Help Me
Devs Plz dont delete this post i know this is not q/a forum but plz devs help me
it worked for me i download cm6 source in jan
hesoyam27 said:
it worked for me i download cm6 source in jan
Click to expand...
Click to collapse
you downloaded in 2011 jan or 2012 jan
Didn't Got Any help PLz HElp devs
Hello Devs Plz Help me
You won't be able to download froyo sources as after kernel.org wen't down, android sources were moved to android.googlesource.com which doesn't have froyo revisions, the branches/tags start from gingerbread
Also, with ICS being released since about 6 months, that code's pretty much obsolete
You have to modify the repository paths. They're there, just renamed and moved around. You can check the default.xml on the froyo branch of github.com/CyanogenModXT720/android for hints.
Im trying to get the JB source from CM with this
repo init -u git://github.com/CyanogenMod/android.git -b jellybean
and i get the following error:
Get https://gerrit.googlesource.com/git-repo
fatal: Unable to find remote helper for 'https'
and yes, i have the latest version of git and i have curl
any help is greatly appreciated!
Private message antp121 or dmeadows013
Sent from my Galaxy Nexus
I had the repository error and, It is like
[email protected]:~$ git clone git://github.com/TheMuppets/proprietary_vendor_samsung/i9300.git -b cm-10.1
Cloning into 'i9300'...
fatal: remote error:
TheMuppets/proprietary_vendor_samsung/i9300.git is not a valid repository name
Email [email protected] for help
Like This. All Is Matchin. Isn't it?
I would like to know my error's begenning. (Can You just understand, (My english is very not goooood...))
dev.ahchew said:
I had the repository error and, It is like
[email protected]:~$ git clone git://github.com/TheMuppets/proprietary_vendor_samsung/i9300.git -b cm-10.1
Cloning into 'i9300'...
fatal: remote error:
TheMuppets/proprietary_vendor_samsung/i9300.git is not a valid repository name
Email [email protected] for help
Like This. All Is Matchin. Isn't it?
I would like to know my error's begenning. (Can You just understand, (My english is very not goooood...))
Click to expand...
Click to collapse
If you go to:
https://github.com/TheMuppets/proprietary_vendor_samsung/tree/cm-10.1/i9300
And select the "git read only" button. Then press copy to clipboard, you'll find what you're actually wanting to clone is:
git://github.com/TheMuppets/proprietary_vendor_samsung.git
Hey Guys i'm trying to get the AOSP source from github and this is what im getting this (syntax error)
Code:
[email protected]:~/AOKP$ repo init -u https://github.com/AOKP/platform_manifest.git -b jb-mr2
/home/orson/bin/repo: line 1: syntax error near unexpected token `newline'
/home/orson/bin/repo: line 1: `<!DOCTYPE html>'
[email protected]:~/AOKP$
Any help would be great
ODAWGY said:
Hey Guys i'm trying to get the AOSP source from github and this is what im getting this (syntax error)
Code:
[email protected]:~/AOKP$ repo init -u https://github.com/AOKP/platform_manifest.git -b jb-mr2
/home/orson/bin/repo: line 1: syntax error near unexpected token `newline'
/home/orson/bin/repo: line 1: `<!DOCTYPE html>'
[email protected]:~/AOKP$
Any help would be great
Click to expand...
Click to collapse
Looks like you downloaded some HTML page instead of the repo script - re-download repo.
I just got everything working for the first time finally and I'm not sure how to get around this. Every compiling/building guide says to execute the following with appropriate URL and branch, but it gives me the (second) below.
Code:
repo init –u git://github.com/user/android.git –b cm-10.2
Code:
[email protected]:~/android/omni$ repo init -u git://github.com/mike64221/android.git -b android-4.4
/home/mike/bin/repo: line 1: syntax error near unexpected token `newline'
/home/mike/bin/repo: line 1: `<!DOCTYPE html>'
I just can't figure it out. Could anyone help?
Yes, I am (attempting) to build Omni.
Hopefully there'll be some possible solutions by morning so I can go ahead and let it work during school.
Sent from my MB886 using Tapatalk
You downloaded the repo utility wrongly. I'm guessing from a dead link (the HTML file is your repo file, not android.git). Look for the correct location and download it again.
GermainZ said:
You downloaded the repo utility wrongly. I'm guessing from a dead link (the HTML file is your repo file, not android.git). Look for the correct location and download it again.
Click to expand...
Click to collapse
What repo utility? The repo Linux package? If so, where should I download it from? I got the current version from the default Crunchbang/Debian repositories.
Sent from my MB886 using Tapatalk
penser said:
What repo utility? The repo Linux package? If so, where should I download it from? I got the current version from the default Crunchbang/Debian repositories.
Sent from my MB886 using Tapatalk
Click to expand...
Click to collapse
I doubt a system package installed itself to your home directory.
Code:
/home/mike/bin/repo
GermainZ said:
I doubt a system package installed itself to your home directory.
Code:
/home/mike/bin/repo
Click to expand...
Click to collapse
Must have copied the link wrong. (Using this guide http://www.techlila.com/compile-android-rom-from-source-code/) Now I'm getting
Code:
bash: /home/mike/bin/repo: Permission denied
EDIT: Nevermind, got it. Just had to do some digging at http://source.android.com/source/downloading.html.
EDIT: Now getting
Code:
fatal: manifest 'default.xml' not available
fatal: remote caf not defined in /home/mike/android/omni/.repo/manifests/default.xml
will be checking responses periodically, can't try for around 6-7 hours.
EDIT: Reading it now, I need to add a remote for "caf". Yay, more digging.
Looked through the default.xml in class and found the caf remote with no fetch, so I'll have to fix that sometime, then hopefully it'll be all good.
Got home, fixed it up, got it working and now there are issues with the omni repos (another person got the same error as me). Hopefully either overnight build or during-school build works. Thanks for your help!