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.
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
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
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
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