网站开发的流程和步骤是什么,wordpress如何自定义小工具栏,营口手机网站建设,论坛文章目录 开发平台基本信息问题描述解决方法 开发平台基本信息
芯片: QCM6125 版本: Android 13 kernel: msm-4.14
问题描述
安装系统在未响应5分钟的时候#xff0c;系统会自动进入救援模式#xff0c;这时候需要通过音量键和电源键进行操作才能再次进入系统。对于无人值… 文章目录 开发平台基本信息问题描述解决方法 开发平台基本信息
芯片: QCM6125 版本: Android 13 kernel: msm-4.14
问题描述
安装系统在未响应5分钟的时候系统会自动进入救援模式这时候需要通过音量键和电源键进行操作才能再次进入系统。对于无人值守的设备来说救援模式是个很鸡肋的功能所以我们选择在系统中关闭救援模式。
解决方法
--- a/QSSI.13/bootable/recovery/recovery.cppb/QSSI.13/bootable/recovery/recovery.cpp-749,7 749,7 Device::BuiltinAction start_recovery(Device* device, const std::vectorstd::stri} else if (option locale || option fastboot || option reason) {// Handled in recovery_main.cpp} else if (option prompt_and_wipe_data) {
- should_prompt_and_wipe_data true;should_prompt_and_wipe_data false;} else if (option rescue) {rescue true;} else if (option retry_count) {
--- a/QSSI.13/device/qcom/qssi/system.propb/QSSI.13/device/qcom/qssi/system.prop-170,3 170,8 arm64.memtag.process.system_serveroff# Disable blur on app launchro.launcher.blur.appLaunch0# common prop
persist.sys.disable_rescuetrue
persist.sys.enable_rescuefalse
--- a/QSSI.13/system/core/init/builtins.cppb/QSSI.13/system/core/init/builtins.cpp-427,10 427,10 static Resultvoid make_dir_with_options(const MkdirOptions options) {}}if (fscrypt_is_native()) {
- if (!FscryptSetDirectoryPolicy(ref_basename, options.fscrypt_action, options.target)) {
- return reboot_into_recovery(
- {--prompt_and_wipe_data, --reasonset_policy_failed:s options.target});
- }// if (!FscryptSetDirectoryPolicy(ref_basename, options.fscrypt_action, options.target)) {// return reboot_into_recovery(// {--prompt_and_wipe_data, --reasonset_policy_failed:s options.target});// }}return {};}-591,10 591,11 static Resultvoid queue_fs_event(int code, bool userdata_remount) {/* Setup a wipe via recovery with prompt, and reboot into recovery if chosen */PLOG(ERROR) fs_mgr_mount_all suggested recovery, so wiping data via recovery with prompt.;
- const std::vectorstd::string options {--prompt_and_wipe_data,
- --reasonfs_mgr_mount_all };
- return reboot_into_recovery(options);// const std::vectorstd::string options {--prompt_and_wipe_data,// --reasonfs_mgr_mount_all };// return reboot_into_recovery(options);/* If reboot worked, there is no return. */return {};} else if (code FS_MGR_MNTALL_DEV_FILE_ENCRYPTED) {if (!FscryptInstallKeyring()) {return Error() FscryptInstallKeyring() failed;-1187,7 1188,7 static Resultvoid ExecWithFunctionOnFailure(const std::vectorstd::string ar}static Resultvoid ExecVdcRebootOnFailure(const std::string vdc_arg) {
- bool should_reboot_into_recovery true;bool should_reboot_into_recovery false;auto reboot_reason vdc_arg _failed;if (android::sysprop::InitProperties::userspace_reboot_in_progress().value_or(false)) {should_reboot_into_recovery false;