
Implementation of an Android Framework for USB storage access without root rights
Magnus Jahnen(Author)
GRIN Verlag
1st Edition
Published on 22. July 2016
81 pages
978-3-668-26587-5 (ISBN)
System requirements
for PDF without DRM
E-Book Single Licence
You are acquiring a single user licence for this eBook, which you might not transfer. [L]
Available for download
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
Bachelor Thesis from the year 2014 in the subject Computer Science - Software, grade: 1,0, Technical University of Munich, language: English, abstract: This bachelor thesis describes the implementation of an Android framework to access mass storage devices over the USB interface of a smartphone. First the basics of USB (i.e. interfaces, endpoints and USB On the go) and accessing USB devices via the official Android API are discussed. Next the USB mass storage class is explained, which was designed by the USB-IF to access mobile mass storage like USB pen drives or external HDDs.
For communication with mass storage devices, most important are the bulk-only transfer and the SCSI transparent command set. Furthermore file systems, for accessing directories and files, are described. This thesis focuses on the FAT32 file system from Microsoft, because it is the most commonly used file system on such devices.
After the theory part it is time to look at the implementation of the framework. In this section, the first concern is the purpose in general. Then the architecture of the framework and the actual implementation are presented. Important parts are discussed in detail. The thesis finishes with an overview of the test results on various Android devices, a short conclusion and an outlook to future developments. Moreover the current status of the developed framework is visualized.
More details
Series
Edition
1. Auflage
Language
English
Place of publication
München
Germany
File size
0,91 MB
ISBN-13
978-3-668-26587-5 (9783668265875)
Schweitzer Classification
Other editions
Additional editions

Book
08/2016
1st Edition
Aus der Reihe: e-fellows.net stipendiaten-wissen
€47.95
Shipment within 7-9 days
Content
- Intro
- Acknowledgements
- Abstract
- Outline of the Thesis
- Acronyms
- Introduction and Theory
- Introduction
- Basics about USB
- Client device hierarchy
- Endpoints
- USB On the go
- USB on Android
- USB Host API
- Enumerating devices
- Requesting permission for communication
- Communication
- Tearing down the communication
- Listening to attach and detach events
- Via BroadcastReceiver
- Via AndroidManifest.xml
- USB Mass storage class
- Bulk-only Transport
- SCSI transparent command set
- SCSI commands
- INQUIRY
- TEST UNIT READY
- READ CAPACITY
- READ(10) and WRITE(10)
- REQUEST SENSE
- File systems
- General
- Examples
- Partition table
- The FAT32 file system
- General layout
- Boot Sector and FS Information Structure
- File Allocation Table
- Directories and files
- Subdirectories
- Long File Name entries
- Implementation
- Purpose and Overview
- Using the Framework
- Inside the packages
- The driver package
- The partition package
- The file system package
- Quality Management
- Testing
- Overview
- Testing criteria
- Results
- Native support
- Performance test
- Results
- Summary
- Current status
- Conclusion
- Outlook
- Appendix
- Debugging applications via Wifi
- Isochronous USB transfers
- API difference
- Bibliography
System requirements
File format: PDF
Copy protection: without DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use the free software Adobe Reader, Adobe Digital Editions, or any other PDF viewer of your choice (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or another reading app for eBooks, e.g., PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (only limited: Kindle).
The file format PDF always displays a book page identically on any hardware. This makes PDF suitable for complex layouts such as those used in textbooks and reference books (images, tables, columns, footnotes). Unfortunately, on the small screens of e-readers or smartphones, PDFs are rather annoying, requiring too much scrolling.
This eBook does not use copy protection or Digital Rights Management.
For more information, see our eBook Help page.