Skip to content

Releases

Scram v1.0.2

Choose a tag to compare

@erfunm erfunm released this 10 Aug 13:36

🛡️ Scram v1.0.2 - Enhanced Scam Protection

🚀 What's New

Major Performance & Stability Improvements

✅ Fixed Critical Android 14 Compatibility Issues

  • Resolved foreground service crashes on Android 14+ devices
  • Fixed MediaProjection permission errors that prevented screenshot capture
  • Improved service lifecycle management for better reliability

⚡ Optimized AI Model Performance

  • Eliminated duplicate model initialization - faster startup times
  • Reduced memory usage during AI model loading
  • Improved GPU memory management for consistent performance
  • Faster scam detection with optimized model sessions

🔧 Enhanced Service Stability

  • Two-stage foreground service initialization for Android 14 compliance
  • Better error handling during permission requests
  • Improved service state management with reliable UI updates
  • Fixed service restart issues after permission grants

🎯 Core Features

  • Real-time scam detection using on-device Gemma AI
  • Instant screenshot analysis with advanced OCR
  • Smart text filtering removes UI clutter for better accuracy
  • App-specific detection optimized for messaging and email apps
  • Privacy-first design - all processing happens locally on your device

🛠️ Technical Improvements

  • Android 14+ foreground service compliance
  • MediaProjection service type handling
  • Memory leak prevention in model initialization
  • Improved OCR text preprocessing
  • Better notification channel management

📱 Compatibility

  • Minimum Android version: Android 7.0 (API 24)
  • Target Android version: Android 14 (API 34)
  • Optimized for: Modern Android devices with GPU acceleration
  • Model size: 3GB (downloaded automatically)

🔐 Privacy & Security

  • 100% offline processing - no data leaves your device
  • No internet connection required for scam detection
  • Optional usage statistics for enhanced app-specific detection
  • Secure screenshot handling with automatic cleanup

🐛 Bug Fixes

  • Fixed service crashes on Samsung and Pixel devices running Android 14
  • Resolved MediaProjection permission denied errors
  • Fixed UI state synchronization issues
  • Improved error messages and user feedback
  • Better handling of device rotation during screenshots

Download Size: ~50MB (3GB AI model downloads automatically)
Installation: Standard APK installation, no root required
Permissions: Screen capture, notifications, optional usage access for enhanced detection

Scram v1.0.1

Choose a tag to compare

@erfunm erfunm released this 09 Aug 11:50

Release Notes - v1.0.1

🔧 Critical ML Kit OCR Fix

Issue Resolved

Fixed a critical OCR functionality issue caused by ML Kit dependency incompatibility with Android 16 Beta. The existing ML Kit standalone SDK (com.google.mlkit:text-recognition) was experiencing model loading failures on newer Android versions, preventing text recognition from working properly.

Root Cause

  • Platform Compatibility Issue: The standalone ML Kit SDK had model download/initialization problems specifically on Android 16 Beta devices
  • Model Loading Failures: ML Kit was unable to access required OCR model files (taser_tflite_gocrlatin_mbv2_scriptid_aksara_layout_gcn_mobile_engine.binarypb) through the standard delivery mechanism
  • Android Version-Specific Bug: This was not an application code issue, but rather an upstream compatibility problem between ML Kit's model distribution system and Android 16 Beta

Solution Implemented

  • Migrated to Play Services ML Kit: Switched from com.google.mlkit:text-recognition:16.0.0 to com.google.android.gms:play-services-mlkit-text-recognition:18.0.2
  • Added Required Manifest Configuration: Implemented proper ML Kit dependency declaration in AndroidManifest.xml
  • Enhanced Model Download Reliability: The Play Services version uses a more robust model delivery mechanism that's compatible with Android 16 Beta

Technical Details

- implementation("com.google.mlkit:text-recognition:16.0.0")
+ implementation("com.google.android.gms:play-services-mlkit-text-recognition:18.0.2")
+ <meta-data
+     android:name="com.google.mlkit.vision.DEPENDENCIES"
+     android:value="ocr" />

Impact

  • ✅ OCR Functionality Restored: Text recognition now works reliably on all Android versions including Android 16 Beta
  • ✅ Improved Stability: Using Play Services delivery mechanism provides better long-term compatibility
  • ✅ Future-Proofed: Solution aligns with Google's recommended ML Kit implementation patterns
  • ✅ No Functionality Loss: All existing OCR features continue to work exactly as before

Note

This issue affected specifically newer Android versions and was resolved by adopting Google's recommended ML Kit integration approach. The core application logic and OCR processing capabilities remain unchanged.

Scram v1.0.0

Choose a tag to compare

@erfunm erfunm released this 06 Aug 21:50
3bb16af

Scram – Offline Scam Detection App
This APK lets you run Scram, an offline, on-device screenshot analyzer that detects scams, phishing, and fraud attempts using Google's Gemma 3n model. It runs fully on your phone using LiteRT + 4-bit quantization, with GPU acceleration for fast performance (~8–10s per scan).
No internet required. Just take a screenshot and stay safe.