-
Notifications
You must be signed in to change notification settings - Fork 34
/
manual
26 lines (17 loc) · 769 Bytes
/
manual
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
How to make a patches after changes in LineageOS source code:
Cd working_dir (For example: cd lineage/frameworks/base)
git status
git add .
git commit -m "name of patch"
git show HEAD > 0001_.patch
How to launch the LineageOS 14.1 build:
Download vendor and device from my GitHub.
Create dirs lenovo/k5fpr and place them in working_dir/device and in working_dir/vendor
After copy files from downloaded device in working_dir/device , and from downloaded vendor in working_dir/vendor
Open terminal and write:
cd working_dir
export JACK_SERVER_VM_ARGUMENTS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4g"
./device/lenovo/k5fpr/patches/install.sh
. build/envsetup.sh
lunch lineage_k5fpr-userdebug && make bacon -j10
Wait for the build to finish, for me ~5hr