0% found this document useful (0 votes)
146 views2 pages

Build Complete

The document provides instructions for installing various software packages and dependencies needed to build an Android ROM for the Wingtech wt88047 device. It includes steps to install build tools and libraries, initialize a ROM source tree from manifest, sync repositories, and build the ROM for both Oreo and Nougat versions. It also provides configuration for using CyanogenMod hardware support and editing the manifest file.

Uploaded by

ading
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
146 views2 pages

Build Complete

The document provides instructions for installing various software packages and dependencies needed to build an Android ROM for the Wingtech wt88047 device. It includes steps to install build tools and libraries, initialize a ROM source tree from manifest, sync repositories, and build the ROM for both Oreo and Nougat versions. It also provides configuration for using CyanogenMod hardware support and editing the manifest file.

Uploaded by

ading
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Instruction

1. Install ubuntu
2. apt-get update
3. Install JDK (ocean web)
3. install environment
4. apt-get upgrade

Part (1)
sudo apt-get update && sudo apt-get install git-core gnupg flex bison gperf
libsdl1.2-dev libesd0-dev libwxgtk2.8-dev squashfs-tools build-essential zip curl
libncurses5-dev zlib1g-dev openjdk-8-jre openjdk-8-jdk pngcrush schedtool libxml2
libxml2-utils xsltproc lzop libc6-dev schedtool g++-multilib lib32z1-dev
lib32ncurses5-dev lib32readline-gplv2-dev gcc-multilib maven tmux screen w3m ncftp

Part (2)
apt-get install bc bison build-essential ccache curl flex g++-multilib gcc-multilib
git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev
libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev
libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip
zlib1g-dev

Part (3)
apt-get install bc bison build-essential curl flex g++-multilib gcc-multilib git
gnupg gperf imagemagick lib32ncurses5-dev lib32readline-gplv2-dev lib32z1-dev
libesd0-dev liblz4-tool libncurses5-dev libsdl1.2-dev libwxgtk2.8-dev libxml2
libxml2-utils lzop pngcrush schedtool squashfs-tools xsltproc zip zlib1g-dev
libwxgtk3.0-dev lib32readline6-dev
apt-get install fonts-dejavu-extra lib32readline6 libatk-wrapper-java
libatk-wrapper-java-jni libgif4 libice-dev libsm-dev libxt-dev

sudo apt-get install git-core


sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo apt install android-tools-adb android-tools-fastboot
git clone https://github.com/akhilnarang/scripts && cd scripts && bash
setup/ubuntu1604linuxmint18.sh
mkdir -p ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo&& chmod
a+x ~/bin/repo
mkdir aicp
repo init -u https://github.com/AICP/platform_manifest.git -b o8.1
repo sync -j4

git config --global user.email [email protected]


git config --global user.name adipatyblangkon12
curl https://storage.googleapis.com/git-repo-downloads/repo >
/adipaty/projects/openshift.io/adipaty/bin
chmod a+x adipaty/projects/openshift.io/adipaty/bin/repo

for oreo
git clone https://github.com/AOKP/device_wingtech_wt88047.git -b oreo
device/wingtech/wt88047
git clone https://github.com/Cangkuls/android_kernel_wingtech_msm8916.git -b oreo-
mr1-cleanup kernel/wingtech/msm8916
git clone https://github.com/karthikkm007/vendor_wingtech_wt88047.git
vendor/wingtech/wt88047
for nougat
git clone https://github.com/WarrenLobo/android_device_wingtech_wt88047.git -b cm-
14.1 device/wingtech/wt88047
git clone https://github.com/karthikkm007/android_kernel_wingtech_msm8916.git -b
7x-zpx kernel/wingtech/msm8916
git clone https://github.com/WarrenLobo/proprietary_vendor_wingtech.git -b cm-14.1
vendor/wingtech

git clone https://github.com/CyanogenMod/android_device_cyanogen_msm8916-common.git


-b cm-14.1 device/cyanogen/msm8916-common
cp -r /projects/me/kernel /projects/me

nano vendor/aicp/vendorsetup.sh
add_lunch_combo aicp_wt88047-userdebug

export USE_CCACHE=1
prebuilts/misc/linux-x86/ccache/ccache -M 50G
export CCACHE_COMPRESS=1
. build/envsetup.sh && lunch aicp_wt88047-userdebug
brunch aicp_wt88047-userdebug
make -j4

OR

source build/envsetup.sh
breakfast wt88047
mka poison
cd ~/RR/out/target/product/

touch vendor/aicp/products/wt88047.mk
cd aicp/.repo

<?xml version="1.0" encoding="UTF-8"?>


<manifest>
<project path="device/wingtech/wt88047"
name="karthikkm007/karthikkm007/android_device_wingtech_wt88047" remote="github"
revision="lineage-15.1-latest" />
<project path="vendor/wingtech/wt88047"
name="ssawrav/android_kernel_wingtech_msm8916" remote="github" revision="8.1-
rebase" />
<project path="kernel/wingtech/wt88047"
name="karthikkm007/karthikkm007/vendor_wingtech_wt88047" remote="github"
revision="wt88047" />
</manifest>

Fix Build

FM

rm -rf hardware/qcom/fm && git clone


https://github.com/LineageOS/android_hardware_qcom_fm -b lineage-15.1
hardware/qcom/fm

You might also like