-
ARM 64 Assembly series
- ARM 64 Assembly Series — Basic definitions and registers
- ARM 64 Assembly Series — Offset and Addressing modes
- ARM 64 Assembly Series — Load and Store
- ARM 64 Assembly Series — Branch
- ARM 64 Assembly Series — Data Processing (Part 1)
- ARM 64 Assembly Series — Data Processing (Part 2)
- Practical ARM64 (selections and loops)
- Practical ARM64 (Subroutines)
- A Gentle Introduction to Assembly Language Programming
- What does the exclamation mark mean in the end of an A64 instruction?
- ARM Synchronization Primitives Development Article
- Exclusive Monitors
- Modelling the ARMv8 Architecture, Operationally: Concurrency and ISA
- ARM and Lock-Free Programming
- The AArch64 processor (aka arm64), part 14: Barriers
- ARM-ASM-Tutorial
- atomic linked-list LIFO in AArch64 assembly, using load or store between ldxr / stxr
- Набор инструкций A64
-
PinePhone emulator
-
Qualcomm+Snapdragon
-
Adreno
-
Profiling
-
Computer Vision
-
Android Open Source Project
-
Snapdragon Profiler troubleshooting
brew cask install android-platform-tools
-
Android Soong build system
-
Android Studio tips
- Using multicursor in Android Studio
- Build Your First Android App in Kotlin
- Suggestion: add 'tools:replace="android:icon"' to element
tl;dr
<application android:name="com.anthony.test.CustomApplication" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" tools:replace="android:icon, android:theme" >
apply plugin: 'com.android.library'
-
- Android IPC Mechanisms #1 — AIDL
- Android IPC Mechanisms #2 — Messenger
- Android IPC Mechanisms #3 — Broadcast
- IPC-Examples
- Why Connection refused got when connecting to LocalServerSocket from native program in Android
- How to create named pipe (mkfifo) in Android?
- requestLegacyExternalStorage is not working in Android 11 - API 30
-
- OpenCV on Android
- OpenCV4Android SDK
- An Android Studio project which has a module that contains OpenCV SDK files ported and configured to use CMake
- OpenCV For Android NDK
- Error: package android.hardware.camera2 does not exist OpenCV
- Link STL library with Gradle CMake project
tl;dr for OpenCV for Android SDK use only deprecatedgnustl
that has only limited c++11 support,c++
with c++17 support is incompatible
externalNativeBuild { cmake { //arguments '-DANDROID_STL=c++_shared' arguments '-DANDROID_STL=gnustl_static' cppFlags "-fexceptions -frtti -std=c++11" } }
- C++ Runtime Libraries for Android
- How to build executable ARM64-V8 program with OpenCL and fastcv for running on Android?
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fuse-ld=gold")
- undefined reference to `clCreateCommandQueueWithProperties' tl;dr howto fix
#define CL_HPP_MINIMUM_OPENCL_VERSION 100 #define CL_HPP_TARGET_OPENCL_VERSION 120 #include <CL/cl2.hpp>
-
ARM64 Best Practices
-
Get device information (such as product, model) from adb command
Set Governor: adb shell echo "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor Set Frequency in KHz: adb shell su -c "echo "702000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed" //min frequency adb shell su -c "echo "384000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq" //MAX frequency adb shell su -c "echo "384000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" Get current CPU Frequency: adb shell cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq Show availables governors: adb shell su -c "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors" Disable service that overwrite cpu online file: adb shell su -c "stop mpdecision" It's necessary to do this before enabling or disabling core. mp decision is restarted if the system is restarted. Disable core: adb shell su -c "echo "0" > /sys/devices/system/cpu/cpu3/online" If that doesn't work: & chmod 444 /sys/devices/system/cpu/cpu1/online
- switch off SELinux
adb shell "setenforce 0"
adb remount
-
How to read cpu frequency on android device
tl;drcat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
-
ADB Install Fails With INSTALL_FAILED_TEST_ONLY
tl;dradb install -t hello.apk
-
ADB Hack - Granting extra capabilities via the ADB tool
tl;dr, e.g.adb shell pm grant com.arlosoft.macrodroid android.permission.READ_LOGS adb shell pm grant com.arlosoft.macrodroid android.permission.DUMP adb shell pm grant com.arlosoft.macrodroid android.permission.PACKAGE_USAGE_STATS
-
adb useful commands list
tl;dr some useful commands
== Screenshot adb shell screencap -p /sdcard/screenshot.png $ adb shell shell@ $ screencap /sdcard/screen.png shell@ $ exit $ adb pull /sdcard/screen.png --- adb shell screenrecord /sdcard/NotAbleToLogin.mp4 $ adb shell shell@ $ screenrecord --verbose /sdcard/demo.mp4 (press Control + C to stop) shell@ $ exit $ adb pull /sdcard/demo.mp4
-
Установка android tools (ADB,fastboot, QTADB) на Debian/Ubuntu/Linux Mint
-
Insufficient permissions for device in Android Studio Workspace tl;dr
adb kill-server sudo adb start-server sudo adb devices
- ffplay has gone missing tl;dr
brew install ffmpeg --with-sdl2 to install ffplay
- ARM Mali GPU
- Notes on tinkering with Arm Mali GPUs
- The Mali GPU: An Abstract Machine
- ARM Mali GPU OpenGL ES Application Optimization Guide
- Panfrost, Panthor & rusticl
- GDC 2014: Performance Analysis and Optimization (Lorenzo Dal Col, ARM)
- Arm Mali Graphics Debugger
-
Tools and information for the Broadcom VideoCore IV (RaspberryPi)
-
Launch Activity from Native code
- How to launch a new Activity using NativeActivity?
- call android activity from jni directly from c++ process without java side
- Java Runtime.getRuntime(): getting output from executing a command line program
- Getting started with C++ and Android Native Activities
- Cross-process locking with Android NDK?
- Product-consumer with semaphores and forks
- test-flock.c
- Android Native Semaphore Not implemented
-
Rock5