Created on
26/05/18 15:00

Modified on
26/05/18 15:00

Filed under
GSoC 2018

Tags
android gentoo gsoc

Summary

This week was planned as the last week for the first (Preparation) and second (Gaining control of the system) parts in my GSoC 2018 proposal. I'm pleased to announce that I've successfully hit the target as planned: a video demonstration posted on Twitter can be watched here.

Reading and …

Read More

Created on
26/05/18 13:00

Modified on
26/05/18 13:00

Filed under
Android

Tags
android lxc gsoc gentoo

Preface

After successfully booting Gentoo on Nexus 6P in the previous article, we can move on to launching Android in LXC, which is the last mission in the first period of my GSoC 2018 project. This article documents the process to bring up Android successfully with most of its functions …

Read More

Created on
26/05/18 10:00

Modified on
26/05/18 13:00

Filed under
Android

Tags
android linux kernel gentoo

Preface

To run LXC, we need a kernel that has the options required by LXC on. This article shows how to build an Android kernel that has the required options on, built by Gentoo's latest stable cross-compile toolchain built by crossdev.

Install Cross-Compile Toolchain

We'll use crossdev, a set of …

Read More

Created on
25/05/18 20:00

Modified on
25/05/18 20:00

Filed under
SysAdmin

Tags
android gentoo gsoc

Preface

As we now have preinit and the crucial UART console available, we can start bringing up the real GNU/Linux system--Gentoo Linux in this case. This article will focus on the following topics:

  • Filesystem structure and mounting procedure (in details)
  • Launch sequence to bring up OpenRC
  • Crafting a preinit …
Read More

Created on
22/05/18 13:00

Modified on
22/05/18 13:00

Filed under
GSoC 2018

Tags
hardware gsoc

The story

As described here, Google baked a serial console into the headphone jack of their Nexus and Pixel devices. A serial console would be feasible for debugging problems with init as well as tinkering the device when it has booted into Linux and haven't started Android yet. My journey …

Read More

Personal details (portrait, CV) © Pengcheng Xu All Rights Reserved; articles licensed under CC BY-SA 4.0.
Powered by Pelican, Bootstrap, and NixOS. Icons by Font Awesome. Generated from d9203ff.