Skip to content

Instantly share code, notes, and snippets.

View Vgdn1942's full-sized avatar

Василий Ковалёв Vgdn1942

View GitHub Profile
@Vgdn1942
Vgdn1942 / AdbCommands
Created October 30, 2024 10:47 — forked from Pulimet/AdbCommands
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@Vgdn1942
Vgdn1942 / fixdd
Created April 28, 2022 10:03 — forked from mmtrt/fixdd
[ROOT] [Termux] [Script] [Fix] [begonia] DriveDroid on Android 9+
#!/data/data/com.termux/files/usr/bin/bash
setprop sys.usb.config cdrom
setprop sys.usb.configfs 1
getprop sys.usb.config >/config/usb_gadget/g1/configs/b.1/strings/0x409/configuration
rm /config/usb_gadget/g1/configs/b.1/f* &>/dev/null
@Vgdn1942
Vgdn1942 / mtk_set_random_wifi_mac.sh
Created February 2, 2020 18:18 — forked from beatcracker/mtk_set_random_wifi_mac.sh
MTK WiFi MAC address randomizer
#!/system/bin/sh
# MTK WiFi MAC address randomizer
# BLITZ Y2K+14
# REQ: root, busybox, MTK device
# HOWTO: copy to /data or /system, use chmod 755
# Uncomment to view debug output
# set -xv
@Vgdn1942
Vgdn1942 / README.md
Created October 6, 2019 19:21 — forked from teffalump/README.md
OpenWRT adblock implementation

Others have recently developed packages for this same functionality, and done it better than anything I could do. Use the packages instead of this script:

Description

In its basic usage, this script will modify the router such that blocked addresses are null routed and unreachable. Since the address blocklist is full of advertising, malware, and tracking servers, this setup is generally a good thing. In addition, the router will update the blocklist weekly. However, the blocking is leaky, so do not expect everything to be blocked.

@Vgdn1942
Vgdn1942 / file.md
Created June 10, 2019 23:23 — forked from msfjarvis/sepolicy.md
How to write sepolicy to fix a denial
@Vgdn1942
Vgdn1942 / ConvertAndroidVectorDrawable2png.md
Created November 29, 2017 12:12 — forked from qinshulei/ConvertAndroidVectorDrawable2png.md
Convert Android VectorDrawable to png

转换方法:

  1. Convert Android VectorDrawable to SVG:

使用附件中的java程序。命令如下:

cp Vector2Svg.java path/to/xml_dir
javac Vector2Svg.java
java Vector2Svg ./*.xml
mkdir svg_dir