Skip to content

Instantly share code, notes, and snippets.

View zainarbani's full-sized avatar
🦉
Karnul

Zain zainarbani

🦉
Karnul
  • Indonesia
  • 13:28 (UTC +07:00)
View GitHub Profile
struct task_struct {
struct thread_info thread_info; /* 0 40 */
unsigned int __state; /* 40 4 */
/* XXX 4 bytes hole, try to pack */
void * stack; /* 48 8 */
refcount_t usage; /* 56 4 */
unsigned int flags; /* 60 4 */
/* --- cacheline 1 boundary (64 bytes) --- */
#ifndef TARGET_H
#define TARGET_H
// ====================================================================
// Target Alignment: Samsung Galaxy A54 5G (SM-A546E)
// Firmware Variant: A546EXXUJFZE9 (Linux Kernel 5.15 Stock Production)
// Production Calibrated Debug Sched Structure Configuration Profile
// ====================================================================
#define BUILD_VARIANT_LABEL "Samsung Galaxy A54 5G (SM-A546E)"
From 59893ef6cff4769f518e9e7a92415ac494f47a99 Mon Sep 17 00:00:00 2001
From: Fede2782 <78815152+Fede2782@users.noreply.github.com>
Date: Tue, 30 Jul 2024 14:50:33 +0200
Subject: [PATCH] BACKPORT: fs: path_umount namespace feature
Signed-off-by: zainarbani <zaintsyariev@gmail.com>
---
fs/namespace.c | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
[ro.product.board]: [kona]
[ro.product.brand]: [Pico]
[ro.product.build.date]: [Fri May 19 06:28:29 CST 2023]
[ro.product.build.date.utc]: [1684448909]
[ro.product.build.fingerprint]: [Pico/Phoenix/PICOA8110:10/5.6.0/smartcm.1684448909:user/dev-keys]
[ro.product.build.id]: [5.6.0]
[ro.product.build.tags]: [dev-keys]
[ro.product.build.type]: [user]
[ro.product.build.version.incremental]: [5.6.0]
[ro.product.build.version.release]: [10]
@zainarbani
zainarbani / decrypt.py
Created March 4, 2024 07:25
F670L decrypt
import sys
import argparse
import struct
import zlib
from os import stat
from io import BytesIO
from hashlib import sha256
from Cryptodome.Cipher import AES
"""Magic number constants from ZTE routers"""
From fb56c6f88ecf89b868db1ec2e8308b346bf5d0d2 Mon Sep 17 00:00:00 2001
From: zainarbani <zaintsyariev@gmail.com>
Date: Fri, 27 Oct 2023 19:42:42 +0700
Subject: [PATCH] Add KernelSU
Signed-off-by: zainarbani <zaintsyariev@gmail.com>
---
drivers/input/input.c | 4 ++++
fs/exec.c | 5 +++++
fs/open.c | 5 +++++