yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Mandy $ingh:
help

mandy@MandySingh:~/Mandy$ make -j4

============================================

PLATFORM_VERSION_CODENAME=REL

PLATFORM_VERSION=6.0.1

RR_VERSION=

DEVICE=

TARGET_BUILD_VARIANT=userdebug

TARGET_ARCH=arm

TARGET_ARCH_VARIANT=armv7-a

TARGET_CPU_VARIANT=generic

TARGET_2ND_ARCH=

TARGET_2ND_ARCH_VARIANT=

TARGET_2ND_CPU_VARIANT=

TARGET_GCC_VERSION=4.9

TARGET_NDK_GCC_VERSION=4.9

HOST_ARCH=x86_64

HOST_OS=linux

HOST_OS_EXTRA=Linux-4.2.0-16-generic-x86_64-with-Ubuntu-15.10-wily

HOST_BUILD_TYPE=release

BUILD_ID=MHC19Q

OUT_DIR=/home/mandy/Mandy/out

============================================

Checking build tools versions...

************************************************************

You are attempting to build with the incorrect version

of java.

Your version is: openjdk version "1.8.0_66-internal" OpenJDK Runtime Environment (build 1.8.0_66-internal-b17) OpenJDK 64-Bit Server VM (build 25.66-b17, mixed mode).

The required version is: "1.7.x"

Please follow the machine setup instructions at

https://source.android.com/source/initializing.html

************************************************************

************************************************************

You are attempting to build with the incorrect version

of javac.

Your version is: javac 1.8.0_66-internal.

The required version is: "1.7"

Please follow the machine setup instructions at

https://source.android.com/source/download.html

************************************************************

"ebtables is disabled on this build"

build/core/base_rules.mk:157: *** frameworks/native/cmds/atrace: MODULE.TARGET.EXECUTABLES.atrace already defined by frameworks/av/cmds/atrace. Stop.

#### make failed to build some targets (01:48 (mm:ss)) ####

mandy@MandySingh:~/Mandy$ java -version

openjdk version "1.8.0_66-internal"

OpenJDK Runtime Environment (build 1.8.0_66-internal-b17)

OpenJDK 64-Bit Server VM (build 25.66-b17, mixed mode)

getting error
[Android Software Development] neonkat:
you need java 1.7
[Android Software Development] Mandy $ingh:
"ebtables is disabled on this build"

build/core/base_rules.mk:157: *** frameworks/native/cmds/atrace: MODULE.TARGET.EXECUTABLES.atrace already defined by frameworks/av/cmds/atrace. Stop.

#### make failed to build some targets (01:48 (mm:ss)) ####

Now geting only this error
[Android Software Development] Ih24n:
can I request the PAC 4.4.4 source?
[Android Software Development] regalstreak:
Need more of the log
[Android Software Development] regalstreak:
Isnt that too old? Can i have a repo link? Ill add that.
[Android Software Development] MSF Jarvis:
https://github.com/PAC-ROM/pac-rom.git -b pac-4.4
[Android Software Development] Ih24n:
[MENTION=5325978]regalstreak[/MENTION]
[Android Software Development] androidlover5842:
[MENTION=5325978]regalstreak[/MENTION]

i have synced twrp 5.1.1 updated source and i can't find better place then this to share :)

https://www.androidfilehost.com/?fid=24521665358594066
[Android Software Development] a13x4nd3r:
error while repo sync

Hi, sorry if this sounds noob-ish, but i have just downloaded the AOSP 6.0.1 .repo file, i have extracted it, and ran repo sync on it. at first the repo sync failed with error

'.repo/manifest: contains uncommited changes'

i tried googling all the solution including 'git reset --hard' but it just didn't work at all. so i thought "what if i head to google repository, manually clone the manifest file, and replace the entire folder with it."

and it work great, it download all the latest patch until it is time to compress the entire .repo folder into a real source code, it just ended here:

Fetching projects: 100% (515/515), done.
info: A new version of repo is available

error: .repo/repo/: contains uncommitted changes

the same error as the first one, and of course i do what i just did with the first error, but this time it doesn't fix the problem. instead making it worse with error 'can't fetch repo ....' so i thought well, maybe it's incompatible and replace the file back.. so i'm stuck here, i also have tried git reset --hard with no avail..

EDIT:

I tried running 'repo forall -c git reset --hard" as someone have suggested on page 34, but it doesn't have any effect. i also tried re extracting again the tar to a separate folder, tried the same repo forall command it it also.. doesn't work.

Can you help me? THANKS!
[Android Software Development] androidlover5842:
Type this :-

rm -rf .repo/repo

git clone https://android.googlesource.com/tools/repo .repo/repo

repo sync --force-sync -f
[Android Software Development] a13x4nd3r:
hmm.. this is the same as me replacing manually the repo folder.., it ends with this error:

Please make sure you have the correct access rights
and the repository exists.
error: Cannot fetch platform/tools/test/connectivity
warn: --force-broken, continuing to sync
Fetching projects: 100% (528/528) fatal: '../platform/tools/tradefederation.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Cannot fetch platform/tools/tradefederation
warn: --force-broken, continuing to sync
Fetching projects: 100% (528/528), done.
Checking out files: 100% (5210/5210), done.
Checking out files: 100% (9608/9608), done.ut files: 8% (800/9608)
Checking out files: 100% (1399/1399), done.
Checking out files: 100% (5699/5699), done.
Checking out files: 100% (46/46), done.ing out files: 26% (12/46)
Checking out files: 100% (4313/4313), done.
Checking out files: 100% (11374/11374), done.
Checking out files: 100% (575/575), done.g out files: 16% (95/575)
error: revision master in platform/external/adt-infra not found

with TONS of these error before it ends at the last error, seemingly from every repository it tried to fetch..

Please make sure you have the correct access rights
and the repository exists.
error: Cannot fetch platform/tools/studio/cloud
warn: --force-broken, continuing to sync
fatal: '../platform/tools/swt.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Cannot fetch platform/tools/swt
warn: --force-broken, continuing to sync
fatal: '../platform/tools/test/connectivity.git' does not appear to be a git repository
fatal: Could not read from remote repository.

EDIT:

I have solved this problem by:

1. creating new folder separate from any sources

2. initialize a new repo as instructed in google website, this will create a new .repo folder without any of the source codes. waiting to be repo sync-ed.

$ repo init -u https://android.googlesource.com/platform/manifest

3. extract the compressed source to other folder outside of the working directory, open it, copy the 'projects-object' and 'project' folders to the newly created .repo folder.

4. from the new working directory do repo sync, this will use the extracted source and download any new changes that happened.

Just in case other people experience the same problem as me, that's how i solve the problem.
[Android Software Development] Wesley Eley:
Oh Gosh.

Is this article really curing Slow Internet????
[Android Software Development] piskor:
Do you think everybody on the world have mega / hyper / super fast internet without limits? :)

There are some places ... where connection speed is not so fast, and internet operators give you a speed limit after reaching transfer limit.
[Android Software Development] #pnexusj#:
hi do we need to download non repo folder and what does it contain please tell me ive just started journey to this all
[Android Software Development] neonkat:
post #346
[Android Software Development] #pnexusj#:
please tell me

i was compiling by syncing repos but taking time so how to use this downloaded files?

and do we need to download both??

---------- Post added at 03:22 PM ---------- Previous post was at 03:16 PM ----------

i searched on google got so many guides on compiling roms

managed some how to get upto this level but now need help

i was compiling by syncing repos but taking time so how to use this downloaded files?

and do we need to download both??

I need someone who can help me please anyone help

itll be really thankful for me

i have gone through all guides on net but none of them have exact guides means wht to do after any process

im not blaming tht guides as without tht i cant even take my first step to this all but its really confusing as one guide contain one thing and other contain another

so eagerly needed one who can guide me
[Android Software Development] regalstreak:
whats ur internet speed?

what have you downloaded?
[Android Software Development] #pnexusj#:
Mine is 1mbps havent downlpaded any thing as dont know wht to download

I was syncing from terminal so got idea of this thread
[Android Software Development] Startrek852:
http://xdaforums.com/android/software/sources-android-sources-highly-t3231109/post66336227
[Android Software Development] #pnexusj#:
Can we use non repo for compiling like tht containing repo or need to do some changes
[Android Software Development] MSF Jarvis:
You can use non-repo without changes but can't update anything.
[Android Software Development] Startrek852:
Yes, but the non repo sources are VERY VERY out of date, so it's much better to use either only repo or repo and non repo combined.
[Android Software Development] hackslash:
Here is my small contribution.

AOSP 6.0.1 (No Repo folder included) [Release Branch 30] [4.19 GB]

https://mega.nz/#!ZE4ESZqb!bOedlfkwhPWk-mvremLlPYUqYe3IRnG7LO9UAqAwFk8

[MENTION=5325978]regalstreak[/MENTION] If you could add this to main post.
[Android Software Development] Shell820810:
I am having battery issues, won't charge when phone is on. Software or hardware issue?
[Android Software Development] regalstreak:
Doing it currently
[Android Software Development] MSF Jarvis:
I can update some sources if you want [MENTION=5325978]regalstreak[/MENTION]. Just gimme the names :)
[Android Software Development] regalstreak:
As many as you can bro!
[Android Software Development] MSF Jarvis:
Cool! CM13 and Temasek's latest mm branch on the way!

Edit: CM13 non-repo compressing at the moment. :)
[Android Software Development] :
Thank you for your time and Internet connection, man! But, could it be in a different host? I have a problem with band width on Mega for AOSP 6.0.1 :l
[Android Software Development] MSF Jarvis:
I'll put this on AFH. Uploaded it, but my laptop's battery died, and Dad's got some weird hour-and-a-half booting time bug, so waiting for it to regain its senses. As soon as that's done, I'll import it to the public folder and link it here for [MENTION=5325978]regalstreak[/MENTION] to add :)
[Android Software Development] regalstreak:
Nice but i guess afh is down at the moment for me and some of my friends. (At the moment)
[Android Software Development] MSF Jarvis:
All cool here Neil. Honestly speaking though, I simply don't know what's in that archive :P What do you think

tar cvJf foo.tar.xz .

in a full tree would have archived?

Edit: And there you go, page reloaded, file gone. Pah, [MENTION=4513677]rwilco12[/MENTION], running a file hosting service is indeed tough. Good job for it at least letting me upload :)
[Android Software Development] rwilco12:
Sorry guys! You caught us right in the middle of some network maintenance. We're up and running now! :)

S
[Android Software Development] MSF Jarvis:
Caught you with your pants down, eh? I'll pretend I don't mind the wastage of 13 gigs of bandwidth.
[Android Software Development] regalstreak:
Umm.. Why dont you format ur sd card as ntfs? Its an android? No prob.. Use exfat! :) We didnt break them into parts as they might create loads of confusion for extracting files [emoji14]
[Android Software Development] berkantkz:
Following.

Great for me.

Thank you.
[Android Software Development] WalterWh1te:
Hey,

I downloaded the CM13.0 Only repo folder and tried repo sync -j1 and then -j2 and -j4. And I've tried repo sync -j1 -f --force-sync as well as -j4 with this too. Every time I get error.

The error is at the same folder too.

Error :

Syncing work tree: 72% (369/512) error: in `sync -j4 -f --force-sync`: revision refs/tags/android-6.0.0_r26 in platform/hardware/qcom/msm8x84 not found

Although I thought I'd ignore that error as I'm building for a MediaTek device and that folder is for Qualcomm but the repo folder was not completely extracted. Can you please look into it?

Thanks!
[Android Software Development] regalstreak:
Ill try it day after. I myself dont have the only repo file. Im at my brothers house.. Downloaded it! Fast internet :v ill try when i get back home and report to you.

Till then why dont you download the no repo file and try?
[Android Software Development] WalterWh1te:
You did not have to get me jealous there. But anyways, sure.

I have the no repo file, but I heard that there were a lot of changes to CM13 lately, thus I downloaded the repo one. I'll compile the no repo one once, at least to get some experience. I'm very, very new to development. :p
[Android Software Development] V_v3k:
Try to erase these branches from the .repo/manifests/default.xml.

Also make a backup of the default.xml before editing for safety.

It'll remove the branch so you might not face any conflicts. And it's just a trial.
[Android Software Development] WalterWh1te:
I'll try to do that and let you know. Thanks though!
[Android Software Development] V_v3k:
Hey bro! I actually tried it & it did not work with a repository that has already been downloaded.

You'll have to delete the entire WORKING_DIRECTORY & use repo init then do the modification I told you with the default.xml & then sync. This step it guaranteed to work 100%.

And please make sure you've modified the xml before you actually sync from the start & you can remove unwanted repo(s) like the entire hadrware/qcom or device/htc/* or device/lge/* from default.xml(before syncing) if you don't need them & if you feel it's too large.
[Android Software Development] WalterWh1te:
Wait, am I correct in assuming that you are asking me to download the whole CM source again? Or are you suggesting something else?

Because I don't have a stable electric source or a reliable internet speed. That's why I downloaded the compressed sources at my friend's place. If there is any other way to sort this out without having to download so much, that would be great. Thanks. :)
[Android Software Development] V_v3k:
Yes, I was actually suggesting you to re-download the source code again. Also I can understand your situation :(. But the previous method would actually make it worse. Since you were new to this I suggest you to redo the work with modified default.xml to resolve this conflict. Or I hope someone else would guide you. :(
[Android Software Development] WalterWh1te:
Oh, the sources might be around 20GB and my plan at the moment is 1GB per day at 10Mbps and later it switches down to 1Mbps, so it would take me around 3-4 days straight easily, to get the sources entirely from repo.

I am trying to solve this in different methods of modifying xml, if you have any suggestions whatsoever, it is welcome. I'll take any help I can get now. :)
[Android Software Development] V_v3k:
Okay bro I'll try to figure it out :) if not there are so many other top devs who can help you out.
[Android Software Development] adityaupreti:
Can u make torrent for better download
[Android Software Development] EdwinMoq:
After extracting the cm12.1 source and .repo folder, do i need to repo init? Or i can sync right away?

Thanks.
[Android Software Development] regalstreak:
No you dont need to initialize the repo as it is already done. Just use

repo sync

directly :)

Bro cant. As we cannot seed ourselves. And there is no point as we wont have seeders [emoji14]

-----

Havnt been online these days. Will surely update the thread tomorrow. Many other sources have come up too. :) Stay tuned. [emoji16]
[Android Software Development] adil089:
Thanks a lot bro.
[Android Software Development] kaziupal:
So, where do i put those .repo and other folder. Could there be a tutorial somewhere? I mean um an extreme noob and syncing repo for the last 4 days. My laptop is super hot now. I have around 14 gigs downloaded and dont kno how long pa sources would needed. please help
[Android Software Development] regalstreak:
Many people keep asking that.

In short:

You have a directory like:

/home/androidsource

Put the .repo folder in there

Put the excluding the repo files in there

It will be like:

/home/androidsource/.repo

/home/androidsource/external,and loads of other folders that are in the tar.gz

Im really unable to explain this [emoji14] Leave me a pm if you didnt understand. you would need to use google to find out.
[Android Software Development] STRYDER~007:
Will you please update ALL the sources to it's latest version to Marshmallow 6.0? I would really appreciate it..I'll be downloading the sources and I don't want to run repo sync to fetch the latest addition and fixes again.. :D Thanks in advance.. :) (Btw pressed all your THANKS button as much as I can! :p This thread will really save me lot of time!)
[Android Software Development] chendur1212:
can someone make a tutorial for how build from this compressed source for a device
[Android Software Development] Baskhara:
Hi

Any possibility for Dirty Unicorns in the near future?

Thanks in advance ?
[Android Software Development] MSF Jarvis:
I'll try and upload it in 2-3 days. Which version though?
[Android Software Development] Baskhara:
Thanks you.

The latest one maybe? 6.0.1 version 10.2 as far as I remember. and m-caf branch I guess?
[Android Software Development] MSF Jarvis:
No problem, I'll do the m-caf branch
[Android Software Development] Baskhara:
Thanks man :D

Will it come with the repo folder as well?
[Android Software Development] MSF Jarvis:
Whatever you want :)
[Android Software Development] sostk22:
[MENTION=5325978]regalstreak[/MENTION] will you please upload the source of baidu os with base_cm... and version 4.4
[Android Software Development] kingdj:
Latest cm13 non repo bro.would be great if you could provide it ,thanks
[Android Software Development] MSF Jarvis:
Err, I'm building CM13 right now. Can you wait a bit?
[Android Software Development] Mandy $ingh:
bro can anyone help me for guiding me that how to add the device information after syncing all repo

or after sync what is next step ussing this guide '' https://github.com/ResurrectionRemix/platform_manifest ''

downloaded Resurrection Remix 6.0.1 (Only Repo Folder) | Size: 12.0GB
[Android Software Development] neonkat:
you mean device tree?

look into some guide,you need to edit local manifest and then repo sync.
[Android Software Development] HERCULES:
Thanks guys..these sources works perfectly.☺☺

---------- Post added at 03:23 PM ---------- Previous post was at 03:22 PM ----------

Can you please upload some Layer based ROM sources??.I'm need of them☺☺
[Android Software Development] htb2050:
Since SLim MM is working and building for a lot of devices. Can someone please upload their source too? I have been trying to download but there are some projects which are a few GBs in size and my internet always disconnects in the middle.
[Android Software Development] DevUt:
Is it ready? :)thnx a lot guys
[Android Software Development] MSF Jarvis:
Errr, forgot this totally:mad:

Will try and see when I can do it.
[Android Software Development] DevUt:
Thanks if you could do it till tomorrow afternoon then it will be great !! :laugh:
[Android Software Development] MSF Jarvis:
Repo/non repo/both ??
[Android Software Development] DevUt:
Non repo :good:

As I don't have the internet for repo
[Android Software Development] MSF Jarvis:
Compressing it. Also uploading minimal TWRP tree, using [MENTION=5123642]lj50036[/MENTION]'s manifest for cm 13. Both repo and non repo.

---------- Post added at 11:11 AM ---------- Previous post was at 10:53 AM ----------

@regalstreak, some sources here :

Minimal TWRP tree based on CM13 :

non-repo : https://www.androidfilehost.com/?fid=24566454284190106

repo : https://www.androidfilehost.com/?fid=24566459652898858

[MENTION=5151671]Van.Fanel[/MENTION], here are the ones you needed.
[Android Software Development] regalstreak:
Putting it on op when i get home

regalstreak
[Android Software Development] MSF Jarvis:
There's been some delay, I forgot to delete the output directory from my previous builds, so I had to start from the beginning again, it'll soon be up here though.

Edit: Compressing both together now, dunno when that'll complete. I'll check in a couple of hours again.
[Android Software Development] DevUt:
Remove any unnecessary tool-chains if you want
[Android Software Development] MSF Jarvis:
Tool chains are usually not unnecessary unless someone also installed a bunch of custom ones for his particular build. I'm not that guy. Must have finished compressing by now, I'll go check.
[Android Software Development] DevUt:
Hey buddy which compression you use .xz or .gz
[Android Software Development] MSF Jarvis:
.xz
[Android Software Development] MSF Jarvis:
[MENTION=7401277]DevUt[/MENTION], non-repo and repo both have completed compressing. Uploading them to AFH but this server has slower internet(2.5 mBps) than my TWRP build server (12 mBps) so it'll take some time. I'm going off to sleep now, will add them to AFH as soon as I'm completely awake :p
[Android Software Development] MSF Jarvis:
Anytime now ;)
[Android Software Development] htb2050:
The repo folder is a lot more smaller then the very first one that you uploaded in the beggining. Any idea why?
[Android Software Development] MSF Jarvis:
Didn't get you. You're talking about the first file I was uploading? Or the repo folders of AOSP master branch and Resurrection Remix 6.0 I did some time back?
[Android Software Development] htb2050:
I mean the repo folder of cm13.0 last year. That was around 17GB whereas this one is 11.2.
[Android Software Development] MSF Jarvis:
I'd just say I know my compression tools ;) Maybe the person who uploaded actually forgot to compress it properly. I use the extreme 9e compression optimization env var and then I simply tar -cvJf the folder.
[Android Software Development] htb2050:
Thanks for doing this. I tried syncing sources the normal way a week back and after 3 days of synicng I was stuck at toolchain files which were 4.8GB in size and had to be downloaded in one go which I didn't have the internet for.
[Android Software Development] MSF Jarvis:
AndroidFileHost isn't letting me import my files on their FTP server to the actual place where I give y'all links for. Lemme try with my desktop now.
[Android Software Development] santabanta114:
Please provide guidance

I am downloading CM13 .repo folder so that i can sync sources. In order to do that:-

Step1- download cm13 .repo folder

Step2- extract the compressed file

Step3- Setup a regular sync folder wherever one wishes

Step4- replace the .repo folder with this downloaded .repo

Step5- Sync sources

Is this the correct way to proceed successfully? Or will this give error?

Please help!
[Android Software Development] neonkat:
can't get step4.

after step 2,add device tree to local manifest and do a repo sync(which will sync device tree and latest cm changes too).when its done,you can build your rom.
[Android Software Development] santabanta114:
Still having trouble uploading?
[Android Software Development] MSF Jarvis:
Trying on my laptop now

Edit:Files gone missing again :eek:

Uploading again. Sorry, this has been delayed too much.

Edit 2: Was in a hurry, [MENTION=5325978]regalstreak[/MENTION], here's an updated non-repo for CM13 for now : https://www.androidfilehost.com/?fid=24566454284190906

.repo coming in some time
[Android Software Development] santabanta114:
Thank You! Waiting for .repo :)
[Android Software Development] MSF Jarvis:
Will add that too :) Just a matter of waiting for a while.
[Android Software Development] Albe96:
What I got in slimlp.zip(no repo)?
[Android Software Development] neonkat:
extract it.
[Android Software Development] Albe96:
Only found 3 folders..maybe damaged..:( how to fix?