Research on Reconstructing YAFFS2Files from NAND Flash Images
- Author
- ZhuNing
- Advisor
- LvHongBing
- School
- Zhejiang University
- Major
- Computer Applications
- Classification
- TP309.3 Data backup and recovery
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 9
- Citations
- 0
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 systemsdeployed 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 3-4
Abstract 4-10
Chapter 1 Introduction 10-16
1.1 subject background 10-12
1.2 domestic and foreign research status 12-14
1.3 thesis contents and methods 14-15
1.4 thesis structure 15-16 <br / > Chapter 2 Introduction to NAND flash memory with YAFFS2 16-29
2.1 NAND Flash Introduction physical characteristics 16-18
2.1.1 NAND flash 16-17
logical structure 2.1.2 NAND flash memory 17-18
operating characteristics 2.1.3 NAND flash memory 18
2.2 YAFFS2 file system research 18 -28
2.2.1 YAFFS2 About 18-19
2.2.2 YAFFS storage mechanism 19-23
2.2.3 YAFFS garbage collection mechanism 23-25 ??
2.2.4 YAFFS2 main data structure 25-27
2.2.5 and file recovery is closely related to the YAFFS2 file system metadata information 27-28 <br / > 2.3 Summary 28-29
recovery method based on Chapter 3 YAFFS2 file system metadata information 29-46
3.1 premise and concept definition 29 - 30
3.2 file recovery algorithm 30-36
3.2.1 pretreatment 33-34
3.2.2 locate files 34-35 <br / > 3.2.3 file assembled 35
3.2.4 data file recovery processes 35-36
3.3 Android mirrored file system reconstruction algorithm 36-38
3.4 experiment 38-45
3.4.1 experimental ready 38-39
3.4.2 experimental artificial scene 39-40
3.4 .3 PostMark simulation files highly fragmented scenes 40-41
3.4.4 Android mirrored file system reconstruction experiment 41-45
3.5 Summary 45 -46
Chapter 4 YAFFS2 file history evolution trajectory reconstruction 46-57
4.1 object header reconstruction algorithm is not the case of the missing files trajectory 46-48 <br / > 4.1.1 algorithm framework 46-47
4.1.2 pretreatment 47-48
4.1.3 locate the file and determine the different versions 48 <br / > Reconstruction Algorithm 4.2 object header file deletion scenario trajectories 48-50
4.3 artificial scene experiment 50-55
4.3.1 object-based head of the history of a single file trajectory reconstruction experiment 50-54
4.3.2 does not depend on a single file object header historical trajectory reconstruction experiment 54-55
files trajectory 4.4 PostMark simulation scenarios under heavy structure 55-56
4.5 summary 56-57
Chapter 5 summary and Outlook 57-59
5.1 summarizes research 57
5.2 future Work Prospects 57-59
References 59-64
Thanks 64
Related dissertations
- A Research on File Recovering from YAFFS2
- The Design & Realization of Linux-based Encrypt NAND Flash Filesystem
- Design and Implementation of a Android-based Home Security Remote Monitoring Terminal System
- Research and Implementation of Vedio Surveillance System Based on Android Architecture and Smoke Detection
- Design and Implementation of Crane Monitoring System Based on Android
- Research and Implementation of Intelligent Video Surveillance System Based on Android
- Design and Research of Mobile Video Surveillance System Based on MJPG-Streamer
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Security Detection System Based on the Android Paltform
- Research on Meteorological Data Acquisition and Processing System
- The Research of Fall Detection Based on Mobile Terminal
- Design and Implementation of a Human Activity Monitoring System Based on Smart Mobile Terminal
- Design of fuze data acquisition system based on ARM microprocessor
- The Smart Home Control System Based on Android System
- The Design and Implementation of Android Smart Home Control System
- Embedded System Applications in the Smart Home
- Design and Implementation of Intelligence Home System Based on ZigBee
- Design and Implementation of Smart Home System Based on Android Platform
- Research and Design of Embedded Intelligent Bus Station Guideboard Control System
- The Design and Implementation of Multi-functional Smart Home System