
Via generic usage
~ $ ./hello_arm64 in termux print Hello cross-compilation world!
tetris:/tmp $ ./hello_arm in adb shell print Hello cross-compilation world!
scp then chmod in ~
~/Prototypes/dockcross$
From https://murena.com/shop/smartphones/brand-new/murena-cmf-phone-1/ with hardware https://cmf.tech/en-be/pages/phone-1 and software https://doc.e.foundation pre-installed.
web-ext run -t firefox-android --android-device=0010134BN000945 --firefox-apk org.mozilla.firefox
adb shell reboot -p to shutdown, -p stands for poweroff
adb shell am start -n org.bromite.bromite/com.google.android.apps.chrome.Main -a android.intent.action.VIEW -d 'https://fabien.benetou.fr'
adb connect videoprojector:5555 ; adb push $(mr mkv) /sdcard/Download/;adb shell am start -n org.videolan.vlc/org.videolan.vlc.gui.video.VideoPlayerActivity -d file:///sdcard/Download/file.mkv
adb connect IP works without any developer mode activated
pm list packages
adb shell setprop persist.lynx.openxr.distortion 0
/mnt/vendor/persist/qvr as qvr.tar in ~/Prototypes
jarsigner or do so via Android Studio
keytool prior
zipalign does not seemed to be required
adb shell am start -a android.settings.SETTINGS then scrcpy to be able to interact
adb shell am start -a android.intent.action.MAIN -c android.intent.category.HOME
adb through termux :
adb tcpip 5555 with Lynx plugged in
adb connect localhost:5555
adb shell am start -n com.termux/.HomeActivity
adb shell am force-stop com.oculus.vrshell
.termux/boot/start-webxr
sleep 20
adb connect localhost # assumes rooting with adb enabled on boot (via eventhorizon)
adb shell am start -n com.oculus.vrshell/.MainActivity -d apk://com.oculus.browser -e uri https://companion.benetou.fr/index.html?username=q4_autoenter_vr_quest
chrome://flags disable "webxr user activation requirement"
autovropenquest https://companion.benetou.fr/index.html?username=q4_pull_to_ring
~/.bashrc the function autovropenquest(){ adbshell am start -n com.oculus.vrshell/.MainActivity -d apk://com.oculus.browser -e uri "$1\&autoenter_vr_quest=true" }
autoenter_vr_quest query parameter
\& must be escaped
-t 4 to specify adb device if more than 1 is connected
--display-id=0
adb shell dumpsys display | grep "mDisplayId=: " | sort | uniq
shell am broadcast -a com.oculus.vrpowermanager.prox_close
shell am broadcast -a com.oculus.vrpowermanager.automation_disable
adb shell am start -n com.oculus.vrshell/.MainActivity -d apk://com.oculus.browser -e uri ""
In order to be able to use Termux with addons, e.g https://wiki.termux.com/wiki/Termux:Boot , use the F-droid build.
See also https://github.com/QuestEscape
Used for mirroring on VR and AR devices but also eInk, e.g PineNote with stock OS.
scrcpy -n -m 1024 -b 10M --max-fps=24 -f
--crop=1832:1920:0:0 fails, bug in the HMD
Example to get WebView https://pub.dev/packages/webview_flutter on a device :
cd ~/Prototypes/flutter-plugins/packages/webview_flutter/webview_flutter_android docker run --rm -it -v "$PWD":/build --workdir /build/example cirrusci/flutter:stable flutter build apk # if built and installed before # docker run --rm -it -v "$PWD":/build --workdir /build/example cirrusci/flutter:stable flutter clean # adb uninstall io.flutter.plugins.webviewflutterandroidexample adb install example/build/app/outputs/flutter-apk/app-release.apk adb shell monkey -p 'io.flutter.plugins.webviewflutterandroidexample' -v 500 # to check and control from desktop # scrcpy
Used on AugmentedReality for the Google Glass Enterprise 2 and VuzixBlade.
~/SandboxedReusableExplorations/ionic/
android avd
ionic serve to test in the browser
adb shell getprop | grep product.cpu.abi
adb shell
cd /data/data/your.app.reversed.domain/files
cat yourfile.txt
mount/.../umount
android update project --target 1 --path . to work with ant
Requires JDK, Ant, AndroidSDK
android avd ...
create project
ant debug
avd -s DEVICE install PATH/TO/APP.apk
blending PIM and QS via QRcodes
dailycalories
grep " /RealLife" /webroot/var/log/lighttpd/access.log | awk '{print $4 " " $7}'
My notes on Tools gather what I know or want to know. Consequently they are not and will never be complete references. For this, official manuals and online communities provide much better answers.