A Research on File Recovering from YAFFS2

Author
YangXue
Advisor
XuMing
School
Hangzhou University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP333 Memory
Degree
Master's thesis
Year
2011
Downloads
75
Citations
0

Request the full text

Abstract

With the extensive application of embedded equipment, data recovering from NAND flash gain more and more importance. Compared with magnetic storage medium, the NAND flash has two main differences. Firstly, from the hardware aspect, NAND is much less written-endurable and abides by the principle of "out-of-place write". Secondly, from the software aspect, file systems deployed on NAND flash adopt different approaches to implement mechanisms like "block allocation","wear-leveling","garbage collection" etc. These physical and logical specifics make recovering files from NAND flash by traditional method a difficult thing, thus how to recover files from NAND flash becomes a tricky problem. Nowadays, phones with Android operating system have a large market share, to the knowledge of us, the internal memory of an Android smart phone is a NAND flash chip using YAFFS2to store and manage data. The aim of this dissertation is to reconstruct files and their traces from NAND flash images.The main work of this paper can be divided into two parts.Firstly, this paper proposes a method to recover files from Android internal memory image. Since information which indicates the relationship among data is stored in spare area of NAND flash by YAFFS2, and the storage space of NAND are always allocated sequentially, a method to scan the whole image reversely in chronological order and reconstruct files is proposed. The simulated experiment results under Linux operating system and the real android internal memory images show the efficiency of our method.Secondly, on the basic of the method proposed above, this paper does further research to reconstruct file traces from NAND image. There is an important principle in YAFFS2that every object header indicates a file version. According to this, we scan the whole image reversely in chronological order, find all the object headers and reconstruct different versions. Experiments conducted under Linux operating system prove the proposed algorithm is effective.In summary, the paper proves that it is feasible to reconstruct files and traces from NAND flash image based on YAFFS2metadata.

Table of contents

Summary 5-6 ABSTRACT 6-9 first chapter 9-14 1.1 Background and Significance 9 - 10 1.2 research status 10-13 1.3 thesis contents and methods 13 1.4 thesis structure 13-14 <br / > the second chapter of NAND flash memory with YAFFS2 About 14-26 2.1 NAND Flash Introduction 14-16 physical characteristics 2.1.1 NAND flash memory 14 <br / > logical structure 2.1.2 NAND flash memory 14-15 2.1.3 NAND flash memory operating characteristics 15-16 system 2.2 YAFFS2 file 16 -25 2.2.1 YAFFS2 About 16 2.2.2 YAFFS storage mechanism 16-20 2.2.3 YAFFS garbage collection mechanism 20-21 2.2.4 YAFFS2 main data structure 21-23 2.2.5 and file recovery is closely related to the YAFFS2 file system metadata information 23-25 ?? 2.3 Summary 25-26 Chapter recovery system based YAFFS2 metafile information 26-41 3.1 premise and concept definition 26-27 3.2 file recovery algorithm 27-32 3.2.1 pretreatment 29-30 3.2.2 locate files 30-31 3.2.3 documents assembled 31 3.2.4 data file recovery processes 31-32 3.3 Android mirrored file system reconstruction algorithm 32-33 <br / > 3.4 experiment 33-39 3.4.1 experimental ready 34 3.4.2 experimental artificial scene 34-35 3.4.3 PostMark simulation file highly fragmented scenes 35-36 3.4.4 Android mirrored file system reconstruction experiment 36-39 3.5 Summary 39-41 <br / > the fourth chapter traces the evolution of history YAFFS2 file reconstruction technology reconstruction algorithm next 41-50 4.1 object header file is not the case of the missing tracks 41-43 4.1. an algorithm framework 41-42 4.1.2 pretreatment 42 4.1.3 locate the file and determine the different versions 42-43 4.2 object under the first scenario reconstruction algorithm missing files trajectory 43-44 4.3 artificial scene experiment 44-48 4.3.1 based on a single file object header historical trajectory reconstruction experiment 44-48 4.3.2 does not depend on a single file object header historical trajectory reconstruction experiment document track 48 4.4 PostMark simulation scenarios reconstruction 48 -49 4.5 summary 49-50 Chapter summary and Outlook 50-52 5.1 summarizes research 50 5.2 future Work Prospects 50-52 Thanks 52-54 References 54-57 Appendix 57-58 <br / > detailed summary 58-61

Related dissertations

  1. Research on Reconstructing YAFFS2Files from NAND Flash Images
    ZhuNing ·Zhejiang University ·2012 ·Master's thesis
  2. The Design & Realization of Linux-based Encrypt NAND Flash Filesystem
    YangZhou ·East China Normal University ·2010 ·Master's thesis
  3. Design and Implementation of a Android-based Home Security Remote Monitoring Terminal System
  4. Research and Implementation of Vedio Surveillance System Based on Android Architecture and Smoke Detection
    ChenZhiMing ·Huaqiao University ·2013 ·Master's thesis
  5. Design and Implementation of Crane Monitoring System Based on Android
  6. Research and Implementation of Intelligent Video Surveillance System Based on Android
  7. Design and Research of Mobile Video Surveillance System Based on MJPG-Streamer
  8. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  9. Security Detection System Based on the Android Paltform
    ChenZuo ·Wuhan University of Technology ·2013 ·Master's thesis
  10. Research on Meteorological Data Acquisition and Processing System
    ZhaoSheng ·Wuhan University of Technology ·2013 ·Master's thesis
  11. The Research of Fall Detection Based on Mobile Terminal
    ZhouMin ·Xiangtan University ·2013 ·Master's thesis
  12. Design and Implementation of a Human Activity Monitoring System Based on Smart Mobile Terminal
    WuZhongZe ·South China University of Technology ·2013 ·Master's thesis
  13. Design of fuze data acquisition system based on ARM microprocessor
  14. The Smart Home Control System Based on Android System
    WuJian ·Liaoning Normal University ·2012 ·Master's thesis
  15. The Design and Implementation of Android Smart Home Control System
  16. Embedded System Applications in the Smart Home
    MingHang ·Hubei University ·2013 ·Master's thesis
  17. Design and Implementation of Intelligence Home System Based on ZigBee
  18. Design and Implementation of Smart Home System Based on Android Platform
    ZhouShiWei ·Huaqiao University ·2013 ·Master's thesis
  19. Research and Design of Embedded Intelligent Bus Station Guideboard Control System
  20. The Design and Implementation of Multi-functional Smart Home System