Locking Down Android

Stephan Burns | Nov 16, 2024

Locking down what an Android device can do can be extremely helpful. Especially if other people use your Android device. Below are some of the steps that you can take to limit the capabilities of your Android devices.

Install ADB

https://developer.android.com/tools/releases/platform-tools

Enabling ADB

Open Settings > About Phone Tap on build number until it says your a developer Close and reopen Settings > System > Advanced > Developer options Scroll down a bit and enable USB debugging Hit OK and the warning.

Don’t forget to disable ADB when your done!

Disabling Apps

adb shell pm list packages | grep PACKAGE_NAME
adb shell pm disable-user --user 0 PACKAGE_NAME
adb shell pm enable PACKAGE_NAME

Default Lineage Apps

  • Calculator: com.android.calculator2
  • Messages: com.android.messaging
  • AudioFX: org.lineageos.audiofx
  • Calendar: org.lineageos.etar
  • Camera: org.lineageos.snap
  • Contacts: com.android.contacts
  • Files: com.android.documentsui
  • Gallery: com.android.gallery3d
  • Music: org.lineageos.eleven
  • Phone: com.android.dialer
  • Recorder: org.lineageos.recorder
  • Clock: com.android.deskclock
  • Browser: org.lineageos.jelly
  • Settings: com.android.settings

Locking Apps

https://github.com/Maxr1998/MaxLock/releases/tag/v7.0.6 adb install MaxLock_*.apk

Installing An Appstore

Google Play Store(doesn’t require an account): https://aurorastore.org/aurorastore.apk adb install AuroraStore-*.apk