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

Created on
21/05/18 19:00

Modified on
21/05/18 19:00

Filed under
GSoC 2018

Tags
android gentoo gsoc

Things done this week

Due to having to take an exam in Algebra last Friday, I revised for the test this week and didn't have much progress in GSoC this week. This article sums up what I've tried to achieve in the past week.

Makefile to unpack and repack boot …

Read More

Created on
12/05/18 00:00

Modified on
12/05/18 13:00

Filed under
GSoC 2018

Tags
android gentoo gsoc

Things done this week

This week was about creating a repository for an init program written in C/C++, testing it out, and trying to load the real init inside Gentoo root. The progress of each subproject are listed below.

Writing a "preinit" in C/C++

I've set up a …

Read More

Created on
11/05/18 13:00

Modified on
04/05/18 13:00

Filed under
Android

Tags
android gsoc encryption

The story

I'm working on my GSoC 2018 project, and part of my work at this point is to take over init on an Android system. In order to get to the real root located in /data on Android, I need to mount the encrypted Android userdata partition, which uses …

Read More

Created on
05/05/18 13:00

Modified on
05/05/18 13:00

Filed under
GSoC 2018

Tags
android gsoc

Preface

As a part of my GSoC 2018 project, I'll replace Android's init with one of the init systems from GNU/Linux (OpenRC to be exact), and I've been experimenting with replacing the holy PID1 on an Android system pretty long ago (dating back to 2015), though things didn't work …

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 8b4bf12.