1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-15 19:23:01 +03:00
Commit Graph

1640 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
59ac9d428c pine64-pinephone: Re-use known working usb id/vendor IDs
Otherwise `adb shell` will not work as expected.

Many phones end up using these identifiers in recoveries (non-official
recoveries mainly) because they are likely to work with ADB, even older
ADB releases.

This sucks, it would be better to have a *proper* USB identifier pair,
but since there is none, let's use one that is known to make the
end-user's life easier.

It's not like the previous identifiers were objectively better.
2021-03-21 00:09:01 -04:00
Samuel Dionne-Riel
12f5297bf6 pine64-pinephone: Fix kernel config for gadget mode 2021-03-20 23:51:40 -04:00
Samuel Dionne-Riel
3fa21329c4
Merge pull request #317 from samueldr-wip/feature/cross-canary
cross-canary: Execute cross-built binaries using qemu-user
2021-03-07 18:21:12 -05:00
Samuel Dionne-Riel
c406e5d229 release.nix: Use canaries from overlay 2021-03-07 17:53:10 -05:00
Samuel Dionne-Riel
f4a488231c release.nix: Filter non-derivations from mobile-nixos overlay
This is much sturdier than manually selecting attrpaths to remove. It
won't break the next time a `make-*` or `*-builder` helper is added.
2021-03-07 17:53:10 -05:00
Samuel Dionne-Riel
cd4eef033e release.nix: Add canary to tested jobs
+ Fix for canary being a callPackage'd attrset
 + Fix for testedPlus job name
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
bb375bd177 cross-canary: Verifies static binaries are built 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
72ddfee51a cross-canary: Add x86_64 emulator
This is used to run the cross canaries on aarch64-linux host!
2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
e58dde09d5 cross-canary: runtimeShell is not expected to cross-compile for now 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
8431c72373 cross-canary: misc cleanup 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
264fd8dc89 cross-canary: mruby -> hello-mruby 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
e0ec5cee54 cross-canary: Test the stage-1 script-loader 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
d0a26ebfa6 cross-canary: Review for static builds 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
3ca606f27d cross-canary: Also test static packages 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
9dd5d7e79b cross-canary: Add static mruby test 2021-03-07 17:52:21 -05:00
Samuel Dionne-Riel
db8e7eb0aa cross-canary: Add simple test to validate cross work
At least, to a basic level.
2021-03-07 17:52:18 -05:00
Samuel Dionne-Riel
b07dc19062 cross-workarounds: Don't apply overlay on pkgsBuildBuild
As described near the change, this would cause qemu to become an overly
costly build.
2021-03-07 17:52:04 -05:00
Samuel Dionne-Riel
a9d3769cc3 mruby: use the right rake to build
The wrapper for bundlerApp, starting with
e8993319724901f132dd4ed997f5383c4a482940 in Nixpkgs ends up using the
runtimeShell for the target platform. Yes, with buildPackages.

This forces an mruby that is more appropriate, rather than rely on
buildPackages.

It may look like it works for aarch64 without this patch, but this is
only because for pkgsStatic+aarch64 cross-compiles fine.
2021-03-07 17:52:04 -05:00
Samuel Dionne-Riel
22e7726032
Merge pull request #321 from Artturin/update-kernel
pine64-pinephone: kernel 5.10 -> 5.11.2
2021-03-07 16:51:19 -05:00
Samuel Dionne-Riel
aee1045472
Merge pull request #327 from aforemny/pine64-partitions
pinephone: Update boot partition name in README
2021-03-02 15:56:59 -05:00
Alexander Foremny
bb4df129d2 pinephone: Update boot partition name in README 2021-03-02 19:49:34 +01:00
Samuel Dionne-Riel
84b347652a
Merge pull request #323 from samueldr-wip/fix/missing-file-android-flashable-zip
overlay: Add missing `make-flashable-zip`.
2021-03-01 00:07:25 -05:00
Samuel Dionne-Riel
024b5344e1 overlay: Add missing make-flashable-zip.
This was broken in a hastily done rebase :/
2021-03-01 00:05:16 -05:00
Artturin
8a6d297257 pine64-pinephone: enable ANX7688 driver 2021-03-01 04:30:19 +02:00
Samuel Dionne-Riel
52d88c3800
Merge pull request #320 from samueldr-wip/feature/android-flashable-zip
android: Add flashable zip output
2021-02-28 16:29:00 -05:00
Samuel Dionne-Riel
6e8ec64e3f xiaomi-tissot: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
de733ea6a5 xiaomi-lavender: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
ab35dbc873 xiaomi-begonia: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
89298e22c8 sony-pioneer: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
d937bb9237 samsung-a5y17lte: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
e431413dd3 razer-cheryl2: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
8c30a95630 oneplus-oneplus3: Propose flashing with the zip file 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
4d8aae6a52 oneplus-oneplus3: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
714a7624fe motorola-surfna: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
1b3f1d597e motorola-addison: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
222dbd744f google-walleye: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
aff85aff88 google-marlin: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
935d68eb51 asus-z00t: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
d5e1b34696 asus-x018d: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
18174456ea asus-flo: Identify device for flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
037281769f examples/demo: Flash into userdata 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
6711b2d108 release.nix: Test android flashable zip binaries 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
280d872897 make-flashable-zip: Add to overlay
There is no reason to stow this in the system-type module. Other than
making it harder for external uses.
2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
3941294673 system-types/android: Review default output name
`android-device` was a poor name choice. Especially now that we have
flashable zips, which are equally as usable as fastboot-flashable
outputs.
2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
d17e09c075 system-types/android: Review config and flashing scripts 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
3980354c21 system-types/android: Update documentation 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
939dd6e9dc android-flashable-zip-binaries: Always build static 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
0b15ab04cf system-types/android: Add flashable zips 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
595f0aa43b android-flashable-zip-binaries: Update progress while flashing 2021-02-28 15:53:12 -05:00
Samuel Dionne-Riel
1c0c7b1911 android-flashable-zip-binaries: Support A/B scheme 2021-02-28 15:53:12 -05:00