yashsingh1/xdaforums huggingface dataset:
[Android Builders Collective] :
Hi guys, I have a linux question:

I've been contemplating learning to build for myself and have started introducing myself to some of the guides around here. I'm planning to learn building mostly just for my own fun, the learning experience and to get a better understanding of the roms my phones are running. Plus I like this kind of "geeky" stuff :)

One thing I'd like pointers on is the Linux distro or rather version to use. Basically I'm dualbooting Win7 for games and Elementary OS Luna for anything else right now. But since Luna is based on Ubuntu 12.10 and most of the guides I've been reading are based on newer distros such as Ubuntu 14.xx do you think I'll bump into issues with the distro I'm running right now? If you advice me to update to say Mint 17 or something, could you guys please link me a guide that has advice on partition layouts that work well with a build-machine?
[Android Builders Collective] theesotericone:
Updating to a newer distro might not be necessary but it wouldn't hurt. Ubuntu and mint are both easy to navigate. Some others may have better advice but I'd err on the side of upgrading here. It would suck to get everything up and running only to have build errors from running an older linux version.

Oh and welcome to building. It's pretty frustrating. It's pretty rewarding.:cool:
[Android Builders Collective] inffy:
Ubuntu is the easiest way
[Android Builders Collective] letmedanz:
The first thing you need to look at before considering a Linux distro is your machine specs.

If you have a decent rig with sufficient RAM & CPU power you can try any of the distros.

But if you are low on resources, you should avoid any of the heavier distros.

Xubuntu is perhaps the best distro for a low end system. (Garry loves & lives Xu)

Ubuntu & Mint have the largest user base so support will be greater.

Whatever distro you use, be ready to learn as you go, cos you have no other choice :D

It is advisable to stay with the latest versions of the distros available as they will be far more stable with greater support

There are a couple of guides in this thread that will help you setup OpenSuse (Ezio & i use this) & Ubuntu based distros.

More complex would be Arch based distros (Marc, Ralph, Sean & many others currently rocking these) that you may want to avoid while getting started off :P

So there is a mix here & if you run into any issues you will in all probability get a fix here.

Regarding partitions & since you are dual booting, you got to get it right so your boot managers don't screw up. Ugh

These guides are pretty simple & will help getting it right:

http://www.control-escape.com/linux/lx-partition.html

http://www.howtogeek.com/howto/35676/how-to-choose-a-partition-scheme-for-your-linux-pc/

http://askubuntu.com/questions/343268/how-to-use-manual-partitioning-during-installation

good luck
[Android Builders Collective] :
I'm quite well versed with Ubuntu and Ubuntu -based distros and will probably opt to stay with one of those. Mostly because Steam is showing support to Linux and aside from SteamOS Ubuntu is their target for now :) My machine is fairly beefy and have plenty of RAM to throw around so that in mind I don't think the distro will be an issue - I was more concerned about the version and also partitioning. So thanks a lot for the links, that will do for some good reading and I hope to learn some more there :)
[Android Builders Collective] ezio84:
https://github.com/ezio84/frameworks_base/commit/de09f25178c61aad7745994d77fbe04b1279775d

:D

Long press on the recents button to quickly switch to last app.

The animation is nice too :D
[Android Builders Collective] ezio84:
SlimLP 0.9.1 mod for mako:

Download: https://www.androidfilehost.com/?w=files&flid=22910

Changelog:

- Bring the baby back: longpress back button to kill the app

(enable under Developer settings)

https://github.com/ezio84/frameworks_base/commit/7047c76aa1823e87d57276f72e2f55213adf64ef

https://github.com/ezio84/packages_apps_Settings/commit/b0697cebd07138ef71718ae075558c02f0b8817e

- Bring another baby back: longpress recents to go to last app

(enabled by default)

https://github.com/ezio84/frameworks_base/commit/de09f25178c61aad7745994d77fbe04b1279775d

- Quick tiles panel: Power menu button

(enable under Interface - Quick settings)

https://github.com/ezio84/packages_apps_Settings/commit/53758ffd956697af3bf7fb91643f4f2c89f9c12d

https://github.com/ezio84/frameworks_base/commit/1f3f70ed6db6b873534804b4d245d44c12d18593

- Launch SuperSU from Settings

If SuperSU is installed, show an entry in Settings below "Developer options", which launches SuperSU when tapped.

At boot time SuperSU will detect if com.android.settings contains the resources from this patch, and if so it will hide itself from the launcher.

Don't show Superuser option if SuperSU is installed

https://gerrit.slimroms.net/#/c/18654

- Cyanogen AudioFX and Eleven player:

https://github.com/ezio84/scripts/commit/5bbb880b6b8725b0284983d6399b5ecf0510fb73

https://github.com/ezio84/android_build/commit/6de5983190d7ac79cd6c854c2e820ee88ec6384f

https://github.com/ezio84/vendor_slim/commit/9eb53867b16858609cc59e00a2d35dd183a808dd

https://github.com/ezio84/device_lge_mako/commit/579ede25bbbd98739844c1f4e379e96369a37cc9

https://github.com/ezio84/device_lge_hammerhead/commit/97cc6a450d301b21889985eba6d33988d6b9bcd5

- Eleven: italian translation and latest CM updates

- Higher dpi value (=stock-20)

https://github.com/ezio84/vendor_slim/commit/7380ff20dca8a68adc7eaf15c11264ecc9856af9

- Battery icon: enable in-icon percentage indicator

https://github.com/ezio84/frameworks_base/commit/1189e9c10ec242e3bff0bc41ecbdaa432f9aeb94

- Data Usage menu: show the WIFI tab by default

https://github.com/ezio84/packages_apps_Settings/commit/260da56ce5ca85b8ad35009eb71f42d16ede10ad

- Unknown source apk installation: enable by default

https://github.com/ezio84/frameworks_base/commit/24f6b0d8ecf0a516dad30be9a28181a2e77fb469

- Adv. reboot: enable it by default with no secured lockscreen

https://github.com/ezio84/packages_apps_Settings/commit/9379eaa013ae0c78a0a5cf781e82cca2dff43786

- Remove AOSP Browser

https://github.com/ezio84/scripts/commit/19148fcd2565fac79ae31bab850d26568d0fbe70

https://github.com/ezio84/android_build/commit/91cd9e3ff688baf9debf94d356a5d6111f12e8ab

- Updater-script: show build and device info in the recovery log during the rom zip flashing

https://github.com/ezio84/android_build/commit/b005af6e2d97d2cc21f3c54dde285396f2e2b918

Tips of the day:

Don't forget the garlic and the pepper! :D

PS: if you have problems, call A-team or clean flash.

PS2: consider this build as a test, a lot of changes are on the way by the Slim devs.
[Android Builders Collective] Garrykd:
New SlimLP v .5.0.2 Alpha 0.91 builds up. Current as of 9am today.

Pure slim, no extras this time (the mako kernel commits have been merged) :)

http://xdaforums.com/slimroms/general/rom-builders-collective-t2861778/post55121772
[Android Builders Collective] :
New Build for Grouper

Alpha 0.91 Ext4

Alpha 0.91 F2FS

Updatet to 5.0.2 and sync to the newest Slim source
[Android Builders Collective] renny083:
[MENTION=251020]inffy[/MENTION] is this your release here for the new slimlp shamu 5.02 unofficial .91 build? I didn't see you post it in the thread but found the link on reddit...

http://downloads.hostingsharedbox.com/inf/shamu/slimlp/
[Android Builders Collective] soumoks:
[MENTION=2095315]ezio84[/MENTION] , New build's running beautifully :D

love the new mods as well :good:
[Android Builders Collective] Circaflex:
anyone able to assist me with this error?

Repository synced!
Looking for dependencies
Done
build/core/product_config.mk:234: *** Product "slim_shamu" ambiguous: matches device/motorola/shamu/slim.mk device/moto/shamu/slim.mk. Stop.

** Don't have a product spec for: 'slim_shamu'
** Do you have the right repo manifest?

No such item in brunch menu. Try 'breakfast'

full log

http://pastebin.com/HfGqi5Ue
[Android Builders Collective] soumoks:
PS : with all you guys building. reading this thread is a nirvana of information :D

waiting on a better machine,hope to join you guys soon (read next year :p)
[Android Builders Collective] slothdabski:
thanks for the response! i've been using that guide and it specifically mentions duplicate code, but not this situation. Now I know how to handle it :)
[Android Builders Collective] slothdabski:
i have another commit conflict question. i have the following:

Changes to be committed:

modified: cmds/om/src/com/android/commands/om/Om.java

Unmerged paths:

(use "git add/rm <file>..." as appropriate to mark resolution)

deleted by us: core/java/android/content/om/IOverlayManager.aidl

deleted by us: services/core/java/com/android/server/om/OverlayManagerService.java

deleted by us: services/core/java/com/android/server/om/OverlayManagerServiceImpl.java

deleted by us: services/core/java/com/android/server/om/OverlayManagerSettings.java

should these actually be deleted via git rm?

or keep them via git add?

thanks in advance!
[Android Builders Collective] Garrykd:
Add
[Android Builders Collective] slothdabski:
thats what i thought based on a tutorial/guide i read, just wanted to make sure since there were so many!!

thanks for your help :))))
[Android Builders Collective] chrisexv6:
[MENTION=3306843]kantjer[/MENTION]

I flashed your 10/23 Unofficial Gapps (along with latest ezio build) over ThemeReady 25.0 and ended up with 2 contacts and 2 dialers.

They install Contacts 1.5.16 and dialer 4.0.129037693. I disabled the other versions of those apps but now the dialer keeps FC-ing.

Am I supposed to not use the Theme Ready contacts and dialers?

Thanks in advance.

-Chris
[Android Builders Collective] Garrykd:
Shouldn't you flash themeready over gapps? (rom>gapps>themeready)

The script in the themeready zip should delete the duplicates.
[Android Builders Collective] chrisexv6:
Thats what I did, ROM > Gapps > kernel > Theme Ready Aroma installer. Maybe the Aroma installer is the culprit?
[Android Builders Collective] Garrykd:
Hmmm, maybe. I use the regular zip, not aroma. Or perhaps something differs in [MENTION=3306843]kantjer[/MENTION]"s gapps??

.....and while I'm here (better late than never:)):

ABC rom 7.0-20161023 - The Clean & Sober Edition *

* no DUI hahahaha, get it?

Changelog:

--DUI removed (smartbar/fling/pulse)--

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

10-23-2016

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

* device/huawei/angler/

606adff Enable sdcardsfs

65b0de0 Use multithread decode for boot animation.

* frameworks/base/

c0b2992 Avoid automatically mirroring Drawable of CustomTile

56c3322 fix mistaken check of mScreenBrightnessDarkConfig

6ac68ae Fix illegal argument exception when take picture.

0f92163 Allow SetupWizard to do WiFi scans if location off

9441081 [1/2] base: allow disabling quick settings on secure lock screens inspired by SlimRoms/frameworks_base@b76f8af DirtyUnicorns/android_frameworks_base@3a4d3be

27b468c Revert "[1/2] base: allow disabling quick settings on secure lock screens"

2f60e3b Revert "disabling qs on secure ls: adapt code to other existing features"

60bba74 Revert "Hide QS on secure losckreen feature: hide QS also in the quick bar"

* packages/apps/Settings/

1553e81 Settings:Fix BT stop searching after rotating screen.

16c6274 Bluetooth: Handle pairing Cancel intent.

2aedc7a Settings: Fix to resolve NULL pointer exceptions

6871948 Settings: Fix Settings crashes when uninstall APK fast in storage

8e1a6c2 Fix font and display size settings pages for small screens.

89b8bc0 Fix a crash in ChooseLockGenericFragment.

75551b8 Remove dead code that could have a memory leak

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

10-22-2016

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

* frameworks/base/

9718307 Fix flickering issues with FLAG_SHOW_WHEN_LOCKED and fingerprint wake

80724f1 [ActivityManager] clean up pending broadcast receviers when force stop package

e60ae52 SystemUI: fix left clock padding

731cd54 Add missing STORAGE_INTERNAL permission for BackupRestoreConfirmation

8bc042d Hide QS on secure losckreen feature: hide QS also in the quick bar

2a48951 Fingerprint authentication vibration [1/2]

* packages/apps/PureSettings/

0658e77 Fingerprint authentication vibration [2/2]

* packages/apps/Settings/

f4ba32a change settings icon again

Angler download: https://www.androidfilehost.com/?a=show&w=files&flid=52030

.
[Android Builders Collective] twcobra:
Im on vacation in San Francisco so i will not be building any 3 minit zips this week.
[Android Builders Collective] kantjer:
That can't be caused by my gapps package, it doesn't contain a dialer or contacts.

---------- Post added at 06:47 AM ---------- Previous post was at 06:45 AM ----------

I removed all ThemeReady overlap from the gapps package. The flash order doesn't matter now.
[Android Builders Collective] Mikulec:
Fanfares for you :D
[Android Builders Collective] ezio84:
Aroma theme ready does have Google Dialer and Contacts. The rom, instead, has already AOSP Dialer and Contacts (which are already themeable and has some custom features like automatic proximity speaker).

The normal theme ready zip doesn't have those two Google apps. So use it, or if you want to run the Aroma one you have to uncheck the two apps during the installation.

---------- Post added at 09:00 AM ---------- Previous post was at 08:58 AM ----------

The Gerrit page of the commit you are picking does show the changes being done on the files. So when you have conflicts you need to follow what the dev did on the original commit.
[Android Builders Collective] kantjer:
And welcome to the part no developer or builder likes doing, fixing merge errors ;)
[Android Builders Collective] ezio84:
True story :D
[Android Builders Collective] limjh16:
W0T

So DUI is unclean and drunk?

I am so confused.
[Android Builders Collective] slothdabski:
Wow thank you so much for that info! I posted a few times in a few threads and a few times on google+, but no one else pointed that out! I had gotten so frustrated that my builds would never complete after I tried adding substratum that I had pretty much given up. But now I'm def going to try again!!!! :)))))
[Android Builders Collective] ezio84:
Np.

Also, if git says the file has been deleted by "us", it means the file was not in your source before the pick.

So in the commit page see what the dev made: did he add new lines into that file and it already existed on his source? Then you probably need to find older commits that created the file.

Did he create the file from scratch just for the commit you are picking? Just add it too.

In a nutshell, the best way to pick stuff is to not pick straight without checking what the commit does.
[Android Builders Collective] slothdabski:
That makes sense. Someone told me to start from older commits first, but didn't explain why.

Someone else also told me that most of the time get a file that says deleted by us, that you should use git add to keep the file, but once I again it wasn't explained why that is the case.

Thanks again for the explaining in a way that helps me understand the process!

This thread has been instrumental in my learning, I always get a quick response and it seems like I can cone with almost any question related to building [emoji106] [emoji108] [emoji111]
[Android Builders Collective] ezio84:
The problem is that there's not a fixed (standard) way when you pick code. Sometimes you need to understand java a bit.

For example you could have to add only the needed lines and not the entire file in another existing Xml or Java class of your source.
[Android Builders Collective] Garrykd:
Pay attention class, Professor Ezio is giving us a nice tutorial :D:highfive::cowboy:

(usually i have to scroll back through 6 months of hangouts messages to find this stuff :D)

As always E, thanks for going that extra step for us :good::D

Well, the D does stand for dirty, but.... DUI: https://en.m.wikipedia.org/wiki/Driving_under_the_influence (it's not as funny when i have to explain it) :rolleyes: :p:D
[Android Builders Collective] kantjer:
That's because you refuse to use Telegram, that has a search function :p
[Android Builders Collective] Garrykd:
Touché :p:D
[Android Builders Collective] slothdabski:
[MENTION=2640853]Garrykd[/MENTION] [MENTION=3306843]kantjer[/MENTION]

Can you point or link me to groups for either app that are helpful? I'd love to have more helpful info to read when I have free time :)
[Android Builders Collective] Mikulec:
Still not abandoning the sinking Hangout ship? :p
[Android Builders Collective] Garrykd:
Here's another great source for building info (and it's right here on xda) :good:

http://xdaforums.com/showthread.php?t=3460446

Mostly purenexus related, but a ton of good stuff.

I'm quite comfortable with sinking ;):

[YOUTUBE]0TZTsAy_81g[/YOUTUBE]
[Android Builders Collective] Natakranta:
Is it what you do in Canada for fun in free time?

And I thought it's such a reasonable place ?

The Answer to The Ultimate Question of Life, the Universe, and Everything is: CLEAN FLASH.
[Android Builders Collective] jesssiii:
The latest BaNkS GApps are still from September? Or am I looking in the wrong places?

Nexus 6P
[Android Builders Collective] slothdabski:
The banks gapps telegram has a new build
[Android Builders Collective] jesssiii:
Telegram? [emoji119]

Nexus 6P
[Android Builders Collective] slothdabski:
https://drive.google.com/open?id=0B7T570XXATGDYUlzcTMyS0F2WDA - n link
[Android Builders Collective] harpin14789:
Building ABCrom for shamu. Should be out soon if I don't run into errors. :)

EDIT: probably not going to get it out today. Can't get over this error, and I don't have anymore time tonight.

---------- Post added at 06:46 PM ---------- Previous post was at 06:15 PM ----------

@ezio84 or can someone help me with this error please.

GEN /home/kishnadas/abc/out/target/product/shamu/obj/busybox/full/Makefile
Import includes file: /home/kishnadas/abc/out/target/product/shamu/obj/STATIC_LIBRARIES/libtune2fs_intermediates/import_includes
Import includes file: /home/kishnadas/abc/out/target/product/shamu/obj/STATIC_LIBRARIES/libext2_com_err_intermediates/import_includes
Import includes file: /home/kishnadas/abc/out/target/product/shamu/obj/STATIC_LIBRARIES/libext2_blkid_intermediates/import_includes
Import includes file: /home/kishnadas/abc/out/target/product/shamu/obj/STATIC_LIBRARIES/libext2_quota_intermediates/import_includes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Import includes file: /home/kishnadas/abc/out/target/product/shamu/obj/STATIC_LIBRARIES/libext2_uuid_static_intermediates/import_includes
Import includes file: /home/kishnadas/abc/out/target/product/shamu/obj/STATIC_LIBRARIES/libext2_e2p_intermediates/import_includes
Import includes file: /home/kishnadas/abc/out/target/product/shamu/obj/STATIC_LIBRARIES/libext2fs_intermediates/import_includes
Export includes file: bootable/recovery/updater/Android.mk -- /home/kishnadas/abc/out/target/product/shamu/obj/EXECUTABLES/updater_intermediates/export_includes
mv /home/kishnadas/abc/out/target/product/shamu/obj/EXECUTABLES/updater_intermediates/export_includes.tmp /home/kishnadas/abc/out/target/product/shamu/obj/EXECUTABLES/updater_intermediates/export_includes ;
Import includes file: /home/kishnadas/abc/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/import_includes
host C: libhost <= build/libs/host/CopyFile.c
host C: libcompiler_rt-extras <= external/compiler-rt/lib/builtins/mulodi4.c
make -C kernel/moto/shamu O=/home/kishnadas/abc/out/target/product/shamu/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE="/home/kishnadas/abc/prebuilts/misc/linux-x86/ccache/ccache /home/kishnadas/abc/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/arm-linux-androideabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= magik_defconfig
make[1]: Entering directory `/home/kishnadas/abc/kernel/moto/shamu'
make[1]: *** No rule to make target `magik_defconfig'. Stop.
make[1]: Leaving directory `/home/kishnadas/abc/kernel/moto/shamu'
make: *** [/home/kishnadas/abc/out/target/product/shamu/obj/KERNEL_OBJ/.config] Error 2
make: *** Waiting for unfinished jobs....
HOSTCC scripts/kconfig/conf.o
# In case value of PACKAGES is empty.
/home/kishnadas/abc/external/busybox/scr
[Android Builders Collective] h4gH:
Is there a list of useful Android Telegram groups somewhere please?
[Android Builders Collective] ltjmax:
I have to say that it would be a nice thing to have somewhere. Sorry for the off topic
[Android Builders Collective] harpin14789:
[MENTION=2095315]ezio84[/MENTION] is ABCrom getting a bump to 7.1? Can't believe that there are already ROMs for shamu that are 7.1
[Android Builders Collective] :
Flash kernel, ARISE, AICP, Banks Gapps are some you just have to search and you shall find. :) Many links are in op of threads..

Edit

Okay last thank you post fellas. ABC is just absolutely a wonderful creation!! HUGE thanks to all involved and this thread. Such a great group of people from all over learning helping out building. New laptop Friday and I'll be joining the building crews. :good:
[Android Builders Collective] harpin14789:
Awesome. building for the 5x?
[Android Builders Collective] :
Going to give it a go. I've been on xda 5 years. Probably about time. lol. I have no laptop now but will Friday. :) Mine was stollen. [emoji20]
[Android Builders Collective] harpin14789:
Wow, that really sucks. Good luck. I was also on XDA for years and finally started to build. Its really fun.
[Android Builders Collective] :
Yeah I think I'm finally growing out of the crackflasher phase, well at least for the most part and wanting to actually learn. This thread is a big influence on me for that. :) And your a Texan too. Cool. I'm from Houston. Looking forward to it.
[Android Builders Collective] harpin14789:
Texans Rejoice! The thing I love about building is that if you are waiting for a dev to release a ROM, if he has his source on gihub. Then you can sync and build and flash it.
[Android Builders Collective] ezio84:
[GAPPS] [7.0] [ARM/ARM64] [October 25th] Dynamic GApps

http://xdaforums.com/android/software/gapps-dynamic-gapps-t3487192

make[1]: *** No rule to make target `magik_defconfig'. Stop.

Ensure the defconfig call here:

https://github.com/ezio84/pnmod-n_d...mmit/4fcc955c58e148309f2b297a4ec391ef480b32ea

is corresponding to an existing defconfig here:

https://github.com/ezio84/pnmod-n_kernel_huawei_angler/blob/n/arch/arm64/configs/abc_defconfig

AOSP source is 7.1.0, not 7.1.1 like the dev preview and the pixel img. And API 25 could be not full pushed on it.

So it's an older thing. Not sure it's worth it now, still need to check it.

Also, are we sure that source will get November security update?

Versions bump sometimes can be only a visual change, or regression ;)

For example, i love night mode.
[Android Builders Collective] ezio84:
Well, considering a wipe system is on the way to flash the new Dynamic gapps, here's a little update to make the build stronger :D

​

ABC rom v.7.0-20161025 :D

Download for Angler: https://www.androidfilehost.com/?w=files&flid=112021

Changelog:

- Long press power when screen of for Torch

- Data tile easy toggle: apply the custom behavior also to mini tiles bar

- Settings menu cleanup

- Smartbar spring animation: more tuning

- More fixes and improvements from aosp:

Post noteProcessFinish() to handler thread (fix deadlock)

SettingsLib: the time is wrong in battery info view.

SystemUI: Fix intent tile dismiss issue

CameraJNI: Fix memory leak in stop recording.

pm: Improve the scan process

Fixed a bug that could lead to an empty notification

Fix LockscreenWallpaper jank

Fix bug where foreground activity fails to cancel auth/enrollment

QS Header: post some updates to the header

QS Header: don't update everything unless we need to

Hide QS customizer correctly

Fix OOM issue of InCallUI

Fix potental memory leak (compiler warning).

- Code cleanup

Installation, tips, info: check the 6th post of this thread: http://xdaforums.com/showpost.php?p=55121776&postcount=6

PS: if you have problems, call A-team or clean flash.
[Android Builders Collective] Phrodini:
Ezio's oven is feeling the burn
[Android Builders Collective] harpin14789:
I see, that makes sense. Thanks. :)