1 |
Hello Everyone, |
2 |
|
3 |
I was supposed to integrate `bootstrap-init` and `sar-preinit` into |
4 |
SharkBait this week. I couldn't quite do that. |
5 |
`bootstrap-init` was initially cross-compiled for aarch64 using NDK. So |
6 |
the first job was to get rid of NDK and use a different "build-system". |
7 |
I opted for CMake and ported the project to use it [1]. But the binary |
8 |
compiled by CMake on my phone (arm64 Gentoo), would not boot Android. |
9 |
The build rules can be inspected on [1]. |
10 |
|
11 |
I believe this is because of the fact that I am not using a Bionic based |
12 |
toolchain. So, I started working on building such a toolchain mid-week. |
13 |
And this is where my current task starts coinciding with my next |
14 |
scheduled task of providing a aarch64-linux-android toolchain where we |
15 |
build Bionic as well. The crux of this task was already performed by |
16 |
KireinaHoro in his GSoC [2]. Since my next scheduled task is required to |
17 |
be finished for my current task, I propose to merge `bootstrap-init` |
18 |
along with `sar-preinit` together later in the SharkBait workflow. |
19 |
|
20 |
And to cover the installing process for users right now, I will write a |
21 |
blog and post it on [3] within 24 hours of writing this mail. The blog |
22 |
will provide a guide on assembling the components required for |
23 |
System-As-Root based Android devices and installing SharkBaitOS. Keep in |
24 |
mind that this process will indeed be simplified for the user later. |
25 |
And I propose to edit SharkBait's official wiki later in my GSoC tenure |
26 |
explaining the simplified procedure to end-users and porters. |
27 |
|
28 |
Thanks, |
29 |
Gunwant |
30 |
|
31 |
[1] https://gitlab.com/WantGuns/bootstrap-init/-/tree/cmake |
32 |
[2] https://wiki.gentoo.org/wiki/Android/SharkBait/Building_a_toolchain_for_aarch64-linux-android |
33 |
[3] https://wantguns.gitlab.io/ |