在android系统/缓存/文件夹恢复 [英] /cache/recovery folder in android

查看:353
本文介绍了在android系统/缓存/文件夹恢复的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是什么在Android文件系统缓存/恢复文件夹持有?我有里面一个单一的文件 - last_log ,似乎对最后启动的日志信息来源。有人能详细解释一下吗?

What does the cache/recovery folder hold in the android filesystem? I have a single file inside it - last_log that seems to have the log infomation about the last bootup. Can somebody explain this in detail?

推荐答案

/缓存 包含安装在设备上的应用DEX信息。该信息在Android系统的第一启动填充。 Android的uncom presses每个应用程序,优化其推出,并将其保存到 /缓存。你至少应该看到每个应用程序一个文件有一个奇怪的名字:

/cache contains dex information about the apps installed on your device. This information is populated at the very first boot of Android. Android uncompresses each app, optimizes its launch, and save it into /cache. You should at least see one file per app with a weird name:

/恢复 包含在恢复模式启动所需的文件。恢复模式是一种特殊的引导模式,使您可以(不局限于):

/recovery contains files needed to boot in recovery mode. Recovery mode is a special boot mode that allow you to (not limited):


  • 擦拭/数据

  • 擦拭/缓存,

  • 安装更新软件包

某些文件包含如果你问这样的恢复工具将执行命令。例如,当您选择恢复出厂设置您的设备上进入恢复模式。这样做的时候,在Android的 /恢复写一些命令到一个文件,要求系统在恢复模式重新启动。当执行恢复程序,它读取文件并执行书面的命令。在这种情况下,(恢复出厂设置),它会删除 /数据 /缓存并重新启动。

Some files contain commands that the recovery tool would execute if you ask so. For example, recovery mode is entered when you select factory reset on your device. When doing so, Android writes some commands to a file in /recovery and asks the system to reboot in recovery mode. When recovery program is being executed, it reads the file and executes the commands written. In this case (factory reset), it would erase /data and /cache and reboot.

这些链接可能是有趣的你:

Those links might be interesting to you:

  • What are ODEX files in Android?
  • http://www.androidcentral.com/what-recovery-android-z
  • http://marakana.com/s/post/1065/updating_android_os_via_ota (AOSP)
  • http://forum.xda-developers.com/showthread.php?t=1091508
  • http://developer.android.com/reference/android/os/RecoverySystem.html (Java API)

这篇关于在android系统/缓存/文件夹恢复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆