How do I fix "default.xml not available" while compiling Orange Fox recovery and Red Fox recovery? - General Questions and Answers

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

Related

[request for ics source upload on host website]

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.

[Q] Downloading Kernel from Google

Hello,
I am currently trying to download the Kernel for the Nexus S as described here source.android.com/source/downloading.html in the "Downloading Kernels" part.
The problem is that whenever I start and finish the download afterwards there exists just a .git folder that contains some folders but not the actual kernel source - just a 400 MB .pack file (pack-0826b8c81639016a109ebf4855ff52dca21420ef.pack).
I get the following output from git
Code:
Initialized empty Git repository in /home/gerd/mydroid/samsung/.git/
remote: Counting objects: 2083943, done
remote: Total 2083943 (delta 1744045), reused 2083943 (delta 1744045)
Receiving objects: 100% (2083943/2083943), 417.61 MiB | 336 KiB/s, done.
Resolving deltas: 100% (1744046/1744046), done.
Can anyone help me please.
Thank you very much

Help with ROM build....

So I have decided to take on the task of building SlimBean using the latest Aries kernel. I believe I have everything setup correctly. Trouble is I am getting server timeout errors. I'm not so familiar with Linux and Git and am having trouble finding where these errors are occurring.
My build started like this:
I used the stickied thread and created a new folder inside my /android called "slimRoms"
Next step was to do the init and sync:
Code:
repo init -u git://github.com/SlimRoms/platform_manifest.git -b jb4.2 && mkdir -p .repo/local_manifests && curl https://raw.github.com/teamuserdebug/page/manifests/manifests/cm10.1-aries.xml > .repo/local_manifests/local_manifest.xml && repo sync
The reason that is different from the stickied thread is due to a local_manifests not found error. When I would open it it would say something like " you are being redirected" and would provived the link I used.
It goes threw the sync for a bit then errors out after maybe 5-10 minutes.
There is an error at line 1852 in the log.
Code:
52 77.8M 52 40.5M 0 0 520k 0 0:02:33 0:01:19 0:01:14 533kerror: Cannot fetch teamuserdebug/android_device_samsung_aries-common
Receiving objects: 1% (5737/383283), 1.65 MiB | 357 KiB/s
I get this as well:
Code:
[email protected]:~$ cd ~/android/slimRoms
[email protected]:~/android/slimRoms$ repo sync
Fetching projects: 4% (14/337) fatal: remote error: Git repository not found
fatal: remote error: Git repository not found
Fetching projects: 11% (38/337) % Total %
Is this just something I'll have to wait out? Or am I doing it all wrong :/

{COMPILING ERROR HELP!}

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?
Duplicate thread closed

Git fails on merging security updates 04/2022 (ArrowOS-11.0)

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

Categories

Resources