Skip to content

Instantly share code, notes, and snippets.

@tryger
tryger / hook_methods.js
Created July 9, 2025 10:03
Frida script to hook methods in a class and print parameters
Java.perform(function () {
// Enhanced printObj function
function printObj(obj, objName = "Object") {
try {
if (obj === null || obj === undefined) {
console.log(`${objName}: null/undefined`);
return;
}
@tryger
tryger / install-bundles.sh
Created November 18, 2024 14:12
Manually install App Bundles script
#!/bin/sh
# This script automates the process described here https://raccoon.onyxbits.de/blog/install-split-apk-adb/
# Steps
# 1. Push bundles to /sdcard (adb push *.apk /sdcard)
# 2. Push this script (adb push install.sh /sdcard)
# 3. adb shell
# 4. cd /sdcard
# 5. sh install-bundles.sh