This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #https://forums.developer.nvidia.com/t/how-do-i-change-the-device-tree/154431/6 | |
| #Install kernel deps | |
| set -x | |
| set -e | |
| sudo apt update && sudo apt-get install -y build-essential bc git curl wget xxd kmod libssl-dev | |
| #Gets the kernel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://en.wikipedia.org/wiki/Xvfb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ./adb shell cmd appops set com.whatsapp RUN_IN_BACKGROUND ignore | |
| ./adb shell cmd appops set com.yubico.yubioath RUN_IN_BACKGROUND ignore | |
| ./adb shell cmd appops set com.instagram.android RUN_IN_BACKGROUND ignore | |
| ./adb shell cmd appops set com.whatsapp RUN_IN_BACKGROUND | |
| ./adb shell cmd appops set com.zhiliaoapp.musically RUN_IN_BACKGROUND ignore | |
| ./adb shell cmd appops set com.tinder RUN_IN_BACKGROUND ignore | |
| ./adb shell cmd appops get piuk.blockchain.android RUN_IN_BACKGROUND | |
| ./adb shell cmd appops set piuk.blockchain.android RUN_IN_BACKGROUND ignore | |
| ./adb shell cmd appops set br.com.intermedium RUN_IN_BACKGROUND ignore | |
| ./adb shell cmd appops set bipa.app.bipa RUN_IN_BACKGROUND ignore |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <fstream> | |
| #include <vector> | |
| int main() | |
| { | |
| std::fstream f; | |
| std::string filePath = "file.txt"; | |
| f.open(filePath, std::ios_base::binary | std::ios_base::out | std::ios_base::in | std::ios_base::trunc ); | |
| if (!f.is_open()) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ALOGV(TAG, "#####################################################################"); | |
| std::fstream f; | |
| ALOGV(TAG, "original filePath: %s", filePath.c_str()); | |
| std::string filePath2 = "/storage/emulated/0/Android/data/com.stompai.flutter_app/files/something_3.txt";//filePath + "22w"; | |
| ALOGV(TAG, "gonna open filePath2: %s", filePath2.c_str()); | |
| f.open(filePath2, std::ios_base::binary | std::ios_base::in | std::ios_base::out); | |
| if (f.is_open()) { | |
| ALOGV(TAG, "is open"); | |
| } else { | |
| ALOGV(TAG, "is closed"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| repo init -u https://android.googlesource.com/platform/manifest -b emu-master-dev --depth=1 | |
| repo sync -c -j8 | |
| cd external/qemu | |
| python android/build/python/cmake.py [--target darwin_aarch64] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://fettec.net/en/shop/fettec-motor-1303.6 - FETtec Motor 1303.6 | |
| https://fettec.net/en/shop/fettec-mini-aio-15a - FETtec Mini AIO 15A (controller + ESCS?) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| boot.img format: | |
| https://forum.xda-developers.com/t/howto-unpack-edit-and-repack-boot-images.443994/ | |
| partitions explanation: | |
| https://forum.xda-developers.com/t/info-android-device-partitions-and-filesystems.3586565/ | |
| bootloader unlock possibility for some brands: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| x0vncserver -display :0 -localhost -passwordfile ~/.vnc/passwd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #This script will create a folder kernel_compare and download the first kernel in `kernel`, commit it, then download the second kernel on `kernel` also, and commit | |
| mkdir kernel_compare | |
| cd kernel_compare | |
| mkdir kernel | |
| #commit = 848ff3b146631bba895c487cd9104d094b987a47 | |
| git clone https://source.codeaurora.org/quic/la/kernel/msm-4.14 | |
| cd msm-4.14 |