Skip to content

Instantly share code, notes, and snippets.

View danielfullmer's full-sized avatar

Daniel Fullmer danielfullmer

  • Anduril
  • Costa Mesa
View GitHub Profile
diff --git a/machines/bellman/configuration.nix b/machines/bellman/configuration.nix
index 55a6934..869e68e 100644
--- a/machines/bellman/configuration.nix
+++ b/machines/bellman/configuration.nix
@@ -432,4 +437,93 @@
programs.xwayland.enable = true;
programs.sway.enable = true;
+
+ # Working as of 2023-12-12
let
robotnix = (import ./default.nix {
configuration = {
device = "arm64";
flavor = "vanilla";
};
});
in (robotnix.config.build.mkAndroid {
name = "libc";
makeTargets = [ "libc" ];
{
"dep-dso": [],
"forced-modules": [
"android.hardware.authsecret@1.0.vendor:64",
"android.hardware.biometrics.common-V1-ndk_platform.vendor:64",
"android.hardware.biometrics.fingerprint-V1-ndk_platform.vendor:64",
"android.hardware.bluetooth@1.0.vendor:64",
"android.hardware.bluetooth@1.1.vendor:64",
"android.hardware.confirmationui@1.0-lib.trusty:64",
"android.hardware.confirmationui@1.0.vendor:64",
From a96be5768120819c2972d03e2ff9f154dcbb7eb3 Mon Sep 17 00:00:00 2001
From: Daniel Fullmer <danielrf12@gmail.com>
Date: Mon, 28 Sep 2020 21:07:39 -0700
Subject: [PATCH] Allow selective signature spoofing for microG
* Permission FAKE_PACKAGE_SIGNATURE required
* Only microG and FakeStore can spoof signature
* Only the official Google signature can be spoofed, the
"fake-signature" field is unused.
--- /nix/store/iv6vzkarjpgq6q5r8p8bv3l5caydld1p-vendor-diff/system.upstream 2020-12-18 00:01:28.646412057 +0000
+++ /nix/store/iv6vzkarjpgq6q5r8p8bv3l5caydld1p-vendor-diff/system.built 2020-12-18 00:01:28.653412386 +0000
@@ -45,28 +45,27 @@
sys
system
system/apex
+system/apex/com.android.adbd.apex
system/apex/com.android.apex.cts.shim.apex
system/apex/com.android.art.release.apex
+system/apex/com.android.cellbroadcast.apex
54a55,58
> system/apex/com.android.conscrypt.apex
> system/apex/com.android.media.apex
> system/apex/com.android.media.swcodec.apex
> system/apex/com.android.resolv.apex
56,60c60
< system/apex/com.google.android.conscrypt.apex
< system/apex/com.google.android.media.apex
< system/apex/com.google.android.media.swcodec.apex
< system/apex/com.google.android.resolv.apex
--- /nix/store/n08jvrzynbhvg5yab92d78cvqfs33am0-vendor-diff/upstream-system 2020-09-14 02:31:15.240741909 +0000
+++ /nix/store/n08jvrzynbhvg5yab92d78cvqfs33am0-vendor-diff/built-system 2020-09-14 02:31:15.253742508 +0000
@@ -46,28 +46,26 @@
sys
system
system/apex
+system/apex/com.android.adbd.apex
system/apex/com.android.apex.cts.shim.apex
system/apex/com.android.art.release.apex
+system/apex/com.android.cellbroadcast.apex
diff --git a/flavors/lineageos/lineage-18.1/device-dirs.json b/flavors/lineageos/lineage-18.1/device-dirs.json
index 086f7fd..e580992 100644
--- a/flavors/lineageos/lineage-18.1/device-dirs.json
+++ b/flavors/lineageos/lineage-18.1/device-dirs.json
@@ -3195,6 +3195,24 @@
"sha256": "15mcnvkgzkj0dvvvyfsavddrb1jhv8gbg79mhpl0kiis57mhvhjr",
"url": "https://github.com/LineageOS/android_device_sony_discovery"
},
+ "device/sony/huashan": {
+ "date": "2021-01-02T21:59:33+01:00",
This file has been truncated, but you can view the full file.
{
"26.0.compat.cil": { "class": ["ETC"], "path": ["system/sepolicy"], "tags": ["optional"], "installed": ["out/target/product/generic_arm64/system/etc/selinux/mapping/26.0.compat.cil"], "compatibility_suites": [], "auto_test_config": [], "module_name": "26.0.compat.cil", "test_config": [], "dependencies": [], "srcs": [], "srcjars": [], "classes_jar": [], "test_mainline_modules": [], "is_unit_test": "" },
"26.0.ignore.cil": { "class": ["ETC"], "path": ["system/sepolicy"], "tags": ["optional"], "installed": ["out/target/product/generic_arm64/system/etc/selinux/mapping/26.0.ignore.cil"], "compatibility_suites": [], "auto_test_config": [], "module_name": "26.0.ignore.cil", "test_config": [], "dependencies": [], "srcs": [], "srcjars": [], "classes_jar": [], "test_mainline_modules": [], "is_unit_test": "" },
"26.0_compat_test": { "class": ["FAKE"], "path": ["system/sepolicy"], "tags": ["optional"], "installed": ["out/target/product/generic_arm64/fake_packages/26.0_compat_test"],
let
robotnix = (import ./default.nix {
configuration = {
device = "arm64";
flavor = "vanilla";
};
});
in (robotnix.config.build.mkAndroid {
name = "libc";
makeTargets = [ "libc" ];