Bound the Work Before the Model Runs: Gating On-Device Inference in TikTok's Android ClientAn 8% visibility gate, a 100 ms dwell timer, bounded vision input and an AICore-to-ByteNN fallback in TikTok's Android client.10 min read·sairamkotha.hashnode.dev15h ago
From Sensor Events to a Bedtime Detector: Inside TikTok's enhance_drowsy CodeAccelerometer and gyro samples to an activity classifier to a three-state bedtime detector. What TikTok's Android code says and what it doesn't.9 min read·sairamkotha.hashnode.dev15h ago
How TikTok's Android Client Turns a Prediction Into a Buffering DecisionSkip momentum, buffer depth, early batch requests and prefetch policy in TikTok's Android client code. Client facts vs server inference.9 min read·sairamkotha.hashnode.dev15h ago
The AI Code in TikTok's Android App Hides in Files Named .soOf 298 .so files in TikTok's Android APK, 23 are ZIP archives of DEX. How to spot them, audit your own APK, and what the evidence does not show.9 min read·sairamkotha.hashnode.dev15h ago
Your AI Agent Timed Out. Did It Still Do the Work?A timeout is not a failure. Learn how to give AI agents an unknown state, stable action IDs and safe retries so they never repeat a refund.9 min read·sairamkotha.hashnode.dev5d ago