Skip to content

Instantly share code, notes, and snippets.

View danielfullmer's full-sized avatar

Daniel Fullmer danielfullmer

  • Anduril
  • Costa Mesa
View GitHub Profile
--- /nix/store/hva068vdcdrvbn4rhbygp0bvmyb6hn10-vendor-diff/system_ext.upstream 2021-01-04 06:48:02.275432198 +0000
+++ /nix/store/hva068vdcdrvbn4rhbygp0bvmyb6hn10-vendor-diff/system_ext.built 2021-01-04 06:48:02.278432340 +0000
@@ -1,41 +1,11 @@
app
-app/DeviceStatisticsService
-app/DeviceStatisticsService/DeviceStatisticsService.apk
-app/DeviceStatisticsService/oat
-app/DeviceStatisticsService/oat/arm64
-app/DeviceStatisticsService/oat/arm64/DeviceStatisticsService.odex
diff -ur /nix/store/zhb5wk1mw6gg2b8ych4468rp7z4hib29-device_google_sunfish-d6eb9cf/overlay/frameworks/base/core/res/res/values/config.xml /nix/store/zcgay4a1f6snwdbspw74id5g571ghggs-device_google_sunfish-b58f629/overlay/frameworks/base/core/res/res/values/config.xml
--- /nix/store/zhb5wk1mw6gg2b8ych4468rp7z4hib29-device_google_sunfish-d6eb9cf/overlay/frameworks/base/core/res/res/values/config.xml 1969-12-31 16:00:01.000000000 -0800
+++ /nix/store/zcgay4a1f6snwdbspw74id5g571ghggs-device_google_sunfish-b58f629/overlay/frameworks/base/core/res/res/values/config.xml 1969-12-31 16:00:01.000000000 -0800
@@ -307,8 +307,8 @@
<item>"/apex/com.android.art/javalib/core-oj.jar"</item>
<item>"/apex/com.android.art/javalib/core-libart.jar"</item>
<item>"/apex/com.android.media/javalib/updatable-media.jar"</item>
- <item>"/product/priv-app/SystemUI/SystemUI.apk"</item>
- <item>"/product/priv-app/SystemUI/oat/arm64/SystemUI.odex"</item>
+ <item>"/system_ext/priv-app/SystemUI/Sy
diff -ur /nix/store/gczlmh82jz0cdydjpj5fykdr3gvgms7y-kernel_google_sunfish-f9428b4/.gitmodules /nix/store/2dq6fkq4820l3vxm71naj92w3askv1bg-kernel_google_sunfish-0490c71/.gitmodules
--- /nix/store/gczlmh82jz0cdydjpj5fykdr3gvgms7y-kernel_google_sunfish-f9428b4/.gitmodules 1969-12-31 16:00:01.000000000 -0800
+++ /nix/store/2dq6fkq4820l3vxm71naj92w3askv1bg-kernel_google_sunfish-0490c71/.gitmodules 1969-12-31 16:00:01.000000000 -0800
@@ -12,4 +12,4 @@
url = https://github.com/GrapheneOS/kernel_google_sunfish_techpack_audio
[submodule "drivers/input/touchscreen/fts_touch"]
path = drivers/input/touchscreen/fts_touch
- url = https://android.googlesource.com/kernel/msm-modules/fts_touch
+ url = https://android.googlesource.com/kernel/msm-modules/fts_touch_s5
{ config, pkgs, ... }:
{
device = "pyxis";
flavor = "lineageos";
source.dirs."device/xiaomi/pyxis".src = pkgs.fetchgit {
deepClone = false;
fetchSubmodules = false;
leaveDotGit = false;
rev = "12317390e31d3a3388e2a2f4d77d5d58bd359289";
{ config, pkgs, ... }:
{
device = "pyxis";
flavor = "lineageos";
source.dirs."device/xiaomi/pyxis".src = pkgs.fetchgit {
deepClone = false;
fetchSubmodules = false;
leaveDotGit = false;
rev = "12317390e31d3a3388e2a2f4d77d5d58bd359289";
{
source.dirs."prebuilts/clang/host/linux-x86".postPatch = let
proton-clang = pkgs.fetchFromGitHub {
<complete this>
};
in ''
cp -r ${proton-clang} proton-clang
'';
}
{ pkgs, ... }:
{
flavor = "twrp";
device = "marlin";
# At least marlin needs this... https://github.com/minimal-manifest-twrp/platform_manifest_twrp_omni/issues/33
envVars.ALLOW_MISSING_DEPENDENCIES = "true";
# https://forum.xda-developers.com/t/how-to-building-twrp-from-source-with-goodies.4029449/
Binary files miatoll-not-working/BOOT/kernel and miatoll-working/BOOT/kernel differ
Binary files miatoll-not-working/IMAGES/boot.img and miatoll-working/IMAGES/boot.img differ
Binary files miatoll-not-working/IMAGES/recovery.img and miatoll-working/IMAGES/recovery.img differ
Binary files miatoll-not-working/IMAGES/system_ext.img and miatoll-working/IMAGES/system_ext.img differ
Binary files miatoll-not-working/IMAGES/system.img and miatoll-working/IMAGES/system.img differ
Binary files miatoll-not-working/IMAGES/vbmeta.img and miatoll-working/IMAGES/vbmeta.img differ
Binary files miatoll-not-working/IMAGES/vbmeta_system.img and miatoll-working/IMAGES/vbmeta_system.img differ
Binary files miatoll-not-working/IMAGES/vendor.img and miatoll-working/IMAGES/vendor.img differ
diff -ur -x '*.map' miatoll-not-working/META/apexkeys.txt miatoll-working/META/apexkeys.txt
--- miatoll-not-working/META/apexkeys.txt 2008-01-01 00:00:00.000000000 -0800
{
"api-30": {
"naked": {
"dep-dso": [
"vendor/lib/libadsprpc.so",
"vendor/lib/libsdsprpc.so",
"vendor/lib64/libadsprpc.so",
"vendor/lib64/libsdsprpc.so"
],
"forced-modules": [
{
- device-name: "pixel5a"
- device-model: "barbet"
- device-aliases: [
- ]
- vendor: "google"
- aosp-vendor-dir: "google_devices"
- device-family: "barbet"
- supported-apis: [
- "api-30"