Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,785,865 Members 49,958 Now Online
XDA Developers Android and Mobile Development Forum

[Issue]when using "repo init"

Tip us?
 
OmarBizreh
Old
#1  
OmarBizreh's Avatar
Recognized Developer - OP
Thanks Meter 3,327
Posts: 1,953
Join Date: Oct 2011
Location: Damascus

 
DONATE TO ME
Default [Issue]when using "repo init"

Good evening friends.

As the title says, I'm having an issue with using: repo init
My problem started here:

I always get: Product Not Found / Access Denied in the repo file instead of the actual script. Later I was able to obtain the file manually, then got stuck here:

Quote:
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
Output:

if I'm not mistaken my problem relies in the file: Repo, in line 6 it says: repo_url='https://gerrit.googlesouce.com/git-repo"
Google blocks access for my region, if any one would kindly suggest a way to go around it
So far I've tried the following steps but always failed:I've also tried setting a proxy for terminal yet no success.


and of course I'm following this guid: http://wiki.cyanogenmod.org/w/Build_for_i9300


Please note I'm asking for a VPN / proxy / way to download the source code and bypass Google restrictions to my region and not to teach me how to build from source (because I sometimes write in a way that make other understand the exact opposite of what I wanted )

Any help appreciated
Have a nice day
The Following User Says Thank You to OmarBizreh For This Useful Post: [ Click to Expand ]
 
mithun46
Old
#2  
mithun46's Avatar
Recognized Contributor
Thanks Meter 1,660
Posts: 1,232
Join Date: Oct 2012
Location: ▒▅|▆|█|▆|▅▒

 
DONATE TO ME
Quote:
Originally Posted by DeepUnknown View Post
Good evening friends.

As the title says, I'm having an issue with using: repo init
My problem started here:



I always get: Product Not Found / Access Denied in the repo file instead of the actual script. Later I was able to obtain the file manually, then got stuck here:


Output:


if I'm not mistaken my problem relies in the file: Repo, in line 6 it says: repo_url='https://gerrit.googlesouce.com/git-repo"
Google blocks access for my region, if any one would kindly suggest a way to go around it
So far I've tried the following steps but always failed:I've also tried setting a proxy for terminal yet no success.


and of course I'm following this guid: http://wiki.cyanogenmod.org/w/Build_for_i9300


Please note I'm asking for a VPN / proxy / way to download the source code and bypass Google restrictions to my region and not to teach me how to build from source (because I sometimes write in a way that make other understand the exact opposite of what I wanted )

Any help appreciated
Have a nice day
put this in bin
If you consider my efforts worthwhile then Donate or Thank me
The Following 2 Users Say Thank You to mithun46 For This Useful Post: [ Click to Expand ]
 
OmarBizreh
Old
#3  
OmarBizreh's Avatar
Recognized Developer - OP
Thanks Meter 3,327
Posts: 1,953
Join Date: Oct 2011
Location: Damascus

 
DONATE TO ME
Default Re: [Issue]when using "repo init"

Quote:
Originally Posted by mithun46 View Post
put this in bin
Thanks I will try it out once I'm back home

Sent from my GT-I9300 using xda app-developers app
The Following User Says Thank You to OmarBizreh For This Useful Post: [ Click to Expand ]
 
mithun46
Old
#5  
mithun46's Avatar
Recognized Contributor
Thanks Meter 1,660
Posts: 1,232
Join Date: Oct 2012
Location: ▒▅|▆|█|▆|▅▒

 
DONATE TO ME
Quote:
Originally Posted by DeepUnknown View Post
It doesn't work, I still get the same error: Gets https://gerrit.googlesource.com/git-repo/create.bundle
I cannot access because my region is blocked, any other way around it !?
extract this and put it in the folder you want to sync the source then later rename the repo folder to .repo then
in terminal cd to that folder then do the repo init blablabla thing
If you consider my efforts worthwhile then Donate or Thank me
The Following 2 Users Say Thank You to mithun46 For This Useful Post: [ Click to Expand ]
 
OmarBizreh
Old
#6  
OmarBizreh's Avatar
Recognized Developer - OP
Thanks Meter 3,327
Posts: 1,953
Join Date: Oct 2011
Location: Damascus

 
DONATE TO ME
Quote:
Originally Posted by mithun46 View Post
extract this and put it in the folder you want to sync the source then later rename the repo folder to .repo then
in terminal cd to that folder then do the repo init blablabla thing
Thanks a lot for your help, repo is being synced right now
 
mithun46
Old
#10  
mithun46's Avatar
Recognized Contributor
Thanks Meter 1,660
Posts: 1,232
Join Date: Oct 2012
Location: ▒▅|▆|█|▆|▅▒

 
DONATE TO ME
u r a rd right ?
use xda's build server man
If you consider my efforts worthwhile then Donate or Thank me

The Following User Says Thank You to mithun46 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes