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
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
- Research on Reconstructing YAFFS2Files from NAND Flash Images
- 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