SOLVED - - - Help! I messed up my repos - Omni Q&A

SOLVED
During sync I had a blackout so I messed up my REPOS.
I manage to near fix it but don't know how to fix this problem.
...........
Fetching project platform/external/genext2fs
Fetching project platform/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.6
error: unable to resolve reference refs/remotes/omnirom/android-4.3: File o directory non esistente
Da https://github.com/omnirom/android_frameworks_base
! [nuovo branch] android-4.3 -> omnirom/android-4.3 (impossibile aggiornare il ref locale)
Fetching project platform/external/mp4parser
Fetching projects: 36% (137/378) Fetching project device/samsung/toro
Fetching project platform/hardware/qcom/keymaster
Fetching project platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7
Fetching projects: 37% (140/378) Fetching project platform/frameworks/opt/net/voip
.................
Fetching projects: 99% (375/378) error: unable to resolve reference refs/remotes/omnirom/android-4.3: File o directory non esistente
Da https://github.com/omnirom/android_frameworks_base
! [nuovo branch] android-4.3 -> omnirom/android-4.3 (impossibile aggiornare il ref locale)
error: Cannot fetch android_frameworks_base
error: Exited sync due to fetch errors
Can someone help me?

philidor said:
Fetching projects: 99% (375/378) error: unable to resolve reference refs/remotes/omnirom/android-4.3: File o directory non esistente
Da https://github.com/omnirom/android_frameworks_base
! [nuovo branch] android-4.3 -> omnirom/android-4.3 (impossibile aggiornare il ref locale)
error: Cannot fetch android_frameworks_base
error: Exited sync due to fetch errors
Can someone help me?
Click to expand...
Click to collapse
I am assuming that your manifests are intact.
Can remove the below directory and try again, that would re-download the frameworks_base from scratch.
Code:
rm -rf ~/android/omni/.repo/projects/frameworks/base.git

Related

[Q] Repo sync issues ?

Hi everyone !
I want to port OmniRom to (serranoltexx) Galaxy S4 Mini.
When I use repo sync command I get some errors like that
Code:
error: RPC failed; result=56, HTTP code = 200 MiB | 16 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: The requested URL returned error: 406 while accessing https://android.googlesource.com/platform/external/apache-harmony/info/refs
fatal: HTTP request failed
error: Cannot fetch android_external_clangMiB | 86 KiB/s s
warn: --force-broken, continuing to sync
Fetching project platform/external/bzip2
What should I do ?
Darktitor said:
Hi everyone !
I want to port OmniRom to (serranoltexx) Galaxy S4 Mini.
When I use repo sync command I get some errors like that
Code:
error: RPC failed; result=56, HTTP code = 200 MiB | 16 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: The requested URL returned error: 406 while accessing https://android.googlesource.com/platform/external/apache-harmony/info/refs
fatal: HTTP request failed
error: Cannot fetch android_external_clangMiB | 86 KiB/s s
warn: --force-broken, continuing to sync
Fetching project platform/external/bzip2
What should I do ?
Click to expand...
Click to collapse
looks like server error. wait a while and try again
Ok
I'll wait a week and try again
Thanks for reply
"Envoyé depuis mon GT-I9195 avec Tapatalk"
Darktitor said:
Ok
I'll wait a week and try again
Thanks for reply
"Envoyé depuis mon GT-I9195 avec Tapatalk"
Click to expand...
Click to collapse
usually just a few hours does the trick

[Q&A] [ROM][DEV] CyanogenMod 7.2 - BroadcomCM [TOTORO] [RC 4 - 09/03/2014]

Q&A for [ROM][DEV] CyanogenMod 7.2 - BroadcomCM [TOTORO] [RC 4 - 09/03/2014]
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [ROM][DEV] CyanogenMod 7.2 - BroadcomCM [TOTORO] [RC 4 - 09/03/2014]. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
cannot sync from repo any updated repo of cm 7 for sgy
Code:
Fetching project BroadcomCM/android_frameworks_base
fatal: remote error:
BroadcomCM/BroadcomCM/android_frameworks_base is not a valid repository name
Email [email protected] for help
fatal: remote error:
BroadcomCM/BroadcomCM/android_frameworks_base is not a valid repository name
Email [email protected] for help
error: Cannot fetch BroadcomCM/android_frameworks_base
warn: --force-broken, continuing to sync
Fetching projects: 25% (1/4) Fetching project BroadcomCM/android_device_samsung_bcm21553-common
fatal: remote error:
BroadcomCM/BroadcomCM/android_device_samsung_bcm21553-common is not a valid repository name
Email [email protected] for help
fatal: remote error:
BroadcomCM/BroadcomCM/android_device_samsung_bcm21553-common is not a valid repository name
Email [email protected] for help
error: Cannot fetch BroadcomCM/android_device_samsung_bcm21553-common
warn: --force-broken, continuing to sync
Fetching projects: 50% (2/4) Fetching project BroadcomCM/android_vendor_samsung
fatal: remote error:
BroadcomCM/BroadcomCM/android_vendor_samsung is not a valid repository name
Email [email protected] for help
fatal: remote error:
BroadcomCM/BroadcomCM/android_vendor_samsung is not a valid repository name
Email [email protected] for help
error: Cannot fetch BroadcomCM/android_vendor_samsung
warn: --force-broken, continuing to sync
Fetching projects: 75% (3/4) Fetching project BroadcomCM/android_device_samsung_totoro
fatal: remote error:
BroadcomCM/BroadcomCM/android_device_samsung_totoro is not a valid repository name
Email [email protected] for help
fatal: remote error:
BroadcomCM/BroadcomCM/android_device_samsung_totoro is not a valid repository name
Email [email protected] for help
knoneNull said:
cannot sync from repo any updated repo of cm 7 for sgy
Code:
Fetching project BroadcomCM/android_frameworks_base
fatal: remote error:
BroadcomCM/BroadcomCM/android_frameworks_base is not a valid repository name
Email [email protected] for help
fatal: remote error:
BroadcomCM/BroadcomCM/android_frameworks_base is not a valid repository name
Email [email protected] for help
error: Cannot fetch BroadcomCM/android_frameworks_base
warn: --force-broken, continuing to sync
Fetching projects: 25% (1/4) Fetching project BroadcomCM/android_device_samsung_bcm21553-common
fatal: remote error:
BroadcomCM/BroadcomCM/android_device_samsung_bcm21553-common is not a valid repository name
Email [email protected] for help
fatal: remote error:
BroadcomCM/BroadcomCM/android_device_samsung_bcm21553-common is not a valid repository name
Email [email protected] for help
error: Cannot fetch BroadcomCM/android_device_samsung_bcm21553-common
warn: --force-broken, continuing to sync
Fetching projects: 50% (2/4) Fetching project BroadcomCM/android_vendor_samsung
fatal: remote error:
BroadcomCM/BroadcomCM/android_vendor_samsung is not a valid repository name
Email [email protected] for help
fatal: remote error:
BroadcomCM/BroadcomCM/android_vendor_samsung is not a valid repository name
Email [email protected] for help
error: Cannot fetch BroadcomCM/android_vendor_samsung
warn: --force-broken, continuing to sync
Fetching projects: 75% (3/4) Fetching project BroadcomCM/android_device_samsung_totoro
fatal: remote error:
BroadcomCM/BroadcomCM/android_device_samsung_totoro is not a valid repository name
Email [email protected] for help
fatal: remote error:
BroadcomCM/BroadcomCM/android_device_samsung_totoro is not a valid repository name
Email [email protected] for help
Click to expand...
Click to collapse
Look on github.com - if you can't find what you are looking for the only person who can help is bieltv3
https://github.com/bieltv3?tab=repositories
A quick look on github.com and I found this repo
https://github.com/broadcomCM/android_device_samsung_totoro
Make sure you have copied the cyanogen_totoro.mk to vendor/cyanogen/products
Stuck - Please help
I tried same steps - now phone keeps booting
As I thought I could do it - I did not take back up also - so - now my phone is bricked - and I dont have another phone - please suggest someting - thanks in advance!!!
Whenever I boot phone in recovery it says
E:Can't mount /cache/recovery/command
E:Can't mount /cache/recovery/log
E:Can't open/cache/recovery/log
E:Can't mount /cache/recovery/last_log
E:Can't open/cache/recovery/last_log
My bad - That I did thought even to try!!!
alakhkaushik said:
I tried same steps - now phone keeps booting
As I thought I could do it - I did not take back up also - so - now my phone is bricked - and I dont have another phone - please suggest someting - thanks in advance!!!
Whenever I boot phone in recovery it says
E:Can't mount /cache/recovery/command
E:Can't mount /cache/recovery/log
E:Can't open/cache/recovery/log
E:Can't mount /cache/recovery/last_log
E:Can't open/cache/recovery/last_log
My bad - That I did thought even to try!!!
Click to expand...
Click to collapse
Assuming you have converted to ext and are using the correct recovery/kernel
All you have to do is format each partition in cwm (system data cache)
Mount all partitions
Flash rom zip
Restart
If all else fails flash stock rom via odin and start again See my firmware thread links in signature
Thanks!
It worked - The catch was - I did not install kernel. I installed kernel and now - its running!
However - FM radio is not working
Can you please suggest something?
alakhkaushik said:
It worked - The catch was - I did not install kernel. I installed kernel and now - its running!
However - FM radio is not working
Can you please suggest something?
Click to expand...
Click to collapse
FM Radio doesn't work on cm7 - if you require this you will need to go back to Stock rom else use Internet radio
Galaxy Y (young) TV GT S5367
a rom totoro é compativel com Galaxy Y (young) TV GT S5367?
Help
I install this rom finish, but i can't install gapp although i had flash that file
p/s: sorry for bad English, i Vietnamese

[SOLVED][HELP] Omni 5.1 Sync stuck at 99%

Hi guys, i was syncing omni rom 5.1 and i am stuck at 99% for past 2 days, when i repo sync -j32 or even repo sync -j32 -f i get stuck at this place:
Code:
Fetching projects: 91% (436/479) Fetching project platform/external/easymock
Fetching project platform/developers/demos
Fetching project platform/hardware/intel/common/libwsbm
Fetching project platform/packages/wallpapers/LivePicker
Fetching project device/generic/goldfish
Fetching projects: 92% (441/479) Fetching project platform/external/mockito
Fetching project platform/external/jsr305
Fetching project platform/external/lzma
Fetching project platform/external/sonivox
Fetching project platform/external/libssh2
Fetching projects: 93% (446/479) Fetching project platform/packages/services/Telecomm
Fetching project device/generic/common
Fetching projects: 99% (475/479)
I have a good internet connection of 4 MBPS and also itz been 4 hours and it hasnt proceeded further. Yesterday also same thing occurred.
@Entropy512 @herna @XpLoDWilD
falconnoob said:
Hi guys, i was syncing omni rom 5.1 and i am stuck at 99% for past 2 days, when i repo sync -j32 or even repo sync -j32 -f i get stuck at this place:
Code:
Fetching projects: 91% (436/479) Fetching project platform/external/easymock
Fetching project platform/developers/demos
Fetching project platform/hardware/intel/common/libwsbm
Fetching project platform/packages/wallpapers/LivePicker
Fetching project device/generic/goldfish
Fetching projects: 92% (441/479) Fetching project platform/external/mockito
Fetching project platform/external/jsr305
Fetching project platform/external/lzma
Fetching project platform/external/sonivox
Fetching project platform/external/libssh2
Fetching projects: 93% (446/479) Fetching project platform/packages/services/Telecomm
Fetching project device/generic/common
Fetching projects: 99% (475/479)
I have a good internet connection of 4 MBPS and also itz been 4 hours and it hasnt proceeded further. Yesterday also same thing occurred.
@Entropy512 @herna @XpLoDWilD
Click to expand...
Click to collapse
Already addressed this on G+, but - -j32 is unadvisable.
I use -j8 myself, and if I encounter problems, the FIRST thing I do is switch to -j1 to figure out what's hanging. -j32 is likely to trigger some sort of DoS attack countermeasures from github or other throttling mechanisms.
Github was really flaky for a few hours Saturday with random hangs. Sometimes the solution to sync problems is simply "wait and try again later". There's nothing we can do if someone DDoSes github again.
Entropy512 said:
Already addressed this on G+, but - -j32 is unadvisable.
I use -j8 myself, and if I encounter problems, the FIRST thing I do is switch to -j1 to figure out what's hanging. -j32 is likely to trigger some sort of DoS attack countermeasures from github or other throttling mechanisms.
Github was really flaky for a few hours Saturday with random hangs. Sometimes the solution to sync problems is simply "wait and try again later". There's nothing we can do if someone DDoSes github again.
Click to expand...
Click to collapse
thank u sir for ur response will check and try again using -j1 -f, and let u know of the status! Can u also help locate repo does this device/generic/common refer to in the omni github? i was unable to identify the repo
falconnoob said:
thank u sir for ur response will check and try again using -j1 -f, and let u know of the status! Can u also help locate repo does this device/generic/common refer to in the omni github? i was unable to identify the repo
Click to expand...
Click to collapse
Don't think so. look in .repo/manifest.xml and you can figure out which repos are Omni and which are still pointed at AOSP.
Entropy512 said:
Don't think so. look in .repo/manifest.xml and you can figure out which repos are Omni and which are still pointed at AOSP.
Click to expand...
Click to collapse
i tried the repo sync -j1 -f and this was the result of it:
Code:
Fetching projects: 98% (471/480) Fetching project platform/external/jsr305
Fetching project platform/external/lzma
Fetching project platform/external/sonivox
Fetching project platform/external/libssh2
Fetching project platform/packages/services/Telecomm
Fetching projects: 99% (476/480) Fetching project device/generic/common
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
EDIT:
I think the sources have now been synced, since i tried a repo sync -f and i got 100% checkout or something like that. Now, i can see multiple folder along with .repo in my omni folder.
falconnoob said:
i tried the repo sync -j1 -f and this was the result of it:
Code:
Fetching projects: 98% (471/480) Fetching project platform/external/jsr305
Fetching project platform/external/lzma
Fetching project platform/external/sonivox
Fetching project platform/external/libssh2
Fetching project platform/packages/services/Telecomm
Fetching projects: 99% (476/480) Fetching project device/generic/common
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
EDIT:
I think the sources have now been synced, since i tried a repo sync -f and i got 100% checkout or something like that. Now, i can see multiple folder along with .repo in my omni folder.
Click to expand...
Click to collapse
Looks like AOSP's git glitched. An HTTP code of 200 (OK) but it bombing is strange though.
I think AOSP has some sort of throttling mechanism that temp-blocks people who sync too often, but I'm not sure.
Entropy512 said:
Looks like AOSP's git glitched. An HTTP code of 200 (OK) but it bombing is strange though.
I think AOSP has some sort of throttling mechanism that temp-blocks people who sync too often, but I'm not sure.
Click to expand...
Click to collapse
now i completed the sync, i tried syncing after a while and i got something like 100% checkout done and blah blah...

[HELP] Need help writing a local_manifest for repo sync

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_millet-common
https://github.com/GalaxyTab4/bliss_vendor_samsung_millet-common
https://github.com/GalaxyTab4/bliss_kernel_samsung_millet
https://github.com/GalaxyTab4/bliss_device_samsung_milletwifi
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
set the revision / branch - in this case lp5.1

AOSP build issues for nexus6p

Hi All,
not sure if the correct thread to post my issues.. i am trying to build my own AOSP rom and has setup my repo for the following:-
repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r45
afte that i ran "repo sync" and left it to running... now 2hrs later i saw that it had got stuck at the following:-
remote: Counting objects: 1, done
remote: Finding sources: 100% (1/1)
remote: Total 1 (delta 0), reused 1 (delta 0)
From https://android.googlesource.com/device/huawei/angler-kernel
* [new tag] android-n-preview-4 -> android-n-preview-4
so i did pressed control+z and stopped repo sync... and then i ran the same again... it started showing of fetching the multiple things but i saw the following error:-
Fetching projects: 36% (164/454) Fetching project platform/prebuilts/qemu-kernel
Fetching project platform/frameworks/opt/widget
Fetching project platform/external/antlr
fatal: Unable to create '/home/rohit/AOSP/.repo/projects/prebuilts/qemu-kernel.git/shallow.lock': File exists.
If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
Fetching project platform/hardware/nvidia/audio
Fetching projects: 37% (168/454) Fetching project platform/external/srtp
Fetching project platform/external/roboto-fonts
Fetching project platform/external/selinux
after that it still went a few lines and then got showed the following error and stopped:-
Fetching project platform/external/google-fonts/dancing-script
error: Cannot fetch platform/prebuilts/qemu-kernel
Fetching project platform/external/fsck_msdos
Fetching projects: 60% (273/454)
error: Exited sync due to fetch errors
now i believe it's due to that "shallow.lock" file which is causing the issues and deleting the same should help me out.. but when i try to open my directory AOSP it shows me no files.. just a blank folder...
this is where i could use some help.. as i am new to it.. and any further research is just confusing me...
Got the answers from the awesome ppl at slim builders collective....
Need to use the following"repo sync --force-sync"
SENT... isn't that enough

Categories

Resources