Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    A133 Android10.0 非安全固件启动慢

    其它全志芯片讨论区
    2
    3
    2089
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zhoutian LV 5 last edited by

      大佬们好,我这边编译分安全固件,刷入后发现从上电到进入Launcher接近2分钟左右,另一块刷了安全固件的板子只需要40秒左右,麻烦帮忙看下是为什么

      看log能明显看到以下时间有很长的跨越
      01-01 08:00:12.710 1783 1783 I vold : Keymaster HAL #1: SoftwareKeymasterDevice from Google SecurityLevel: SOFTWARE HAL: android.hardware.keymaster@4.0::IKeymasterDevice/default
      01-01 08:01:21.870 1783 1783 D vold : Computing HMAC with params { (seed: , nonce: aa3d5cfc7dd921cfd361d8584fcc06e235dcc1da0cbf7a54075b4804c8db1a0) }

      logcat.txt dmesg.txt

      实在是没找到原因,麻烦帮忙看下

      1 Reply Last reply Reply Quote Share 0
      • S
        sun_gogogo LV 3 last edited by

        init: Service 'exec 3 (/system/bin/vdc --wait cryptfs enablefilecrypto)' (pid 1905) exited with status 0 waiting took 69.207001 seconds

        我最近也遇到了类似启动开机慢的问题,可以跟一下这里的代码,应该是data的文件加密花了69秒导致耗时太长了,源码在android/system/core/init/builtins.cpp 中的 installkey命令,init.rc调用了这个命令去加密data/目录

        1 Reply Last reply Reply Quote Share 0
        • S
          sun_gogogo LV 3 last edited by

          然而在A133 android12上,全志的分区表配置中,没有对/data目录进行加密了,启动快了很多

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策