Open sleep-walker opened 6 years ago
There is a mistake ... It is :
brunch krillin
Putting a copy of the updated instructions here, easier to find here
'#' Updated* (instructions taken from https://github.com/Pablito2020/pablito-scripts mm.sh and install-everything.sh the guide was there all along ;-))
'#' For building 13.0 on Ubuntu 17.10 '#' For building 14.1 replace 13.0 with 14.1 '#' Install libraries needed for compiling
sudo apt-get install -y git ccache automake lzop bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 g++-multilib python-networkx libxml2-utils bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush schedtool dpkg-dev liblz4-tool make optipng maven
sudo apt update
sudo apt upgrade -y
sudo apt-get install -y openjdk-8-jdk
mkdir lineage13.0
cd lineage13.0
# Check if the repo tool is installed, if it isn't installed then install it.
if ! [ -f /bin/repo ]; then
mkdir ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod 760 ~/bin/repo
fi
'#' if building 14.1 you must add a user name and email berfore "repo init", not needed on 13.0.
git config --global user.email "Your email @ here"
git config --global user.name "Your name here"
repo init -u git://github.com/LineageOS/android.git -b cm-13.0
repo sync --force-sync
git clone https://github.com/Pablito2020/android_device_bq_krillin.git -b cm-13.0 device/bq/krillin
git clone https://github.com/Pablito2020/android_kernel_bq_krillin.git -b cm-13.0 kernel/bq/krillin
git clone https://github.com/Pablito2020/android_vendor_bq_krillin.git -b cm-13.0 vendor/bq/krillin
git clone https://github.com/LineageOS/android_external_stlport.git -b cm-13.0 external/stlport
'#' I you need "su" on 13.0, edit "device/bq/krillin/device.mk" and add at the end:
# Superuser
WITH_SU := true
'#' The minimum change to make 14.1 build, is to remove the following line from "device/bq/krillin/Boardconfig.mk"
BOARD_WLAN_DEVICE := MediaTek
'#' Start build
. build/envsetup.sh
brunch lineage_krillin-userdebug
Nice catch! And thanks for the su! I was curious where to find possible choices for new ROM, this can help me further.
Btw. do you put fixes you make or find in your forks?
@tc-gd Yeah, I will try to do that once I've figured out how.
Putting a copy of the updated instructions here, easier to find here
'#' Updated* (instructions taken from https://github.com/Pablito2020/pablito-scripts mm.sh and install-everything.sh the guide was there all along ;-))
'#' For building 13.0 on Ubuntu 17.10 '#' For building 14.1 replace 13.0 with 14.1 '#' Install libraries needed for compiling
sudo apt-get install -y git ccache automake lzop bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 g++-multilib python-networkx libxml2-utils bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush schedtool dpkg-dev liblz4-tool make optipng maven
sudo apt update
sudo apt upgrade -y
sudo apt-get install -y openjdk-8-jdk
mkdir lineage13.0
cd lineage13.0
# Check if the repo tool is installed, if it isn't installed then install it.
if ! [ -f /bin/repo ]; then
mkdir ~/bin
PATH=~/bin:$PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod 760 ~/bin/repo
fi
'#' if building 14.1 you must add a user name and email berfore "repo init", not needed on 13.0.
git config --global user.email "Your email @ here"
git config --global user.name "Your name here"
repo init -u git://github.com/LineageOS/android.git -b cm-13.0
repo sync --force-sync
git clone https://github.com/Pablito2020/android_device_bq_krillin.git -b cm-13.0 device/bq/krillin
git clone https://github.com/Pablito2020/android_kernel_bq_krillin.git -b cm-13.0 kernel/bq/krillin
git clone https://github.com/Pablito2020/android_vendor_bq_krillin.git -b cm-13.0 vendor/bq/krillin
git clone https://github.com/LineageOS/android_external_stlport.git -b cm-13.0 external/stlport
'#' I you need "su" on 13.0, edit "device/bq/krillin/device.mk" and add at the end:
# Superuser
WITH_SU := true
'#' The minimum change to make 14.1 build, is to remove the following line from "device/bq/krillin/Boardconfig.mk"
BOARD_WLAN_DEVICE := MediaTek
'#' Start build
. build/envsetup.sh
brunch lineage_krillin-userdebug
Hey, I am getting this problem for Redmi Note 3 Kenzo After initiating breakfast kenzo
...What can I do now???
** Don't have a product spec for: 'lineage_kenzo'
** Do you have the right repo manifest?
How to fix this problem????
If you are trying to build on Lineage 13.0 it makes sense that you get that error message, according to: https://wiki.lineageos.org/devices/kenzo/ It has only support for Lineage 14.1. Try this instruction instead: https://wiki.lineageos.org/devices/kenzo/build/
Build instructions are not clear, especially the relation between this GIT repository and rest in the description.
Following the howto ends with last command like this:
As this is the information which is hard to find - could anyone improve it? Or provide me hint and I'll improve it myself.