Skip to content

Instantly share code, notes, and snippets.

View lopestom's full-sized avatar
☠️
🃏 💀 ◔ ☳ Learning ☴ Android 14 ☵ 🤖 ☠ 🃏

lopestorm lopestom

☠️
🃏 💀 ◔ ☳ Learning ☴ Android 14 ☵ 🤖 ☠ 🃏
View GitHub Profile
@lopestom
lopestom / 0. Copying firmware files to the Device Tree - Mediatek.md
Last active March 15, 2024 03:42
Copying firmware files to the Device Tree - Mediatek

Preface

:atom: 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.

@lopestom
lopestom / 0. Android Firmware File Partition Description - devices
Last active March 28, 2024 17:56
Some information about firmware files
Some informations about partitions from Android devices.
@lopestom
lopestom / roomservice.README.md
Created December 7, 2023 15:58 — forked from rokibhasansagar/roomservice.README.md
Fixed OmniROM's roomservice for Unofficial builds

OmniROM's roomservice - For Everybody

OmniROM's roomservice is now strictly blocking Unofficial Builds if the Device Tree is not available in their Gerrit/Github Organization.

These files are patched to bypass those restrictions.

@lopestom
lopestom / Using online resource to build custom recovery-I.md
Last active February 11, 2024 16:35
Building custom recovery - TeamWin - Fox - SHRP - PBRP online

Using online resource to build custom recovery - TeamWin - Fox - SHRP - PBRP

logo

Q&A - A quick understanding of the meaning of this tutorial.

  • 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?

@lopestom
lopestom / FlashTools-Installer.sh
Created May 16, 2023 00:14 — forked from Fire7ly/FlashTools-Installer.sh
SP Flash Tool on Linux? Why not? -)
#!/bin/bash
# check root user
if [ "$(id -u)" != 0 ]; then
echo "ERROR! Run this script with root user!"
exit 1
fi
#var
tool="SPflashtools"

Touchscreen not working in custom recovery on Mediatek devices - MTK - mtxxxx

This is not a complete guide. But a start for future discussions.

A little information

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

@lopestom
lopestom / Custom Recovery for MediaTek devices-0.md
Last active April 15, 2024 21:33
Make a Device Tree - Minimal Manifest

Preface

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.

The original idea

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: