{COMPILING ERROR HELP!} - 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?

Duplicate thread closed

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

[Q] B2G:remote github not defined

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.

Kernel source code uploading to gthub.

i have done make clean && make mrproper but i have problem uploading source code
see:>
Code:
Counting objects: 47221, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (46257/46257), done.
Writing objects: 100% (47221/47221), 275.93 MiB | 56.00 KiB/s, done.
Total 47221 (delta 5715), reused 0 (delta 0)
remote: error: GH001: Large files detected.
remote: error: Trace: d2d75d761936f36b463dce53863c4357
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File .tmp_vmlinux1 is 119.97 MB; this exceeds GitHub's file size limit of 100 MB
remote: error: File .tmp_vmlinux2 is 121.28 MB; this exceeds GitHub's file size limit of 100 MB
remote: error: File vmlinux is 121.28 MB; this exceeds GitHub's file size limit of 100 MB
To https://github.com/vinay94185vinay/Flamingo-kernel.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://github.com/vinay94185vinay/Flamingo-kernel.git'
[email protected]:~/android/xperia/D2212-02/kernel$
IMHO that tmp_vmlinux files are not necessary. I would delete it.
Vynikal said:
IMHO that tmp_vmlinux files are not necessary. I would delete it.
Click to expand...
Click to collapse
thank,s
i will delete them.
but what does IMHO mean?
vinay said:
thank,s
i will delete them.
but what does IMHO mean?
Click to expand...
Click to collapse
Dunno, maybe some cache file?
But tmp means temporary, therefore sth useless
Vynikal said:
Dunno, maybe some cache file?
But tmp means temporary, therefore sth useless
Click to expand...
Click to collapse
Finally it,s uploaded.
It's the linux kernel ....Probably of the host system ...

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

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

Categories

Resources