HƯỚNG DẪN BUILD ROM ANDROID BẰNG WIN 10

* Yêu cầu :
- Win 10 64bit Anniversary Update
- Cấu hình core i3 , ram 4GB trở lên

* Cài đặt ubuntu bash trên Windows 10
B1 : open the Settings --> Update & Security --> For Developers--> enable Developer Mode
Build rom android bằng win 10, D.C Style, D.C Community

B2 : search for “Turn Windows Features On or Off” in cortana & hit enter
Build rom android bằng win 10, D.C Style, D.C Community

B3 : Enable the “Windows Subsystem for Linux (Beta)” option in the list and click “OK.” & restart your system
Build rom android bằng win 10, D.C Style, D.C Community
B4 : search for “bash” in cortana & hit enter
Build rom android bằng win 10, D.C Style, D.C Community
B5 : type "y" & hit enter
Build rom android bằng win 10, D.C Style, D.C Community
B6 : download of ubuntu for windows 10 will start. It will take some time depending on your internet speed. You’ll be asked to create a user account and password for use in the Bash environment. restart your system
Build rom android bằng win 10, D.C Style, D.C Community
B7 : search for “Bash on Ubuntu on Windows” in cortana & hit enter
Build rom android bằng win 10, D.C Style, D.C Community
B8 : congratulations you have successfully installed bash on windows 10
Build rom android bằng win 10, D.C Style, D.C Community
B9 : add bash to context menu (developer is Manouchehri)
install this reg entry,... Accept the warnings and import it. ( cái này 0 quan trọng nhé )
Build rom android bằng win 10, D.C Style, D.C Community

Setting up a Linux build environment
B1 : open “Bash on Ubuntu on Windows”
Code

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install default-jdk
sudo apt-get install android-tools-adb android-tools-fastboot
sudo apt-get install git-core gnupg flex bison gperf build-essential \
zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \
lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache \
libgl1-mesa-dev libxml2-utils xsltproc unzip python-networkx


* Lưu ý : nếu java 8 không hoạt động thì chúng ta sẽ cài java 7

Code :
sudo apt-get install default-jdk
Problem: how to access windows files in bash
Solution: for example you want to navigate to downloads "C:\Users\<username>\Downloads"

Problem: repo not found or needs to be installed even after it was successful installed
Solution: use the following command

Code :
nano ~/.bashrc
PATH=~/bin:$PATH

Đăng nhận xét

Vui lòng gõ tiếng Việt có dấu. Không nói tục chửi thề 🤬

 
Top