Skip to content
View jiganomegsdfdf's full-sized avatar

Organizations

@QQBFNext

Block or report jiganomegsdfdf

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Usage: go to folder "OUT/volume-*" e... Usage: go to folder "OUT/volume-*" extracted using "uefi-firmware-parser -b xbl.img -e -o OUT" and using any methods find directory with many other directories, usually its fourth level, starting from volume-* folder
    1
    import os
    2
    import re
    3
    import shutil
    4
    
                  
    5
    dxefdfinc = []
  2. This program help your parse your ue... This program help your parse your uefiplat to C code.
    1
    from pyfdt.pyfdt import FdtBlobParse
    2
    
                  
    3
    # NOTICE, you need to install pyfdt package first :)
    4
    # pip install pyfdt
    5
    
                  
  3. Help adapting anything like "techpac... Help adapting anything like "techpack/camera" for successful building using gcc 6 (PostmarketOS), if any error came up, that not script fault, that means OEM provide not so good sources, but it will be easy to fix. Usage: python3 AbsoluteToRelative.py "PATH where to replace all includes to relative one". THAT SCRIPT ALSO GOES IN SUBDIRECTORIES!!!
    1
    import os
    2
    import subprocess
    3
    import sys
    4
    
                  
    5
    def find(name, path):
  4. python script to know which device_p... python script to know which device_pm_callback_end uses most time, usage: CONFIG_TRACING=y ; echo 1 > /sys/kernel/debug/tracing/events/power/device_pm_callback_end/enable ; echo 1 > /sys/kernel/debug/tracing/tracing_on ; python3 device_pm_callback_end_trace.py /sys/kernel/debug/tracing/trace
    1
    import math
    2
    import sys
    3
    checked = [[0, 0]]
    4
    
                  
    5
    with open(sys.argv[1]) as file: # should be /sys/kernel/debug/tracing/trace or some file
  5. Get sda_encoding/scl_encoding from m... Get sda_encoding/scl_encoding from mainline node
    1
    def TLMM_GPIO_CFG(gpio, func, dir, pull, drive):
    2
        return (
    3
            ((gpio & 0x3FF) << 4) |
    4
            ((func & 0xF) << 0) |
    5
            ((dir & 0x1) << 14) |
  6. aston-mainline aston-mainline Public

    Forked from map220v/sm8550-mainline

    Mainline kernel for OnePlus 12R/Ace 3

    C 4 2