Skip to content

Commit

Permalink
Fix Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
raspiduino committed Aug 28, 2021
1 parent 52ae0de commit e817260
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ Originally from @sleirsgoevy 's patch for SM-A600FN [here](https://github.com/sl
<br>The XDA discussion can be found [here](https://forum.xda-developers.com/t/is-samsung-galaxy-a6-exynos-7870-suppor-kvm.4295775/)

## Building
Documented later :)
- Step 1: Get the toolchain by `git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9 && cd aarch64-linux-android-4.9 && git checkout ndk-release-r19`. Also install `bc` if you don't have it yet. On Debian-based distributions use `sudo apt install bc`, on Redhat-based use `sudo rpm install bc`
- Step 2: Clone this repo by `git clone https://github.com/raspiduino/sm-a600g-kvm`
- Step 3: Change the directory back to the kernel source by `cd ../sm-a600g-kvm`
- Step 4: Setup environment variable `export CROSS_COMPILE=../aarch64-linux-android-4.9/bin/aarch64-linux-android- ANDROID_MAJOR_VERSION=p ARCH=arm64`
- Step 5: Make menuconfig by `make exynos7870-a6lte_defconfig && make menuconfig`
- Step 6: Goto `Boot options` and then turn off all options which has `TIMA` and `RKP`. Then click exit to go back to main menu. Enable `Virtualization` by pressing the space key. Goto `Virtualization` menu and enable `Kernel-based Virtual Machine (KVM) support`. After that, exit menuconfig and save `.config` file.
- Step 7: Run `make Image -j8` to build. You can replace `-j8` by `-j[NUMBER OF THREAD TO RUN]`
- Step 8: Enjoy your kernel! Details about flashing it will be here later :)

### Original Linux 3.x README:
```
Expand Down

0 comments on commit e817260

Please sign in to comment.