Skip to content

Instantly share code, notes, and snippets.

View Dixzz's full-sized avatar
💭
I may be slow to respond.

Satyam Sharma Dixzz

💭
I may be slow to respond.
View GitHub Profile
@Dixzz
Dixzz / AdbCommands
Created May 13, 2021 18:27 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@Dixzz
Dixzz / audit2allow-sepolicy-android
Created December 28, 2018 18:27 — forked from Nihhaar/audit2allow-sepolicy-android
Addressing selinux denials using audit2allow for android using logcat
# Goto android source code root and then execute following commands
# Keep the logcat.log in the root
export ANDROID_BUILD_TOP=$(pwd)
./external/selinux/prebuilts/bin/audit2allow -p out/target/product/{devicename}/root/sepolicy < logcat.log
# Copy the generated rules in respective files in the device tree