Skip to content

Instantly share code, notes, and snippets.

View bluehomewu's full-sized avatar
:octocat:
learning.....

EdwardWu bluehomewu

:octocat:
learning.....
View GitHub Profile
@lopestom
lopestom / 0. Copying firmware files to the Device Tree - Mediatek.md
Last active June 28, 2024 19:53
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.

@alwynpan
alwynpan / 11-seven.md
Last active May 23, 2023 11:12
Mock location on LineageOS 16/17 with GPS Joystick

Mock location on LineageOS 16/17 with GPS Joystick

Prerequisite

  • A computer (tested on Windows 10, but I don't see any reason it won't work with macOS or Linux).

  • A LineageOS 16/17 compatible phone (LineageOS 16 is recommended, some users reported random crash on LineageOS 17).

  • Download the minimal ADB from XDA Developers Forum and unzip it.

@P1N2O
P1N2O / README.md
Last active May 29, 2024 13:26
Guide to Compile an Android Kernel with Clang

Android Kernel Compilation Guide

This gist is intended to assist beginners, like myself, in getting started with Android Kernel Compilation. Please note that while I'm sharing my setup and process, this guide may not be entirely accurate, and I welcome suggestions from experienced developers to improve it.

Installing Build Tools

I am on Arch, so I will be using pacman to install the base-devel package group.

sudo pacman -S base-devel

On a Debian based distro, you can use apt and install the build-essential package.

@shakalaca
shakalaca / asus_raw_unpack.py
Last active April 14, 2023 07:18 — forked from sabpprook/asus_raw_unpack.py
ASUS RAW flash file unpacker
from argparse import ArgumentParser
class Image():
def __init__(self):
self.partition = ''
self.imagename = ''
self.unknown1 = 0
self.unknown1 = 0
self.crc32 = 0
@fokayx
fokayx / git_remote_set-url.md
Last active February 23, 2024 09:52
Git switch remote URLs. Git 更換遠端伺服器倉庫網址

Git 更換遠端伺服器倉庫網址URL

1.確認目前Git遠端伺服器網址: git remote -v

git remote -v
origin  https://github.com/USERNAME/REPOSITORY.git (fetch)
origin  https://github.com/USERNAME/REPOSITORY.git (push)

2.更換Git遠端伺服器位網址,使用:git remote set-url