Skip to content

Commit c1a6178

Browse files
authored
Update README.md
1 parent ad0d611 commit c1a6178

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

kernel_build/lineage-20.0/README.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ Also used [aosp_build](https://github.com/opengapps/aosp_build) for lineage 18.1
9292

9393
8. Apply custom patches
9494

95+
* Enable squashfs images
96+
```
97+
curl https://raw.githubusercontent.com/YogSottot/waydroid_stuff/refs/heads/master/kernel_build/lineage-20.0/0001-Build-squashfs-images.patch | git -C device/waydroid/waydroid/ apply -v
98+
```
9599
* **[Don't use the patch is broken on lineage-20!]** Add force_mouse_as_touch option. [PR](https://github.com/waydroid/android_vendor_waydroid/pull/33)
96100
If PR is already merged, this patch is no longer needed
97101
@@ -108,13 +112,13 @@ Also used [aosp_build](https://github.com/opengapps/aosp_build) for lineage 18.1
108112
curl https://raw.githubusercontent.com/YogSottot/waydroid_stuff/master/kernel_build/lineage-18.1/0001-patch-30-Enable-xmlconfig-on-Android-02.patch | git -C device/waydroid/waydroid/ apply -v
109113
```
110114
111-
9. Install docker
115+
10. Install docker
112116
[Documentation](https://docs.docker.com/desktop/install/linux-install/)
113117
114118
Of course you can build images without a docker. The [Dockerfile](../Dockerfile) has a list of required dependencies.
115119
116120
117-
10. Copy Dockerfile
121+
11. Copy Dockerfile
118122
119123
```bash
120124
wget https://raw.githubusercontent.com/YogSottot/waydroid_stuff/master/kernel_build/Dockerfile
@@ -124,7 +128,7 @@ Also used [aosp_build](https://github.com/opengapps/aosp_build) for lineage 18.1
124128
125129
126130
127-
11. Build Docker imagekernel
131+
12. Build Docker imagekernel
128132
129133
```bash
130134
docker build -t waydroid-build-24.04 .
@@ -147,7 +151,7 @@ Also used [aosp_build](https://github.com/opengapps/aosp_build) for lineage 18.1
147151
docker create -v /mnt/ccache/lineage-20.0:/ccache --name ccache-20.0 waydroid-build-24.04
148152
```
149153
150-
12. Build system images
154+
13. Build system images
151155
152156
```bash
153157
docker run -e CCACHE_DIR=/ccache --volumes-from ccache-20.0 -v $(pwd):/mnt/lineage -it waydroid-build-24.04 bash -c 'cd /mnt/lineage && ccache -M 50G && . build/envsetup.sh && lunch lineage_waydroid_x86_64-userdebug && make systemimage -j$(nproc --all)'
@@ -157,7 +161,7 @@ Also used [aosp_build](https://github.com/opengapps/aosp_build) for lineage 18.1
157161
A full list of options is available at command ```lunch```.
158162
NOTE: If your locale is tr_TR.UTF-8, set it to en_US.UTF-8 in /etc/locale.conf. Otherwise you will encounter compilation errors due to [Turkish I/İ problem](https://en.wikipedia.org/wiki/Dotted_and_dotless_I_in_computing).
159163
160-
13. Build vendor image
164+
14. Build vendor image
161165
162166
```bash
163167
docker run -e CCACHE_DIR=/ccache --volumes-from ccache-20.0 -v $(pwd):/mnt/lineage -it waydroid-build-24.04 bash -c 'cd /mnt/lineage && ccache -M 50G && . build/envsetup.sh && lunch lineage_waydroid_x86_64-userdebug && make vendorimage -j$(nproc --all)'
@@ -195,7 +199,7 @@ Also used [aosp_build](https://github.com/opengapps/aosp_build) for lineage 18.1
195199
docker run -e CCACHE_DIR=/ccache --volumes-from ccache-20.0 -v $(pwd):/mnt/lineage -it waydroid-build-24.04 bash -c 'cd /mnt/lineage && ccache -M 50G && . build/envsetup.sh && lunch lineage_waydroid_x86_64-userdebug && make systemimage -j$(nproc --all) && make vendorimage -j$(nproc --all)'
196200
```
197201
198-
14. Convert images
202+
15. Convert images
199203
200204
```bash
201205
simg2img out/target/product/waydroid_x86_64/system.img ./system.img
@@ -208,7 +212,7 @@ Also used [aosp_build](https://github.com/opengapps/aosp_build) for lineage 18.1
208212
docker run -v $(pwd):/mnt/lineage -it waydroid-build-24.04 bash -c 'cd /mnt/lineage && simg2img out/target/product/waydroid_x86_64/system.img ./system.img && simg2img out/target/product/waydroid_x86_64/vendor.img ./vendor.img'
209213
```
210214
211-
15. Use images
215+
16. Use images
212216
213217
Make a backup of old images beforehand
214218

0 commit comments

Comments
 (0)