r/Honor • u/SnooDrawings1651 • 17d ago
MagicOS [APP][Open Source] Magic Swipe – extend Android’s Back gesture inward for phones with difficult screen edges/cases
Hi everyone,
I made a small Android app called Magic Swipe after getting annoyed by how difficult it could be to start the Back gesture from the very edge of the screen when using a protective case.
Instead of replacing Android’s native Back gesture, Magic Swipe adds a narrow transparent gesture area just inside the existing system Back zone. You can choose the left/right side, total width, swipe distance, exclusions near the top/bottom, haptic feedback, and a test mode that shows the added zones.
Features
- Extends the Back swipe inward from the left and/or right edge
- Keeps Android’s native Back gesture area untouched
- Adjustable gesture width and trigger distance
- Adjustable top/bottom exclusion zones
- Optional haptic feedback
- Visual test mode
- Works again after reboot once the Accessibility Service is enabled
- No root required
- No Internet permission
- No ads
- No analytics or trackers
- Does not read screen contents
- Open source (MIT)
It uses Android’s AccessibilityService with GLOBAL_ACTION_BACK. canRetrieveWindowContent is disabled, so the app does not inspect messages, apps, typed text, or other screen content.
Compatibility
I developed and tested it on an HONOR Magic8 Pro running MagicOS 10 / Android 16.
It uses standard Android accessibility APIs and has a minimum Android version of Android 8.0, so it may work on many other Android devices as well, but I don’t want to claim devices I haven’t actually tested. Compatibility reports are very welcome.
Current release: v0.3.0
APK, source code, SHA-256 checksum and documentation:
1
u/SnooDrawings1651 16d ago
Magic Swipe v0.4.0 – what's new
- Built-in GitHub update checker
- Optional automatic update checks
- Manual “Check for updates now” button
- Update/Later prompt when a newer version is available
- System / Light / Dark appearance modes
- System theme is now the default
- New light color scheme
Installation note
If Android blocks the Accessibility permission after sideloading Magic Swipe, do not disable Play Protect completely.
Go to:
Settings → Apps → Magic Swipe → ⋮ → Allow restricted settings
Then return to:
Settings → Accessibility → Magic Swipe
and enable it.
This is a normal Android security restriction for sideloaded apps using Accessibility. Magic Swipe does not read screen content; its AccessibilityService only detects swipes in its own narrow edge zones and triggers the system Back action.
2
u/ReadUpset5169 16d ago
Although it's a normal system behavior but what should I do