Skip to content

Instantly share code, notes, and snippets.

View LinkBoi00's full-sized avatar

Elias Dimopoulos LinkBoi00

View GitHub Profile
@mvaisakh
mvaisakh / kernel-rebase.sh
Last active May 16, 2024 01:59
A Kernel split changes committing script (used for splitting massive OEM kernel commits)
#!/usr/bin/bash
# author: Vaisakh Murali <mvaisakh@statixos.com>
#
# Before you start, make sure you squash all split OEM commits into
# one single commit. This will break down the single huge commit
# into multiple smaller commits, helping to cleanup OEM codes easier.
#
# Make sure this script is renamed to rebase.sh as the script
  1. customer_get_capture_config_by_scenario() [0x0014a000] (full diff):

    • REF: (param_1 == 8):

    patch1

  2. customer_get_capture_scenario() [0x00148408] (full diff):

    • REF: if (4 < Utils::ULog::ULogger::sDetailsLevel): patch2
    • REF: if (4 < Utils::ULog::ULogger::sDetailsLevel): patch3