https://github.com/taewan-p/crosshatch-magisk-generator
Automate Magisk boot img patch process - Pixel 3 XL (crosshatch) version
https://github.com/taewan-p/crosshatch-magisk-generator
Last synced: 6 months ago
JSON representation
Automate Magisk boot img patch process - Pixel 3 XL (crosshatch) version
- Host: GitHub
- URL: https://github.com/taewan-p/crosshatch-magisk-generator
- Owner: Taewan-P
- License: mit
- Created: 2021-09-27T07:19:08.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-20T01:00:41.000Z (almost 4 years ago)
- Last Synced: 2025-03-28T19:09:10.880Z (7 months ago)
- Language: Shell
- Homepage: https://blog.chungjungsoo.dev/dev-posts/magisk-automation/
- Size: 82 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crosshatch-magisk-generator
This is an automated repository that creates magisk-patched boot image for Pixel 3 XL (crosshatch).### Disclaimer
**Use at your own risk!!** I am not responsible for whatever you do with your device.
### How-to steps
1. Open `image_info.json` and edit as you like.
```json
{
"build_number": "RQ3A.210905.001",
"link": "https://dl.google.com/dl/android/aosp/crosshatch-rq3a.210905.001-factory-94be46cc.zip",
"checksum": "94be46cc1873c273aaf16df6af2020980f90a402ace9f3327c1b839093cc133c",
"magisk": "https://github.com/topjohnwu/Magisk/releases/download/v23.0/Magisk-v23.0.apk"
}
```
* `build_number`: The build number that you are trying to update to.
* `link`: Factory image link. It should be the direct download link, not the download page.
* `checksum`: Factory image checksum. This can be found in Google factory/OTA image download page.
* `magisk`: Magisk apk download link. It should be the version that you are going to apply to the boot image. Also it should be the direct download link like the factory image link above.2. Connect your phone and get output from `adb shell getprop`.
You don't need all the values. You only need these key & values:
* `ro.crypto.state`
* `ro.build.ab_update`
* `ro.boot.slot_suffix`
* `ro.build.version.sdk`
* `ro.product.cpu.abi`3. Make a file named `GETPROP_OUTPUT` or edit the file from this repo, and add the key & values you got above.
```
[ro.crypto.state]: [encrypted]
[ro.build.ab_update]: [true]
[ro.boot.slot_suffix]: [_a]
[init.svc.vold]: [running]
[ro.build.version.sdk]: [30]
[ro.product.cpu.abi]: [arm64-v8a]
```You just need to copy/paste it from the terminal output. No extra work.
4. Push two files to the repo: `image_info.json`, `GETPROP_OUTPUT`. GitHub Actions will be triggered when these files are pushed or changed.
5. Wait 5 minutes, and you will have your patched boot image and the original boot image in releases tab!