Go to file
ast261 46092e8e9f miami: adding missing kernel modules, kernel update 5.4.233 2023-10-29 14:49:23 +01:00
bootctrl miami: intial port 2023-10-23 17:16:27 +02:00
gpt-utils miami: intial port 2023-10-23 17:16:27 +02:00
prebuilt miami: adding missing kernel modules, kernel update 5.4.233 2023-10-29 14:49:23 +01:00
recovery/root miami: fixing vibration 2023-10-25 18:23:04 +02:00
Android.bp corfur: initial device tree files 2022-10-23 02:42:41 +05:30
Android.mk miami: intial port 2023-10-23 17:16:27 +02:00
AndroidProducts.mk miami: intial port 2023-10-23 17:16:27 +02:00
BoardConfig.mk miami: adding missing kernel modules, kernel update 5.4.233 2023-10-29 14:49:23 +01:00
README.md miami: update readme 2023-10-23 17:26:24 +02:00
device.mk miami: intial port 2023-10-23 17:16:27 +02:00
recovery.fstab corfur: Make decryption working 2022-10-23 12:20:36 +05:30
system.prop corfur: Add stock props 2022-10-23 03:56:27 +05:30
twrp_miami.mk miami: intial port 2023-10-23 17:16:27 +02:00
vendor.prop corfur: Add stock props 2022-10-23 03:56:27 +05:30
vendorsetup.sh corfur: allow missing dependencies 2022-10-23 04:31:08 +05:30

README.md

TWRP Device Tree for Motorola edge 30 neo (miami).

Setup repo tool

Setup repo tool from here https://source.android.com/setup/develop#installing-repo

Compile

Sync TWRP manifest:

repo init --depth=1 -u https://github.com/minimal-manifest-twrp/platform_manifest_twrp_aosp.git -b twrp-12.1

Make a directory named local_manifest under .repo, and create a new manifest file, for example local_manifests.xml and then paste the following

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="device/motorola/miami"
	name="ast261/twrp_device_motorola_miami"
	remote="github"
	revision="android-12.1" />
</manifest>

You might need to pick few patches from gerrit.twrp.me to get some stuff working.

Sync the sources with

repo sync -j$(nproc --all)

To build, execute this command:

. build/envsetup.sh; lunch twrp_miami-eng; mka bootimage

To test it:

# To temporarily boot it
fastboot boot out/target/product/miami/boot.img 

# To make twrp replace stock recovery temporarily boot twrp and navigate
to advanced menu and select Flash Current TWRP option.
#
# Copyright (C) 2022 The Android Open Source Project
#
# SPDX-License-Identifier: Apache-2.0
#