forked from afaneh92/android_device_samsung_gts8
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
2 changed files
with
35 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,39 @@ | ||
## Recovery Device Tree for the Samsung Galaxy Tab S8 5G (Snapdragon) | ||
## TWRP Device Tree | ||
|
||
## How-to compile it: | ||
- For Samsung Galaxy Tab S8. | ||
- Branch `main` is for Android 12.1. | ||
- Tested on models: X700 (WiFi version, CSC: CHN). | ||
|
||
```sh | ||
## Compilation Preparation | ||
|
||
- Open a terminal and `mkdir` a compilation directory. | ||
- `cd` to the compilation directory. | ||
- Run exactly the following commands in the terminal. | ||
|
||
```bash | ||
repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-12.1 | ||
repo sync | ||
mkdir ./device/samsung | ||
mkdir ./device/samsung/gts8 | ||
``` | ||
|
||
- `cd` to the `./device/samsung/gts8` directory. | ||
- Clone this GitHub repository by running `git clone <link-to-this-repository>`. | ||
- Now, the compilation directory is ready for the compilation. | ||
|
||
## Compilation | ||
|
||
- Open a terminal and `cd` to the compliation directory. | ||
- Run exactly the following commands in the terminal. | ||
|
||
```bash | ||
export ALLOW_MISSING_DEPENDENCIES=true | ||
. build/envsetup.sh | ||
. ./build/envsetup.sh | ||
lunch twrp_gts8-eng | ||
make recoveryimage | ||
``` | ||
|
||
Kernel source: | ||
- Find the compiled recovery images in the `./out/target/product/gts8` directory. | ||
|
||
# Kernel Source | ||
https://github.com/mohammad92/android_kernel_samsung_sm8450 |