[Q] Downloading source for ICS ? - Android Q&A, Help & Troubleshooting

Well i have been downloading the source for the second time now and this time i have some serious doubts.
My internet is a damn slow internet and hence downloading takes a lot of time. Also there is a damn power crisis I don't have power for about half the day (~UPS support ain't lasting that long.) So a few times my PC had to force shut down. Also a few times the downloading will stop (at fetching objects point. Know error but cant fix it.) and then I had to restart by closing the terminal and restarting the download.
My question is will any of this cause a problem cause last time my source was only about 5 gig (right after downloading. Could not build cause i messed up though.).
I use a ubuntu 10.04 32 bit (x86) LTS.
Internet @ 512kbps .
This is what i get when i repo sync -j16
Code:
[email protected]:~$ cd WORKING_DIRECTORY
[email protected]:~/WORKING_DIRECTORY$ repo sync -j16
Fetching projects: 10% (25/248) remote: Counting objects: 15, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 9 (delta 7), reused 8 (delta 6)
Unpacking objects: 100% (9/9), done.
From git://github.com/CyanogenMod/android_external_bluetooth_bluez
f7df2d3..6f8b294 ics -> github/ics
Fetching projects: 16% (40/248) error: The requested URL returned error: 403 while accessing https://android.googlesource.com/device/sample/info/refs
fatal: HTTP request failed
Fetching projects: 25% (62/248) error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/clang/info/refs
fatal: HTTP request failed
Fetching projects: 55% (137/248) error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/libnl-headers/info/refs
fatal: HTTP request failed
Fetching projects: 58% (144/248) error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/lohit-fonts/info/refs
fatal: HTTP request failed
Fetching projects: 62% (154/248) error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/external/qemu-pc-bios/info/refs
fatal: HTTP request failed
Fetching projects: 70% (174/248) error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/hardware/invensense/info/refs
fatal: HTTP request failed
Fetching projects: 75% (186/248) error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/hardware/ti/omap4xxx/info/refs
fatal: HTTP request failed
Fetching projects: 76% (189/248) remote: Counting objects: 17, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 9 (delta 3), reused 8 (delta 2)
Unpacking objects: 100% (9/9), done.
From git://github.com/CyanogenMod/android_frameworks_base
7dd34b8..eb3f4a1 ics -> github/ics
Fetching projects: 93% (231/248) remote: Counting objects: 19735, done.
Fetching projects: 95% (236/248) remote: Compressing objects: 0% (23/7659) Fetching projects: 97% (241/248) remote: Compressing objects: 0% (32/7659) Fetching projects: 98% (244/248) remote: Compressing objects: 1% (78/7659) error: The requested URL returned error: 403 while accessing https://android.googlesource.com/platform/packages/wallpapers/HoloSpiral/info/refs
fatal: HTTP request failed
Fetching projects: 99% (246/248) remote: Compressing objects: 1% (79/7659) remote: Compressing objects: 100% (7659/7659), done.
Receiving objects: 4% (866/19735), 62.92 MiB | 60 KiB/s

Related

Sync issues with new mint install [question]

So I've installed java 6 and other requried packages for android, and the android repo & tools. As well as preformed the inital sync of 10~ GBs of files. But now that I'm changing things in my source folders and trying to re-sync I'm getting this:
Code:
Fetching projects: 13% (48/362) From https://github.com/UnicornButter/external_openssl
* [new branch] jb-mr1 -> pub/jb-mr1
Fetching projects: 80% (290/362) error: Failed connect to github.com:443; Connection refused while accessing https://github.com/CyanogenMod/android_hardware_qcom_bt/info/refs
fatal: HTTP request failed
Fetching projects: 87% (315/362) error: Failed connect to github.com:443; Connection refused while accessing https://github.com/CyanogenMod/android_external_guava/info/refs
fatal: HTTP request failed
Fetching projects: 96% (348/362) error: Failed connect to github.com:443; Connection refused while accessing https://github.com/CyanogenMod/android_external_ipsec-tools/info/refs
fatal: HTTP request failed
I can view all the above repos in my web browser so I'm confused as to why git is being refused. My machine is running linux mint 14 nadia following the JB on ubuntu tut

CyanogenMod repo sync error

Hi all i am trying to sync CM source but keep running into errors this one i can't resolve
Code:
... A new repo command ( 1.20) is available.
... You should upgrade soon:
cp /home/gavster26/android/system/.repo/repo/repo /home/gavster26/bin/repo
Get git://github.com/Gavster26/android_device_sony_tamsui-common-legacy.git
remote: Counting objects: 512, done.
remote: Compressing objects: 100% (184/184), done.
remote: Total 512 (delta 291), reused 512 (delta 291)
Receiving objects: 100% (512/512), 1.99 MiB | 885 KiB/s, done.
Resolving deltas: 100% (291/291), done.
From git://github.com/Gavster26/android_device_sony_tamsui-common-legacy
* [new branch] jellybean -> origin/jellybean
error: revision refs/heads/master in manifests not found
[email protected]:~/android/system$

[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

AOSP help

i am trying to setup aosp in ubuntu 14.04 and i am getting a fatal error when trying to repo sync. any ideas?
fatal: remote error: Service Temporarily Unavailable
remote: Counting objects: 207, done
remote: Finding sources: 100% (506/506)
remote: Total 506 (delta 60), reused 506 (delta 60)
Receiving objects: 100% (506/506), 11.87 MiB | 549.00 KiB/s, done.
Resolving deltas: 100% (60/60), completed with 27 local objects.
fatal: bad object a1d632a7815a0766986c9ff9de501ac1f7afbb7b
error: androidgooglesource/platform/prebuilts/misc[] did not send all necessary objects
error: Cannot fetch platform/prebuilts/misc
warn: --force-broken, continuing to sync
Fetching projects: 100% (455/455)
error: Exited sync due to fetch errors
[email protected]:~/ASDK/workingdir$
what repo is syncing to platform/prebuilts/misc? (you can see that in your manifest xml)
can you "git clone" that repo?
well i got passed that error by doing a complete delete and re-download now im having trouble with the compile stage
including ./external/aac/Android.mk ...
build/core/base_rules.mk:157: *** external/aac: MODULE.TARGET.STATIC_LIBRARIES.libFraunhoferAAC already defined by android/external/aac. Stop.
after reviewing the code i see that it is one of the first files included. why would this be calling this twice?
could this be from not merging the kernel files?
any thoughts
i wont lie i am a complete noob at turning source code in to flash-able images. i have learned a lot from various sources, i actually am taking a liking to this. now i am trying to figure out pre-compiling the kernel and including that with the the build. this is a Android 6.0.1_r3 build. is there much difference in building procedure from android 4-5? any tips and tricks will be greatly appreciated. thanks ahead of time.

repo error

so i was compiling TWRP for A50s... on repo sync i got this:
Aborting
error: prebuilts/clang/host/linux-x86/: platform/prebuilts/clang/host/linux-x86 checkout bbb7fad7b6c38a9b4581873bbb78a063bded00c7
error: Cannot checkout platform/prebuilts/clang/host/linux-x86
Checking out projects: 79% (177/223) platform/prebuilts/gcc/linux-x86/aarch64/aChecking out projects: 79% (178/223) platform/prebuilts/gcc/linux-x86/arm/arm-lChecking out projects: 80% (179/223) platform/prebuilts/gcc/linux-x86/host/x86_Checking out projects: 80% (180/223) platform/prebuilts/gcc/linux-x86/x86/x86_6Checking out projects: 82% (185/223) platform/prebuilts/maven_repo/google-play-Checking out projects: 99% (222/223), done.
error: Unable to fully sync the tree.
error: Checking out local projects failed.
Failing repos:
prebuilts/clang/host/linux-x86
Try re-running with "-j1 --fail-fast" to exit at the first error.
any ideas?
Did you find out how to fix it? I'm having the same probelm.
I fixed it by removing the folder that was causing trouble. For example if "prebuilts/clang/host/linux-x86" failed, then I removed prebuilts with rm -rf prebuilts.

Categories

Resources