I'm trying to download patchrom with git but when i type "repo sync" i get this error
Initializing project MiCode/patchrom_android ...
fatal: '../MiCode/patchrom_android.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
error: Cannot fetch MiCode/patchrom_android
Can someone please help me with this?
thank you
did you find a solution to this problem?
i have been looking for days and cant find anything.
edit
got it working had to use a different version of repo, i thought i had already tried this though, oh well it works now.
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo >~/bin/repo
$ chmod a+x ~/bin/repo
Click to expand...
Click to collapse
Hi.
https://github.com/LiquidSmooth/android/blob/kitkat/README.mkdn
I'm following the previous guide to build LiquidSmooth ROM for LG G2 but i can't find build-liquid.sh because bad sync or fetch errors.
Step 1. curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
Step 2.repo init -u git://github.com/LiquidSmooth/android.git -b kitkat
Step 3. repo sync
Fatal error: Unable to access X is unreachable.
http://www.subirimagenes.net/i/140829120710888289.png
Bye.
Up.
Hi there, I'm extremely new to building a ROM or even to git and other stuff and am now trying to learn to build ROM. I have downloaded the cm12 sources for now, and trying to learn how it works, but seems to have stuck at a location.
I have been following the cm build page instructions for now from this page, and have done following stuff until now:
Make folders:
Code:
mkdir -p ~/bin
$ mkdir -p ~/android/system
Installed the repo command and entered the following to download the "repo" binary and make it executable (runnable):
Code:
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
Put the ~/bin directory in your path of execution
Initialize the CyanogenMod source repository and initialized the repository:
Code:
$ cd ~/android/system/
$ repo init -u https://github.com/CyanogenMod/android.git -b ics
Downloaded the source code
Code:
$ repo sync -j4 -f -c
[*]Get prebuilt apps
Code:
$ cd ~/android/system/vendor/cm
Now when I get to the get prebuilt apps, and I run cd ~/android/system/vendor/cm, I get the
Code:
cd ~/android/system/vendor/cm bash: No such file or directory
I tried opening the location manually, but I find no "vendor" folder under the "android/system" folder. However, there is a "vendor" folder under "android" and that "vendor" consists of folders like "cm", "cyngn" and "sony", where "sony" is related to My phone.
Under system I have folders like "core", "extras", "keymaster", "media", "netd", "qcom", "security" and "vold".
Before You say that I might have not done repo sync properly, it did complete properly. I have attached the image of completion of first time the repo sync was complete. Then a log of second time when the repo sync was done to get the device specific related stuff. I used the -f since the download of source had been interrupted due to the error "error: Exited sync due to fetch errors".
Also, don't know if it matters, but I have built a ROM before on the same system, but it was by following the instructions as posted to do. The sources were all coded to suit My phone, and all I was doing was "repo sync" and building the ROM via source with commands build/envsetup.sh
and breakfast nozomi and used to get a working build.
So please help Me out where I went wrong as I do want to learn to how to build a ROM.
Edit:
I had also tried searching for "get-prebuilts", "envsetup.sh" too, but couldn't find them either, and yes, I was always in the root directory of the source code (~/android/system).
Same issue here. Ironically I can build AICP (which is Cyanogenmod based). I can build any AOSP Rom without compiling problems also. This is a Cyanogenmod thing. It's also frustrating that even if you do manage to compile it, you probably won't be able to flash it. That happened to me with 5.0
Just for kicks, what is your OS? I'm running Linux Peppermint. I wonder if that could be the issue, since Ubuntu is recommended?
Check your java & sdk version
While Bryan Hundven shows us how to mirror all of CM source code locally to your machine, I want to do the same for a specific branch, e.g. cm-12.0. Disconnecting myself from Internet, I tried the following without any success,
Code:
cd /mnt/Mirror
mkdir CM12.0_Mirror
cd CM12.0_Mirror
repo init -u git://github.com/CyanogenMod/android.git -b cm-12.0 --mirror
repo sync -j 4
cd ..
mkdir CM12.0_Work
cd CM12.0_Work
repo init file:///mnt/Mirror/CM12.0_Mirror -b cm-12.0
The error message I received is the following:
fatal: '/mnt/Mirror/CM12.0_Mirror/manifest.xml' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Click to expand...
Click to collapse
Instead of the last command, if I issue the following
Code:
repo init -u git://github.com/CyanogenMod/android.git --reference -b cm-12.0
The error message I received is the following:
fatal: unable to connect to github.com:
github.com: Name or service not known
Click to expand...
Click to collapse
Hi everyone!
I'm trying to build LineageOS 15.1 for my Samsung Galaxy S5 - klte. Everything is good until I start compiling and then the build fails with an error "ninja failed with: exit status 1".
I've gone through the output from the build, but I can't find anything that sticks out. I also have tried Googling the problem, but I can't find anything that matches my problem. Here are my build steps:
## Create the directories
mkdir -p ~/bin
mkdir -p ~/android/lineage
## Install the repo
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
## Put the ~/bin directory in my path
nano ~/.profile
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
source ~/.profile
## Initialize the source repository
cd ~/android/lineage
repo init -u https://github.com/LineageOS/android.git -b lineage-15.1
## Download the source code
repo sync -f --force-sync -j8 -c
source build/envsetup.sh
breakfast klte
cd ~/android/lineage/device/samsung/klte
./extract-files.sh
cd ~/android/lineage
export USE_CCACHE=1
./prebuilts/sdk/tools/jack-admin kill-server
export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx15g"
./prebuilts/sdk/tools/jack-admin start-server
## Prepare the device-specific code
source build/envsetup.sh
breakfast klte
## Start the build
croot
brunch klte
Here is a link for the output from the build:
http://www.ohsmeg.com/bill/projects/android/lineageos/ninja_error.html
My build machine is an i7-950 with 16gb of memory, running Ubuntu 16.04 headless.
Any suggestions?
Thanks!
zog