Skip to content

Instantly share code, notes, and snippets.

View Ardjlon's full-sized avatar
:octocat:

Ardany Jolón Ardjlon

:octocat:
View GitHub Profile
@ThEMarD
ThEMarD / Kang blobs from a section of your proprietary-files on LineageOS 17.1.txt
Last active July 25, 2024 11:50
Kang blobs from a section of your proprietary-files on LineageOS 17.1
Make sure the device's and/or commonized device proprietary-files are updated with the same blobs that you want in your proprietary vendor repo.
Next, to use the kang and section mode we need the switches "-k -s". -k tells extract-files to only kang/pull updated blobs without deleting any blobs. -s tells it to only update ones from a commented section of your proprietary-files.
for example, if i have this in my proprietary-files
# ADSP - from oneplus3t - OnePlus/OnePlus3/OnePlus3T:9/PKQ1.181203.001/1911042108 - OOS 9.0.6
vendor/lib/libadsp_hvx_callback_skel.so
vendor/lib/libadsp_hvx_stub.so
@Lacentix
Lacentix / qcacld-3.0.sh
Last active February 28, 2024 13:32
Import or update Subtrees
#!/bin/bash
#
# This script imports/updates CLO sub-trees
#
read -p "Please input the tag/branch name: " branch
read -p "What do you want to do (import (i) or update (u)): " option
case $option in
import | i)