!UUYziobKGGxpovWyAN:nixos.org

Robotnix

261 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix82 Servers

Load older messages


SenderMessageTime
5 May 2023
@atemu12:matrix.orgatemu12
In reply to @matthewcroughan:defenestrate.it
when you get OpenGapps it comes not as an apk, but as a zip that you flash in TWRP. What is this format called?
It's a flashable zip containing an open recovery script IIRC
15:41:37
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneAh, so these things are designed to run in a recovery environment, and couldn't be executed or integrated into the Android build process?15:42:00
@atemu12:matrix.orgatemu12Why do you need to integrate it into the build process at all?15:42:26
@atemu12:matrix.orgatemu12Just flash it once and be done15:42:31
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI want to get rid of the imperative step15:42:54
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneFlash one thing instead of two 15:43:09
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone Atemu: Oh also I'm not using AOSP12, I'm using LineageOS, do you think this changes anything about the StackOverflow you sent me? 15:44:44
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone I wonder if we can just add this to flavors/lineageos/lineage-19.1/repo.json 15:46:06
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneand then make a module option that patches the repo.json file prior to usage 15:46:23
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone * and then make a module option that patches the repo.json file prior to usage, for all flavors 15:46:27
@atemu12:matrix.orgatemu12
In reply to @matthewcroughan:defenestrate.it
Atemu: Oh also I'm not using AOSP12, I'm using LineageOS, do you think this changes anything about the StackOverflow you sent me?
Nah
15:47:37
@atemu12:matrix.orgatemu12You don't need to patch any repo.jsons15:47:47
@atemu12:matrix.orgatemu12Those are just for getting all the stuff the regular build requires in order15:48:06
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneIs it possible to compose with the existing module options?15:48:11
@atemu12:matrix.orgatemu12Just add the source.dir and patch the device file according to the guide15:48:30
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneOH15:48:40
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone You mean like source.dir."vendor/gapps" sort of thing? 15:49:01
@atemu12:matrix.orgatemu12Yup15:52:43
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneThat's actually astoundingly easy 15:55:31
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone Any idea what the branches mean? They have sigma tau etc, I am not sure if this is the size of the package or the android support version 15:57:12
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI'm going to assume based on the commits (I can't find docs) that it's related to the android support version 15:58:29
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone And that sigma is android 12 15:58:36
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zone
source.dirs."vendor/gapps".src = builtins.fetchGit {
  rev = "d547c376983cc644b5a6b4e7ed1fd59984f5569c";
  ref = "sigma";
  url = "https://gitlab.com/MindTheGapps/vendor_gapps.git";
  allRefs = true;
};
15:58:46
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneThis would then be the total code needed to add gapps to the build process 15:58:54
@kranzes:matrix.orgkranzesis MindTheGapps the right one you want?16:09:15
@kranzes:matrix.orgkranzesand Sigma is the right variant?16:09:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI don't care what it is as long as it provides the google play services for Android 1216:10:24
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneI won't know until I try it since I can't find documentation on what the branch names mean 16:10:35
@kranzes:matrix.orgkranzesIt's how many google bloatware to include16:11:00
@matthewcroughan:defenestrate.itmatthewcroughan - nix.zoneAnd I'm stuck at "fetching Git repository", because Nix builtin fetchers failing to resolve?16:11:05

Show newer messages


Back to Room ListRoom Version: 6