Hi, I'm starting to build Android ROM's, I tryed using my PC but sync the repo takes so much time because my internet conection is slow, for that reason, I bought a Google cloud platform, I set ubuntu 14.04LTS and I started to installing a few things, but when everything is ready when I use: "repo init -u https://github.com/LineageOS/android_device_lge_d851.git -b cm-14.1" I get this error:
Get https://gerrit.googlesource.com/git-repo/clone.bundle
... A new repo command ( 1.23) is available.
... You should upgrade soon:
cp /home/jesusgabriel_91/ArtxOS/.repo/repo/repo /usr/bin/repo
Get https://github.com/LineageOS/android_device_lge_d851.git
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
remote: Counting objects: 308, done.
remote: Total 308 (delta 0), reused 0 (delta 0), pack-reused 308
Receiving objects: 100% (308/308), 43.57 KiB | 0 bytes/s, done.
Resolving deltas: 100% (162/162), done.
From https://github.com/LineageOS/android_device_lge_d851
* [new branch] cm-11.0 -> origin/cm-11.0
* [new branch] cm-12.0 -> origin/cm-12.0
* [new branch] cm-12.1 -> origin/cm-12.1
* [new branch] cm-13.0 -> origin/cm-13.0
* [new branch] cm-14.0 -> origin/cm-14.0
* [new branch] cm-14.1 -> origin/cm-14.1
* [new branch] stable/cm-11.0 -> origin/stable/cm-11.0
* [new branch] stable/cm-12.0-YNG3C -> origin/stable/cm-12.0-YNG3C
* [new branch] stable/cm-12.0-YNG4N -> origin/stable/cm-12.0-YNG4N
* [new branch] stable/cm-12.1-YOG7D -> origin/stable/cm-12.1-YOG7D
fatal: manifest 'default.xml' not available
fatal: manifest default.xml not found
I would be so grateful if someone tell me if I'm missing something, I installed phablet-tools, Java 8, Git and updated everything...
First of all, try installing java 7 (tons of guides on how to do that), second of all, have you tried the linux version of the good 'ol "have you tried turning it on and off again?" by running the command
Code:
sudo apt-get update && sudo apt-get upgrade
Related
would someone please upload ics source once downloaded, i don't have my repositories setup because i had to reinstall ubuntu and lost everything, so please upload!!!
Only if you promise to spam some more forum sections with your request.
Sent from my SAMSUNG-SGH-I777
That's my bad, I didn't mean to create it in the Q&A, and I didn't wanna create it there in the because no one checks there anymore...
So I downloaded everything, now when following the instructions of http://source.android.com/source/building.html I get this...
Code:
[email protected]:~/WORKING_DIRECTORY$ source build/envsetup.sh
bash: build/envsetup.sh: No such file or directory
[email protected]:~/WORKING_DIRECTORY$ . build/envsetup.sh
bash: build/envsetup.sh: No such file or directory
What am I doing wrong???
EDIT!!!!!
results from repo sync:
Code:
[email protected]:~/WORKING_DIRECTORY$ repo sync
remote: Counting objects: 2997, done
remote: Finding sources: 100% (37/37)
remote: Getting sizes: 107% (15/14)
remote: Compressing objects: 100% (8/8)
Fetching projects: 13% (29/221) Receiving objects: 0% (28/2991), 131.97 KiB Fetching projects: 14% (31/221) Receiving objects: 0% (28/2991), 387.89 KiB Fetching projects: 16% (36/221) Receiving objects: 0% (28/2991), 835.75 KiB Fetching projects: 18% (40/221) Receiving objects: 0% (28/2991), 1.38 MiB | Fetching projects: 19% (42/221) Receiving objects: 0% (28/2991), 1.57 MiB | Fetching projects: 20% (45/221) Receiving objects: 0% (28/2991), 1.94 MiB | Fetching projects: 21% (47/221) Receiving objects: 0% (28/2991), 2.13 MiB | Fetching projects: 23% (51/221) Receiving objects: 0% (28/2991), 2.50 MiB | Fetching projects: 24% (54/221) Receiving objects: 0% (28/2991), 3.07 MiB | Fetching projects: 26% (58/221) Receiving objects: 0% (28/2991), 3.25 MiB | Fetching projects: 27% (60/221) Receiving objects: 0% (28/2991), 3.44 MiB | Fetching projects: 28% (62/221) Receiving objects: 0% (29/2991), 3.82 MiB | Fetching projects: 30% (67/221) Receiving objects: 0% (29/2991), 4.38 MiB | Fetching projects: 32% (71/221) Receiving objects: 0% (29/2991), 4.94 MiB | Fetching projects: 33% (73/221) Receiving objects: 0% (29/2991), 5.13 MiB | Fetching projects: 34% (76/221) Receiving objects: 0% (29/2991), 5.50 MiB | Fetching projects: 36% (80/221) Receiving objects: 0% (29/2991), 5.69 MiB | Fetching projects: 37% (82/221) fatal: write error: Input/output error
error: unable to resolve reference refs/remotes/aosp/ics-factoryrom-2-release: Success
From https://android.googlesource.com/platform/external/lohit-fonts
! [new branch] ics-factoryrom-2-release -> aosp/ics-factoryrom-2-release (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/ics-mr0: Success
! [new branch] ics-mr0 -> aosp/ics-mr0 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/master: Success
! [new branch] master -> aosp/master (unable to update local ref)
Fetching projects: 47% (104/221) fatal: Not a git repository: '/home/braxton/WORKING_DIRECTORY/.repo/projects/external/quake.git'
fatal: Not a git repository: '/home/braxton/WORKING_DIRECTORY/.repo/projects/external/safe-iop.git'
fatal: Not a git repository: '/home/braxton/WORKING_DIRECTORY/.repo/projects/external/quake.git'
remote: Counting objects: 2997, done
remote: Finding sources: 100% (37/37)
remote: Getting sizes: 107% (15/14)
remote: Compressing objects: 100% (8/8)
error: unable to resolve reference refs/remotes/aosp/ics-factoryrom-2-release: Success
From https://android.googlesource.com/platform/external/lohit-fonts
! [new branch] ics-factoryrom-2-release -> aosp/ics-factoryrom-2-release (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/ics-mr0: Success
! [new branch] ics-mr0 -> aosp/ics-mr0 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/master: Success
! [new branch] master -> aosp/master (unable to update local ref)
fatal: Not a git repository: '/home/braxton/WORKING_DIRECTORY/.repo/projects/external/safe-iop.git'
error: Cannot fetch platform/external/quake | 298 KiB/s
fatal: Not a git repository: '/home/braxton/WORKING_DIRECTORY/.repo/projects/external/skia.git'
error: Cannot fetch platform/external/lohit-fonts8 KiB/s
error: Cannot fetch platform/external/safe-iop 292 KiB/s
fatal: Not a git repository: '/home/braxton/WORKING_DIRECTORY/.repo/projects/external/skia.git'
error: Cannot fetch platform/external/skia MiB | 298 KiB/s
fatal: write error: Input/output error5.49 MiB | 291 KiB/s
fatal: index-pack failed
error: Cannot fetch device/samsung/tuna
error: Exited sync due to fetch errors
[email protected]:~/WORKING_DIRECTORY$
pulled fine the first time. this is the resync about 3 hours later.
Code:
[email protected]:~/ics$ repo sync -j8
remote: Counting objects: 78, done
remote: Finding sources: 100% (44/44)
remote: Getting sizes: 101% (54/53)
remote: Compressing objects: 100% (19/19)
remote: Total 44 (delta 23), reused 43 (delta 23)
Unpacking objects: 100% (44/44), done.
From https://android.googlesource.com/platform/sdk
4fa753b..87ae4cb master -> aosp/master
Fetching projects: 100% (228/228), done.
i dont think its ready yet.
Pirateghost said:
pulled fine the first time. this is the resync about 3 hours later.
Code:
[email protected]:~/ics$ repo sync -j8
remote: Counting objects: 78, done
remote: Finding sources: 100% (44/44)
remote: Getting sizes: 101% (54/53)
remote: Compressing objects: 100% (19/19)
remote: Total 44 (delta 23), reused 43 (delta 23)
Unpacking objects: 100% (44/44), done.
From https://android.googlesource.com/platform/sdk
4fa753b..87ae4cb master -> aosp/master
Fetching projects: 100% (228/228), done.
i dont think its ready yet.
Click to expand...
Click to collapse
Well I will be resyncing soon to see if anything new is there...
Why did you add the -j8 at the end of the repo command?
Sent from my SAMSUNG-SGH-I897 using xda premium
b-eock said:
Well I will be resyncing soon to see if anything new is there...
Why did you add the -j8 at the end of the repo command?
Sent from my SAMSUNG-SGH-I897 using xda premium
Click to expand...
Click to collapse
this is the best explanation i have seen:
(you can use -j`grep 'processor' /proc/cpuinfo | wc -l` to run at full cpu speed. -j# (# means twice the amount of cores in your computer) means jobs. I will compare this to workers, your cpu could be a dual core, quad core and/or have hyperthreading (hyperthreading means a quad core will be seen as having 8 cores, I7 are considered this) well each one of your cores is a worker so one worker would be -j2 meaning the worker will handle 2 jobs. If you tell your workers to do more jobs then they won’t be happy being overloaded just like how any worker would be and will actually be slower. Now -j`grep 'processor' /proc/cpuinfo | wc -l` means read your computer’s info and run at optimal speed, now why choose between the 2 well you might not wanna run at max speed and just wanna use only half your power so you use your computer for other things during)
Click to expand...
Click to collapse
pulled from a very nice walkthrough on compiling cm7:
http://forum.xda-developers.com/showthread.php?t=915435
my laptop is a hyperthreaded quad core i7, so technically i could do 16, but i leave it at 8
Wait, I looked at your source and that says the SDK, not the actually ICS ROM...
Sent from my SAMSUNG-SGH-I897 using xda premium
b-eock said:
That's my bad, I didn't mean to create it in the Q&A, and I didn't wanna create it there in the because no one checks there anymore...
Click to expand...
Click to collapse
Closed the other thread and moved this one to general.
OK so, I went to boot up in Linux Ubuntu today, and it won't boot.... ALL of my stuff is in there... I had a UDEV rule file that is setup for all android phones, idk if I can find or make that again... any help? Last night I was D'loading source for ICS, ahh this sucks!
Do any of you know of a windows program to write an ISO to a disk? So I can make Ubuntu have its own partition?
Sent from my SAMSUNG-SGH-I897 using xda premium
b-eock said:
OK so, I went to boot up in Linux Ubuntu today, and it won't boot.... ALL of my stuff is in there... I had a UDEV rule file that is setup for all android phones, idk if I can find or make that again... any help? Last night I was D'loading source for ICS, ahh this sucks!
Do any of you know of a windows program to write an ISO to a disk? So I can make Ubuntu have its own partition?
Sent from my SAMSUNG-SGH-I897 using xda premium
Click to expand...
Click to collapse
This thread is wandering off the plantation. Ask your support question in an appropriate forum. Thread closed.
Forgive me for being a noob, but in my futile attempt to port Firefox OS to the Optimus 2X, I ran in to a problem with config.sh that says:
Code:
[email protected]:~/B2G$ ./config.sh p990
Get https://github.com/JordanRulz/b2g-manifest.git
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
remote: Counting objects: 205, done.
remote: Compressing objects: 100% (100/100), done.
remote: Total 205 (delta 122), reused 165 (delta 87)
Receiving objects: 100% (205/205), 25.82 KiB, done.
Resolving deltas: 100% (122/122), done.
From https://github.com/JordanRulz/b2g-manifest
* [new branch] master -> origin/master
* [new branch] nightly -> origin/nightly
fatal: manifest 'p990.xml' not available
fatal: remote github not defined in /home/jordan/B2G/.repo/manifests/p990.xml
Repo sync failed
Could someone please tell me how to fix this?
Edit: i figured out remote described github. i still have an issue with clone.bundle, though.
Running into this when trying to build a rom from source and porting to my device
Code:
/bin/bash: xsltproc: command not found
/bin/bash: xsltproc: command not found
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-client/src': No such file or directory
find: `../../vendor/unbundled_google/libs/gcm/gcm-server/src': No such file or directory
build/core/base_rules.mk:130: *** hardware/qcom/display/liblight: MODULE.TARGET.SHARED_LIBRARIES.lights.msm8960 already defined by device/samsung/d2-common/liblights. Stop.
Any idea why gcm-client/src and gcm-server/src aren't being found? Sync'd the repo last night and all went good, tried re syncing today after that^ appeared but this came up
Code:
vendor/samsung/: discarding 9 commits
[COLOR="Red"]error: vendor/samsung/: TheMuppets/proprietary_vendor_samsung checkout e8768ff20e740568e96163589796e0749a4bc0f9[/COLOR]
Repo is having problems with loose objects, any help?
Code:
Fetching projects: 7% (24/340) error: object file /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f is empty
[B]fatal: loose object 11f1c4893c0c82909de9012d6c22341c9698732f (stored in /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f) is corrupt[/B]
[B]fatal: The remote end hung up unexpectedly[/B]
remote: Counting objects: 4130, done
remote: Finding sources: 100% (34/34)
remote: Getting sizes: 100% (10/10)
remote: Compressing objects: 100% (10/10)
remote: Total 34 (delta 21), reused 29 (delta 20)
Unpacking objects: 100% (34/34), done.
From https://android-review.googlesource.com/platform/dalvik
953e6b8..bf452d4 master -> aosp/master
Fetching projects: 69% (235/340) error: object file /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f is empty
[B]fatal: loose object 11f1c4893c0c82909de9012d6c22341c9698732f (stored in /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f) is corrupt[/B]
[B]fatal: The remote end hung up unexpectedly[/B]
Fetching projects: 99% (337/340) error: Cannot fetch TheMuppets/proprietary_vendor_samsung
error: Exited sync due to fetch errors
GhostIsBaked said:
Repo is having problems with loose objects, any help?
Code:
Fetching projects: 7% (24/340) error: object file /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f is empty
[B]fatal: loose object 11f1c4893c0c82909de9012d6c22341c9698732f (stored in /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f) is corrupt[/B]
[B]fatal: The remote end hung up unexpectedly[/B]
remote: Counting objects: 4130, done
remote: Finding sources: 100% (34/34)
remote: Getting sizes: 100% (10/10)
remote: Compressing objects: 100% (10/10)
remote: Total 34 (delta 21), reused 29 (delta 20)
Unpacking objects: 100% (34/34), done.
From https://android-review.googlesource.com/platform/dalvik
953e6b8..bf452d4 master -> aosp/master
Fetching projects: 69% (235/340) error: object file /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f is empty
[B]fatal: loose object 11f1c4893c0c82909de9012d6c22341c9698732f (stored in /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/11/f1c4893c0c82909de9012d6c22341c9698732f) is corrupt[/B]
[B]fatal: The remote end hung up unexpectedly[/B]
Fetching projects: 99% (337/340) error: Cannot fetch TheMuppets/proprietary_vendor_samsung
error: Exited sync due to fetch errors
Click to expand...
Click to collapse
cd android/system/vendor
rm -r samsung
cd && cd android/system
repo sync
mithun46 said:
cd android/system/vendor
rm -r samsung
cd && cd android/system
repo sync
Click to expand...
Click to collapse
Thanks, I'll try this as soon as I get home. Still trying to get the hang of this.
Update: Still receiving corrupt loose objects and some fetch errors after running those commands in terminal. Also tried repo sync -f but doesn't help with those fetch errors.
Code:
[email protected]:~$ cd android/system/vendor
[email protected]:~/android/system/vendor$ rm -r samsung
[email protected]:~/android/system/vendor$ cd && cd android/system
[email protected]:~/android/system$ repo sync -j8
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/prebuilts/sdk
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/external/icu4c
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: object file /home/ghost/android/system/.repo/projects/development.git/objects/06/e6c6ad452aec4814e03fbd638ef9f3706aeb99 is empty
[B]fatal: loose object 06e6c6ad452aec4814e03fbd638ef9f3706aeb99 (stored in /home/ghost/android/system/.repo/projects/development.git/objects/06/e6c6ad452aec4814e03fbd638ef9f3706aeb99) is corrupt
fatal: The remote end hung up unexpectedly[/B]
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/packages/apps/CellBroadcastReceiver
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/packages/apps/Tag
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
remote: Counting objects: 2142, done.
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/sdk
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
remote: Compressing objects: 100% (928/928), done.
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/packages/apps/CellBroadcastReceiver
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/prebuilts/sdk
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/external/icu4c
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/packages/apps/Tag
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
[B]error: object file /home/ghost/android/system/.repo/projects/development.git/objects/06/e6c6ad452aec4814e03fbd638ef9f3706aeb99 is empty
fatal: loose object 06e6c6ad452aec4814e03fbd638ef9f3706aeb99 (stored in /home/ghost/android/system/.repo/projects/development.git/objects/06/e6c6ad452aec4814e03fbd638ef9f3706aeb99) is corrupt
fatal: The remote end hung up unexpectedly[/B]
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/sdk
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: Cannot fetch platform/packages/apps/CellBroadcastReceiver
error: Cannot fetch platform/packages/apps/Tag| 601 KiB/s
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
[B]error: Cannot fetch platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6
error: Cannot fetch platform/external/icu4c
error: Cannot fetch platform/prebuilts/sdkMiB | 620 KiB/s
error: Cannot fetch platform/development4 MiB | 620 KiB/s
error: Cannot fetch platform/sdk16), 40.00 MiB | 600 KiB/s [/B]
remote: Total 1916 (delta 1051), reused 1628 (delta 876)
Receiving objects: 100% (1916/1916), 43.82 MiB | 615 KiB/s, done.
[B]error: object file /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/73/420aa3dd4851768229c8636988f0e6a59f58fc is empty
fatal: loose object 73420aa3dd4851768229c8636988f0e6a59f58fc (stored in /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/73/420aa3dd4851768229c8636988f0e6a59f58fc) is corrupt
fatal: index-pack failed[/B]
error: unable to resolve reference refs/remotes/aosp/tools_r22: Success
From https://android-review.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6
! [new branch] tools_r22 -> aosp/tools_r22 (unable to update local ref)
error: Cannot fetch platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6
remote: Counting objects: 2142, done.
remote: Compressing objects: 100% (928/928), done.
remote: Total 1916 (delta 1051), reused 1628 (delta 876)
Receiving objects: 100% (1916/1916), 43.82 MiB | 614 KiB/s, done.
[B]error: object file /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/73/420aa3dd4851768229c8636988f0e6a59f58fc is empty
fatal: loose object 73420aa3dd4851768229c8636988f0e6a59f58fc (stored in /home/ghost/android/system/.repo/projects/vendor/samsung.git/objects/73/420aa3dd4851768229c8636988f0e6a59f58fc) is corrupt
fatal: index-pack failed
error: Cannot fetch TheMuppets/proprietary_vendor_samsung[/B]
error: Exited sync due to fetch errors
Sent from my SGH-T999 using xda app-developers app
So I was compiling Orange fox recovery for a device that isn't known too well. I already created a pitch black recovery and TWRP but I just can't get it to work on these two...
here's the full error :
[email protected]:~/OrangeFox$ repo init -u https://gitlab.com/OrangeFox/Manifest.git -b fox_8.1
Downloading Repo source from https://gerrit.googlesource.com/git-repo
remote: Counting objects: 12, done
remote: Finding sources: 100% (148/148)
remote: Total 148 (delta 79), reused 148 (delta 79)
Receiving objects: 100% (148/148), 170.49 KiB | 3.22 MiB/s, done.
Resolving deltas: 100% (79/79), completed with 28 local objects.
Downloading manifest from https://gitlab.com/OrangeFox/Manifest.git
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 27192 (delta 0), reused 0 (delta 0), pack-reused 27186
Receiving objects: 100% (27192/27192), 2.79 GiB | 15.20 MiB/s, done.
Resolving deltas: 100% (6500/6500), done.
fatal: manifest 'default.xml' not available
fatal: <project> invalid "path": TeamWin/.repo/frameworks/base: bad component: .repo
How do I fix this?
.
jwoegerbauer said:
.
Click to expand...
Click to collapse
Thanks for your input. Are you sure you're not a bot? lol
it's either you have not install repo or 'default.xml' is not available
install repo by doing the following command
==========
cd
mkdir ~/bin
cd ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
==========
doing cd put back you to home directory
also you need to keep typing "PATH=~/bin:$PATH" every time you close the terminal either way you can make this PATH permanent by adding it to .bash_profile
Hey,
I've downloaded the merge-push.sh from https://github.com/ArrowOS/arrow_scripts/blob/arrow/merge-push.sh and am now trying to update my local source (Android-11.0) with the latest Android-11 security updates (https://android.googlesource.com/platform, Branch android-security-11.0.0_r54).
This fails with Git error "fatal: refusing to merge unrelated histories".
My understanding of this error is, that the ArrowOS-Android-11 source (into which I want to merge) is unrelated to the AOSP-Android-11 source (from which I'm trying to receive the updates). If so, I cannot understand this problem, since the ArrowOS code should be a fork or something, such that it originates from the AOSP-Android-11 source.
I've also checked after the failed merge, changes of security update April 2022 have not been incorporated into the ArrowOS code - makes sense, Git failed.
Commands issued:
1. cd WORKING_DIR (in my case /mnt/arrowos/repo_orig)
2. deleting existing code in local copy, e.g. rm -rf packages/apps/Launcher3
3. python3 repo sync -c --force-sync --no-clone-bundle --no-tags -j12
4. git pull https://android.googlesource.com/platform/art android-security-11.0.0_r54
Result:
merging: git pull https://android.googlesource.com/platform/art android-security-11.0.0_r54
warning: keine gemeinsamen Commits
remote: Sending approximately 332.60 MiB ...
remote: Counting objects: 1, done
remote: Finding sources: 100% (329429/329429)
remote: Total 329429 (delta 196968), reused 329208 (delta 196968)
Empfange Objekte: 100% (329429/329429), 277.06 MiB | 2.86 MiB/s, fertig.
Löse Unterschiede auf: 100% (196968/196968), fertig.
Von https://android.googlesource.com/platform/art
* tag android-security-11.0.0_r54 -> FETCH_HEAD
fatal: verweigere den Merge von nicht zusammenhängenden Historien
How do I solve this?
Thanks a lot.
kniffte
Hey there,
alright, I resolved this by checking out the entire repo, not just the part provided by
python3 repo sync -c --force-sync --no-clone-bundle --no-tags -j12
which does not clone everything.
Afterwards, merge worked smoothless - except for the merge conflicts, of course.
Kniffte