!UUYziobKGGxpovWyAN:nixos.org

Robotnix

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

Load older messages


SenderMessageTime
7 Sep 2021
@kranzes:matrix.orgkranzeshttps://github.com/ForkLineageOS/android_frameworks_base/commit/ee9742b6728f0ecb089d8783c0b8bee17debacfa#diff-533c45df53f4235f81d5ded58da796ab9f55f21cb0939077cae48f48c961188b23:54:14
@kranzes:matrix.orgkranzessome of these changes are redundant when using microg.enable23:54:24
@kranzes:matrix.orgkranzes since the microg already applies some of these changes 23:54:37
@kranzes:matrix.orgkranzesimage.png
Download image.png
23:54:45
@kranzes:matrix.orgkranzesthere are two options for me, one to use git revert to revert that commit23:55:05
@kranzes:matrix.orgkranzes * there are three options for me, one to use git revert to revert that commit23:55:14
@danielrf:matrix.orgdanielrfDoes forklineageos already provide the MicroG apk as well as the patch?23:55:22
@kranzes:matrix.orgkranzessecond, remove some of the patches that microg through robotnix does23:55:41
@kranzes:matrix.orgkranzesthird to patch frameworks_base from forklineageos through robotnix23:56:09
@kranzes:matrix.orgkranzes
In reply to @danielrf:matrix.org
Does forklineageos already provide the MicroG apk as well as the patch?
no
23:56:11
@kranzes:matrix.orgkranzesit just has that spoofing thing23:56:11
@kranzes:matrix.orgkranzeswhat i used to do is fork forklineageos's base frameworks23:56:53
@kranzes:matrix.orgkranzesthen run git revert on it23:57:00
@kranzes:matrix.orgkranzesbut thats a bit of a hass;e23:57:03
@kranzes:matrix.orgkranzes * but thats a bit of a hassle23:57:04
@kranzes:matrix.orgkranzes
In reply to @kranzes:matrix.org
third to patch frameworks_base from forklineageos through robotnix
this i think maybe makes the most sense
23:57:48
@kranzes:matrix.orgkranzesbut i dont know how to write patches23:57:53
@danielrf:matrix.orgdanielrf Do you know about the revert option in pkgs.fetchpatch? 23:58:29
@kranzes:matrix.orgkranzesno23:58:37
@kranzes:matrix.orgkranzes🤔23:58:56
@danielrf:matrix.orgdanielrfWell it does what it sounds like. I sometimes use it to revert commits that upstream provides that we don't want23:59:15
@kranzes:matrix.orgkranzes
In reply to @danielrf:matrix.org
Well it does what it sounds like. I sometimes use it to revert commits that upstream provides that we don't want
that is exactly what i am looking for
23:59:30
@kranzes:matrix.orgkranzescould you show me how to use it in the flake.nix?23:59:36
@danielrf:matrix.orgdanielrfe.g. https://github.com/danielfullmer/robotnix/blob/d9018fbaed2eadf81b85b6dd075a4994230e3b97/flavors/lineageos/default.nix#L10523:59:42
8 Sep 2021
@danielrf:matrix.orgdanielrf it would be something like: source.dirs."frameworks/base".patches = lib.mkBefore [ (pkgs.fetchPatch ....) ]; 00:00:29
@kranzes:matrix.orgkranzeswhat is that .patch file exactly00:00:43
@kranzes:matrix.orgkranzes * what is that .patch file exactly?00:00:50
@kranzes:matrix.orgkranzesalso why do we need mkBefore there?00:01:15
@danielrf:matrix.orgdanielrfThis URL: https://github.com/ForkLineageOS/android_frameworks_base/commit/ee9742b6728f0ecb089d8783c0b8bee17debacfa.patch00:01:21
@kranzes:matrix.orgkranzesOh i didnt know git has that00:01:38

Show newer messages


Back to Room ListRoom Version: 6