Skip to content

Instantly share code, notes, and snippets.

View gitclone-url's full-sized avatar
:shipit:
Noob but learning

Abhijeet gitclone-url

:shipit:
Noob but learning
  • Bengal
  • 19:36 (UTC +05:30)
View GitHub Profile
@lopestom
lopestom / Custom Recovery for MediaTek devices-0.md
Last active June 28, 2024 19:54
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:

@Zibri
Zibri / gitclean.sh
Last active February 18, 2024 19:20
Bash script to remove all revisions from github or gist repository.
#!/bin/bash
#
# By Zibri (2019)
#
# Usage: gitclean username password giturl
#
gitclean ()
{
odir=$PWD;
if [ "$#" -ne 3 ]; then