Gentoo GSoC Weekly Report 05/28

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 following the instructions in the following articles in order would form a complete, detailed tutorial to reproduce the work up to this point:

Important repositories (excl. experimental ones that do not mean much) created up to this point (the repository names are clickable):

  • android_device_huawei_angler: holds patch to disable the forced Full-Disk Encryption (as described in the "What's Next?" section in this article);
  • preinit_angler: holds the preinit, initramfs structure, and Makefile rules to easily unpack and repack Android boot.img;
  • android-lxc-files: holds patches, LXC config, startup and stop hooks, and helper scripts for the proper functioning of Android in LXC;
  • android_kernel_huawei_angler: holds the modified version of Android kernel source along with config tweaks to build a LXC-ready kernel with Gentoo cross-compile toolchain.

The above repositories still lack proper READMEs, and I put that as the main task for part 4 (Cleaning up) in my GSoC project, whose main goal is to create proper documentation for future pickup.

We still lack some sort of distribution / release method, but I think that belongs to the goals in the third part of the project (Taking Android apart), as we'll have stage3 tarballs and automatic setup scripts available directly at the end of that part of work.

We need to modify Android framework to enable it to inform the host about its states. We also need some sort of interface (e.g. an app) in the Android world to perform actions outside the container (e.g. initialize system updates, switch LXC profiles, etc.) as we proceed further in part 3 of this project. Some other goals yet to achieve are recorded in the "Known Problems" section in Starting Android in LXC.

Plans for the coming weeks

June is drawing near, and it's time for my final-term examinations in the university. Just as planned in the time schedule, I'll pause all activities of GSoC during June, except filling the form for First Evaluation at around June 15, and restoring to full work capacity at the end of June. Looking forward to the third part (Taking Android apart) of the project. Thanks for everyone that devoted time to help me through the second part of the project--it was very fun and I learned a lot in the process.

Happy hacking!


Comments


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 e1739c4.