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

1042 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
6e7ca60889 artwork: Drop unused splashes 2020-03-09 17:45:47 -04:00
Samuel Dionne-Riel
c35116cdcd boot/init: Use the new boot/splash applet 2020-03-09 17:34:31 -04:00
Samuel Dionne-Riel
426f31113d boot/splash: Init splash applet 2020-03-09 17:31:03 -04:00
Samuel Dionne-Riel
49facfc05c
Merge pull request #92 from samueldr-wip/feature/boot-gui/vt-restore
boot/gui: Fix console restoring on exit
2020-03-08 18:07:13 -04:00
Samuel Dionne-Riel
741eba11ac
Merge pull request #90 from samueldr-wip/feature/initrd-meta
initrd: Add `initrd-meta` build output, with ncdu metadata
2020-03-08 18:06:28 -04:00
Samuel Dionne-Riel
8a71c8dd85 initrd: Add initrd-meta build output, with ncdu metadata
This can be used to sift through the files in stage-1, and hopefully
pare it down when it bloats.
2020-03-08 17:49:12 -04:00
Samuel Dionne-Riel
f7f4920584
Merge pull request #88 from samueldr-wip/feature/boot-gui/inputs-fixes
Update lvgui for better pointer support
2020-03-08 17:46:48 -04:00
Samuel Dionne-Riel
8fad3b296e boot/gui: Use mruby that will splice
Using `loader.mruby` will not splice :(
2020-03-08 17:05:15 -04:00
Samuel Dionne-Riel
9c8e1f7d17 boot/gui: Fix console restoring on exit 2020-03-08 17:05:15 -04:00
Samuel Dionne-Riel
022f3dc754 mruby-lvgui: update lvgui (read more)
This adds the necessary support to better handle other pointing-type
inputs.

 * Cursor for non-touch devices
 * Handle abs min/max
 * Handle touchpads

With this, a tablet-type input, like used by QEMU, now works.
2020-03-08 17:01:31 -04:00
Samuel Dionne-Riel
9ab16a6c66 initrd: Add udev rules for input devices
Otherwise, there is no trivial way to dinstinguish a trackpad from a
touchscreen.
2020-03-08 17:01:31 -04:00
Samuel Dionne-Riel
31e362563d doc: Ensure proper responsiveness for images 2020-03-03 17:19:57 -05:00
Samuel Dionne-Riel
b60a26a0f9 doc: Add a margin to image blocks 2020-03-03 17:19:34 -05:00
Samuel Dionne-Riel
9c7f1ab1ee doc: Also copy png images 2020-03-03 17:19:25 -05:00
Samuel Dionne-Riel
e121b722a7
Merge pull request #86 from samueldr-wip/feature/boot-gui/simulator-fixes
Boot GUI: Simulator fixes
2020-03-02 14:04:10 -05:00
Samuel Dionne-Riel
abd360b206
Merge pull request #87 from samueldr-wip/feature/installer-script
Add installer script to android device output
2020-03-02 14:03:21 -05:00
Samuel Dionne-Riel
07a92043eb xiaomi-lavender: Describe it uses a discrete recovery partition 2020-03-02 14:02:05 -05:00
Samuel Dionne-Riel
74f3dc5711 android-devices: Output a flash-critical.sh script
This script will flash the "critical" bits to the device.

Though note that this will flash both A/B slots unconditionally.

Similarly, this will flash both the boot and recovery partitions.
2020-03-02 14:02:05 -05:00
Samuel Dionne-Riel
a083acef55 boot/gui: Use newly split script loader in simulator 2020-03-01 23:27:56 -05:00
Samuel Dionne-Riel
12c9d29f58 boot/init: Use the newly split script-loader 2020-03-01 23:27:56 -05:00
Samuel Dionne-Riel
11897bcdb6 boot/script-loader: Split into its distinct package 2020-03-01 22:21:31 -05:00
Samuel Dionne-Riel
8594a19538 boot/gui: Use the loader's mruby build
It doesn't change the mrbc end-result.
2020-03-01 22:02:45 -05:00
Samuel Dionne-Riel
fe6d03701d mruby-builder: Pass through the mruby build 2020-03-01 22:02:27 -05:00
Samuel Dionne-Riel
e1e1333669 boot/gui: Workaround unexplained issue
It seems that `mruby-time-strftime` here is causing the garbage
collector to fail in strange ways *only* in the simulator.

It's all fine in QEMU and on hardware.
2020-03-01 22:02:19 -05:00
Samuel Dionne-Riel
76313cff6f doc: Document launching the simulator 2020-03-01 17:33:25 -05:00
Samuel Dionne-Riel
804182854a boot/gui: Properly dry run commands on simulator 2020-03-01 17:29:30 -05:00
Samuel Dionne-Riel
660804cdf7 boot-gui-simulator: init package 2020-03-01 17:28:50 -05:00
Samuel Dionne-Riel
d6001ae0f6 mruby-lvgui: Fix build with simulator 2020-03-01 17:28:16 -05:00
Samuel Dionne-Riel
5e88e7efcf boot/gui: Allow running without generations file
This should *maybe* remove the Generations tab, as it's empty.
2020-03-01 16:58:39 -05:00
Samuel Dionne-Riel
ac95c64c92 boot/gui: Fix bad arguments handling for simulator 2020-03-01 16:58:07 -05:00
Samuel Dionne-Riel
b2779589f1
Merge pull request #80 from samueldr-wip/feature/boot-selection-gui
Graphical boot selection
2020-02-29 19:56:54 -05:00
Samuel Dionne-Riel
e7e28fa8d1 doc: Add some in-depth notes about booting on android devices 2020-02-29 17:39:29 -05:00
Samuel Dionne-Riel
721e34b69a doc: Add notes about the boot process and generations selection 2020-02-29 17:37:32 -05:00
Samuel Dionne-Riel
20f2cbcc56 init: Interrupt boot when some keys are held. 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
2b2d2ad7ea boot/applets: Add key-held utility 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
a4a22e521b asus-dumo: review kernel command line 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
100e1d7458 qemu-x86_64: review kernel command line 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
a208267763 xiaomi-lavender: configure boot_as_recovery 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
b89ece26f5 google-walleye: configure boot_as_recovery 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
e326b38b4b system-types/android: Output recovery.img
That recovery image unconditionally assumes it's running as recovery
2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
2307732302 kernel-initrd: Fix name 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
cbad4a787e bootimg: Allow naming boot image
It can be a recovery image after all!
2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
3acc3ee63d initrd: Add boot_as_recovery to config 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
d79466747d boot/init: Launch boot GUI when asked 2020-02-29 16:10:00 -05:00
Samuel Dionne-Riel
cab9a214b2 initrd-boot-gui: Add to initrd 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
584c484d0c boot/gui: Init boot GUI 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
3b9d04d3bd stage-1: workaround issue with e2fsck successfully failing 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
26b4215547 boot/init: Add newly required dependencies 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
c487e0d7d3 initrd: Implement split loader/script 2020-02-28 23:14:09 -05:00
Samuel Dionne-Riel
68e4c2b7f3 boot/init: Split interpreter from script
This needs the following commits where the init script will now tell the
loader to load init.mrb
2020-02-28 23:14:09 -05:00