diff options
| -rw-r--r-- | XDA-REPLY.md | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/XDA-REPLY.md b/XDA-REPLY.md new file mode 100644 index 0000000..3ff3de5 --- /dev/null +++ b/XDA-REPLY.md @@ -0,0 +1,77 @@ +# XDA reply draft — Kyocera 701KC KEDL path + +Ready-to-post reply for: +https://xdaforums.com/t/sharp-aquos-keitai-2-601sh-sh-01j-questions-for-root.4707153/ + +--- + +Hey all — adding a Kyocera data point that may help separate the +Sharp-specific blockers from the generic MSM8909 ones. + +Device: KYOCERA DIGNO Keitai2 701KC +Build: 103.0.3010 +OS: Android 5.1.1 +SoC: MSM8909 (kernel msm-3.10) + +Short version +------------- +Kyocera uses a custom, *unauthenticated* Sahara/EDL ("KEDL") triggered by a +file on the microSD. No signed programmer is required. With that we can +read/write partitions, patch aboot/boot, and root — no unlock code, no wipe. + +This matches what the Kyocera dev called the "aftersale backdoor". + +Trigger +------- +- microSD root: file `NOTPUSH` containing `DEVKEYDL` +- power on -> USB `0482:0a7f` + +Protocol (observed) +------------------- +- 0xB9 raw read (max 2048 sectors per command) +- 0xAB clear WP (reply 0xAC = OK, 0x04 = error) +- 0xA5 erase region (reply 0xA6) +- 0xBA raw write (data in 1 MB chunks) +- 0xA7 checksum + +Root chain +---------- +1. aboot.bin (2 MB, 103.0.3010) + offset 0x12EA0: + before: f0 41 2d e9 98 4c 0f e3 (push {r4-r8,lr}; movw r4,#0xf498) + after : 01 00 a0 e3 1e ff 2f e1 (mov r0,#1; bx lr) + -> boot_verify_image() always returns 1. + +2. boot_stock.img (16 MB) + - default.prop: ro.secure=0, ro.debuggable=1, ro.adb.secure=0 + - cmdline: + androidboot.selinux=permissive + - init.rc: enforce 0 + a small kcroot service + - repack cpio + gzip, update ramdisk_size and id (SHA1) + - IMPORTANT: this is a Qualcomm layout. Move the tail + (6144-byte gap + DT + DER signature) to sit directly after the new + ramdisk. Do not keep absolute offsets. + +3. sepolicy (optional) + - rewrite the permissive_map ebitmap to all-ones (8192 types) + +4. Flash + - 0xAB WP clear -> 0xBA write -> read back and verify SHA256 + +Why this may be relevant here +----------------------------- +- It confirms Kyocera is a different path from Sharp: no miyabi LSM, and the + Kyocera EDL is unauthenticated. +- It also means the CVE-2026-25262 / Kyopwna route (eMMC R/W on MSM8909) is a + *second* option for Kyocera devices if KEDL is ever removed. +- For Sharp, the blocker looks like the SBL1 CMD56 write-protect rather than + the eMMC itself, which matches what 5E7EN said. + +Caveats +------- +- Physical access required. This is not a remote exploit and not a CVE. +- ro.adb.secure=0 is dangerous; remove it if you don't need it. +- FDE still protects data at rest while powered off, but a modified boot can + capture credentials on the next unlock. +- The aboot offset is build-specific. Verify the original bytes first. + +Happy to share more details (offsets, scripts, protocol dumps) if useful. |
