vendor/rockchip/common/apps/StressTest/getbootmode.sh

7 lines
151 B
Bash
Raw Normal View History

2025-08-25 08:12:20 +08:00
#! /system/bin/sh
su
echo 0 > /sys/module/kernel/parameters/panic
busybox dmesg -s 50000 | busybox grep "Boot mode:" > mnt/internal_sd/boot_mode.txt