yashsingh1/xdaforums huggingface dataset:
[Android Software Development] khan_frd2002:
[MENTION=6552280]MSF Jarvis[/MENTION] any idea why it showing this

Shared project CyanogenMod/android_hardware_qcom_audio found, disabling pruning.
Shared project CyanogenMod/android_hardware_qcom_audio found, disabling pruning.
Shared project CyanogenMod/android_hardware_qcom_audio found, disabling pruning.
Shared project CyanogenMod/android_hardware_qcom_audio found, disabling pruning.
Shared project CyanogenMod/android_hardware_qcom_audio found, disabling pruning.
Shared project CyanogenMod/android_hardware_qcom_audio found, disabling pruning.
Shared project CyanogenMod/android_hardware_qcom_audio found, disabling pruning.
Shared project CyanogenMod/android_hardware_qcom_audio found, disabling pruning.
Shared project CyanogenMod/android_hardware_qcom_audio found, disabling pruning.
Shared project CyanogenMod/android_hardware_qcom_media found, disabling pruning.
Shared project CyanogenMod/android_hardware_qcom_media found, disabling pruning.
[Android Software Development] MSF Jarvis:
This is not an error
[Android Software Development] sathish saju:
Can u guys pls update cm13 sources with no repo
[Android Software Development] DroidFreak32:
repo sync error

I downloaded cm13 repo source.

i extracted the .repo folder from the archive into ~/android/system

Now when i run "repo sync", i get:

/android/system$ repo sync
Traceback (most recent call last):
File "/home/horcrux/android/system/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/home/horcrux/android/system/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/home/horcrux/android/system/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/home/horcrux/android/system/.repo/repo/subcmds/sync.py", line 672, in Execute
if mp.HasChanges:
File "/home/horcrux/android/system/.repo/repo/project.py", line 2836, in HasChanges
elif self._revlist(not_rev(HEAD), revid):
File "/home/horcrux/android/system/.repo/repo/project.py", line 2408, in _revlist
return self.work_git.rev_list(*a, **kw)
File "/home/horcrux/android/system/.repo/repo/project.py", line 2602, in rev_list
p.stderr))
error.GitError: manifests rev-list ('^HEAD', u'8fc75b9434c9acbf20aa57a86d5cf4e5c20dadec', '--'): fatal: Not a git repository (or any of the parent directories): .git

What am i supposed to do now??
[Android Software Development] jackde:
Thanks tha'ts work in m phone :laugh:
[Android Software Development] hemantbeast:
Don't quote full OP!! Just tell your problem.
[Android Software Development] kjinx01:
havent uploaded the N sources it even though pulled requests [MENTION=5325978]regalstreak[/MENTION]
[Android Software Development] regalstreak:
Help us with a server and we will help you with the sources. We don't have a server currently.
[Android Software Development] Sudarshankakoty:
Only .repo folder ?

I got only .repo folder after extract using your guide (1st image attachment) where it should be something like this ...(2nd image attachment)

Looks like its not extracted. Thats why envsetup command not working for me. How to fix it ? :)

Fixed : repo sync -l fixed it. ( You have no idea how happy I am now) :laugh:

Now please teach me how to extract device specific trees for compiling ? I am with a new device Micromax Q370 Its very new device so no pre fork available. Well, I have its stock firmware and I am rooted too :confused:
[Android Software Development] Sudarshankakoty:
I got only .repo folder containing 13GB> of size

Any way to uncompress without downloading the whole source again ? I tried hard reset but what I got is below..
[Android Software Development] Sudarshankakoty:
Dude.. your available device description is amazing. :) :laugh:
[Android Software Development] MSF Jarvis:
Whatever directory says uncommitted changes, just cd to it and git reset --hard

---------- Post added at 02:26 PM ---------- Previous post was at 02:25 PM ----------

Making device trees has no manual or guide, you're better off running that stock rooted firmware
[Android Software Development] Sudarshankakoty:
That's all.. ok. ☺
[Android Software Development] Yeshas Prabhakar:
[MENTION=5325978]regalstreak[/MENTION] I am very happy that I found this post Thankyou devs for your effort and patience ... Can these compressed sources be used to build twrp? If yes ..how? Can I use bbq linux ?
[Android Software Development] anil kalyan:
with out source codes will you people able to develop rom's ?
[Android Software Development] Sudarshankakoty:
Ya. You have to create your own code completely. But this is better idea.
[Android Software Development] Has.007:
[MENTION=5325978]regalstreak[/MENTION] [MENTION=6552280]MSF Jarvis[/MENTION] Hi! Thanks for your amazing work. I'm a bit confused about which one to download no repo or the repo one. If I download the repo one can I build my ROM directly or I would need to sync again? Note that I've my device tree nd kernel sources already.

Thanks, I'll wait. ;)
[Android Software Development] MSF Jarvis:
If you download the repo one you can update the sources later on, non-repo sources are one off use and can't be updated. Your choice.
[Android Software Development] Has.007:
Thankyou! Simply the repo sync will work or the fetch commands are needed to be used? I saw your recents for those commands. Another off-topic question, any idea about the size of CandyROMs source? I've been downloading it's 24.6 GB done but still syncing. Sometimes it gives error so I stopped nd force repo sync again.
[Android Software Development] DarkFrenzy:
ResurrectionRemix Nougat 5.8.0 Source |

Repo Only

| From Google Cloud | $11

https://www.androidfilehost.com/?fid=457095661767119354
[Android Software Development] nicesoni_ash:
Repo sync command will do.

Sent from my "1+2" powered by Unofficial RR

Compiled by myself
[Android Software Development] Yeshas Prabhakar:
[MENTION=5325978]regalstreak[/MENTION] [MENTION=6552280]MSF Jarvis[/MENTION] Sir I am constantly getting this error "cannot find product make file"...?

What am I missing or doing wrong..?

I downloaded cm 12.1 non repo.. and cloned my derive tree, vendor, kernel to respected folders...

After source build/envsetup.sh and lunch cmd I can't move forward as in pic... Pls help!!! I am using BBQ Linux distro..
[Android Software Development] Chetan Lodha:
Is it possible to extract the source from compressed .repo folder directly with having to download both compressed source and .repo??
[Android Software Development] Sudarshankakoty:
Yeah it is possible. Shoot this command : repo sync ~l or repo sync -l
[Android Software Development] Has.007:
So I downloaded your file nd as you know I was working on this one. After the memory error I was getting some classes.dex error. I decided to upgrade my Ubuntu 15.10 to Ubuntu 16.10 nd add a 20gb Swap as well. Partitioned the drive successfully with Gnome Disk Editer. Wasted my whole day trying to install different linux distros but kept getting error 5, it is related to the source iso file or the flash drive being corrupt (That error misguides hundreds of people) Even my old distro wasn't installing so I realized it isn't related to USB or iso. Wasted more time until I finally decided to take backups nd delete all my partitions nd start new. Did that nd Ubuntu 16.10 installed successfully. When I copied rr.tar back from my external drive I realized it wasn't copied properly so it is now corrupt. Sorry for telling you all this long crap :p

I wanted to ask do you've the repo of AICP 12.1 as I see you've built a ROM on that. If you've could you please upload that?
[MENTION=7435246]Yeshas Prabhakar[/MENTION] You've missing dependencies. See the

cm.dependencies

file in your device tree nd clone the needed dependencies into the target.
[Android Software Development] Yeshas Prabhakar:
[MENTION=6940293]Has.007[/MENTION] At my device tree in git hub ...it tells something to use local manifest as there is no cm.dependencies pls specify me what to do with steps..
[Android Software Development] neonkat:
you will have to downlaod all device repo's manually,i.e,via local manifest file(you can read about that on any rom building guide).

also do look those patches to get ril working and apply as stated.
[Android Software Development] Sudarshankakoty:
Well, somehow, I could managed to extract the device tree from boot.img file. But the problem is I am unable to make the recovery image, getting an make error... ********************************************************** Kernel source found, but no configuration was defined Please add the TARGET_KERNEL_CONFIG variable to your BoardConfig.mk file *********************************

I have added this to boardconfig file, but getting same error... " cyanogenmod_q370_deconfig."

Well, device is not even listed in "lunch" menu also.
[Android Software Development] kjinx01:
grt job dude.. u really deserve a big thanks for it.. and if u are free can u upload other cm14.1 based custom roms source tooo.. amazing work.. thanks in advance
[Android Software Development] Ih24n:
[MENTION=5325978]regalstreak[/MENTION] I have some source Here maybe usefull... :) ..

https://www.androidfilehost.com/?w=files&flid=123192
[Android Software Development] kjinx01:
grt work.. it would be awesome if u add some more nougat sources to the directory bro....
[Android Software Development] Sudarshankakoty:
Compile Error

Getting this error during compilation of CM13 ROM

P.S : Successfully compiled recovery.img (See Atachment)
[Android Software Development] regalstreak:
No you need more space. Atleast 250 gigs with 50gig ccache. Or 150 with no ccache.

It will take some 4.5-6 hours for a build on your processor as i have an i7 45xx (i dont remember exactly what is the value of xx) and it takes 3.5hrs

And yeah it depends on your device tree. So cant actually guess the time of building [emoji14]
[Android Software Development] regalstreak:
Yes the repo only and no repo goes in same folder. You have Cyanogenmod/.repo and Cyanogenmod/system/.repo

The .repo at Cyanogenmod/.repo is the main repo folder. The one in systwm will have to be there due to git.. Its a long process. The main repo folder will make other repo folders in subdirectories for complete syncing :D

No bro. I havnt. This is the problem in your device tree. Dont blame the source as it is untouched :)
[Android Software Development] zeeshanhussain12:
Use prebuilt chromium :v it halves build time imo prebuilt chromium > ccache [emoji14]
[Android Software Development] regalstreak:
So for that i take the chrome apk and edit the device.mk to copy it with PRODUCT_COPY_FILES to system/app? Great! Will try
[Android Software Development] zeeshanhussain12:
No chromium is diff use this USE_PREBUILT_CHROMIUM=1
[Android Software Development] regalstreak:
Any other libs that can be used as prebuilt?

And what do i need to copy for prebuilt chromium? I have never done that.
[Android Software Development] kailashrs:
By chromium, do u mean webview ? And with prebuilts, how long would the build take ? (considering I use ccache) Sorry for asking a gazillion questions....Am a noob :)
[Android Software Development] zeeshanhussain12:
https://gerrit.omnirom.org/#/c/8656/

https://gitlab.com/SaberMod/omni-android-build/commit/f35d2710a9fa93376066cd6fa9a949dbd8034778

Check this it can help you ;)
[Android Software Development] piskor:
Where from can we take prebuilt chromium? And what do we need to edit to include this prebuilt app?
[Android Software Development] regalstreak:
Yes he means webview. Commit those changes manuay to your source and then you can use prebuilt chromium.

Dont call yourself a noob. You are a newbie!
[Android Software Development] regalstreak:
But that commit is for omnirom. Though it will work for cm and other roms, i do not recommend it.
[Android Software Development] zeeshanhussain12:
Cherry picking that commit will do the job imo
[Android Software Development] kailashrs:
Ookays... Found this:

https://gerrit.omnirom.org/#/c/15732/
[Android Software Development] sheikhrr:
UBUNTU TOUCH request

i am eagerly waiting for this one {UBUNTU TOUCH}

mkdir phablet
phablet-dev-bootstrap phablet

thanks in advance....
[Android Software Development] regalstreak:
At present i dont have any vps or server. I will do it when i get one.
[Android Software Development] zeeshanhussain12:
Patch netd fix then rebuild https://gist.github.com/ashwinr64/6c12e59b0b62141e969

---------- Post added at 10:59 PM ---------- Previous post was at 10:51 PM ----------

It seems that you are missing device/qcom/common clone it from cm github and rebuild
[Android Software Development] kailashrs:
Totally forgot abt that....tnx :)
[Android Software Development] kailashrs:
Okay, the build ran fine and hurray, I woke up to find a new build in /out...Thanks fr ur help :)

Now if u cud tell me where I should set use_prebuilt_chromium=1 after the cherry-pick, that'd be great :)

And also, the build apparently took only 2:30 hours !! This laptop is fast <3
[Android Software Development] kailashrs:
It isn't needed anymore with this :

https://github.com/ashwinr64/androi...mmit/87639886916572e6c82dc1773c162961b8facc9f

:)
[Android Software Development] Ih24n:
Will add latter one by one :) .

---------- Post added at 06:09 AM ---------- Previous post was at 06:06 AM ----------

will add one by one..

---------- Post added at 06:13 AM ---------- Previous post was at 06:09 AM ----------

Do you use prebuilt kernel??
[Android Software Development] Sudarshankakoty:
My manufacturer didn't release the kernel sources. What all I have is Device tree extracted through mkvendor.sh script. There is not even a similar device to fork in git, so I don't have the local manifest.xml and extract_files.sh either.
[Android Software Development] Ih24n:
that is the problem which cause error when you compile cm13... maybe include libtinyalsa.so as a device blobs will solve it.
[Android Software Development] Sudarshankakoty:
Not releasing kernel sources are direct violation against GPLv2
[Android Software Development] Startrek852:
Yes it is, but some manufacturers just don't care. To fix your error, add this:

$(shell mkdir -p $(OUT)/obj/KERNEL_OBJ/usr)
$(shell touch $(OUT)/obj/KERNEL_OBJ/usr/export_includes)

to your "device codename here".mk (credit to [MENTION=6552280]MSF Jarvis[/MENTION]).
[Android Software Development] neonkat:
my server is idle for sometime,you can request for any source.;)
[Android Software Development] MSF Jarvis:
Currently mine is too, but I sorely need to rewrite the scripts, got a cool suggestion from someone here that I'd like implemented
[Android Software Development] Sudarshankakoty:
Dude. You are genius.

Adding those lines solved all my errors. But I can't compile ROM because it wont boot (no kernel sources and no vendor blobs ) and my system hangs at build stage after 1 hour as its not powerful enough for CM13 compiling (3GB RAM Dual Core 3ghz 64bit)
[Android Software Development] Matt07211:
Increase you swap file size (virtual ram basically) or follow frkmwhat your log file suggests.

# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Use 64 bit Java on a 64 bit OS
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=

Also can't you use the already working kerenel for your device (grab it off the device) and substitute your new ramdisk.
[Android Software Development] Sudarshankakoty:
Also can't you use the already working kerenel for your device (grab it off the device) and substitute your new ramdisk.[/QUOTE]

Can you explain a bit more about this ? Are you telling me to compile a new boot.img for my device ?

---------- Post added at 10:07 AM ---------- Previous post was at 10:07 AM ----------

Can you explain a bit more about this ? Are you telling me to compile a new boot.img for my device ?
[Android Software Development] Matt07211:
Can you explain a bit more about this ? Are you telling me to compile a new boot.img for my device ?

---------- Post added at 10:07 AM ---------- Previous post was at 10:07 AM ----------

Can you explain a bit more about this ? Are you telling me to compile a new boot.img for my device ?[/QUOTE]

I'm just saying that the reason your device isn't booting properly is becuse it doesn't have a functioning kernel. I suggest grabbing you boot.img from the phone and unpacking it to use the already compiled kernel inside of it. This would allow you to use your new ramdisk but with an already working kernel.
[Android Software Development] Sudarshankakoty:
I'm just saying that the reason your device isn't booting properly is becuse it doesn't have a functioning kernel. I suggest grabbing you boot.img from the phone and unpacking it to use the already compiled kernel inside of it. This would allow you to use your new ramdisk but with an already working kernel.[/QUOTE]

Oh. You mean the boot.img included with my compiled ROM should have replaced with my stock ramdisk of stock boot.img right?
[Android Software Development] Matt07211:
Close but no cigar.

I was saying that you know that the stock boot.img works, and that you can use the already working kerenel inside your new build.

E.g.

If you've got a new ramdisk then just repack the boot.img with stock kernel and new/custom ramdisk.

Also if the new/custom ramdisk is EXACTLY the same as stock, then you really don't need to swap the ramdisk around and you can just use the already working boot.img.
[Android Software Development] kjinx01:
bliss with nougat..
[Android Software Development] Sudarshankakoty:
Oh . I got it now. Thank you so much for everything. ?????
[Android Software Development] neonkat:
give the manifest please(send the branch you need).
[Android Software Development] kjinx01:
https://github.com/BlissRoms/platform_manifest/tree/n7.1

here you go..
[Android Software Development] Matt07211:
This also may be very useful for you. http://xdaforums.com/chef-central/android/guide-tool-projekt-scribt-v1-33-t3503018/page1
[Android Software Development] Sudarshankakoty:
Seems useful. I will try it out today. ☺
[Android Software Development] Sudarshankakoty:
Hey.. When I compile a recovery.img (CWM) using source CM codes, I also get a boot.img and ramdisk.img file in my output folder. Why ? Any use of them ? Are they modified to run new CWM ?

Is that the only reason when flashing the CWM recovery alone is not booting the CWM in my device? Do I need to flash that new boot.img too ?
[Android Software Development] Matt07211:
First off I'd recommend using TWRP. CWM has been abandoned for a while now, tool have better support overall (both in device and building as you can as questions).

Recovery is well recovery. Boot.img is the defult used when booting normally. The ramdisk can be found inside both the recovery and boot.img and I'm guessing that the process you are doing creates the ramdisk seprate for your convenience (So don't flash it or anything its for the use inside a boot.img or recovery.img)
[Android Software Development] Sudarshankakoty:
Well. Got it. But any idea what it means ? Jack Server Error ?

No Problems with compiling CWM recovery
[Android Software Development] Matt07211:
Not sure never compiled a ROM before, but it looks like it gets to use Jack.jar but is unable to find it. I suggest Google it and see if you can locate the file.
[Android Software Development] Sudarshankakoty:
I killed and disabled the whole jack server ...

Btw are you a CM user ?

lol. I talked to Micromax Support Team today and they said they will inform their developers about releasing kernel sources... lol. Don't know what they gonna do ... :cowboy:
[Android Software Development] MSF Jarvis:
Don't hold your breath, most probably nothing will come of it.
[Android Software Development] Sudarshankakoty:
I know.. haha :laugh: Hey, what device you own ?
[Android Software Development] Matt07211:
I used CM for a little while on my old phone. My current phone doesn't have any custom ROMS.

Doubt they will release sources though.
[Android Software Development] aadityarulez:
Consider this. If I have sources for a rom, say RR, and I have 2 different devices and 2 local_manifest files for proprietary files for the devices. So, how do I build for a specific device? Thanks.
[Android Software Development] mihran_thalhath:
While extracting the RR Nougat source you uploaded, an error is encountered. It starts to extract, but after some time it's showing

It took me more than 2 days to download the file with the crappy internet connection in my place. Should I download the file again?
[Android Software Development] nicesoni_ash:
When you breakfast/brunch/lunch, use specific device model name.
[Android Software Development] aadityarulez:
Oh ok. But repo sync will download all the changes for all the devices right?!
[Android Software Development] nicesoni_ash:
Yes.
[Android Software Development] Ih24n:
[MENTION=6422464]mihran_thalhath[/MENTION]

Maybe corrupt when you download it..
[Android Software Development] MSF Jarvis:
Requests are back up, I will slowly clear up the backlog and start merging new PRs
[Android Software Development] Infinity:
Rather that using AFH, mega etc.. can you use torrent.. which give better downloading...
[Android Software Development] out386:
Torrents won't help. You can't download at all once all the seeds goes off. And not many will seed ROMs.
[Android Software Development] ItsMeShouko:
Nobody will seed because the post is for people looking for smaller sized sources and most people who download these compressed sources have less bandwidth to spare
[Android Software Development] Infinity:
Yes this is a drawback

---------- Post added at 06:35 AM ---------- Previous post was at 06:35 AM ----------

Yes
[Android Software Development] Has.007:
AICP 12.1 Please.

Thank you.
[Android Software Development] MSF Jarvis:
read post #2
[Android Software Development] nathsagar96:
DU11
[Android Software Development] tansanrao:
thanks mate, very useful when having datacaps!
[Android Software Development] andy_zhang:
An error occurred after decompression :

Cyanogenmod-cm-14.0-repo-20161011/.repo/repo/error.py
[Android Software Development] efex09:
I have uploaded LineageOS14.1 compressed source on androidfilehost.com.

You can download it from here.

16.2GB is the size.

Its a .repo version.

Enjoy. :)
[Android Software Development] andy_zhang:
Why can't I get rid of it?
[Android Software Development] renanmarcs:
Awesome work bro :) can you upload AOSP 7.1.1_r13 with repo folder? Please, would be very useful for me. You can do an repo init with these flags for less GB:

repo init -u https://android.googlesource.com/platform/manifest -b android-7.1.1_r13 --depth=1 --groups=all,-notdefault,-device,-darwin,-x86,-mips,-exynos5,mako
[Android Software Development] magdeoz:
Repo folder??
[Android Software Development] adithyadinesh96:
I downloaded zephyros sources full version .

But after extracting at 99% some error came I ignored thinking that I could sync the files again .

There is oly .repo folder in it .

Edit :

Repo sync worked but getting this error

ADITHYA:

Traceback (most recent call last):

File "/home/adithya/sources/zos/.repo/repo/main.py", line 531, in <module>

_Main(sys.argv[1?)

File "/home/adithya/sources/zos/.repo/repo/main.py", line 507, in _Main

result = repo._Run(argv) or 0

File "/home/adithya/sources/zos/.repo/repo/main.py", line 180, in _Run

result = cmd.Execute(copts, cargs)

File "/home/adithya/sources/zos/.repo/repo/subcmds/sync.py", line 724, in Execute

if mp.HasChanges:

File "/home/adithya/sources/zos/.repo/repo/project.py", line 2947, in HasChanges

elif self._revlist(not_rev(HEAD), revid):

File "/home/adithya/sources/zos/.repo/repo/project.py", line 2501, in _revlist

return self.work_git.rev_list(*a, **kw)

File "/home/adithya/sources/zos/.repo/repo/project.py", line 2700, in rev_list

(self._project.name, str(args), p.stderr))

error.GitError: manifests rev-list ('^HEAD', '511c736393b879b1820003529e352ae742eb2ffc', '--'): fatal: bad revision '^HEAD'
[Android Software Development] aadityarulez:
Does anyone have sources for du n?? Thanks.