- 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 phoneadb shell
to get shellpm list packages
to list packagespm list packages -3 | cut -f 2 -d ":"
to list user installed packagespm list permissions
to list all permissions available system-wideappops get <PackageName>
to list permissions for a specific appappops set ignore
to ignore a permission for a specific app
#!/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 |
# 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 |
Command:
$ fastboot help
Output:
usage: fastboot [OPTION...] COMMAND...
flashing:
#!/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 |
This actually downloads the models, and is NOT just new SiriUI. Hence, this process is complex and probably not worth it.
- 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.
- 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
adb
is the Android CLI tool with which you can interact with your android device, from your PC
You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.
Don't hesitate to read comments, there is useful tips, thanks guys for this !
The following instructions were predominantly sourced via this Apple Support Document.
With macOS, you can use a USB flash drive or other removable media as a startup disk from which to install macOS. These advanced steps are intended primarly for system administrators and others who are familiar with the command line.
The final executable command(s) are found within Section III. Final macOS Executable Commands labled as Full Example or Full Example w/Options. I personally use the w/Options command which include both the --nointeraction
and &&say Installation
commands.
# Install | |
# via http://askubuntu.com/questions/510056/how-to-install-google-chrome | |
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
sudo apt-get update | |
sudo apt-get install google-chrome-stable | |
# Update |