-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32a2c2d
commit 6c61478
Showing
27 changed files
with
115 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Apply DualBoot with DualBoot Kernel Patcher | ||
> This guide will help you build a boot image with uefi/android dualboot feature. | ||
## Prepare | ||
- An android device. | ||
- Download `UEFI FD` file from [Github Action](https://github.com/Project-Aloha/mu_aloha_platforms/actions)(You may need to login to download artifacts) or [Release Page](https://github.com/Project-Aloha/mu_aloha_platforms/releases) of uefi repository. | ||
- `Magiskboot` for your environment, there are prebuilt binaries on github. | ||
- DualBoot kernel patcher binary and shellcode binaries for your devices from [release page](https://github.com/Project-Aloha/DualBootKernelPatcher/releases) or [action page](https://github.com/Project-Aloha/DualBootKernelPatcher/actions). | ||
|
||
:::Notice | ||
All these steps can be done on your android device. | ||
::: | ||
|
||
## Steps | ||
> Assume you have done the following steps on your android device. | ||
> 1. Root your device with magisk. | ||
> 2. Downloaded and installed termux. | ||
> 3. Installed root-repo and tsu in termux with apt. | ||
- Get Android Boot Image. | ||
+ The boot image usually can be found at `/dev/block/by-name/boot` or `/dev/block/by-name/boot_a` (or _b). | ||
+ Open your termux, and copy the boot image out for future use. | ||
```bash | ||
tsu # get root shell | ||
mkdir /sdcard/dualboot/ # create a folder to put files. | ||
cp /dev/block/by-name/boot /sdcard/dualboot/boot.img # copy to our folder and rename to boot.img. If your device has ab slot, please add _a or _b suffix. | ||
``` | ||
|
||
- Unpack it with magiskboot. | ||
+ If your device was rooted by magisk, there should be an magiskboot binary at `/data/adb/magisk/magiskboot` | ||
+ By the way you can press the `tab` button in termux to automatically fill path, instead of typing the characters one by one. | ||
+ Do Unpack | ||
```bash | ||
cd /sdcard/dualboot/ # change working directory to our folder. | ||
/data/adb/magisk/magiskboot unpack boot.img # unpack | ||
``` | ||
+ You will get something like this: | ||
```bash | ||
/sdcard/dualboot# magiskboot unpack boot.img | ||
Parsing boot image: [boot.img] | ||
HEADER_VER [1] | ||
KERNEL_SZ [41576325] | ||
RAMDISK_SZ [927736] | ||
SECOND_SZ [0] | ||
RECOV_DTBO_SZ [0] | ||
OS_VERSION [9.0.0] | ||
OS_PATCH_LEVEL [2021-05] | ||
PAGESIZE [4096] | ||
NAME [] | ||
CMDLINE [console=ttyMSM0,115200n8 earlycon=msm_geni_serial,0xa90000 androidboot.hardware=qcom androidboot.console=ttyMSM0 androidboot.memcg=1 lpm_levels.sleep_disabled=1 video=vfb:640x400,bpp=32,memsize=3072000 msm_rtb.filter=0x237 service_locator.enable=1 swiotlb=2048 firmware_class.path=/vendor/firmware_mnt/image loop.max_part=7 androidboot.usbcontroller=a600000.dwc3 buildvariant=user] | ||
CHECKSUM [e73518a6e1edf3062d9cebd3203a51069ef2f424000000000000000000000000] | ||
KERNEL_DTB_SZ [3972965] | ||
KERNEL_FMT [raw] | ||
RAMDISK_FMT [raw] | ||
/sdcard/dualboot# ls | ||
boot kernel kernel_dtb ramdisk.cpio | ||
``` | ||
|
||
- Apply patch with dualboot kernel patcher. | ||
+ Assume the patcher and shellcodes and config you downloaded above was saved at `/sdcard/Download/` | ||
+ Unpack these zips: | ||
``` | ||
unzip /sdcard/Download/ | ||
``` | ||
|
||
- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# mu_aloha_platforms | ||
> [mu_aloha_platforms](https://github.com/Project-Aloha/mu_aloha_platforms) is a UEFI repo based on [SurfaceDuoPkg](https://github.com/WOA-Project/mu_andromeda_platforms) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# WOA-msmnile | ||
> WOA-msmnile is a organization gathered people who are porting woa to SM8150 and other newer silicons. | ||
# Project-Aloha | ||
> Project-Aloha is a organization gathered people who are porting woa to SM8150 and other newer silicons. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Device porting status | ||
- msmnilePkg [README](https://github.com/woa-msmnile/msmnilePkg#target-list) | ||
- mu_aloha_platforms [README](https://github.com/Project-Aloha/mu_aloha_platforms#target-list) | ||
- XiaoMi9 [Device status](https://github.com/qaz6750/XiaoMi9-Drivers/blob/main/Status.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# Devices' Codename Table | ||
### Check README.md in our [BinariesBackup](https://github.com/woa-msmnile/BinariesBackup/#list) repo. | ||
### Check README.md in our [BinariesBackup](https://github.com/Project-Aloha/BinariesBackup/#list) repo. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Fix bug on Device | ||
[Link](/Introduction/msmnilePkg.md) | ||
[Link](/Introduction/mu_aloha_platforms.md) | ||
|
||
## Description | ||
This video can help you fix something on `Device`. | ||
|
||
### Text Version | ||
[Link](/Introduction/msmnilePkg.md) | ||
[Link](/Introduction/mu_aloha_platforms.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Install Guide For `Device` | ||
[Link](/Introduction/msmnilePkg.md) | ||
[Link](/Introduction/mu_aloha_platforms.md) | ||
|
||
## Description | ||
This video can help you with windows installation on `Device`. |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# mu_aloha_platforms | ||
> [mu_aloha_platforms](https://github.com/Project-Aloha/mu_aloha_platforms) 是基于 [SurfaceDuoPkg](https://github.com/WOA-Project/SurfaceDuoPkg) 扩展的 UEFI 仓库. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# WOA-msmnile | ||
> WOA-msmnile 是由一群致力于推动WOA在搭载Sm8150及后续芯片的设备上发展的人们组建的组织。 | ||
# Project-Aloha | ||
> Project-Aloha 是由一群致力于推动WOA在搭载Sm8150及后续芯片的设备上发展的人们组建的组织。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# 修复设备上的问题 | ||
> [链接](/Introduction/msmnilePkg.md) | ||
> [链接](/Introduction/mu_aloha_platforms.md) | ||
## 简介 | ||
这个视频会演示如何修复`此设备`上的问题. | ||
|
||
## 文字版本 | ||
> [链接](/Introduction/msmnilePkg.md) | ||
> [链接](/Introduction/mu_aloha_platforms.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# 在设备上安装Windows | ||
> [链接](/Introduction/msmnilePkg.md) | ||
> [链接](/Introduction/mu_aloha_platforms.md) | ||
## 简介 | ||
这个视频会演示如何在`此设备`上安装Windows. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters