Skip to content

refactor: general improvements - #21

Merged
readonlynux merged 6 commits into
latestfrom
refactor/general-improvements
Oct 14, 2026
Merged

readonlynux merged 6 commits into
latestfrom
refactor/general-improvements

Conversation

@readonlynux

@readonlynux readonlynux commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

Overview

This pull request was opened to fix shell script logic and minor bugs. In short, it involves dead code cleanup and allows the bootanimation system file path cache to be regenerated during the post-fs-data stage without requiring a second reboot.

Changelog

  • bootanim.sh (Related commit 4677174)

    • When copying the custom bootanimation, instead of copying it directly, it is now copied as a .tmp file; once the copy is complete, it is renamed to overwrite the old custom bootanimation.

    • Removed the unnecessary debug_mode function.

    • Added logcat output to certain bootanim.sh functions.

  • post-fs-data.sh

    • Moved the disable flag check to the beginning so that post-fs-data.sh exits faster upon performing the check. Related commit 6728feb

    • post-fs-data.sh no longer exits after caching the bootanimation file path; instead, execution continues immediately after caching, and the custom bootanimation file is correctly "bind-mounted" to the filesystem. (The SELinux context is also set correctly.) Related commit 45c8f48

  • customize.sh (Related commit eecf38d)

    • File system caching is now handled via create_bootanimation_pathfile.sh.

@readonlynux readonlynux self-assigned this Oct 11, 2026
@readonlynux readonlynux added the enhancement New feature or request label Oct 11, 2026
@readonlynux

readonlynux commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner Author

Changes between commit 922633b and commit 78e549d have been tested (works);

Manager: KernelSU v3.3.0 (32601-2)
ROM: Evolution-X 10.6

Manager: Magisk v31
ROM: LineageOS 23.2

@readonlynux

readonlynux commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner Author

Changes between commit 922633b and commit 45c8f48 have been tested (works);

Manager: KernelSU v3.3.0 (32601-2)
ROM: Evolution-X 10.6

Manager: Magisk v31
ROM: LineageOS 23.2 GSI

Manager: APatch 11224
ROM: LineageOS 23.2 GSI

All tests were conducted on the Redmi Note 12 4G (tapas) device.

@readonlynux
readonlynux merged commit cd7236f into latest Oct 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant