Thanks to visit codestin.com
Credit goes to github.com

Skip to content

alisakkaf/Smart-Screen-Unlocker-Recovery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Smart Screen Unlocker Logo

πŸ”“ Smart Screen Unlocker Recovery v1.0

Python Version Platform License: MIT Maintenance

Smart Screen Unlocker Recovery is an advanced, automation-driven forensic and accessibility framework. It is specifically engineered to help mobile technicians, forensic experts, and everyday users recover access to Android devices with completely broken displays, dead touch digitizers, or inaccessible screens.

By injecting raw kernel-level touch gestures via an authorized ADB (Android Debug Bridge) interface, this tool acts as a synthetic hardware digitizer, allowing you to input your known pattern and recover your data.

⚠️ CRITICAL NOTICE: This is NOT a cracking, brute-forcing, or bypassing tool. It requires the device to have USB Debugging enabled, an authorized RSA fingerprint with the host PC, and the user MUST know the correct lock screen pattern.


πŸ”₯ Unrivaled Features & Capabilities

  • πŸ›‘οΈ Multi-State Awareness (AFU/BFU): Dynamically detects if the device is in Before First Unlock (BFU) or After First Unlock (AFU) states and adjusts the vertical matrix geometry accordingly.
  • πŸ“ Smart XML Container Bypassing: Intelligently ignores fake, full-screen transparent containers deployed by modern security patches (e.g., Samsung OneUI 8+) to locate the true lock screen grid.
  • 🎨 Interactive Visual GUI: Features a sleek, terminal-spawned graphical canvas allowing the technician to visually draw the pattern using a mouse, mirroring physical device interaction.
  • ⏱️ Auto-Timeout Prevention: Automatically boosts the device's screen_off_timeout to 5 minutes during the operation to prevent screen sleep, seamlessly restoring the original settings post-injection.
  • βœ… Deep Kernel Verification: Interrogates the Android OS (dumpsys window & dumpsys keyguard) to mathematically verify a successful unlock without relying on visual screen feedback.

πŸ“Έ Interface & Execution Preview

πŸŽ›οΈ Live Interactive Drawer πŸ“Š Deep Telemetry & Execution Log
Unlock Screen Custom Matrix Engine Execution and Verification
Live Hardware Touch Inference Device Connection & Handshake

βš™οΈ The 6-Engine Multi-Attack Strategy

To account for fragmentation across Android OEMs, DPI scaling, and custom UIs, this tool utilizes a sequential cascade of mathematical engines. If one fails, the script dynamically adjusts its geometry and fires the next!

Engine Strategy Name Description Target Devices
1 Dynamic XML Hierarchy Attempts to pull the exact pixel bounds directly from the UI Automator tree. Universal (If not blocked)
2 Golden Ratio Base Matrix Uses empirical OEM aspect ratios to calculate a mathematically perfect square or rectangle grid. Samsung & Generic AOSP
3 DPI Shifted Matrix Compensates for users who have altered their display scaling (Small/Large UI sizes). Universal
4 Custom High Matrix Targets shifted notification shade layouts, commonly found in Android 13+ environments. Samsung & Custom ROMs
5 Custom Extreme Matrix Built from extreme-case hardware telemetry for unique screen resolutions. Tall Aspect Ratios (21:9)
6 Cross-Over Failsafe Tests BFU matrices on AFU states (and vice-versa) in case of Knox or SystemUI desynchronization. Universal

πŸ“± Supported & Tested Devices

This framework calculates screen matrices dynamically, making it theoretically compatible with any Android device. However, it has been rigorously tested and optimized for the following architectures:

OEM / Brand Tested Models (Examples) UI Environment Success Rate
Samsung Galaxy S24 (SM-S921U), Galaxy S23 (SM-S911U) OneUI 5.0 - 8.5 🟒 100%
TCL T609DL, 30 SE, 40 XL TCL UI / AOSP 12-13 🟒 100%
Xiaomi / POCO Redmi Note 12, POCO X5 MIUI 14 / HyperOS 🟒 High
Motorola Moto G Stylus, Edge series MyUX / AOSP 🟒 High
Google Pixel 6, Pixel 7, Pixel 8 Pixel UI 🟒 High

πŸš€ Installation & Usage

πŸ“¦ Option 1: Standalone Windows Executable (Recommended)

You do not need Python installed. Simply download the standalone .exe from the Releases tab.

  1. Ensure USB Debugging is enabled on the target Android device.
  2. Connect the device to your PC and authorize the connection.
  3. Run Smart_Screen_Unlocker.exe.
  4. Draw your pattern on the interactive GUI and watch the terminal automate the injection!

πŸ’» Option 2: Running from Source

# Clone the repository
git clone [https://github.com/alisakkaf/Smart-Screen-Unlocker-Recovery.git](https://github.com/alisakkaf/Smart-Screen-Unlocker-Recovery.git)
cd Smart-Screen-Unlocker-Recovery

# Install build dependencies (optional, for compiling)
pip install -r requirements.txt

# Execute the script
python main.py 

βœ… Post-Unlock Success: Complete Control via Scrcpy

Once Smart Screen Unlocker Recovery successfully injects the kernel gestures and bypasses the secure BFU/AFU lockscreen state, your Android device is now fully unlocked and responsive to external display utilities.

You can immediately transition to scrcpy to achieve full low-latency screen mirroring, audio forwarding, and peripheral control to safely back up your system data.

πŸš€ Quick Execution Guide:

  1. Keep your device connected via the authorized USB/Wireless ADB interface.
  2. Download and extract the latest version of scrcpy onto your host machine.
  3. Execute the following terminal commands depending on your recovery workflow:
# Standard high-performance mirroring with the physical device screen off
scrcpy --always-on-top --turn-screen-off --stay-awake

# Advanced forensic stream optimized for backup operations
scrcpy --max-fps=30 --video-bit-rate=4M --audio-bit-rate=128k --window-title="Recovered Device Screen"

---

## πŸ› οΈ Compiling to .exe (For Developers)

To bundle the utility into a portable runtime executable with your custom icon (`6437133.png`), execute this command in your PowerShell/CMD:

```powershell
python -c "from PIL import Image; img = Image.open('6437133.png'); img.save('icon.ico', format='ICO')" ; pyinstaller --noconfirm --onefile --console --icon="icon.ico" --name="Smart_Screen_Unlocker" --clean main.py 

🌟 Support the Project

If this digital forensics asset saved your data or assisted your mobile repair workflow, please consider giving the repository a ⭐ Star to increase its distribution visibility across developer channels!

πŸ‘¨β€πŸ’» Developer & Contact Portfolio

πŸ’‘ Support the Developer

If you find my tools and projects useful, consider supporting my work. Your support helps keep these projects completely free!

Crypto Asset Network Wallet Address (Copy) Quick Scan
USDT TRC20 TYLBeDA5aGNcc3WkVqf3xWPHXmsZzs2p28 QR
USDT BEP20 0x67cf27f33c80479ea96372810f9e2ee4c3b095c5 QR
BTC Bitcoin bc1q97dr37h37npzarmmrv0tjz2nm50htqc7pfpzj6 QR
ETH ERC20 0x67cf27f33c80479ea96372810F9e2EE4C3b095C5 QR
SOL Solana Cbesgr4tvo4T1inNMFe46GSym2qMYjkmofbXFc77rDNK QR
USDC ERC20 0x67cf27f33c80479ea96372810f9e2ee4c3b095c5 QR
USDC SPL Cbesgr4tvo4T1inNMFe46GSym2qMYjkmofbXFc77rDNK QR
USDC BEP20 0x67cf27f33c80479ea96372810F9e2EE4C3b095C5 QR

Developed By : Ali Sakkaf Β© 2026. All Rights Reserved.

About

πŸ“± Smart Screen Unlocker Recovery: The ultimate forensic & accessibility framework to bypass broken Android displays. Inject raw kernel touch gestures via ADB using 7 dynamic math engines, including Live Interactive Calibration! πŸš€πŸ”§

Topics

Resources

License

Security policy

Stars

17 stars

Watchers

1 watching

Forks

Contributors

Languages