Commit Graph

94 Commits

Author SHA1 Message Date
3dce85ad25 unicorn 2024-10-12 00:50:21 +08:00
9a57052f92 unicorn 2024-08-29 01:10:35 +08:00
3a5c3c5829 unicorn 2024-08-28 22:36:27 +08:00
9383ffc973 unicorn 2024-08-28 00:16:36 +08:00
Alfred Neumayer
7025331a4b ramdisk-overlay: Fetch current bootslot from /proc/bootconfig 2024-06-19 21:22:09 +02:00
Alfred Neumayer
12b4a9516c .gitlab-ci: Switch to main branch and install libelf-dev 2024-06-18 00:00:47 +02:00
Alfred Neumayer
85d5be4006 deviceinfo: Change kernel repo branch 2024-06-17 22:05:26 +02:00
Alfred Neumayer
b3f424c6e6 deviceinfo: Change kernel repo URL 2024-06-17 22:03:37 +02:00
Alfred Neumayer
5173c06ddb treewide: Initial working port to Halium 13 2024-06-17 21:30:38 +02:00
Alfred
c55bba6fa3 Replace ramdisk-recovery-overlay with ramdisk-overlay
Ships ramdisk-recovery.img injected into halium-boot.
2024-06-11 12:50:48 +02:00
Alfred Neumayer
810fe5da54 deviceinfo: Ship uncompressed aarch64 kernel 2024-06-11 12:30:47 +02:00
Alfred
e2aad248be deviceinfo: Use correct ramdisk compression 2024-06-11 12:27:04 +02:00
Alfred
075e43de13 deviceinfo: Flip on init_boot creation 2024-06-11 12:21:04 +02:00
Alfred
1c61298f14 deviceinfo: Disable recovery creation until investigated 2024-06-11 12:09:23 +02:00
Alfred
f2026814ff ramdisk-recovery-overlay: Attempt to come closer to recovery.fstab 2024-06-11 11:56:09 +02:00
Alfred
27149b60c2 etc/default: Ship usb-moded.d override
Determined by peeking into /vendor's init.sdw5100.usb.rc.
2024-06-11 11:23:48 +02:00
Alfred
c6c53f7b45 overlay/system: Also catch vendor.audio-hal as a deactivated one
Would most likely conflict with PulseAudio over hardware access.
2024-06-11 11:19:18 +02:00
Alfred
a217a38b54 overlay/system: Override time_daemon with a deactivated one harder 2024-06-11 11:15:35 +02:00
Alfred
d02569e3f6 overlay/system: Empty usb initialization .rc file 2024-06-11 11:15:13 +02:00
Alfred
c0d6482119 overlay/system: Denote device type to be "watch" 2024-06-11 10:50:11 +02:00
Alfred Neumayer
4ae26b3761 build: Switch to main branch for halium-generic-adaptation-tools 2024-06-11 04:27:40 +02:00
Alfred Neumayer
7574d3b48e overlay: Make touch.pa & gbinder.conf depend on API levels 31 2024-06-11 04:19:18 +02:00
Alfred
92d78bbd1f overlay/system: Replace fp4 udev rules with eos ones 2024-06-11 01:36:01 +02:00
Alfred Neumayer
9f9ecd72b5 overlay: Clean up
Get more closely in line with eos device file overlays, and remove
unnecessary files in the process.
2024-06-11 01:26:37 +02:00
Alfred Neumayer
4ae5551d6d Add README.md 2024-06-11 01:14:57 +02:00
Alfred Neumayer
14ada7a46a Adapt to build for Google Pixel Watch 2 2024-06-11 01:09:51 +02:00
Muhammad
f7e5420c70 Merge branch 'focal' into 'focal'
deviceinfo: actually track the kernel repo

See merge request ubports/porting/reference-device-ports/android11/fairphone-4/fairphone-fp4!21
2023-11-10 16:22:30 +00:00
Marius Gripsgard
767f6a6938 Merge branch 'focal-properly-enable-hqsg' into 'focal'
overlay: Enable overlayfs-type mounting for /etc/profile.d

See merge request ubports/porting/reference-device-ports/android11/fairphone-4/fairphone-fp4!23
2023-09-01 00:49:17 +00:00
Alfred E. Neumayer
c03b38eecc overlay: Enable overlayfs-type mounting for /etc/profile.d
This allows the lxc-android-config overlay mount machinery to properly
pick up files inside of this directory and overlay them.
2023-09-01 02:01:19 +02:00
Alfred Neumayer
3a5f83585e Merge branch 'personal/mariogrip/gofast' into 'focal'
Opt-in to haliumqsgcontext

See merge request ubports/porting/reference-device-ports/android11/fairphone-4/fairphone-fp4!22
2023-08-26 23:25:12 +00:00
Marius Gripsgard
88a96f8315 Opt-in to haliumqsgcontext
Makes a 10x peformance improvment
2023-08-27 00:37:38 +02:00
Marius Gripsgard
de838c74fb Tweak performance by increasing schedtune boost
This results in a close to instant startup of apps and 10x gpu texture upload with haliumqsgcontext (2x without)
2023-08-26 22:30:49 +00:00
Muhammad
699e683c85 recovery.fstab: fix raw partition mounts 2023-07-14 15:39:15 +00:00
Muhammad
d38e7afb03 deviceinfo: actually track the kernel repo 2023-07-14 15:22:17 +00:00
Alfred Neumayer
606384645a Merge branch 'personal/peat-psuwit/focal_-_fp4-voice-volume' into 'focal'
prop.halium: stop overriding voice volume steps

See merge request ubports/porting/reference-device-ports/android11/fairphone-4/fairphone-fp4!20
2023-02-28 09:12:54 +00:00
Ratchanan Srirattanamet
8cd78631ee prop.halium: stop overriding voice volume steps
Now that the proper fix is available on pa-modules-droid side [1],
remove the override for call steps so that the calculation in the audio
HAL will work as intended.

Related: https://gitlab.com/ubports/porting/reference-device-ports/android11/fairphone-4/fairphone-fp4/-/issues/9
2023-02-27 18:21:38 +00:00
Alfred Neumayer
bdccac3a32 Rename prop.default to prop.halium
Required for StageFright's configuration to avoid CCodec,
enable Aethercast and more, properly this time.
2023-02-24 17:00:25 +05:00
Jami Kettunen
a820aa773d overlay: Add config for usb-moded
Add information about USB vendor & product IDs. Information is taken
from /vendor/etc/init/hw/init.qcom.usb.rc (after umounting the
bind-mount on top).

Also disable usb-moded's rescue mode since this port is now bootable on
Focal (which fixes MTP & ADB upon boot without having to replug).
2023-02-24 17:00:25 +05:00
Raoul Kramer
beef879532 Update README.md 2023-02-24 17:00:25 +05:00
Alfred Neumayer
01418a416c Merge branch 'personal/peat-psuwit/focal_-_time_daemon' into 'focal'
overlay: actually disable time_daemon, for good

See merge request ubports/porting/community-ports/android11/fairphone-4/fairphone-fp4!11
2022-12-23 21:33:36 +00:00
Alfred Neumayer
10d6d96a1f Merge branch 'personal/peat-psuwit/focal_-_etc-default-repowerd' into 'focal'
overlay: replace systemd drop-in with an environment file

See merge request ubports/porting/community-ports/android11/fairphone-4/fairphone-fp4!12
2022-12-23 21:31:33 +00:00
Marius Gripsgard
e3db34d466 Merge branch 'personal/fredldotme/focal-androidprops' into 'focal'
overlay: Move essential Android properties to halium prop file

See merge request ubports/porting/community-ports/android11/fairphone-4/fairphone-fp4!10
2022-12-23 21:29:06 +00:00
Ratchanan Srirattanamet
14566a61f0 overlay: replace systemd drop-in with an environment file
Now that /etc/default/repowerd is available, let's use that instead of
a drop-in file which requires overlaying a directory.

Fixes: https://gitlab.com/ubports/porting/community-ports/android11/fairphone-4/fairphone-fp4/-/issues/60
2022-12-24 02:57:14 +07:00
Ratchanan Srirattanamet
f951b1794f overlay: actually disable time_daemon, for good
At least on Focal, time_daemon seems to still be able to run despite
being disabled in `init.qcom.usb.rc`. I'm not sure why, but it's
probably related to the fact that this service is also defined in
hw/init.qcom.rc and init.time_daemon.rc.

So, takes another step and overlay the time_daemon executable itself
which prevents it from running at all. As this will cause Android init
to restart the service every so often, also add a device-hacks snippet
to stop that.

Fixes: https://gitlab.com/ubports/porting/community-ports/android11/fairphone-4/fairphone-fp4/-/issues/61
2022-12-23 19:39:23 +00:00
Alfred Neumayer
bb822d28c0 overlay: Rename halium.prop to H11-appropriate name 2022-12-23 16:03:31 +01:00
Alfred Neumayer
f86c9d3bb0 overlay: Remove property overrides from hw/init.rc overlay 2022-12-23 15:58:45 +01:00
Alfred Neumayer
93035c4f2f overlay: Set essential Android properties via halium.prop
Enables a few features like Aethercast additionally.
2022-12-23 15:58:04 +01:00
Ratchanan Srirattanamet
d67193dcfc Merge branch 'personal/peat-psuwit/focal-minimal' into 'focal'
Initial port to Focal

See merge request ubports/porting/community-ports/android11/fairphone-4/fairphone-fp4!6
2022-11-28 16:57:07 +00:00
Ratchanan Srirattanamet
513e4ac1ad .gitlab-ci: build flashable focal image 2022-11-26 01:10:33 +07:00
Ratchanan Srirattanamet
067d47334d Initial migration to Focal & overlaystore 2022-11-26 01:09:27 +07:00