Following the thread in the infuse devel forum and the wiki (tried to link but can't link because I'm under 8 posts) everything goes pretty well except the directories that get created after the repo init & sync don't match to the wiki. For example on my machine ~/android/system is empty. However there is a bunch of stuff under ~/.repo but there I don't find neither get-rommanager nor envsetup.sh so I can't build. Guess I need some help. Tia.
--
jbaskew
Did you run repo sync? If you haven't synced the repo, you're not going to have any directories there for you to build anything.
So, inside of ~/android/system you perform the following:
Code:
repo sync -j16
This will pull down all of the source. Continue on with the destructions on the cyanogenmod wiki. You'll want to skip the proprietary files piece, but you will need to go ahead and perform the following:
Code:
~/android/system/vendor/cyanogen/get-rommanager
If you want to be safe:
Code:
repo sync
Followed by:
Code:
. build/envsetup.sh && brunch infuse4g
This is fairly clear in the destructions. You may wish to review the destructions again for clarification; however, I think I touched the main points. HTH!
jbaskew said:
Following the thread in the infuse devel forum and the wiki (tried to link but can't link because I'm under 8 posts) everything goes pretty well except the directories that get created after the repo init & sync don't match to the wiki. For example on my machine ~/android/system is empty. However there is a bunch of stuff under ~/.repo but there I don't find neither get-rommanager nor envsetup.sh so I can't build. Guess I need some help. Tia.
--
jbaskew
Click to expand...
Click to collapse
It sounds like you ran repo sync in ~/ instead of ~/android/system
prata said:
Did you run repo sync? If you haven't synced the repo, you're not going to have any directories there for you to build anything.
So, inside of ~/android/system you perform the following:
Code:
repo sync -j16
This will pull down all of the source. Continue on with the destructions on the cyanogenmod wiki. You'll want to skip the proprietary files piece, but you will need to go ahead and perform the following:
Code:
~/android/system/vendor/cyanogen/get-rommanager
If you want to be safe:
Code:
repo sync
Followed by:
Code:
. build/envsetup.sh && brunch infuse4g
This is fairly clear in the destructions. You may wish to review the destructions again for clarification; however, I think I touched the main points. HTH!
Click to expand...
Click to collapse
The destructions are pretty clear which is why I feel a little goofy asking for help but I'm pretty sure I checked these above. But I'm going start here
Code:
cd ~/android/system
and
Code:
repo sync -j16
...and go from there.
--
jbaskew
Entropy512 said:
It sounds like you ran repo sync in ~/ instead of ~/android/system
Click to expand...
Click to collapse
Ok well based on these replies I'm feeling pretty confident that I've made some simple mistake. So thanks for the quick responses and I'm going to try this once more. I'll let you know how'goes.
--
jbaskew
Ok so did an init and sync again ensuring I was in ~/android/system ...but nothing is there...?
Code:
repo initialized in /home/brad
[email protected]:~/android/system$ repo sync -j16
Fetching projects: 3% (9/283) remote: Counting objects: 7, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 4 (delta 3), reused 3 (delta 2)
Unpacking objects: 100% (4/4), done.
From git://github.com/CyanogenMod/android_bootable_recovery
5e922a4..6afbcdc gingerbread -> github/gingerbread
Fetching projects: 4% (12/283) From git://github.com/TeamRefuse/android
<snip>
remote: Total 661 (delta 300), reused 628 (delta 267)
Receiving objects: 100% (661/661), 100.65 MiB | 594 KiB/s, done.
Resolving deltas: 100% (300/300), done.
From git://github.com/TeamRefuse/android_device_samsung_infuse4g
* [new branch] gingerbread -> github/gingerbread
Fetching projects: 100% (283/283), done.
Checking out files: 100% (480/480), done.ng out files: 29% (142/480)
Syncing work tree: 100% (282/282), done.
[email protected]:~/android/system$ ls -lha
total 8.0K
drwxr-xr-x 2 brad brad 4.0K 2011-08-13 11:42 .
drwxr-xr-x 4 brad brad 4.0K 2011-08-16 10:09 ..
but look in ~/.repo
Code:
[email protected]:~/android/system$ ls -lha ~/.repo
total 32K
drwxr-xr-x 6 brad brad 4.0K 2011-08-16 10:01 .
drwxr-xr-x 43 brad brad 4.0K 2011-08-16 06:08 ..
drwxr-xr-x 3 brad brad 4.0K 2011-08-16 10:01 manifests
drwxr-xr-x 9 brad brad 4.0K 2011-08-16 10:04 manifests.git
lrwxrwxrwx 1 brad brad 21 2011-08-16 10:01 manifest.xml -> manifests/default.xml
-rw-r--r-- 1 brad brad 5.6K 2011-08-16 10:09 project.list
drwxr-xr-x 19 brad brad 4.0K 2011-08-14 02:21 projects
drwxr-xr-x 7 brad brad 4.0K 2011-08-13 11:41 repo
So even if I replace ~/android/system with ~/.repo there is no directory "vendor" under ~/.repo....not sure what to make of that dir. Thanks again.
--
jbaskew
Something looks a little odd here... I think you may want to do something like this:
Code:
cd ~/android/system/
rm -rf *
rm -rf ~/.repo
repo init -u git://github.com/TeamRefuse/android.git -b gingerbread
repo sync
BE CAREFUL with the rm -rf commands - make ABSOLUTELY SURE you are in the correct directory!!! Otherwise you'll go and delete a bunch of files you may not want to lose!
-j16 will make repo sync a bit faster, but will load your system's I/O a lot more. Having ~/.repo exist may be confusing things...
Entropy512 said:
Something looks a little odd here... I think you may want to do something like this:
Code:
cd ~/android/system/
rm -rf *
rm -rf ~/.repo
repo init -u git://github.com/TeamRefuse/android.git -b gingerbread
repo sync
BE CAREFUL with the rm -rf commands - make ABSOLUTELY SURE you are in the correct directory!!! Otherwise you'll go and delete a bunch of files you may not want to lose!
-j16 will make repo sync a bit faster, but will load your system's I/O a lot more. Having ~/.repo exist may be confusing things...
Click to expand...
Click to collapse
Worked beautifully. I must've done the repo stuff early on from ~/. It's compiling now. Thanks again.
--
jbaskew
Well...something didn't go right after all this silliness. I'm going to make sure I've got all of the required packages (I am running 11.04 32-bit), rm ~/android/system/* and start again from the very beginning of the tut.
I'll post my results when the repo is done next year. =]
--
jbaskew
I know it's kinda tacky...having conversation by myself, but I'm wanting to update my progress...if you can call it that. I think the build is hanging up...mayble? It's actually appeared to freeze ubuntu. Last line is:
Code:
Copying: out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes.jar target Dex: framwork
Had to type that line since ubuntu is frozen. <sad face> Been at this stage now for about 30 min. This is killing me, I want cm7 so bad. Have been using cyanogen since ver 6 with my nex1, then cm7 on a captivate, but I lost cm going to the infuse as an insurance replacement....arrrgh. Tia
--
jbaskew
jbaskew said:
I know it's kinda tacky...having conversation by myself, but I'm wanting to update my progress...if you can call it that. I think the build is hanging up...mayble? It's actually appeared to freeze ubuntu. Last line is:
Code:
Copying: out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/noproguard.classes.jar target Dex: framwork
Had to type that line since ubuntu is frozen. <sad face> Been at this stage now for about 30 min. Any ideas? Tia
--
jbaskew
Click to expand...
Click to collapse
How much RAM does your Ubuntu install have (if it's in a VM) and how much disk space?
You need a pretty decent amount of RAM for builds.
Entropy512 said:
How much RAM does your Ubuntu install have (if it's in a VM) and how much disk space?
You need a pretty decent amount of RAM for builds.
Click to expand...
Click to collapse
only 784...perhaps that's why the freezing? I'll jump that up to 1.5gB. Do you suppose that's sufficient? Could probably give it up to 2gB w/no worries. There's 11.9gB of disk space available on the vm. The host has ~188gB free.
And as always, thanks again.
--
jbaskew
jbaskew said:
only 784...perhaps that's why the freezing? I'll jump that up to 1.5gB. Do you suppose that's sufficient? Could probably give it up to 2gB w/no worries. There's 11.9gB of disk space available on the vm. The host has ~188gB free.
And as always, thanks again.
--
jbaskew
Click to expand...
Click to collapse
Yeah, you probably need a LOT more RAM and maybe some swap.
11.9GB total, or 11.9 free? 11.9 free should be OK if you've synced the whole tree and completed a partial build.
Entropy512 said:
Yeah, you probably need a LOT more RAM and maybe some swap.
11.9GB total, or 11.9 free? 11.9 free should be OK if you've synced the whole tree and completed a partial build.
Click to expand...
Click to collapse
Yeah I believe the tree is synced up...and yes, that 11.9 is free space. The disk is set at 32gB "expandible" by the hypervisor. I've now changed the vm to have 1.5gB of RAM...haven't messed with swap space. I've been watching sys monitor though. For now, memory looks ok...for now. cpu is getting hammered though!
--
jbaskew
jbaskew said:
Yeah I believe the tree is synced up...and yes, that 11.9 is free space. The disk is set at 32gB "expandible" by the hypervisor. I've now changed the vm to have 1.5gB of RAM...haven't messed with swap space. I've been watching sys monitor though. For now, memory looks ok...for now. cpu is getting hammered though!
--
jbaskew
Click to expand...
Click to collapse
i had to give it 3.5 GB of ram on my MBP running VMWare fusion... also had to configure it to use 2 cores. constantly optimized memory on OSX so that it wouldnt crash on me. quit all unnecessary programs/processes, set your fans on high, and pray...
Well....it finished building...looked fantastic. File size was a bit small...just around 100mB whereas I was expecting ~175mB or so. Tried flashing, and get a lot of "assert failed: getprop .... galaxys" errors. The final few error lines in cwm that get puked on the screen when trying to install my poopie cm7 zip:
Code:
E:Error in /sdcard/update-cm-7.1.0-RC1-GalaxyS-KANG-signed.zip
(Status 7)
Installation aborted.
rrrr back to the kitcen! I smell something burning!
--
jbaskew
Entropy512 said:
Yeah, you probably need a LOT more RAM and maybe some swap.
11.9GB total, or 11.9 free? 11.9 free should be OK if you've synced the whole tree and completed a partial build.
Click to expand...
Click to collapse
On the note of ram, I should have the same amount (768) with 1gb of swap. Dex framework takes pretty damn close to an hour and a half, and yes it seems like my laptop froze but it keeps on building
Fyi not using a virtual machine
And it seems like you actually put brunch as galaxy s when it should be infuse4g
Sent from my SGH-I997 using XDA App
drowningchild said:
On the note of ram, I should have the same amount (768) with 1gb of swap. Dex framework takes pretty damn close to an hour and a half, and yes it seems like my laptop froze but it keeps on building
Fyi not using a virtual machine
Click to expand...
Click to collapse
Wow. Ok well it sounds like I definitely didn't have enough machine, then.
And it seems like you actually put brunch as galaxy s when it should be infuse4g
Click to expand...
Click to collapse
Yeah...wow. You're right...I'm so embarrassed....partly....but actually glad it's something that simple. I thought it was a little weird telling me about galaxy s this and that when it's not a galaxy s. =]
So here we go again. Feelin pretty good about this one!
--
jbaskew
Code:
target thumb C++: String8_test <= frameworks/base/libs/utils/tests/String8_test.cpp
target thumb C: amix <= device/samsung/infuse4g/libaudio/amix.c
arm-eabi-gcc: device/samsung/infuse4g/libaudio/amix.c: No such file or directory
arm-eabi-gcc: no input files
make: *** [out/target/product/infuse4g/obj/EXECUTABLES/amix_intermediates/amix.o] Error 1
make: *** Waiting for unfinished jobs....
rrrrr something else, now! boo!
--
jbaskew
jbaskew said:
Wow. Ok well it sounds like I definitely didn't have enough machine, then.
Yeah...wow. You're right...I'm so embarrassed....partly....but actually glad it's something that simple. I thought it was a little weird telling me about galaxy s this and that when it's not a galaxy s. =]
So here we go again. Feelin pretty good about this one!
--
jbaskew
Click to expand...
Click to collapse
I think the issue is that the tutorial Bozo linked talks about the GS, and in his post he tells you the two things you need to do differently - you missed one of them.
Related
I wish to have the source code of Android SDK to get a better idea of how certain features/aspects work especially the ones that are not well documented . i really dont wish to get into all the trouble of setting up a CVS especially after looking at the steps here (http://source.android.com/download).
So anyone kind enough willing to send me a zipped one ? i want it the latest 1.5 SDK.
Thanks in advance for helping me out.
gonna have to be the one that tells you this, and i mean no disrespect by what i say
if you are too lazy to set something up in order to do something then you probably shouldn't be doing it. people are willing to help you get it set up, but you are gonna have to do it yourself unless you find some extremely kind soul to get it for you. personally i would like to recompile the cource code for cupcake to make my own build(include my favorite apps) but i don't feel like setting it up so i know i am SOL
No one will help you until you can learn to help yourself. We're not here to do your work for you. You can google just as well as we can. So get up and get it for yourself.
If you just want to download a couple of files, or you only want to be looking at files, you can do it easily without installing git on your computer by using the gitweb interface:
http://android.git.kernel.org/
Do you have eyes? Can you read?
Installing Repo
Repo is a tool that makes it easier to work with Git in the context of Android. For more information about Repo, see Using Repo and Git.
To install, initialize, and configure Repo, follow these steps:
1. Make sure you have a ~/bin directory in your home directory, and check to be sure that this bin directory is in your path:
$ cd ~
$ mkdir bin
$ echo $PATH
2. Download the repo script and make sure it is executable:
$ curl http://android.git.kernel.org/repo >~/bin/repo
$ chmod a+x ~/bin/repo
Initializing a Repo client
1. Create an empty directory to hold your working files:
$ mkdir mydroid
$ cd mydroid
2. Run repo init to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest:
$ repo init -u git://android.git.kernel.org/platform/manifest.git
* If you would like to check out a branch other than "master", specify it with -b, like:
$ repo init -u git://android.git.kernel.org/platform/manifest.git -b cupcake
3. When prompted, configure Repo with your real name and email address. If you plan to submit code, use an email address that is associated with a Google account.
A successful initialization will end with a message such as
repo initialized in /mydroid
Your client directory should now contain a .repo directory where files such as the manifest will be kept.
What will my name and email be used for?
To use the Gerrit code-review tool, you will need an email address that is connected with a registered Google account (which does not have to be a Gmail address). Make sure this is a live address at which you can receive messages. The real name that you provide here will show up in attributions for your code submissions.
What is a manifest file?
The Android source files are divided among a number of different repositories. A manifest file contains a mapping of where the files from these repositories will be placed within your working directory when you synchronize your files.
Getting the files
To pull down files to your working directory from the repositories as specified in the default manifest, run
$ repo sync
For more about repo sync and other Repo commands, see Using Repo and Git.
The Android source files will be located in your working directory under their project names.
Click to expand...
Click to collapse
Condensed. Type the following:
$ curl http://android.git.kernel.org/repo >~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir mydroid
$ cd mydroid
$ repo init -u git://android.git.kernel.org/platform/manifest.git
$ repo sync
Click to expand...
Click to collapse
Now exactly how hard is it to do that?
hanged_man said:
I wish to have the source code of Android SDK to get a better idea of how certain features/aspects work especially the ones that are not well documented . i really dont wish to get into all the trouble of setting up a CVS especially after looking at the steps here (http://source.android.com/download).
So anyone kind enough willing to send me a zipped one ? i want it the latest 1.5 SDK.
Thanks in advance for helping me out.
Click to expand...
Click to collapse
@jashsu
Thanks, ive used the git browser a lot but i wish to have the source in my IDE for quicker and easier navigation.
@everyone who replied to me
All of you has misunderstood me, im not being lazy or anything, it's just that google has provided steps for linux and mac users and im a windows user.
Im not asking for anyone to do it for me, i should have been clear in my request, does anyone have it ? im pretty sure that lots of developers has done it before and willing to aid me on this one. Come on people, i expected you to be a bit more welcoming than this.
On windows you have a couple of options. You could just setup a linux VM and follow the process above quite easily. That is what I do. You can even copy the sources back to your windows host if you prefer that. Or you can give it a try by installing cygwin on windows. You might be able to at least checkout the sources. I haven't tried the cygwin setup so I can't be 100% sure if it works.
... OR, you can quit being a ***** and install a proper OS. Or at least install GIT, which comes with BASH and can run the script in exactly the same manner.
lbcoder said:
... OR, you can quit being a ***** and install a proper OS. Or at least install GIT, which comes with BASH and can run the script in exactly the same manner.
Click to expand...
Click to collapse
lol true that
lbcoder said:
... OR, you can quit being a ***** and install a proper OS. Or at least install GIT, which comes with BASH and can run the script in exactly the same manner.
Click to expand...
Click to collapse
ohhh you got me there. Your imaginary girlfriend is probably proud of you after beating me with that genius phrase.
Now people, installing linux on my machine or running it on a vm then following all these instructions and using these tools is a long tedious process that will take lot of time, it's just a source code for god's sake and not launching a spaceship, i was hoping for a gentleman to help me on this (who already has the source the code checked out) and willing to send it to me. that's all.
Thanks everyone for your time.
here's what i see, you joined this forum in hopes of just getting spoonfed, we don't like to spoon feed. setting up a VM takes about an hour including install time of the OS on the VM and setting up linux on your machine takes about 45 minutes. linux is a much better operating system ESPECIALLY if you want to develop for android because android is UNIX based and uses UNIX commands. it's not that hard to get the source code yourself, hell you could even just get a linux live cd and use that to get the source code, then just copy it to your windows drive.
this thread needs to be locked because this person is disrespecting everyone on these forums by asking us to do the work for him.
All you need is Git, no new os or anything. There is a Git client for Windows. Download that, then:
open command prompt.
cd to whereever you want to download the data to
git clone git://android.git.kernel.org + project path.
Sit back and wait.
zer0day said:
All you need is Git, no new os or anything. There is a Git client for Windows. Download that, then:
open command prompt.
cd to whereever you want to download the data to
git clone git://android.git.kernel.org + project path.
Sit back and wait.
Click to expand...
Click to collapse
Yup 0day is right.
By the way, while I would agree that Linux is the best platform to work on Android, I think overly antagonistic comments like "... OR, you can quit being a ***** and install a proper OS." do more harm than benefit for the FOSS movement. Just my $0.02
Thank you to the CYANOGENMOD TEAM for this source and rom. I am doing this only because I feel since this is open source some of us should be able to help. So I figured with something like this we could help out the team if anyone knows the code and can submit it. This isn't some secret and its not against any rules. I am just making it easier to get people to help out the cm with code for bug fixes to get this phone compiling perfect for cyanogenmod. I will not modify any code, this is strictly all CM code and I will not modify any code. This is gingerbread from the cm repo. VERY VERY UNSTABLE!
On that note I will be updating this every so often when I think there is enough code to make a difference merged. Mainly for those who can't compile themselves will have a place to get a rom.
This is not made for just anyone. No one is to blame but you for what you do to your phone. I am just giving people the tools. I just wanted to let people know if they are fans of the CM team and know and want to help this is how you start off.
Make sure ADB is installed and its working. Also to pull all the needed proprietary files you might need a cm rom and stock rom just to flash really quick to pull these needed files later on in the how to. You would only need to pull them once.
This guide is for using Ubuntu Linux. Change out what you may need to for your own distro.
READ THIS BEFORE FLASHING!
THIS IS AN UNSUPPORTED PREVIEW. DO NOT ASK FOR SUPPORT ON THIS BUILD YOU WILL BE LAUGHED AT AND YOU HAVE BEEN WARNED.
Packages:
Note* If you are using ubuntu 10.10 then you will need to use this repo for the java download
Code:
add-apt-repository "deb http://archive.canonical.com lucid partner"
Then you need to:
Code:
sudo apt-get update
32 and 64 bit systems:
Code:
sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush
64 bit systems:
Code:
sudo apt-get install g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib
Create the directory:
Code:
mkdir -p ~/android/system
Installing repo tool:
Code:
sudo bash
curl http://android.git.kernel.org/repo > /usr/bin/repo
chmod a+x /usr/bin/repo
exit
Initializing the CM repository:
Code:
cd ~/android/system/
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
repo sync
*Note this could take some time.
Copy the proprietary files:
This is where you need adb and the two roms to pull the needed files or else you will not be able to build! Make sure you have a stock sense rom, and a cyanogenmod rom. Connect the phone via usb then run the following. If you get errors. You would then need the other rom to flash and get the other files from. Its a pain but is necessary.
If you need help with adb here is something simple about it:
http://forum.xda-developers.com/showpost.php?p=10070233&postcount=72
Code:
cd ~/android/system/device/htc/supersonic/
./extract-files.sh
Get RomManager
Code:
cd ~/android/system/vendor/cyanogen/
./get-rommanager
Configure the build finally:
Code:
cd ~/android/system
cp ./vendor/cyanogen/products/cyanogen_supersonic.mk ./buildspec.mk
. build/envsetup.sh
lunch cyanogen_supersonic-eng
now we compile! Now what does this command mean? Check here for details!
Code:
make -j`grep 'processor' /proc/cpuinfo | wc -l` otapackage
Your zip should be here:
Code:
~/android/system/out/target/product/supersonic/update.cm-XXXXX-signed.zip
Pre-compiled CM7 RC0 Builds
Here you can download a build that I compiled and I will build one every so often so that people who can't compile can test out the latest builds. You will also find the gapps for gingerbread compiled and working thanks for echoside & barnacles10 for creating those gapps for us to use.
Mediafire folder:
http://www.mediafire.com/?nh5o11gz08f3z
Latest build is CM7RC0-20110115-supersonic-lithid.zip
You can find builds for the last 7 days in the "Old Builds" folder.
SCREENSHOTS
Gapps Updated 20110106!
YOU NEED TO DO A FULL WIPE TO FIX PREVIOUS GAPPS ISSUES!
Now with green icons!
Change Log:
I sync once a day at the same time give or take an hour or two. Wanna see the last 24 hours? Check below.
Here are the changes in the last 24 hours. These are just the package groups that have changed. If you want more information please learn gerrit or follow @cmsrc. No one should do your homework unless your getting kanged for it.
Code:
Syncing it
... A new repo command ( 1.10) is available.
... You should upgrade soon:
cp /home/lithid/android/system/.repo/repo/repo /home/lithid/.sdk/tools/repo
Fetching projects: 48% (98/203) From git://android.git.kernel.org/platform/external/qemu
3fd4433..3bf6efc tools_r9 -> korg/tools_r9
Fetching projects: 61% (124/203) remote: Counting objects: 50, done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 30 (delta 20), reused 0 (delta 0)
Unpacking objects: 100% (30/30), done.
From git://github.com/CyanogenMod/android_frameworks_base
87b6d2d..7314c36 gingerbread -> github/gingerbread
Fetching projects: 67% (137/203) remote: Counting objects: 131, done.
remote: Compressing objects: 100% (63/63), done.
remote: Total 86 (delta 43), reused 22 (delta 11)
Unpacking objects: 100% (86/86), done.
From git://android.git.kernel.org/platform/libcore
5bcbe1c..2891830 gingerbread -> korg/gingerbread
27020e1..a16bf8b master -> korg/master
Fetching projects: 96% (195/203) remote: Counting objects: 253, done.
remote: Compressing objects: 100% (140/140), done.
remote: Total 182 (delta 100), reused 0 (delta 0)
Receiving objects: 100% (182/182), 22.72 KiB, done.
Resolving deltas: 100% (100/100), completed with 35 local objects.
From git://android.git.kernel.org/platform/sdk
b4e316b..42dd7c3 master -> korg/master
787c87b..36e3d64 tools_r9 -> korg/tools_r9
Fetching projects: 100% (203/203) remote: Counting objects: 9, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 4), reused 0 (delta 0)
Unpacking objects: 100% (5/5), done.
From git://github.com/CyanogenMod/android_vendor_cyanogen
479e96d..cc0a549 gingerbread -> github/gingerbread
Fetching projects: 100% (203/203), done.
Syncing work tree: 100% (202/202), done.
You can find this information here:
http://review.cyanogenmod.com/#q,status:merged,n,z
http://pastebin.com/zb5Te4FP
Known Issues:
- HDMI (of Course)
- 4G (not yet at least)
- Please be aware that the cm gapps don't work. Get the gingerbread gapps here Gapps
- Also the lockscreen animation is currently disabled by the cm team until they fix another issue. If that is an issue don't flash it then. I will only release what the cyanogen team has merged. Sorry. Enabled (Kanged)
- Camcorder doesn't work.
- Camera is 3mp, no toggle to switch to front yet. Front cam works, and 8mp works as well!
- Mms download currently not working. Working now!
- Battery History in spare parts force closes. Works!
- Some Leds don't work. Once at 90% charge green led comes on.
- Front cam seems to appear upside down for now... none the less works. just flip your phone! Works normally now.
- Gps is very iffy right now in early stages. I found out that the GPS works fine right when you boot up. Like within the first min or two. Then doesn't. Still looking into it.
- Can't lock location on networks.
Myths:
- Bad Data Speeds
Some people have stated that the 3g isn't working as it should in the cm7 builds. Here are pics showing speed tests > http://forum.xda-developers.com/showpost.php?p=10122575&postcount=360
Extras:
I updated the folder with some extras from CM6.1. Just incase someone was looking for the flash.
Kernels
Savage-Kernel
ZenDroid-Kernel
Updated Kernel for 0004 Hardware (Thanks to Cyanogen)
late afternoon project. good write up.
if i only had linux installed
CheesyNutz said:
if i only had linux installed
Click to expand...
Click to collapse
I am building it right now. And plan on updating a build every few days for those who can't compile but want to look and test the latest cm code!
lithid-cm said:
I am building it right now. And plan on updating a build every few days for those who can't compile but want to look and test the latest cm code!
Click to expand...
Click to collapse
good stuff
lithid-cm said:
I am building it right now. And plan on updating a build every few days for those who can't compile but want to look and test the latest cm code!
Click to expand...
Click to collapse
good man. recommend ppl to use Savage-KernelV1-1-BFS-HAVS for the kernel. its running beautifully.
lithid-cm said:
I am building it right now. And plan on updating a build every few days for those who can't compile but want to look and test the latest cm code!
Click to expand...
Click to collapse
Thank you
Sent from my PC36100 using XDA App
Yes, thank you.
eta on first build
CheesyNutz said:
eta on first build
Click to expand...
Click to collapse
Now its going to be new years day!
lithid-cm said:
Now its going to be new years day!
Click to expand...
Click to collapse
ahahahaha WUT !
I dont think that zendroid has the new wifi drivers i think he went back a few vetsions... not sure
Sent from my PC36100 using XDA App
build is now up on OP
flashing now will report
Man, this is awesome. I may flash it just to check it out. I'm itching for some CM Gingerbread. As far as the Clockwork warning...Amon should work properly, correct?
Swyped from my SalvageMod Gingerbread Supersonic 4G
Just finished downloading... Never been first at anything and not gonna start today (lol)... So please let me know how it goes..
will flash after a gapps is working
cant wait to try this!!!
Im trying to sync cm12's source code fro git hub
im using virtualbox on host windows 8.1
the virtual machine is ubuntu 14.xx
this porbably the 20th time i did a
Code:
repo sync
it always used to get stuck (it got interupted one way or another :c )
anyways ...later I finally made it till here
HTML:
Fetching projects: 100% (546/546), done.
Traceback (most recent call last):
File "/home/bass_face/.repo/repo/main.py", line 506, in <module>
_Main(sys.argv[1:])
File "/home/bass_face/.repo/repo/main.py", line 482, in _Main
result = repo._Run(argv) or 0
File "/home/bass_face/.repo/repo/main.py", line 161, in _Run
result = cmd.Execute(copts, cargs)
File "/home/bass_face/.repo/repo/subcmds/sync.py", line 681, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/bass_face/.repo/repo/project.py", line 1230, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/home/bass_face/.repo/repo/project.py", line 2309, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/bass_face/.repo/repo/project.py", line 2503, in rev_list
p.stderr))
error.GitError: CyanogenMod/android rev-list ('^ddc4820db2658b6779caf9946e787098d6007967', 'HEAD', '--'): fatal: bad object HEAD
and i got this error can someone please guide me...and i did search for many possible solutions...nothing seems to be related to this porblem or is left unanswered, please help or atleast direct me to a proper solution
many thanks ^_^
Bass_Face said:
Im trying to sync cm12's source code fro git hub
im using virtualbox on host windows 8.1
the virtual machine is ubuntu 14.xx
this porbably the 20th time i did a
Code:
repo sync
it always used to get stuck (it got interupted one way or another :c )
anyways ...later I finally made it till here
HTML:
Fetching projects: 100% (546/546), done.
Traceback (most recent call last):
File "/home/bass_face/.repo/repo/main.py", line 506, in <module>
_Main(sys.argv[1:])
File "/home/bass_face/.repo/repo/main.py", line 482, in _Main
result = repo._Run(argv) or 0
File "/home/bass_face/.repo/repo/main.py", line 161, in _Run
result = cmd.Execute(copts, cargs)
File "/home/bass_face/.repo/repo/subcmds/sync.py", line 681, in Execute
project.Sync_LocalHalf(syncbuf)
File "/home/bass_face/.repo/repo/project.py", line 1230, in Sync_LocalHalf
lost = self._revlist(not_rev(revid), HEAD)
File "/home/bass_face/.repo/repo/project.py", line 2309, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/bass_face/.repo/repo/project.py", line 2503, in rev_list
p.stderr))
error.GitError: CyanogenMod/android rev-list ('^ddc4820db2658b6779caf9946e787098d6007967', 'HEAD', '--'): fatal: bad object HEAD
and i got this error can someone please guide me...and i did search for many possible solutions...nothing seems to be related to this porblem or is left unanswered, please help or atleast direct me to a proper solution
many thanks ^_^
Click to expand...
Click to collapse
Did You try This Command
repo sync -f
Then find out whats the issue will causing
repo sync -l
mohamed786 said:
Did You try This Command
repo sync -f
Then find out whats the issue will causing
repo sync -l
Click to expand...
Click to collapse
yes i did try repo synnc -f and i even tried repo sync -f -j with various different values like 1,2,4,16,32
all with the same results...i even tried doing a smart sync i face this error
Code:
error: cannot smart sync: no manifest server defined in manifest
Bass_Face said:
yes i did try repo synnc -f and i even tried repo sync -f -j with various different values like 1,2,4,16,32
all with the same results...i even tried doing a smart sync i face this error
Code:
error: cannot smart sync: no manifest server defined in manifest
Click to expand...
Click to collapse
Just use this command repo sync -l to findout the issue
mohamed786 said:
Just use this command repo sync -l to findout the issue
Click to expand...
Click to collapse
I formatted my virtual HDD and set up everything from scratch following this guide -
https://github.com/PAC-man/android_vendor_pac/blob/pac-5.1/docs/PrepareForBuildLinux.md
As this was the official one run into some problem but I guess I solved it is running fine now.. But please keep an eye on this thread just in case if u could help me get through a problem.
Thanks a ton for replying
Will report the outcomes.
Bass_Face said:
I formatted my virtual HDD and set up everything from scratch following this guide -
https://github.com/PAC-man/android_vendor_pac/blob/pac-5.1/docs/PrepareForBuildLinux.md
As this was the official one run into some problem but I guess I solved it is running fine now.. But please keep an eye on this thread just in case if u could help me get through a problem.
Thanks a ton for replying
Will report the outcomes.
Click to expand...
Click to collapse
Most helpful commands during repo syncing
repo sync -j1 (-j# no of jobs )
repo sync -l (to find issues)
repo sync -c -d -j8
Dont let me post thanks on thread let hit thanks button for all in xda
mohamed786 said:
Most helpful commands during repo syncing
repo sync -j1 (-j# no of jobs )
repo sync -l (to find issues)
repo sync -c -d -j8
Dont let me post thanks on thread let hit thanks button for all in xda
Click to expand...
Click to collapse
this time many things synced properly but
HTML:
Syncing work tree: 61% (310/507) error: in `sync -f`: revision refs/heads/pac-5.1 in android_frameworks_base not found
Bass_Face said:
this time many things synced properly but
HTML:
Syncing work tree: 61% (310/507) error: in `sync -f`: revision refs/heads/pac-5.1 in android_frameworks_base not found
Click to expand...
Click to collapse
Ok.. use this command repo sync -j1 and leave for 6 to 8 hours base frame work base having lots of Gb to download
so be patient.....
Download time will depends on your internet connection.
Oki...and
1. Is there any ways to know when the downloads complete.. I mean a command that will check if everything is in place
2. Will files already downloaded delete itself and redownload.?
mohamed786 said:
Ok.. use this command repo sync -j1 and leave for 6 to 8 hours base frame work base having lots of Gb to download
so be patient.....
Download time will depends on your internet connection.
Click to expand...
Click to collapse
now this happened
Code:
Fetching project android_frameworks_base
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
edit : notice that its just stuck there.? i mean the username doesnt show up (the $ doesnt show up)
edit 2 : i get this at the end then
Checking out files: 100% (3190/3190), done.
Checking out files: 100% (4197/4197), done.
Checking out files: 100% (244/244), done.
Checking out files: 100% (924/924), done.ng out files: 8% (81/924)
Checking out files: 100% (72151/72151), done.
Checking out files: 100% (35/35), done.king out files: 42% (15/35)
Checking out files: 100% (1021/1021), done.
Checking out files: 100% (2459/2459), done.
Syncing work tree: 100% (507/507), done.
[email protected]:~/pac-rom$
am i done.? *_* is this the end.?
Bass_Face said:
now this happened
Code:
Fetching project android_frameworks_base
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
edit : notice that its just stuck there.? i mean the username doesnt show up (the $ doesnt show up)
edit 2 : i get this at the end then
Checking out files: 100% (3190/3190), done.
Checking out files: 100% (4197/4197), done.
Checking out files: 100% (244/244), done.
Checking out files: 100% (924/924), done.ng out files: 8% (81/924)
Checking out files: 100% (72151/72151), done.
Checking out files: 100% (35/35), done.king out files: 42% (15/35)
Checking out files: 100% (1021/1021), done.
Checking out files: 100% (2459/2459), done.
Syncing work tree: 100% (507/507), done.
[email protected]:~/pac-rom$
am i done.? *_* is this the end.?
Click to expand...
Click to collapse
cool
You have complete the source code download
wohoooo
mohamed786 said:
cool
You have complete the source code download
Click to expand...
Click to collapse
Thanks a ton for helping me out will never forget and...
for future reference (cause im not a irresponsible person who leaves a thread after finding the soltuion)
heres what i did:
for anyone whos setting up ubuntu and building lollipop just follow this guide, this is the most basic and mos efficient, you dont have to download a **** load of software if youre running the lates ubuntu version (except for the ones mentioned in the guide) -
HTML:
https://github.com/PAC-man/android_vendor_pac/blob/pac-5.1/docs/PrepareForBuildLinux.md
and most importantely and essential thing to do if youre running ubuntu/mac os x on a virtual box DISABLE ALL THE ANTIVIRUSES,FIREWALLS,ANTIMALWARE SOFTWARES (esspecially the ones dealing with netowrking
and if youve already set up everything and still having errors i suggest updating all and every packages essential [java,python,android sdk,android tools (download all the tools,extras,and the files for the rom your building (version) ]
if youre still having porplems go to the directory where the sources are being downloaded, hit ctrl+h (ubuntu-shows hidden files)
delete everything except .repo except .repo (orelse you will have to redownload all the sources) and initiate repo sync again
if it still doesnt work i suggest formatting everything and starting from scratch or atleast the sources or research till your tired of doing it
and never forget disable firewall or such things they were the culprits in my experience
i almost downloaded 70gb+ data in this process but learnt alot
the thread will most likely be closed now
Bass_Face said:
Thanks a ton for helping me out will never forget and...
for future reference (cause im not a irresponsible person who leaves a thread after finding the soltuion)
heres what i did:
for anyone whos setting up ubuntu and building lollipop just follow this guide, this is the most basic and mos efficient, you dont have to download a **** load of software if youre running the lates ubuntu version (except for the ones mentioned in the guide) -
HTML:
https://github.com/PAC-man/android_vendor_pac/blob/pac-5.1/docs/PrepareForBuildLinux.md
and most importantely and essential thing to do if youre running ubuntu/mac os x on a virtual box DISABLE ALL THE ANTIVIRUSES,FIREWALLS,ANTIMALWARE SOFTWARES (esspecially the ones dealing with netowrking
and if youve already set up everything and still having errors i suggest updating all and every packages essential [java,python,android sdk,android tools (download all the tools,extras,and the files for the rom your building (version) ]
if youre still having porplems go to the directory where the sources are being downloaded, hit ctrl+h (ubuntu-shows hidden files)
delete everything except .repo except .repo (orelse you will have to redownload all the sources) and initiate repo sync again
if it still doesnt work i suggest formatting everything and starting from scratch or atleast the sources or research till your tired of doing it
and never forget disable firewall or such things they were the culprits in my experience
i almost downloaded 70gb+ data in this process but learnt alot
the thread will most likely be closed now
Click to expand...
Click to collapse
MY pleasure
Happy Building In Advance
Thread closed at OP's request.
I know that Jake had to step away from the project, and I pretty much intend on running my jfltetmo into the ground, so I'll be on jflte long-term. I'd like to start giving back to the community by seeing if I can pick up where Jake left off. I'm an electrical engineer with plenty of programming experience. I just don't have much in the embedded world. I saw that Jake had some work posted to Github on the 5.1 branch for jflte, but when I follow the directions in omnirom's Github Readme, I get an error of
error: Cannot fetch android_device_samsung_jflte
Can I manually copy the files, and where do they fit within the android structure?
Is Android Studio a good IDE for ROM development?
uagent said:
I know that Jake had to step away from the project, and I pretty much intend on running my jfltetmo into the ground, so I'll be on jflte long-term. I'd like to start giving back to the community by seeing if I can pick up where Jake left off. I'm an electrical engineer with plenty of programming experience. I just don't have much in the embedded world. I saw that Jake had some work posted to Github on the 5.1 branch for jflte, but when I follow the directions in omnirom's Github Readme, I get an error of
error: Cannot fetch android_device_samsung_jflte
Can I manually copy the files, and where do they fit within the android structure?
Is Android Studio a good IDE for ROM development?
Click to expand...
Click to collapse
Hmm, post the full error log? Also, if the branch is only in Jake's personal repos you may need to use a custom local manifest to use that for the device tree instead of Omni's jflte device tree.
I personally just use grep + emacs, I've never been much of an IDE person.
Entropy512 said:
Hmm, post the full error log? Also, if the branch is only in Jake's personal repos you may need to use a custom local manifest to use that for the device tree instead of Omni's jflte device tree.
I personally just use grep + emacs, I've never been much of an IDE person.
Click to expand...
Click to collapse
Hi, thanks for getting back to me! I deleted the directory and reinitialized the omni repo. Here is the error I keep getting, it seems to be choking on arm/linux/androideabi:
repo sync -j8 -f --no-clone-bundle|tee >> reposynclog.txt 2>&1
Fetching projects: 100% (480/480), done.
Syncing work tree: 93% (447/480) error: in `sync -j8 -f --no-clone-bundle`: [Errno 2] No such file or directory: u'/media/rhill/25e87ad3-e539-4009-9c40-0ab4db81d8e0/rhill/WORKING_DIRECTORY/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/.git/HEAD'
error: manifest missing or unreadable -- please run init
I re-ran
Code:
repo init -u git://github.com/omnirom/android.git -b android-5.1 > repoinitlog.txt 2>&1
Which doesn't seem to have thrown any errors at me, but I keep returning to the same broken package, even when I just run repo sync, with no options.
Introduction
Hello everyone, this is a guide to get you up and running with your own build of Pure Nexus for the Nexus 5X. In this thread, you will learn how to get your computer set up to build and the commands you will need to run. Please read the entire guide and the FAQ. Additionally, this is a developer's thread, there should be no off topic discussion.
Compilation Guide
This is available on my Github, where it may be a little more up to date.
0. Getting started
In this guide, I will go over how to build Pure Nexus on your Linux machine. This particular tutorial will focus on Ubuntu 16.04 as that is what I use (Mint 18 is also good) but this should work with any version of Linux; it does need to be 64-bit however. I will leave the installation of that up to you, Google is a wonderful resource. If you don't have a good computer but still want to build, check out this thread on XDA: http://forum.xda-developers.com/chef-central/android/guide-how-to-build-rom-google-cloud-t3360430
1. Set up your environment
1. Automatically
Code:
sudo apt-get install git-core
git clone https://github.com/akhilnarang/scripts
cd scripts
ls
bash <script-name>
<script-name> should be one of the scripts in the folder for your particular architecture.
2. Manually
1. Install Java 8
Code:
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo apt-get install openjdk-8-jre
2. Install other build tools
Code:
sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip
2. Configure repo and git
If you have any problems with the below commands, try running as root:
Code:
sudo -s
Git is an open source version control system which is incredibly robust for tracking changes across repositories. Repo is Google's tool for working with Git in the context of Android. More reading if you are interested: https://source.android.com/source/developing.html
Run these commands to get repo working (only do this if you did the manual set up method above:
Code:
mkdir ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
Run these commands to get git working:
Code:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
3. Download the source
First, before downloading the source, create a folder for the source and move into it.
Code:
mkdir ~/<foldername> (eg. mkdir ~/PN or ~/PureNexus)
cd ~/<foldername>
Then, we need to grab the manifest and sync down the repositories. Here are the commands to do this for Pure Nexus for Nougat (make sure you are in the source folder you made above):
Code:
repo init -u https://github.com/PureNexusProject/manifest.git -b n
repo sync --force-sync
Here is the process generally for other ROMs:
When you go to build a ROM, you must download its source. All, if not most, ROMs will have their source code available on Github. To properly download the source, follow these steps:
Go to your ROM's Github (e.g. http://github.com/PureNexusProject)
Search for a manifest (usually called manifest or android_manifest).
Go into the repo and make sure you are in the right branch (located right under the Commits tab).
Go into the README and search for a repo init command. If one exists, copy and paste it into the terminal and hit enter.
If one does not exist, you can make one with this formula:
Code:
repo init -u <url_of_manifest_repo>.git -b <branch_you_want_to_build>
For example:
Code:
repo init -u http://github.com/PureNexusProject/manifest.git -b n
After the repo has been initialized, run this command to download the source:
Code:
repo sync --force-sync
This process can take a while depending on your internet connection.
4. Build it!
At this point, it'd be a good idea to set up ccache. ccache is a compiler cache, it stores previously compiled files in a directory and pulls from that instead of recompiling if nothing has changed. This speeds up compilation a LOT. If you want to use it, follow the below steps:
Open up your .bashrc file in your home directory using a text editor or nano and append this to the end of it:
Code:
export USE_CCACHE=1
Then type:
Code:
source ~/.bashrc
After that, run one of the below command (replacing the # with how many GBs of ccache you want, 50 is recommended)
Use this one if you used the manual method of set up in section 1:
Code:
prebuilts/misc/linux-x86/ccache/ccache -M #G
Use this one if you used the automatic method of set up in section 1:
Code:
ccache -M #G
After that, it's time to build!
Code:
. build/envsetup.sh
breakfast bullhead
mka bacon
After that, your computer will build the flashable zip file and if you see something that says make completed, you've done it!
Any time that you want to rebuild, type the following commands:
Code:
repo sync --force-sync
. build/envsetup.sh
breakfast bullhead
mka clobber
mka bacon
I also have a script to do this on my Github here
Frequently Asked Questions
1.1 Q: I got an error, what do I do??
1.1 A: Well to start, if it is anything with Ninja, I would go ahead and disable it. You can add this to your .bashrc file:
Code:
export USE_NINJA=false
Then type this
Code:
source ~/.bashrc
. build/envsetup.sh
breakfast bullhead
mka clobber
mka bacon
If it is saying you ran out of memory, follow this post.
If it isn't Ninja related, check out @AzraelsKiss's post here, where he has documented a few common issues. If none of those apply, post here with a detailed list of what you have done and we will do our best to help you.
1.2 Q: Can you guys share your personal builds?
1.2 A: No, personal builds are just that: personal. Beans releases whenever he feels that the release is ready for the masses and if a bunch of personal builds are floating around, that tarnishes the Pure Nexus name. We are more than happy to help get you up and running but we will not be sharing our builds. Thanks for understanding!
this wont work on Windows, right?
RonnellTapawan said:
this wont work on Windows, right?
Click to expand...
Click to collapse
I have heard people try to use Bash for Windows but I don't think it will work. Linux or bust.
nathanchance said:
I have heard people try to use Bash for Windows but I don't think it will work. Linux or bust.
Click to expand...
Click to collapse
I tried on bash for windows but it can't build android roms
Dude you should seriously get a XDA medallion or some sort of metal for all you do all over XDA. I see you everywhere. Thanks for building for us and also for this write up. :good: @ nathan
SM210 said:
Dude you should seriously get a XDA medallion or some sort of metal for all you do all over XDA. I see you everywhere. Thanks for building for us and also for this write up. :good: @ nathan
Click to expand...
Click to collapse
Talk to my superiors :silly: thanks for the kind words
Edited.......
Sent from my Nexus 5X using Tapatalk
myawan said:
Anybody wanna share home made build?
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
If you read at the end of the OP, it says:
"1.2 Q: Can you guys share your personal builds?
1.2 A: No, personal builds are just that: personal. Beans releases whenever he feels that the release is ready for the masses and if a bunch of personal builds are floating around, that tarnishes the Pure Nexus name. We are more than happy to help get you up and running but we will not be sharing our builds. Thanks for understanding!"
Reason being, because if we start compiling these and handing it out like it's no ones business, we're going to run Pure Nexus into the ground and people will start uploading them on AFH and it'll be one big mess. My guess is, this is just a courtesy by the original poster to those of us who can't wait.
My two cents.:laugh::highfive:
i'm on it!!!!! thank you very much!!! download is taking forever ugh
Building it right now! Thanks
I think this would work in Cygwin. I used to compile stuff for the PS3 way back. I'd have a lot of reading to do if I wanted to build this for my phone.
Which gapps to use with this?
Open Gapps micro are working fine.
Gesendet von meinem Nexus 5X mit Tapatalk
So WE can't share our build either? Or what, i didn't get it.
CreasingMass Dev said:
So WE can't share our build either? Or what, i didn't get it.
Click to expand...
Click to collapse
Don't distribute personal builds. Flash them yourself and that is it.
4 hours of download :crying:
OOH MAN!!!!!! no more space in my device!!! how can i resume that???
Code:
Checking out files: 100% (1717/1717), done.
error: unable to write file current/platforms/android-21/arch-x86_64/usr/lib/libz.a
error: unable to write file current/platforms/android-21/arch-x86_64/usr/lib/libz.so
fatal: cannot create directory at 'current/platforms/android-21/arch-x86_64/usr/lib64': Spazio esaurito sul device
Traceback (most recent call last):
File "/home/matteo/Scaricati/PureNexus/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/matteo/Scaricati/PureNexus/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/matteo/Scaricati/PureNexus/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/home/matteo/Scaricati/PureNexus/.repo/repo/subcmds/sync.py", line 769, in Execute
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/home/matteo/Scaricati/PureNexus/.repo/repo/project.py", line 1325, in Sync_LocalHalf
self._InitWorkTree(force_sync=force_sync)
File "/home/matteo/Scaricati/PureNexus/.repo/repo/project.py", line 2482, in _InitWorkTree
raise GitError("cannot initialize work tree")
error.GitError: cannot initialize work tree
can i move the PureNexus folder in an external drive and resume??? please
MatteXperiaU said:
4 hours of download :crying:
OOH MAN!!!!!! no more space in my device!!! how can i resume that???
can i move the PureNexus folder in an external drive and resume??? please
Click to expand...
Click to collapse
You can try. Your build times will be much slower though.
Sent from my Nexus 6P using XDA Labs
nathanchance said:
You can try. Your build times will be much slower though.
Sent from my Nexus 6P using XDA Labs
Click to expand...
Click to collapse
i have another partition in the same HD (300GB).. i can use that :fingers-crossed:
which command i need to resume?
sorry for the questions man, you're too kind
TPMJB said:
I think this would work in Cygwin. I used to compile stuff for the PS3 way back. I'd have a lot of reading to do if I wanted to build this for my phone.
Click to expand...
Click to collapse
No promises...
http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/
Out of curiosity, realistically how much disk space would be required to download everything and compile with a 50GB cache? I got everything downloaded and the compile ran but threw some warnings (most of which may have been benign). When the compile terminated with an error, I had about 40MB left on my Linux Mint 18 partition so I assume it ran out of space I started with about 70GB free space
I deleted everything and decided to try again if and when I have a larger partition to play with..... I am currently dual booting on a Windows machine and didn't think to allocate that much space to Mint.
Paul