Rehber Needed Packages for Compiling Custom Roms [GUIDE]

Hoşgeldiniz <3

DevOtağ is a developer platform with a number of enhancements shared for various Android devices. Become a member and benefit from the contents!

DevOtağ, çeşitli Android cihazlar için birtakım geliştirmeler paylaşılan bir geliştirici platformudur. Üye olun ve içeriklerden faydalanın!

Şimdi, Bir Dakikada Kayıt Olun!
Messages
18
Likes
63
Location
Ankara
#1
Hello friends.
In this guide; Kernel, custom rom, etc. are the commands for installing the required packet list in your assembly operations. The commands are written according to Ubuntu 18.04 operating system. It also works in other versions.

The commands we will give respectively for installation are as follows;
Code:
$ sudo apt-get update
$ sudo apt-get install bc gcc-multilib git gnupg libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop openjdk-8-jdk pngcrush rsync schedtool automake lzop bison gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool build-essential zip curl g++-multilib python-networkx squashfs-tools xsltproc zip zlib1g-dev git ccache libxml2-utils bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush schedtool dpkg-dev liblz4-tool make optipng bison build-essential ccache curl flex g++-multilib

That guide translated from @Celexa's guide.
Main thread; https://devotag.com/threads/derleme-islemleri-icin-gerekli-paketler.74/
 
Last edited by a moderator:

windowzytch

Wind/owZ
Moderatör
Messages
162
Likes
407
Location
Japan
#2
Notification for those building on Ubuntu 20.04 and newer;

libwxgtk3.0-dev and python-networkx got renamed to libwxgtk3.0-gtk3-dev and python3-networkx for some reason in Ubuntu 20.04's release so we need to install that package in favor of this.

So the command for gathering packages is this now;
Bash:
sudo apt-get install bc gcc-multilib git gnupg libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-gtk3-dev libxml2 libxml2-utils lzop openjdk-8-jdk pngcrush rsync schedtool automake lzop bison gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool build-essential zip curl g++-multilib python3-networkx squashfs-tools xsltproc zip zlib1g-dev git ccache libxml2-utils bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev squashfs-tools pngcrush schedtool dpkg-dev liblz4-tool make optipng bison build-essential ccache curl flex g++-multilib
Easy work! ;)
 
Last edited:

windowzytch

Wind/owZ
Moderatör
Messages
162
Likes
407
Location
Japan
#3
Notification for those having issues related to gcc compiler of toolchain;

In really rare cases, you might get an error similar to this;
Code:
/home/windowzytch/aarch64-linux-android-4.9: /usr/bin/python: No such file or directory
No worries, it's just because of the distro you have installed doesn't have python preinstalled. The only thing you need to do is to install it.
Bash:
sudo apt-get install python
Note that you may receive a note from APT saying python2-is-python or python3-is-python being selected instead of python itself. It's just a symlink package and redirects programs/shells calling python to python2/python3.

Right after that, you should be able to build your ROM/kernel.

Easy work! ;)
 
Top
Lütfen Javascript'i etkinleştirin!Javascript'i etkinleştirin!
"