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

624 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
c0497d2d84 motorola-addison: Document USB settings 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
ba1a8e2469 motorola-addison: Re-enable disabled modules to fix usb gadget
The android_usb driver somehow doesn't fail to build even though those
drivers are required to be enabled for the driver to work. Sigh.
2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
0b39a66569 google-walleye: Specify gadgetfs 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
5794555feb google-walleye: Create README with notes 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
84fe395240 google-walleye: Document vendor partition 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
4c893c62a0 google-walleye: Document gadgetfs function names 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
155e4b4471 google-walleye: Document use of A/B scheme 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
59b2d468e8 google-walleye: Set USB product/vendor IDs 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
c1e6d1333d google-walleye: kernel 4.4.201 => 4.4.208 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
3a50138d0b google-marlin: Configure USB mode and identifiers 2020-01-25 19:42:48 -05:00
Samuel Dionne-Riel
9f3d88f221 asus-z00t: Specify android_usb 2020-01-25 19:02:52 -05:00
Samuel Dionne-Riel
dc09f07063 asus-z00t: Document USB identifiers 2020-01-25 19:02:52 -05:00
Samuel Dionne-Riel
a018c48329 asus-dumo: Add hack to rebind the SDHCI driver
This is better than simply relyin on a crash/reboot cycle.
2020-01-25 19:02:52 -05:00
Samuel Dionne-Riel
5abd837848
Merge pull request #68 from samueldr-wip/feature/hardshutdown
Fix shutdown/reboot in stage-1
2020-01-11 15:10:42 -05:00
Samuel Dionne-Riel
104c09a8a7 initrd-base: Use hardshutdown 2020-01-10 00:46:11 -05:00
Samuel Dionne-Riel
27fe769fcc hardshutdown: init at 0.0.1 2020-01-10 00:46:02 -05:00
Samuel Dionne-Riel
5fa2110c7b hard-{shutdown,reboot}: remove
This will be replaced with a better utility.
2020-01-10 00:45:39 -05:00
Samuel Dionne-Riel
7803d9ec0e
Merge pull request #67 from samueldr-wip/fix/google-walleye-framebuffer
google-walleye: Fix early framebuffer
2019-12-28 17:39:05 -05:00
Samuel Dionne-Riel
f5ee476645 google-walleye: Fix early framebuffer
It looks like *not* having `quiet` in the kernel cmdline somehow makes
the early init of the framebuffer fail.

I don't know the exact difference, but lowering loglevel rather than
using quiet doesn't work here.

In addition, this changes
2019-12-27 17:11:41 -05:00
Samuel Dionne-Riel
49e725c868 google-walleye: Split-up cmdline 2019-12-27 17:11:35 -05:00
Samuel Dionne-Riel
774dabfbfd
Merge pull request #65 from samueldr-wip/feature/libhybris/update
libhybris: 2018-06-18 -> 2019-12-02
2019-12-10 13:58:20 -05:00
Samuel Dionne-Riel
920e4991ca adbd: Use legacy properties with hybris 2019-12-10 13:57:32 -05:00
Samuel Dionne-Riel
87c5c4793c libhybris: Work around a failing test 2019-12-10 13:57:32 -05:00
Samuel Dionne-Riel
d004fb988a libhybris: Allow relying on legacy properties
This is used to get a slimmer libhybris for adbd for stage-1.

The previous behaviour (before 35976c201741cfc21c114615b8524db5367e034a)
was to rely on a "homegrown" system to get properties.

Starting with that new properties system, it will rely on the vendor
libraries, thus requiring all of them, plus the linker, to get
properties.

Turns out, adbd doesn't actively need anything from the vendor libraries
or from the actual propeties system.

So, it's fine to revert the change to get a working libhybris for
stage-1.

Though, what would be even better is to strip out only the minimum
requirements for adbd, and make a "mini hybris" that we can rely on for
adbd.
2019-12-10 00:13:51 -05:00
Samuel Dionne-Riel
49234e9c76 libhybris: 2018-06-18 -> 2019-12-02 2019-12-10 00:13:34 -05:00
Samuel Dionne-Riel
c390bbeb6b
Merge pull request #63 from samueldr-wip/feature/better-demo
Make the demo more useful on a touch device
2019-12-05 23:53:48 -05:00
Samuel Dionne-Riel
b228b71c75 examples/demo: Notifications should not be focusable 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
a570821f63 examples/demo: Enable bluetooth 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
a4bd557c28 examples/demo: mark some options as defaults 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
35aa825b02 examples/demo: tray max icon size fixup
Seems 96px won't work here.
2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
089aea3eef examples/demo: Add depthcharge output 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
34eebc95d6 examples/demo: select the appropriate X11 driver 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
07e6c358e3 examples/demo: Make menu touchable area bigger 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
2a6a65e018 examples/demo: Use Breeze 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
76229eaefb examples/demo: Enable unclutter 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
b2284877a9 examples/demo: grow partition 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
2218f29a22 examples/demo: Use a keyboard icon for onboard 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
0a49490cf0 examples/demo: Make onboard bigger by default 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
d94133c831 examples/demo: add a close window action on the panel 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
e4d35da464 examples/demo: add onboard to the bottom panel 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
1650f9ebba examples/demo: Add onboard keyboard 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
1b9d6f6b9a examples/demo: Rework configuration
The configuration, while still in a monolithic file, has been split by
topic.
2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
690a4e6c9d examples/demo: Use awesome wm 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
8b06ccdb72 examples/demo: pre-configure system demo...
Here's why xfce...

 * it has good pre-configuration systems.
 * it has sane configuration file format.
 * it's quick in non-accelerated setups.

Though, there are many drawbacks... It is *not* a mobile environment!

Better environments will be packaged down the road.
2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
6004298259 examples/demo: export vm attribute 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
80083a7689 artwork: Adds a wallpaper for the 19.09 era 2019-12-05 23:51:07 -05:00
Samuel Dionne-Riel
2edfa09716
Merge pull request #64 from samueldr-wip/fix/motorola-addison
Reduce size of kernel for motorola-addison + fixups
2019-12-05 23:39:58 -05:00
Samuel Dionne-Riel
4811ac688f
Merge pull request #41 from kirelagin/stage-2-adb
Restart adb in stage-2
2019-12-04 19:35:19 -05:00
Samuel Dionne-Riel
4c11bf2c50 motorola-addison: Reduce size of the kernel
The patches added here are required to build under some conditions, but
not all are ended up needed as CONFIG_DEBUG_FS is required to be active
otherwise the kernel doesn't even boot :/

The kernel size was reduced by:

 * Removing tracing support
 * Removing unneeded exfat and sdcardfs filesystems
 * Removing all sound support
 * Removing video input (camera) support

The latter options seem awfully shortsighted, until you remember that a goal is
to eventually deal with booting our own kernels through kexec.

The Moto Z Play device's boot partition size is putting us in a hard
spot.
2019-12-04 17:39:46 -05:00
Samuel Dionne-Riel
2ab4dac55f motorola-addison: Add partitions information 2019-12-04 17:29:00 -05:00