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
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
from argparse import ArgumentParser | |
class Image(): | |
def __init__(self): | |
self.partition = '' | |
self.imagename = '' | |
self.unknown1 = 0 | |
self.unknown1 = 0 | |
self.crc32 = 0 |
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.
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.
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.
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.