[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109241":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":29,"readmeContent":30,"aiSummary":31,"trendingCount":15,"starSnapshotCount":15,"syncStatus":14,"lastSyncTime":32,"discoverSource":33},109241,"TimerRoot","kpgc10kai\u002FTimerRoot","kpgc10kai","Android front end for CVE-2026-98260: root shell + KernelSU late-load through Shizuku",null,"Java",93,37,1,2,0,41,48.84,"MIT License",false,"main",true,[23,24,25,26,27,28],"android","cve","exploit","kernelsu","root","shizuku","2026-11-24 04:01:27","# TimerRoot\n\nAndroid front end for **CVE-2026-98260** (POSIX CPU timer use-after-free), the\nsame class of bug as CVE-2026-64560. One tap gives you a root shell and then\nlate-loads **KernelSU** (`u:r:ksu:s0`).\n\nThe exploit itself is *not* included here. This repository is the app shell\naround it: UI, state detection and the Shizuku plumbing needed to run a\nshell-domain exploit from an ordinary app.\n\n## Why the app needs Shizuku\n\nAn app runs as `untrusted_app` and cannot read `\u002Fsys\u002Fkernel\u002Ftracing`, which the\nexploit needs for its leak and trigger. TimerRoot therefore starts a **Shizuku\nuser service**, which Shizuku runs as the shell user (`uid 2000`,\n`u:r:shell:s0`). The exploit binary executes inside that process, so it gets\nthe same environment it would have from `adb shell`.\n\n```\nMainActivity (untrusted_app)\n  └─ Shizuku user service (uid 2000, u:r:shell:s0)\n       ├─ extracts assets\u002Ftimer to \u002Fdata\u002Flocal\u002Ftmp\u002Ftimer\n       └─ runs it; on success keeps \u002Fsystem\u002Fbin\u002Fsh alive\n```\n\n## Requirements\n\n- Android 12+ (`minSdk 30`), arm64\n- [Shizuku](https:\u002F\u002Fshizuku.rikka.app\u002F) running (start it from the Shizuku app\n  via wireless debugging, or over ADB)\n- [KernelSU](https:\u002F\u002Fgithub.com\u002Ftiann\u002FKernelSU) manager installed, for the\n  `Load KernelSU` path\n- A kernel build the exploit was ported to. The upstream binary targets\n  `6.12.69-android16-6-g242e1a07f878-ab15865446-4k`; see below.\n\n## Getting the exploit binary\n\nTimerRoot expects the compiled exploit at `app\u002Fsrc\u002Fmain\u002Fassets\u002Ftimer`:\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FYuKongA\u002FCVE-2026-98260\ncp CVE-2026-98260\u002Ftimer\u002Ftimer app\u002Fsrc\u002Fmain\u002Fassets\u002Ftimer\n```\n\nor\n\n```powershell\nscripts\u002Ffetch-timer.ps1\n```\n\nThe binary is MIT licensed by its authors; only use it on hardware you own, and\nonly when your kernel matches the build it was ported to.\n\n## Build\n\n### Android Studio \u002F Gradle\n\nOpen the project and build, or:\n\n```bash\n.\u002Fgradlew assembleDebug\n```\n\nThe project needs the Android SDK with platform 36 and build-tools 36. The\nShizuku API is pulled from Maven (`dev.rikka.shizuku:api`).\n\n### Without Gradle\n\n`scripts\u002Fbuild.ps1` builds and signs an APK with just the SDK, `javac`, `d8`,\n`aapt2` and `apksigner`. It vendors nothing: it compiles the app together with\nthe Shizuku API sources, so clone those first:\n\n```powershell\ngit clone https:\u002F\u002Fgithub.com\u002FRikkaApps\u002FShizuku-API\nscripts\u002Fbuild.ps1 -Sdk \"C:\\Users\\\u003Cyou>\\AppData\\Local\\Android\\Sdk\"\n```\n\n## Usage\n\n### 1. Start Shizuku\n\nShizuku has to be running before TimerRoot can do anything: it is the process\nthat provides the shell user the exploit needs. Shizuku stops on every reboot,\nso this is the first step each time.\n\n**Wireless debugging (no PC after the first pairing)**\n\n1. Enable developer options: Settings -> About device -> tap *Build number* 7x.\n2. Settings -> System -> Developer options -> **Wireless debugging** -> on.\n3. Open the Shizuku app -> **Start** -> *Start via wireless debugging*.\n4. Allow the notification, then in *Pair device with pairing code* enter the\n   6-digit code shown on the phone.\n5. Shizuku reports \"Shizuku is running\" (the notification says the server is up).\n\n**Over USB**\n\nWith the phone connected and USB debugging authorised:\n\n```bash\nadb shell sh \u002Fsdcard\u002FAndroid\u002Fdata\u002Fmoe.shizuku.privileged.api\u002Fstart.sh\n```\n\nNewer Shizuku releases may not ship that script any more; if it is missing, use\nthe wireless debugging route above.\n\nCheck that the server is up:\n\n```bash\nadb shell ps -A | grep shizuku_server\n# shell  12345  1  ...  shizuku_server\n```\n\n`ps` showing only `moe.shizuku.privileged.api` means the manager app is open but\nthe server is **not** running; the exploit cannot start until it is.\n\n### 2. First launch\n\n1. Open TimerRoot.\n2. When Shizuku asks *Allow TimerRoot to access Shizuku?*, choose\n   **Allow all the time**.\n3. The card turns **Ready** (Shizuku connected, no root yet). If it still says\n   `Not connected`, press `Shizuku` in the tools row to request again.\n\n### 3. Prepare\n\n`Prepare` extracts `assets\u002Ftimer` to `\u002Fdata\u002Flocal\u002Ftmp\u002Ftimer`:\n\n```\ninstalled 307192 bytes\n```\n\n### 4. Get root shell\n\nOne tap. The app escalates, keeps a `uid=0` shell inside the service, and then\nstarts the KernelSU late-load automatically:\n\n```\n[child] woke uid=0\nroot shell ready - loading KernelSU...\nLoading KernelSU... 12s\nKSU_LOADED\n```\n\nThe card goes **Root shell** -> **Jailbreak mode** (`u:r:ksu:s0`). If the\nKernelSU stage loses its race, the card turns red with `KernelSU failed`, and\nyou should reboot before retrying.\n\n### 5. Reboot\n\nUse the `Reboot` pill. It goes through the service (`svc power reboot`), so it\nworks even when no root shell is open yet. Rebooting is also the only clean way\nto remove parked processes and to unload KernelSU.\n\nAfter rebooting, start again from step 1: Shizuku is stopped and KernelSU is\ngone.\n\nThe status card reflects what is actually live, detected by running\n`su -c id` and checking for `u:r:ksu:s0`:\n\n| card | meaning |\n|---|---|\n| Not connected | Shizuku is not running \u002F not bound |\n| Ready | Shizuku connected, no root yet |\n| Root shell | `uid=0`, `u:r:shell:s0` |\n| Jailbreak mode | KernelSU loaded, `su` works in `u:r:ksu:s0` |\n\n\n## Troubleshooting\n\n### `KernelSU failed` and `base calibration failed` in the log\n\nThe fake-credential stage needs the kernel linear-map base, which the exploit\nderives from page-alloc trace events. It assumes **4 KB pages**:\n\n```\n[base] made=512 best=0 count=0\n[-] base calibration failed\n```\n\nCheck the page size of the device:\n\n```bash\nadb shell getconf PAGE_SIZE\n```\n\n- `4096`: the layout differs for another reason; collect `uname -r`, the model\n  and the full log and report it upstream.\n- `16384`: the exploit cannot work on this device as shipped. It has to be\n  rebuilt for 16 KB pages (page shifts, masks and order sizes), which is a\n  porting job rather than an app setting.\n\nThe root shell can still succeed on such a device, because that path only needs\nthe leaked credential address, not the linear-map base.\n\n### The card stays on `Not connected`\n\nShizuku is not running. Start it again (it stops on every reboot) and see\nstep 1.\n\n### `Prepare` reports nothing\n\nA system dialog may be covering the app (Shizuku pairing, OPPO installer scan).\nClose it and press `Prepare` again.\n## Safety\n\nThis is a kernel exploit. Read this before pressing anything.\n\n- **Do not kill a parked process.** The exploit keeps a process alive with the\n  fake credential page pinned in socket buffers. Reaping it can panic the\n  kernel. Reboot is the only clean way to remove it.\n- **A reboot clears everything**: KernelSU, the root shell and the parked\n  processes. That is the intended way to stop.\n- **SELinux is left permissive** until the next reboot.\n- A failed attempt leaves a stale timerqueue node; other apps may crash until\n  you reboot.\n- Only use this on a device you own or are explicitly allowed to modify.\n\n## Layout\n\n```\napp\u002Fsrc\u002Fmain\u002Fjava\u002Fcom\u002Fkpgc\u002Ftimerroot\u002FMainActivity.java   UI and state\napp\u002Fsrc\u002Fmain\u002Fjava\u002Fcom\u002Fkpgc\u002Ftimerroot\u002FUserService.java    runs as the shell user\napp\u002Fsrc\u002Fmain\u002Faidl\u002Fcom\u002Fkpgc\u002Ftimerroot\u002FIUserService.aidl   service interface\napp\u002Fsrc\u002Fmain\u002Fassets\u002Ftimer                                exploit binary (not in git)\nscripts\u002Fbuild.ps1                                        Gradle-free build\n```\n\n## Credits\n\n- Exploit: [YuKongA\u002FCVE-2026-98260](https:\u002F\u002Fgithub.com\u002FYuKongA\u002FCVE-2026-98260)\n  (MIT), based on work by woshigenm and the other 98260 ports.\n- [Shizuku](https:\u002F\u002Fgithub.com\u002FRikkaApps\u002FShizuku) and\n  [Shizuku-API](https:\u002F\u002Fgithub.com\u002FRikkaApps\u002FShizuku-API) (Apache-2.0) by Rikka.\n- KernelSU (GPL-2.0) for the late-load path.\n\n## License\n\nMIT for the app code in this repository. The exploit binary and the Shizuku API\nkeep their own licenses.\n","TimerRoot 是一个 Android 应用前端，用于利用 CVE-2026-98260（POSIX CPU timer use-after-free 漏洞）实现设备提权与 KernelSU 内核级 root 加载。它不包含漏洞利用代码本身，而是提供图形界面、系统状态检测及 Shizuku 用户服务集成，通过 Shizuku 以 shell 用户权限执行外部 exploit 二进制，绕过普通应用沙箱限制，最终获取 root shell 并按需加载 KernelSU 模块。项目基于 Java 开发，依赖 Android 12+（API 30）、Shizuku 服务与预编译的适配内核 exploit 二进制，适用于具备对应内核版本的已解锁设备进行本地提权调试与内核模块部署。","2026-11-12 04:35:20","CREATED_QUERY"]