Android
Useful software packages
- Files
- SQLite database editor to edit app database
- Save on Device to save from Send any file to any place, including Nextcloud
- Network
- Ning to scan devices on network
- WLANScanner to scan Wi-Fi networks and view their channels
- RethinkDNS to monitor and filter network traffic by apps, IP, DNS resolver and more
- System
- App Manager to enable/disable apps and launch hidden activities
Remote control from PC using scrpy
Useful keyboard shortcuts:
Keys | Usage |
---|---|
ctrl + mouse | Pinch to zoom |
mod + r | Rotate screen |
Proper maps/cartography with OsmAnd
- Use the version on F-Droid for all features
- Store data in
/Android/media/*
to access it outside the app - like for recorder tracks - Regarding the Online Maps plugin
- Some additional packs can be added directly as URL, such as Thunderforest
- A lot of additional map packs can be found on AnyGIS
- How to install IGN France SCAN maps:
- sqlite to import
- Correction needed for
tilesize
in the database from 512 to 256 - source
Create work profile with Island
- Just install it from the Play Store and set it up!
- To share file between mainland and island:
- In Material Files
- Create a new external connection
- Select a Work folder
- This will give a read-only access, but this can be done in both lands
- In Material Files
Magisk
Install via direct sideload
- Download the latest release
- On device: Install the APK then reboot to recovery
- On PC: rename the
*.apk
to*.zip
, and sideload it
Remove all installed modules (may fix bootloop)
- Install Magisk
- Reboot
adb wait-for-device shell magisk
–remove-modules while booting
List of great Magisk modules
- XDA: Best Magisk modules
- Pass SafetyNet with SafetyNet-Fix
- Remove navbar HideNavBar
- Change default Quickstep provider (given compatible launcher) with QuickSwitch
- Install APK automatically without prompt with F-Droid alternative: Aurora Services
Android Debug Bridge
- Activate Developer Mode: In Settings → About device → Software info and tap on Build number
- Use ADB as root:
adb root
- If you want to filter out logcat:
adb shell
, thenlogcat | grep XYZ
- If you want to know which architecture you’re on, then:
adb shell getprop ro.product.cpu.abi
Shell commands
- Disable one application
pm disable org.packagename
-
As root, switch from one SIM to the next with
2
being the SIM to be switched to:settings put global multi_sim_data_call 2 settings put global config_current_primary_sub 2 simdata am broadcast -a android.intent.action.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED
Use it via WLAN
If it doesn’t work, try in admin
adb tcpip 5555
adb connect 192.168.43.1:5555
Android Auto
Allow non-Play store app on Android Auto
Useful to use OsmAnd~ with Android Auto!
- The above will delete app data, so backup first!
- Clear storage of Android Auto
- Install AA-Tweaker
- Go to AA-Tweaker, select the wished app and tap “Patch custom apps”
- Reboot
- Go to the Android Auto settings → Customize Launcher to see if the app appear
Desktop Head Unit
DHU is an Android Auto head unit emulator.
- Install
- Install Android Studio Beta
- In Tools → SDK Manager, go to tab SDK Tools and install “Android Auto Desktop Head Unit Emulator”
- Find the DHU executable
- In the same window, copy the Android SDK Location and open it
- Navigate to
SDK_LOCATION/extras/google/auto/
- Connect with ADB Tunneling - Source
- Set developer mode on Android Auto
- In the overflow menu, select Start HDU Server
- Redirect the port
adb forward tcp:5277 tcp:5277
- Launch the DHU Server
desktop-head-unit.exe
Reverse engineering
Decompiling APK
This blog post has some good suggestions.
- JADX Dex to Java decompiler