[Samsung Galaxy Tab S3 Guides, News, & Discussion] cbadk:
So I love Samsung products, but there are also many things I don't' like. Take S-voice, S browser, etc.. So I thought I would give it a try and make a build server for android. I've already done it with a few other phones, so why not a tablet.

Today I installed a simple ubuntu machine in a virtual environment. Downloaded the newest source code for Android 7.x and the opensource code for the Samsung Tab s3.

The build instructions for the kernel sounds something like this:

################################################################################

1. How to Build
- get Toolchain
From android git server , codesourcery and etc ..
- aarch64-linux-android-4.9

- make output folder
EX)OUTPUT_DIR=out
$ mkdir out

export PATH=$(pwd)/../PLATFORM/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin:$PATH
export SEC_BUILD_OPTION_HW_REVISION=02

mkdir out

make -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- KCFLAGS=-mno-android VARIANT_DEFCONFIG=msm8996_sec_gts3llte_eur_open_defconfig msm8996_sec_defconfig SELINUX_DEFCONFIG=selinux_defconfig SELINUX_LOG_DEFCONFIG=selinux_log_defconfig TIMA_DEFCONFIG=tima_defconfig DMVERITY_DEFCONFIG=dmverity_defconfig
make -C $(pwd) O=$(pwd)/out ARCH=arm64 CROSS_COMPILE=aarch64-linux-android- KCFLAGS=-mno-android

cp out/arch/arm64/boot/Image $(pwd)/arch/arm64/boot/Image

2. Output files
- Kernel : out/arch/arm64/boot/Image
- module : out/drivers/*/*.ko

3. How to Clean
Change to OUTPUT_DIR folder
EX) $(pwd)/out
$ make clean
################################################################################

and for the Platform ( OS )

How to build Mobule for Platform
- It is only for modules are needed to using Android build system.
- Please check its own install information under its folder for other module.

[Step to build]
1. Get android open source.
: version info - Android 7.0
( Download site : http://source.android.com )

2. Copy module that you want to build - to original android open source
If same module exist in android open source, you should replace it. (no overwrite)

# It is possible to build all modules at once.

3. You should add module name to 'PRODUCT_PACKAGES' in 'build\target\product\core.mk' as following case.
case 1) ProfessionalAudio : should add 'libjackshm','libjackserver','libjack', 'libjacklogger', 'androidshmservice','jackd','jack_dummy','jack_alsa','jack_opensles','jack_loopback',
'in','out','jack_connect','jack_disconnect','jack_lsp','jack_showtime','jack_simple_client','jack_transport','libasound','libglib-2.0',
'libgthread-2.0' to PRODUCT_PACKAGES
case 2) e2fsprog : should add 'e2fsck','resize2fs' to PRODUCT_PACKAGES
case 3) libexifa : should add 'libexifa' to PRODUCT_PACKAGES
case 4) libjpega : should add 'libjpega' to PRODUCT_PACKAGES
case 5) KeyUtils : should add 'libkeyutils' to PRODUCT_PACKAGES

ex.) [build\target\product\core.mk] - add all module name for case 1 ~ 5 at once
# ProfessionalAudio
PRODUCT_PACKAGES += \
libjackshm \
libjackserver \
libjack \
libjacklogger \
androidshmservice \
jackd \
jack_dummy \
jack_alsa \
jack_opensles \
jack_loopback \
in \
out \
jack_connect \
jack_disconnect \
jack_lsp \
jack_showtime \
jack_simple_client \
jack_transport \
libasound \
libglib-2.0 \
libgthread-2.0

# e2fsprog
PRODUCT_PACKAGES += \
e2fsck \
resize2fs

# libexifa
PRODUCT_PACKAGES += \
libexifa

# libjpega
PRODUCT_PACKAGES += \
libjpega

# KeyUtils
PRODUCT_PACKAGES += \
libkeyutils

4. excute build command
./build_64bit.sh

5. Note :
To download the source code of S/W listed below, please visit http://opensource.samsung.com and find ¢®¡ÆMobile -> Mobile Application¢®¡¾ menu, and then,
you will be able to download what you want. You might save time in finding the right one by making use of the search keyword below.
- Fmm.apk : "FMM"
- SecEmail_N.apk : "Email"
- SBrowser_5.0.apk : "SBrowser" (version : SBrowser v5)
- DictDiotek.apk : "DioDict"
- MsgCommService.apk, Messaging_Common.apk : "Messaging"

So with that in place, it's build time. I'll report back when I have more to tell. Let's see where it gets us :rolleyes:

[08/12/2017]

Installed Ubuntu

Installed all build components

Downloaded Android 7.x

Setup the initial build requirements