[HELP] Need help writing a local_manifest for repo sync - Android Q&A, Help & Troubleshooting

I need help writting a local manifest so that I can sync the sources below in order to build cm12.1/Blisspop for the T330/GalaxyTab4 8.0 model. I've tried writing one myself which I will attach(Its in .txt form for xda) but i don't know what i did wrong as it syncs nothing and says it failed to fetch the repo's
https://github.com/GalaxyTab4/bliss_device_samsung_milletwifi
https://github.com/GalaxyTab4/bliss_kernel_samsung_millet
https://github.com/GalaxyTab4/bliss_vendor_samsung_millet-common
https://github.com/GalaxyTab4/bliss_device_samsung_millet-common
Error is as follows
" error: Cannot fetch Evasii0n/bliss_device_samsung_milletwifi
error: Cannot fetch Evasii0n/bliss_kernel_samsung_millet
error: Cannot fetch Evasii0n/bliss_vendor_samsung_millet-common
error: Cannot fetch Evasii0n/bliss_device_samsung_millet-common
error: Exited sync due to fetch errors " I get the same error using the GalaxyTab4 instead of my own fork

Related

[Q] CM9 repo sync error help!!

well i had been trying to download CM9 source (ICS) to build for my device but when i did repo sync i got stuck
here's the error...
Fetching projects: 95% (231/243) fatal: The remote end hung up unexpectedly
Fetching projects: 99% (241/243) fatal: The remote end hung up unexpectedly
error: Cannot fetch CyanogenMod/android_prebuilt
error: Exited sync due to fetch errors
i did repo sync -j16, repo sync etc... also tries rebooting but nothing helps..
chaitanyakaul said:
well i had been trying to download CM9 source (ICS) to build for my device but when i did repo sync i got stuck
here's the error...
Fetching projects: 95% (231/243) fatal: The remote end hung up unexpectedly
Fetching projects: 99% (241/243) fatal: The remote end hung up unexpectedly
error: Cannot fetch CyanogenMod/android_prebuilt
error: Exited sync due to fetch errors
i did repo sync -j16, repo sync etc... also tries rebooting but nothing helps..
Click to expand...
Click to collapse
Check here
http://forum.cyanogenmod.com/topic/39528-cant-dl-source/
editing repo did it work.
Sent from my Galaxy Nexus using Tapatalk
well no it isn't working for me....
I can't get this to work either. repo sync -j16 fails, repo sync fails. I attempted to edit manifest.xml in .repo but it already has https instead of git, so no ****ing idea what to do here.
Here's my errors:
Code:
Fetching projects: 55% (134/243) error: The requested URL returned error: 504 while accessing https://github.com/CyanogenMod/android_external_tinyxml/info/refs
fatal: HTTP request failed
error: The requested URL returned error: 403 while accessing https://github.com/CyanogenMod/android_external_tinyxml/info/refs
fatal: HTTP request failed
error: Cannot fetch CyanogenMod/android_external_tinyxml
error: Exited sync due to fetch errors
[email protected]:~/android/system$ repo sync
Fetching projects: 27% (66/243) error: The requested URL returned error: 403 while accessing https://github.com/CyanogenMod/android_build/info/refs
fatal: HTTP request failed
error: The requested URL returned error: 403 while accessing https://github.com/CyanogenMod/android_device_samsung_tuna/info/refs
**** you for wasting 2 days of my life, github.
I tried to completely redownload the source, but now instead of that one error I get multiple "fatal: HTTP request failed".
edit .repo/manifest.xml
<remote name="github"
fetch="git://github.com/"
review="review.cyanogenmod.com" />
<remote name="github_https"
fetch="https://github.com/"
review="review.cyanogenmod.com" />
<project path="prebuilt" name="CyanogenMod/android_prebuilt" remote="github_https" />
make sure your router is opening git ports, try DMZ mode,
if on ubuntu oneiric python 2.7.2 causes repo to die slowly
use sync -j1
or download and install pypy and edit repo to call that instead of /usr/bin/python
this is currently working for me
Seems like they modified the manifest.xml to look like kfazz one. Now it works fine.
I have inserted these lines in the beginning of the file but I have got the following errors
File "/home/husam/android/system/.repo/repo/main.py", line 366, in <module>
_Main(sys.argv[1:])
File "/home/husam/android/system/.repo/repo/main.py", line 346, in _Main
result = repo._Run(argv) or 0
File "/home/husam/android/system/.repo/repo/main.py", line 121, in _Run
copts, cargs = cmd.OptionParser.parse_args(argv)
File "/home/husam/android/system/.repo/repo/command.py", line 42, in OptionParser
self._Options(self._optparse)
File "/home/husam/android/system/.repo/repo/subcmds/sync.py", line 120, in _Options
self.jobs = self.manifest.default.sync_j
File "/home/husam/android/system/.repo/repo/manifest_xml.py", line 215, in default
self._Load()
File "/home/husam/android/system/.repo/repo/manifest_xml.py", line 255, in _Load
self._ParseManifest(True)
File "/home/husam/android/system/.repo/repo/manifest_xml.py", line 342, in _ParseManifest
(project.name, self.manifestFile))
error.ManifestParseError: duplicate project CyanogenMod/android_prebuilt in /home/husam/android/system/.repo/manifest.xml
which line should be changed?
---------- Post added at 04:23 AM ---------- Previous post was at 04:03 AM ----------
to avoid this erros I have remove this tag from the ./repo/mainfest.xml
<project path="prebuilt" name="CyanogenMod/android_prebuilt" />
because it coused that errors
kfazz said:
make sure your router is opening git ports, try DMZ mode,
if on ubuntu oneiric python 2.7.2 causes repo to die slowly
use sync -j1
or download and install pypy and edit repo to call that instead of /usr/bin/python
this is currently working for me
Click to expand...
Click to collapse
Thanks. İt is very helpful.
I have received the following error after issuing repo sync -j1
Fetching projects: 100% (221/221), done.
Syncing work tree: 3% (7/221) fatal: This operation must be run in a work tree
Syncing work tree: 4% (9/221) fatal: This operation must be run in a work tree
fatal: This operation must be run in a work tree
Syncing work tree: 6% (14/221) fatal: This operation must be run in a work tree
Traceback (most recent call last):
File "/home/christian/Documents/WORKING_ICS/.repo/repo/main.py", line 366, in <module>
_Main(sys.argv[1:])
File "/home/christian/Documents/WORKING_ICS/.repo/repo/main.py", line 346, in _Main
result = repo._Run(argv) or 0
File "/home/christian/Documents/WORKING_ICS/.repo/repo/main.py", line 137, in _Run
result = cmd.Execute(copts, cargs)
File "/home/christian/Documents/WORKING_ICS/.repo/repo/subcmds/sync.py", line 443, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/christian/Documents/WORKING_ICS/.repo/repo/project.py", line 975, in Sync_LocalHalf
self._InitWorkTree()
File "/home/christian/Documents/WORKING_ICS/.repo/repo/project.py", line 1758, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree
to solve it run the same command without -j1
afilopou said:
Check here
http://forum.cyanogenmod.com/topic/39528-cant-dl-source/
editing repo did it work.
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
How did you fix the problem can you please tell me ? The link that you provided is not working.

curl error while initializing and downloading the source

Hey guys, while trying to sync the repo or downloading the sources i get the following error:
curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring.
But the process continues and a few minutes later i get the same error. Can anybody help me with that?
H-Body said:
Hey guys, while trying to sync the repo or downloading the sources i get the following error:
curl: (22) The requested URL returned error: 404 Not Found Server does not provide clone.bundle; ignoring.
But the process continues and a few minutes later i get the same error. Can anybody help me with that?
Click to expand...
Click to collapse
What repo are you syncing?
Beamed from my Galaxy Express using Tapatalk
i am getting the same error ....i m syncing cyanogenmod 11....help please...

Problem with repo..

Hi, im trying to learn "building rom from source.." and i got somewhere..
Now i have a problem with "repo" or something else "block's it"
So, i have repo installed, i already downloaded the sources from google, and yesterday i tried to download the CM device tree for kumquat.
It downloaded a lot of files, i got some "errors"
Code:
Line 30: fatal: Invalid gitfile format: /home/igor/android/.repo/repo/.git/clone.bundle
Line 31: fatal: The remote end hung up unexpectedly
Line 72: curl: (22) The requested URL returned error: 404
Line 409: curl: (22) The requested URL returned error: 404
Line 434: curl: (22) The requested URL returned error: 404
Line 563: curl: (22) The requested URL returned error: 404
but it kept sync-ing, until :
Code:
Fetching projects: 99% (408/412) Fetching project platform/hardware/qcom/keymaster
, and then it stopped downloading, i waited for 1 hour but..
Then i closed the terminal, and shutdown the VitrualPC/PC because i had to..
NOW, i cant sync anything, i have repo, but it says that i need to install it..???
There must be something i can do, im new to linux so.. please help me.
[email protected]:~/android/.repo$ repo --version
repo version v1.12.13
(from https://gerrit.googlesource.com/git-repo)
repo launcher version 1.21
(from /home/igor/bin/repo)
git version 1.7.9.5
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
[GCC 4.6.3]
[email protected]:~/android/.repo$ which repo
/home/igor/bin/repo
[email protected]:~/android/.repo$ cd ../..
[email protected]:~$ repo sync -f
error: command 'sync' requires repo to be installed first.
Use "repo init" to install it here.
[email protected]:~$
Click to expand...
Click to collapse

[FIX] Repo Sync Failed Due To Fetch Errors!

If Repo Sync Fails due to Fetch Errors
Use This Command ->
Code:
repo sync -f
"-f" Means to (continue sync even if a project fails to sync)
Happy Developing​
not working for me as I am trying to do an initial sync from Liquid Smooth Lollipop repo ... without -f flag this error stops me:
error: Cannot fetch android_packages_inputmethods_LatinIME
With the -f flag another error relating to same package stops me a step further LOL:
Fetching projects: 98% (447/456) Fetching project CyanogenMod/android_external_ebtables
Fetching projects: 99% (452/456) fatal: Invalid refspec '+refs/heads/lollipop :refs/remotes/ls/lollipop '
error: Cannot fetch android_packages_inputmethods_LatinIME
warn: --force-broken, continuing to sync
Fetching projects: 100% (456/456), done.
Syncing work tree: 87% (397/456) error: in `sync -j2 -f`: revision lollipop in android_packages_inputmethods_LatinIME not found

Hi I am downloading source code to build Lineage OS 15 but always download fails

Hi I am downloading source code to build Lineage OS 15 but always download fails here::crying:
fatal: The remote end hung up unexpectedly
LineageOS/android_packages_apps_Settings
error: Cannot fetch LineageOS/android_development
error: Cannot fetch LineageOS/android_system_extras
error: Exited sync due to fetch errors

Categories

Resources