Reimagining Pattern Locks with Invisible Motion Gestures.
TiltLock is a privacy-focused security application that abandons traditional PINs and touch patterns in favor of gyroscope-based tilt gestures. By rotating your device in a custom secret sequence (e.g., Left -> Right -> Forward), you unlock a secure vault for your most sensitive files and photos.
- Invisible Patterns: Unlock your phone without touching the screen in a way that shoulder surfers can track.
- Custom Sequences: Record your own unique tilt combinations.
- Adaptive Sensitivity: Configurable sensor thresholds to distinguish between natural movement and intentional gestures.
- AES-256 Encryption: Files are encrypted using the Android Keystore System (AES/GCM/NoPadding).
- On-the-fly Decryption: Stream media directly from the vault without permanently decrypting files to storage.
- Stealth Folder: Hide photos, videos, and documents away from gallery apps.
- Intruder Logging: Tracks every failed unlock attempt.
- Timeline View: View a history of when and how many times someone tried to access your vault.
- Glitch Feedback: Failed attempts trigger a "Cyber-Noir" glitch animation and haptic feedback to deter intruders.
- Immersive UI: Features a dark, high-contrast design with neon accents.
- Parallax Effects: UI elements shift and rotate in real-time based on device orientation.
- Haptic Feedback: Rich tactile responses for every tick, lock, and unlock event.
- Language: Kotlin
- Architecture: MVVM (Model-View-ViewModel)
- Sensors:
android.hardware.SensorManager(Gyroscope filtering & State Machine) - Security:
javax.cryptomeetsAndroidKeyStore - Persistence:
SharedPreferences+Gson(Lightweight JSON logging) - Concurrency: Kotlin Coroutines & LiveData
| Lock Screen | Secure Vault | Break-In Log |
|---|---|---|
![]() |
![]() |
![]() |
- Android Studio Iguana or newer
- KeyStore suitable for signing (debug key provided)
- Physical Device (Emulators may struggle with Gyroscope simulation)
- Clone the repository
git clone https://github.com/DhruvAthaide/TiltLock.git
- Open in Android Studio
- File -> Open -> Select
TiltLock/build.gradle.kts
- File -> Open -> Select
- Build & Run
- Connect your physical Android device.
- Run the
appconfiguration.
Contributions are welcome! Please fork the repository and submit a pull request for any features, bug fixes, or enhancements.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
Built with ❤️ by Dhruv Athaide


