Disable app
pm disable-user app.package.name
Re-enable it
pm enable app.package.name
Uninstall app Sometimes uninstall command may not work without -k option on un-rooted devices
import os | |
sublime_binary_path = "/tmp/sublime_text" # FIXME: this is the absolute path to writable sublime_text binary. | |
version_magic_string = "4126" | |
sz_magic_string = 4 | |
version_magic_string_offset = 0x0002d78a # (Real offset from xxd) | |
is_file_read = os.access(sublime_binary_path, os.R_OK) | |
if not is_file_read: |
> * Go to [hexed.it](https://hexed.it/) | |
> * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)** | |
> * Go to Search and in "Search for" put: 80 78 05 00 0F 94 C1 | |
> * In Search Type select "Enable replace" and put: 80 78 05 00 0F 94 C1 | |
> * Click "Find next" then "Replace" | |
> * Do the same thing with: C6 40 05 01 48 85 C9 => C6 40 05 01 48 85 C9 | |
> * Click "Save as" then name it: sublime_text | |
> * Copy your modified sublime_text.exe to directory Sublime Text |
public static class AdbHelper | |
{ | |
public static string AdbPath = "adb.exe"; | |
public static MemoryStream ExecuteCommandBuffer(string command) | |
{ | |
using(Process process = new Process()) | |
{ | |
process.StartInfo.FileName = AdbPath; | |
process.StartInfo.WorkingDirectory = Directory.GetCurrentDirectory(); |
(async () => { | |
function sleep(ms) { | |
return new Promise((resolve) => setTimeout(resolve, ms)); | |
} | |
function getPageId() { | |
const tags = Array.from( | |
document.body.querySelectorAll("script:not([src])") | |
); |
Nullsoft Scriptable Install System is also known as NSIS open-source system to create Windows application installers. NSIS is a script-based system allowing you to create the logic behind your installer/setup file in a complex way to install tasks. NSIS offers plug-ins and other scripts, for example, to download/install 3rd-party files or communicate with Windows.
This tutorial will guide you through installing and creating your first Windows installer with Nullsoft Scriptable Install System and how to compile your project. Captura Portable will be used as "our application" for the sake of this tutorial.
Head to NSIS official site and download the latest release and install it. Run NSIS and you will be welcomed with a menu like below, It's always a good practice to read the Documentation before jumping in t
from flask import Flask, request | |
import requests | |
import json | |
import config | |
app = Flask(__name__) | |
app.config['SECRET_KEY'] = 'enter-your-app-secret-key' |
https://kolappan.com/blog/2020/debloating-redmi-8/ | |
find package using this | |
pm list packages -f | grep PACKAGE | |
uninstall package | |
130|olive:/ $ pm uninstall com.miui.android.fashiongallery | |
Failure [-1000] |