Skip to content

Instantly share code, notes, and snippets.

View satyamisme's full-sized avatar

Satyamisme satyamisme

  • kuwait,india
View GitHub Profile
@satyamisme
satyamisme / root_mi_box_s_2nd_gen.md
Created August 18, 2024 08:24 — forked from supechicken/root_mi_box_s_2nd_gen.md
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
@satyamisme
satyamisme / best_SAE_trick.md
Created September 23, 2024 19:41 — forked from f1shy-dev/best_SAE_trick.md
sneakyf1shy's apple intelligence tutorial

the sneakyf1shy apple intelligence tutorial v2.0

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.
  • What does work: Slightly better Siri, New UI
    • (e.g) You can ask about the iPhone/iPad User Guide, or ask to play a specific song in Spotify, which Old Siri could not do.

⚠️ Small preface note

@satyamisme
satyamisme / Install_USB_Maker.sh
Created October 8, 2024 19:05 — forked from dakanji/Install_USB_Maker.sh
Creates Bootable USB for Mac OS Lion to Monterey (Excluding Mavericks)
#!/usr/bin/env bash
# Install_USB_Maker.sh
# Copyright (c) 2020 - 2024 Dayo Akanji
# - [email protected]
# Portions Copyright (c) Jeff Geerling
# - https://github.com/geerlingguy/macos-virtualbox-vm/blob/master/LICENSE
#
# MIT License
@satyamisme
satyamisme / fastboot_help.md
Created April 22, 2025 08:13 — forked from MrHallows/fastboot_help.md
fastboot commands

Command:

$ fastboot help

Output:

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

flashing:
@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
@satyamisme
satyamisme / miui_adb_install.sh
Created May 3, 2025 13:33 — forked from mailinglists35/miui_adb_install.sh
MIUI 「USB安装」免登录账号
#!/bin/sh
set -e
setprop persist.security.adbinput 1
setprop persist.security.adbinstall 1
provider_prefs_xml=/data/data/com.miui.securitycenter/shared_prefs/remote_provider_preferences.xml
provider_prefs_tmp_xml=/data/local/tmp/remote_provider_preferences.xml
sed -e "/security_adb_install_enable/d;/permcenter_install_intercept_enabled/d" $provider_prefs_xml > $provider_prefs_tmp_xml
@satyamisme
satyamisme / appops.md
Created May 7, 2025 15:02 — forked from aldosch/appops.md
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