You will need something from your Stock ROM first. Get them all and Try to modify it using the procedure.
Before anything or any comments or ideas, this is a way I wanted to try to inform and update what a device tree is and what it has, and finally how Custom Recovery is created. So this is not a complete guide and it won't be! I never intended to do that.
Please take a look and may you take a few minutes to read the original guide. I had written myself that I intended to update the information. I hope that after reading the original guide you can go back and have a few minutes of reading and mainly practice to gain experience.
This guide comes to complement or update some important information. All thanks to @rokibhasansagar about first guide Make A TWRP Tree For Your Device & Build
Certainly, given the breadth of the subject, it should have many more parts. But understand about "Minimal" thinking and that I didn't intend to extend it any further than necessary. So the guide has:
This is not a complete guide. But a start for future discussions.
As far as we know, companies may or may not include touchscreen drivers in the kernel. In such situations, experts analyze the kernel and modify it to include the correct driver and try to make the touch screen work. If you've seen the situation happen and you don't have extra touchscreen driver files, go to the links to learn about it or ask for help:
How to modify a (Meditek) Android kernel - github thanks for @ADeadTrousers
#!/bin/bash | |
# check root user | |
if [ "$(id -u)" != 0 ]; then | |
echo "ERROR! Run this script with root user!" | |
exit 1 | |
fi | |
#var | |
tool="SPflashtools" |
-
What is the purpose of this tutorial?
Understand that more and more you need a good PC/laptop/notebook equipment to compile Custom Recovery. Unfortunately, many people cannot or do not have the time to test/compile the device tree.
-
Why am I writing this?
Some informations about partitions from Android devices. |
Last updated on 03/05/2024.
🌎 initial file on 01/23/2024.
Many users, generally users with little knowledge and no experience, asked me which correct files should be placed in the device tree[^¹] for Custom Recovery to generally work.
But of course most of these users want to know the files that control the encryption, that is, they want to know the correct files so that the encryption/decryption can work. In this sense, as there is not much information about this on the internet, I decided to put some words and some experience that I have had over a few years with Mediatek devices.