Skip to content

Instantly share code, notes, and snippets.

View satyamisme's full-sized avatar

Satyamisme satyamisme

  • kuwait,india
View GitHub Profile
@satyamisme
satyamisme / repaire-damaged-ext-drive.sh
Created April 28, 2025 09:28 — forked from kabacs/repaire-damaged-ext-drive.sh
Repairing damaged external drive (flash drive) on OS X
# If "Disk Utility" can't erase a demaged disk and throw errors, like these:
# a) "-69888: Couldn't unmount disk";
# b) "Couldn't modify partition map".
# You can repair disk (if it is damaged partially, just by a program error, while changing partition map of a disk in) by
# FULL ERASING OF A DISK - you can do that ONLY in A COMMAND LINE, using "diskutil" command (on OS X)
# 1. Firstly you must get path of a drive in a system, like this:
diskutil list
# Than complete erasing of a disk:
diskutil eraseDisk free EMPTY /dev/disk4
@f1shy-dev
f1shy-dev / best_SAE_trick.md
Last active May 3, 2025 05:44
sneakyf1shy's apple intelligence tutorial

the sneakyf1shy apple intelligence tutorial v2.0

Warning

This is patched as of iOS/iPadOS 18.1 DevBeta 5. If you want to follow this, stay on Beta 4.

This actually downloads the models, and is NOT just new SiriUI. Hence, this process is complex and probably not worth it.

⚠️ Prepare to be disappointed and annoyed, and have your time wasted! ⚠️

  • What does not work: Writing Tools, Memories, Reduce Interruptions, Image Eraser and other tools that are within official Apple Intelligence on supported devices.
@supechicken
supechicken / root_mi_box_s_2nd_gen.md
Last active May 5, 2025 17:53
A tutorial for rooting Xiaomi TV Box S 2nd Gen (jaws) without UART/teardown

Rooting Xiaomi TV Box S 2nd Gen (jaws) without UART/teardown

Table of contents

  • Prerequisites
  • Step 1: Download the stock ROM for Xiaomi TV Box S 2nd Gen
  • Step 2: Extract boot image from the OTA archive
  • Step 3: Update the system with downloaded OTA archive
  • Step 4: Patch boot image with Magisk
  • Step 5: Unlock bootloader with fastboot
  • Step 6: Reboot to system and complete setup
@aldosch
aldosch / appops.md
Created July 18, 2023 03:48
Change android appops with adb
  • Enable developer mode on android by tapping build number repeatedly
  • Connect to computer via usb
  • Ensure that adb is installed adb --version
  • adb devices to see devices, may need to auth on phone
  • adb shell to get shell
  • pm list packages to list packages
  • pm list packages -3 | cut -f 2 -d ":" to list user installed packages
  • pm list permissions to list all permissions available system-wide
  • appops get <PackageName> to list permissions for a specific app
  • appops set ignore to ignore a permission for a specific app
@kabacs
kabacs / repaire-damaged-ext-drive.sh
Created January 25, 2022 16:25 — forked from Kyborg2011/repaire-damaged-ext-drive.sh
Repairing damaged external drive (flash drive) on OS X
# If "Disk Utility" can't erase a demaged disk and throw errors, like these:
# a) "-69888: Couldn't unmount disk";
# b) "Couldn't modify partition map".
# You can repair disk (if it is damaged partially, just by a program error, while changing partition map of a disk in) by
# FULL ERASING OF A DISK - you can do that ONLY in A COMMAND LINE, using "diskutil" command (on OS X)
# 1. Firstly you must get path of a drive in a system, like this:
diskutil list
# Than complete erasing of a disk:
diskutil eraseDisk free EMPTY /dev/disk4
@matteyeux
matteyeux / build_pongo.sh
Last active July 2, 2024 01:20
Bash script to install dependencies needed to build PongoOS on Linux
#!/bin/bash
############################################################
# Script to install everything needed
# to build PongoOS on Linux.
# tested on Debian and Ubuntu
#
# to clean : sudo rm -rf /opt/ios-arm64e-clang-toolchain \
# pongoOS /usr/share/sdks
############################################################
set -e
@satyamisme
satyamisme / .. MediaCreationTool.bat .md
Created September 27, 2020 08:08 — forked from AveYo/.. MediaCreationTool.bat ..md
Universal MediaCreationTool wrapper for all MCT Windows 10 versions from 1607 to 2004 with business (Enterprise) edition support

Preview1 Preview2

Update: adjusted script for easy splitting into a lite version (only missing generating RS1/RS2 business entries)

2018.10.10: reinstated 1809 [RS5]! using native xml patching for products.xml; fixed syntax bug with exit/b
2018.10.12: added data loss warning for RS5
2018.11.13: RS5 is officially back! + greatly improved choices dialog - feel free to use the small snippet in your own scripts
2019.05.22: 1903 [19H1]
2019.07.11: 1903 __release_svc_refresh__ and enable DynamicUpdate by default to grab latest CU
@MrHallows
MrHallows / fastboot_help.md
Last active April 22, 2025 08:13
fastboot commands

Command:

$ fastboot help

Output:

usage: fastboot [OPTION...] COMMAND...

flashing:
  • Boot into clover off of the USB
  • Start up the Clover EFI shell
  • Pull the USB (saves confusion in the next step)
  • Type "map" (no quotes)
  • Look at the drives and apply some thinking about which one is the drive where your Clover EFI drive is - the drive# from disk util will help if you have several drives/partitions showing up. Once you've got it, note the drive - e.g. mine was "FS2"
  • Type "bcfg boot dump" (no quotes)
  • You'll see each boot entry proceeded with a number. For the love of Pete, don't use any of those - determine the next number up. My highest was 03, so I used 04 in the next step.
  • Type the following to create the boot entry:
  • bcfg boot add 04 FS2:\EFI\CLOVER\CLOVERX64.EFI CloverUEFI
  • In the above step, the path is helped out by having checked my mounted EFI drive on my system. The last part, "CloverUEFI" above is how the boot entry will appear in BIOS - name this as you will.
@PsychoTea
PsychoTea / PanicParser.py
Last active June 11, 2023 19:54
A collection of useful iOS-related scripts
import sys
import json
import re
kslide = 0x0
if len(sys.argv) < 2:
print("Usage: PanicParser.py [file path]")
exit()