1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-17 21:11:34 +03:00
Commit Graph

511 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
3d93a9b72d kernel-builder: Allow passing additional make flags 2019-11-16 21:21:03 +01:00
Linus Heckemann
2b300b302f initrd: add fbterm module
Requires a cross-compilation fix for fbterm (nixos/nixpkgs#72107).

This may stop the display-manager from starting correctly, I think it
prevents X from automatically switching to the correct vt. Requires
some further investigation :)
2019-11-16 18:22:49 +01:00
Samuel Dionne-Riel
70e2c5109a doc: Fix title casing on header link 2019-11-16 11:39:12 -05:00
Samuel Dionne-Riel
fe30b6a9e1 Merge branch 'feature/docs' 2019-11-15 22:05:46 -05:00
Samuel Dionne-Riel
4933e26b07 doc: Adds new logo to generated output 2019-11-15 22:02:10 -05:00
Samuel Dionne-Riel
f23b0ffe39 doc: Adds placeholder page 2019-11-15 22:02:10 -05:00
Samuel Dionne-Riel
8d017baeb2 doc: Updates internal documentation notes 2019-11-15 22:02:10 -05:00
Samuel Dionne-Riel
b2963e004d doc: Adds in-depth topic index 2019-11-15 22:02:10 -05:00
Samuel Dionne-Riel
e7c657cfc2 README.md -> README.adoc 2019-11-15 22:02:10 -05:00
Samuel Dionne-Riel
d1a088ad14 README.md: review 2019-11-15 22:02:10 -05:00
Samuel Dionne-Riel
c86f2f9281 doc: Adds a stub of a porting guide. 2019-11-15 22:02:10 -05:00
Samuel Dionne-Riel
c01ca6645d doc: Getting started 2019-11-15 22:02:10 -05:00
Samuel Dionne-Riel
f0b42593ff doc: copy image resources 2019-11-15 22:02:10 -05:00
Samuel Dionne-Riel
dc4ee58ffa doc: Adds documentation and documentation support 2019-11-15 22:02:06 -05:00
Samuel Dionne-Riel
b83eafa2b7 qemu-x86_64: Add missing mobile.device.info.name attribute 2019-11-15 22:01:09 -05:00
Samuel Dionne-Riel
ef4c30e137 Merge branch 'feature/logo' 2019-11-15 21:59:07 -05:00
Samuel Dionne-Riel
97441a9c00 logo: "golden" exported logo 2019-11-15 16:59:01 -05:00
Samuel Dionne-Riel
ee6ea696cc logo: Adds source logo file 2019-11-15 16:59:01 -05:00
Samuel Dionne-Riel
816faa0198
Merge pull request #34 from samueldr-wip/feature/remove-external-info
Remove reliance on external information
2019-11-07 17:27:33 -05:00
Samuel Dionne-Riel
0f648ef834 asus-flo: import data from postmarketOS-devices.json 2019-11-07 17:23:33 -05:00
Samuel Dionne-Riel
3ad5496ad1 asus-z00t: import data from postmarketOS-devices.json 2019-11-07 17:23:33 -05:00
Samuel Dionne-Riel
8a41ff879b qemu-x86_64: import data from postmarketOS-devices.json 2019-11-07 17:23:33 -05:00
Samuel Dionne-Riel
19d3e79bff Remove postmarketOS-devices.json
Anchoring ourselves to an external project, at this point, is not
feasible. This does not allow us to explore making better use of the
capabilities of nix.

Though, a mechanism using third-party resources, like the postmarketOS
device information, is something that is desirable. The difference is
that it would need to *import* the information in the format used by
mobile-nixos, rather than mobile-nixos importing the information from a
"data dump".
2019-11-07 17:23:33 -05:00
Kirill Elagin
12744fa744 Use pkill to kill adb from stage1 2019-10-28 19:11:01 +01:00
Kirill Elagin
8869e2da37 Restart adb in stage-2
* Move adb to a separate module. It used to be in stage-1, but it is no
  longer stage-1 specific, as it is now started in stage-2 as well.
* After switching to stage-2 kill the old adbd and start a new one.
2019-10-27 00:34:55 +02:00
Craige McWhirter
f19ba9e2bd Added additional development tools 2019-10-27 00:45:47 +10:00
Samuel Dionne-Riel
0c25950719
Merge pull request #36 from samueldr-wip/device/oneplus-oneplus3-userns
oneplus-oneplus3: Enable USER_NS
2019-10-10 11:42:34 -04:00
Samuel Dionne-Riel
fb79113a00 asus-z00t: Fixes compilation with USER_NS
This is dumb... These are all android/google/qualcomm/asus "features"
added to the kernel with no concern about actually being compatible
with the kernel. They all assume no USER_NS stuff.

Fun!
2019-10-09 22:12:48 -04:00
Samuel Dionne-Riel
0b875aa152 asus-z00t: Enable USER_NS 2019-10-09 22:12:48 -04:00
Samuel Dionne-Riel
ff5de40077 asus-z00t: update kernel to latest lineageos revision 2019-10-09 22:12:48 -04:00
Samuel Dionne-Riel
aa4ab0ce0e oneplus-oneplus3: normalize config 2019-10-08 00:33:26 -04:00
Samuel Dionne-Riel
c4fd6fda1a oneplus-oneplus3: Enable USER_NS 2019-10-08 00:33:13 -04:00
Samuel Dionne-Riel
b5081dfb9d
Merge pull request #31 from samueldr-wip/device/oneplus-oneplus3
device: add oneplus-oneplus3
2019-10-05 19:00:25 -04:00
Samuel Dionne-Riel
af62d74a3b oneplus-oneplus3: workaround bug with touchscreen
libinput, which I believe, claims there is a kernel bug with the
synaptics driver touchscreen in use.

This is the recommended fix according to PostmarketOS.

 * https://wiki.postmarketos.org/wiki/Troubleshooting:touchscreen#sec_touchscreen:_kernel_bug

I have not seen any issues from using this fix.

The error:

```
synaptics: kernel bug: device has min == max on ABS_MT_WIDTH_MAJOR
```

According to the touchscreen documentation of the kernel, I don't think
that it is an issue to remove this information from touch events.
2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
8d91d348e6 oneplus-oneplus3: Imports input driver changes from lineageos 2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
f3af08488b oneplus-oneplus3: add kernel 2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
acb8d53880 oneplus-oneplus3: Add partitions information 2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
86045db587 oneplus-oneplus3: Add device information 2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
93436077f1 hardware-qualcomm: Add msm8996 SoC 2019-10-05 01:07:55 -04:00
Samuel Dionne-Riel
a2505a5f6a kernel-normalize-config: don't assume -I nixpkgs 2019-10-02 00:34:05 -04:00
Samuel Dionne-Riel
c40ddf15ac Fixes command in README
The `-I` was accidentally left over.

I prefer assuming `<nixpkgs>` resolves to what is needed (a recent
nixos-unstable checkout) rather than forcing the users to checkout
nixpkgs into this project as I personally do.

Close #22
Close #25
2019-10-02 00:32:43 -04:00
Samuel Dionne-Riel
190619e4e6 Updates README 2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
645274d163 examples/demo: Adds README 2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
e8e3b46207 examples/demo: inits a demo configuration for a system 2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
e318e1603f examples/demo: Inits its android-burn-tool 2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
d99f4d0135 quirks-qualcomm: Enables stage-2 fb refresher 2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
b52dd792dd msm-fb-refresher: 0.1 -> 0.2 2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
5aa721d656 bin/ssh-initrd: also be lenient with host keys 2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
df7bc1f08e default.nix: Allows composition 2019-09-24 23:00:02 -04:00
Samuel Dionne-Riel
c498dc1b38 initrd-usb: Fixes for adbd on asus-z00t
The gist of it:

 * The "adb" function is not available (-22, EINVAL) on asus-z00t
 * Enabling both adb and ffs breaks asus-flo
 * Enabling ffs is fine with asus-flo.

So I guess it's ffs that enables adb!
2019-09-23 20:31:56 -04:00