Tracing android kernel codes at early stage without extra hardware components

Boyu Zhang, Kai Yang, Lianfang Wang, Yu An Tan, Sikang Hu*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Debugging is an essential part of the development process, and the functionality of the debugging tools influences the quality of software development. Therefore, a suitable debugging tool should be adopted before the formal development process. Distinct from the traditional software debugging, debugging android kernel requires specific tools. However, the commonly used android kernel debugging tools cannot meet the requirement of tracing the error of kernel codes during the early stage of the kernel boot process. Even if some methods are adjusted for the situation, the unneglectable cost is considered as the blocking of kernel development. In this paper, a feasible android kernel debugging method is proposed and implemented. In this method, the debugging information is stored in the non-volatile memory, which can be acquired after the kernel boot procedure. As a result, the data in this memory space will not be cleared and will not be arbitrarily modified by the kernel, and developers can trace the kernel code by analyzing the information dumped from the memory space. The evaluation of the scheme proves that this method is feasible and functional for android kernel debugging during the kernel boot process.

Original languageEnglish
Title of host publicationProceedings - 2019 IEEE 4th International Conference on Data Science in Cyberspace, DSC 2019
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages210-216
Number of pages7
ISBN (Electronic)9781728145280
DOIs
Publication statusPublished - Jun 2019
Event4th IEEE International Conference on Data Science in Cyberspace, DSC 2019 - Hangzhou, China
Duration: 23 Jun 201925 Jun 2019

Publication series

NameProceedings - 2019 IEEE 4th International Conference on Data Science in Cyberspace, DSC 2019

Conference

Conference4th IEEE International Conference on Data Science in Cyberspace, DSC 2019
Country/TerritoryChina
CityHangzhou
Period23/06/1925/06/19

Keywords

  • Android kernel
  • Kernel tracing
  • Pstore
  • Ramoops

Fingerprint

Dive into the research topics of 'Tracing android kernel codes at early stage without extra hardware components'. Together they form a unique fingerprint.

Cite this