Skip to content

About

Universal Hardware-Grade Palm Rejection Shield for Android Tablets (Xiaomi Pad 7, OnePlus Pad, Lenovo, Pixel Tablet) & Microsoft OneNote.

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

🛡️ PalmShield Pro

Universal Hardware-Grade Palm Rejection for Android Tablets & Active Styluses

Build Status Platform License: MIT GitHub release PRs Welcome

Tired of stray ink, jumping pages, and broken handwriting in Microsoft OneNote?
PalmShield Pro delivers instant, zero-lag touch absorption for unsupported tablets & active styluses.

Download Latest APK • Report a Device / Bug • Contributing


😤 The Frustrating Problem: Broken Palm Rejection on Modern Android Tablets

In recent years, Android tablets have evolved into hardware powerhouses. Tablets like the Xiaomi Pad 7 / 7 Pro, OnePlus Pad 2, Lenovo Tab P12 / Legion Y700, and Google Pixel Tablet feature ultra-smooth 144Hz displays and cutting-edge active styluses with thousands of pressure levels:

  • ✍️ Xiaomi Focus Pen & Smart Pen 2nd Gen
  • ✍️ OnePlus Stylo 1 & 2
  • ✍️ Lenovo Precision Pen 2 & 3
  • ✍️ Universal Stylus Initiative (USI 2.0) active pens

The Software Disconnect:

Despite this stellar hardware, the moment you open Microsoft OneNote, Concepts, Sketchbook, or third-party drawing apps, taking notes becomes an exercise in pure frustration:

The Problem What Happens on Your Tablet
🪶 Phantom Scribbles Resting your palm leaves stray dots, lines, and accidental ink marks all over your notes.
🎢 Erratic Canvas Jumping Your wrist contact triggers OneNote's two-finger scroll or page bounce, flinging your page away mid-word.
🔍 Accidental Zooming As your palm shifts while writing, the app interprets it as a pinch-to-zoom gesture.
🔒 Vendor Lock-in Developers optimize strictly for Apple Pencil on iPadOS or Samsung S-Pen Knox APIs. Everyone else is left completely unsupported.

"Why can't I just rest my hand on my tablet like a real piece of paper?"


💡 The Solution: PalmShield Pro

PalmShield Pro bridges this gap at the Android window architecture layer. Rather than relying on individual apps to support your stylus digitizer, PalmShield Pro deploys a high-speed, hardware-grade virtual touch absorption guard directly on Android's WindowManager (TYPE_APPLICATION_OVERLAY).

  ┌────────────────────────────────────────────────────────┐
  │                 Xiaomi Pad 7 / Android Tablet          │
  │                                                        │
  │     Active Writing Area (Microsoft OneNote Canvas)     │
  │     [ Stylus Tip Writes Cleanly Here Without Noise ]    │
  │                                                        │
  │                       ┌────────────────────────────────┤
  │                       │  🛡️ PALM REJECTION SHIELD      │
  │                       │  • 100% Palm Touches Absorbed  │
  │                       │  • Zero Phantom Ink Strokes    │
  │                       │  • Visual Ripple Telemetry     │
  │                       │  • 1-Tap Quick-Scroll Pill     │
  └───────────────────────┴────────────────────────────────┘
  1. Sub-Millisecond Touch Absorption (< 1ms):
    • Touch contacts under your resting hand are intercepted and consumed before they can reach the underlying app.
  2. Ergonomic Hand Geometry Presets:
    • Right-Hand Wedge: Slanted diagonal contour covering the lower-right writing quadrant.
    • Left-Hand Wedge: Inverted diagonal contour for left-handed note-takers.
    • Full-Width Wrist Rest: Horizontal rest bar at the bottom of the screen.
    • Freeform Floating Shield: Freely movable and dockable anywhere on screen.
  3. 1-Tap Quick-Scroll / Pass-Through Mode:
    • A floating pill on the shield border lets you tap "Scroll" to temporarily pause touch blocking for 3.5 seconds (or until tapped again), allowing smooth page panning and pinch-to-zoom in OneNote without closing the shield.
  4. Quick Settings Tile (Android QS Tile):
    • Toggle PalmShield directly from your tablet's notification shade/control center without switching away from OneNote or your drawing canvas.
  5. OneNote Auto-Deploy & Auto-Hide (AccessibilityService):
    • Automatically activates when Microsoft OneNote is launched and automatically minimizes when returning home or switching apps.
  6. Live Telemetry & Visual Ripples:
    • Real-time touch counter shows how many accidental palm touches were neutralized during your study or work session.
    • Elegant glowing cyan ripples visually confirm when your palm has been absorbed.

📱 Device & Stylus Compatibility Matrix

PalmShield Pro is universally engineered for all Android tablets with active or capacitive styluses:

Brand Supported Tablets Stylus Models Supported OS Status
Xiaomi Xiaomi Pad 7, Pad 7 Pro, Pad 6S Pro, Pad 6, Pad 6 Pro, Pad 5 Xiaomi Focus Pen, Smart Pen 1st/2nd Gen HyperOS 2 / HyperOS 1 / MIUI 14 🟢 Fully Verified
OnePlus / OPPO OnePlus Pad, OnePlus Pad 2, OnePlus Pad Go, OPPO Pad 2 OnePlus Stylo 1 & 2, OPPO Pencil OxygenOS 14 / ColorOS 14 🟢 Fully Verified
Lenovo Legion Y700 (2023/2024), Tab P12 Pro, Tab P11 Pro, Xiaoxin Pad Precision Pen 2 & 3, AP500U ZUI 15 / 16 / Android 13+ 🟢 Fully Verified
Google Google Pixel Tablet All USI 2.0 Certified Styluses (Penoval, PenTech) Android 14 / 15 / 16 🟢 Fully Verified
Samsung Galaxy Tab S9, S8, S7, FE series, Galaxy Tab A9+ S-Pen & 3rd party active styluses (for apps ignoring S-Pen API) One UI 5 / 6 🟢 Fully Verified
Honor / Huawei MagicPad 13, MatePad 11.5 / Pro M-Pencil 2nd/3rd Gen, Magic-Pencil MagicOS / HarmonyOS 🟢 Supported

🎨 Supported Note-Taking & Drawing Apps

PalmShield Pro works universally over any Android application, including:

  • 📓 Microsoft OneNote (Primary target)
  • 🎨 Concepts: Sketch, Note, Draw
  • 🖌️ Infinite Painter / Autodesk Sketchbook
  • 📝 Obsidian (Canvas / Excalidraw handwriting)
  • 🗒️ Notion (Handwriting embeds)
  • 📄 Xournal++ / Touchnotes / Squid
  • 📖 Goodnotes for Android

🚀 Quick Start & Installation

Option 1: Install Pre-Built APK (Fastest)

  1. Download the latest PalmShieldPro-XiaomiPad7.apk from Releases.
  2. Open the file on your tablet and tap Install.

Option 2: 1-Click ADB Install (via PC)

If your tablet is connected to your PC with USB Debugging enabled:

git clone https://github.com/ShivanshSSS/PalmShield-Pro.git
cd PalmShield-Pro
./install_to_pad7.bat

Option 3: Build From Source

git clone https://github.com/ShivanshSSS/PalmShield-Pro.git
cd PalmShield-Pro

# Build debug APK
./gradlew assembleDebug

# Install via ADB
adb install -r -d app/build/outputs/apk/debug/app-debug.apk

⚙️ Recommended 3-Step Setup for 100% Inking Precision

To achieve a flawless, paper-like handwriting experience in Microsoft OneNote:

  1. In Microsoft OneNote:
    • Open OneNote > Go to the Draw tab ribbon.
    • Turn OFF "Draw with Touch" (or enable "Ignore touch input when using stylus").
    • This ensures only your active stylus creates strokes.
  2. In Your Tablet Settings (Xiaomi HyperOS / OxygenOS / ZUI):
    • Go to Settings > Additional Settings > Developer Options.
    • Enable "Stylus handwriting".
  3. In PalmShield Pro:
    • Grant "Display over other apps" permission.
    • Grant "Auto-Detect Permission" (Accessibility) so the shield appears seamlessly when OneNote opens.
    • Choose your hand orientation (Right-Hand Wedge, Left-Hand Wedge, or Wrist Rest) and activate!

♿ Accessibility & TalkBack Support

PalmShield Pro adheres strictly to Android Accessibility & WCAG Guidelines:

  • High-contrast color palette (#0B0F19 dark mode with #00E5FF electric cyan accents).
  • Minimum touch targets of 44–48dp across all floating buttons and sliders.
  • Full screen-reader / TalkBack voice announcements when the shield is deployed, when quick-scroll is engaged, and when hand presets are toggled.
  • D-Pad and keyboard focusable controls.

🤝 Contributing

We welcome contributions from tablet power-users, developers, and designers worldwide!


📄 License

PalmShield Pro is distributed under the open-source MIT License.


Engineered with precision for the global Android stylus community. Built with AI assistance.

About

Universal Hardware-Grade Palm Rejection Shield for Android Tablets (Xiaomi Pad 7, OnePlus Pad, Lenovo, Pixel Tablet) & Microsoft OneNote.

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages