Replace loopN with loop number listed with partx command
balena os download raspberrypi4-64 -o rpi4.img
losetup -fP --show rpi4.img
mount /dev/loopNp6 $MOUNTPOINT
| #!/bin/sh | |
| sudo dnf install --assumeyes openssh-server | |
| sudo /usr/libexec/openssh/sshd-keygen rsa | |
| sudo /usr/libexec/openssh/sshd-keygen ecdsa | |
| sudo /usr/libexec/openssh/sshd-keygen ed25519 | |
| echo " | |
| # For VS Code | |
| Port 22$VERSION # Prevent conflicts with other SSH servers |
Let's say you want to access the application shared preferences in /data/data/com.mypackage.
You could try to run adb shell and then run-as com.mypackage
( or adb shell run-as com.mypackge ls /data/data/com.mypackage/shared_prefs),
but on a production release app downloaded from an app store you're most likely to see:
run-as: Package 'com.mypackage' is not debuggable
| #!/usr/bin/env python | |
| # -*- encoding: UTF8 -*- | |
| # Advanced example for an PyS60 application that makes use of appuifw.Form(). | |
| # originally found on <http://www.mobilenin.com/pys60/info_tabs_forms.htm> | |
| # changed and adopted for the N95 by Philipp Klaus <philipp.l.klaus AT web-dot-de> | |
| # Copyright (c) 2006 Jurgen Scheible | |
| # This script creates a form |