Skip to content

Conversation

@backslashxx
Copy link
Contributor

@backslashxx backslashxx commented Mar 15, 2025

we move the folder out of system if it exists in real filesystem and it is not a symlink.
this is already supported on init_event.rs so only handle_partition logic was needed to make it happen

since KernelSU is using overlayfs, we need to move these out.

Signed-off-by: backslashxx [email protected]

@backslashxx
Copy link
Contributor Author

tests:

image

customize.sh

REMOVE="
/system/vendor/bin/install-recovery.sh
/system/vendor/bin/msm_irqbalance
/system/bin/install-recovery.sh
/system/etc/nikgapps_logs_archive
/system/etc/nikgapps_logs
/system/bin/servicemanager
/system/odm/etc/NOTICE.xml.gz
/system/addon.d
"

@backslashxx backslashxx changed the title Odm mounting ksud/installer: /odm handling Mar 15, 2025
@backslashxx backslashxx marked this pull request as draft March 28, 2025 03:24
@backslashxx backslashxx marked this pull request as ready for review March 28, 2025 03:59
@backslashxx backslashxx marked this pull request as draft March 28, 2025 06:15
@backslashxx backslashxx deleted the odm-mounting branch March 28, 2025 13:38
@backslashxx backslashxx restored the odm-mounting branch April 29, 2025 13:14
@backslashxx backslashxx reopened this Apr 29, 2025
@backslashxx backslashxx marked this pull request as ready for review April 29, 2025 13:14
we move the folder out of system if it exists in real filesystem and it is not a symlink.

Signed-off-by: backslashxx <[email protected]>
this is already supported on init_event.rs so only handle_partition logic was needed to make it happen
@tiann tiann merged commit fd6f839 into tiann:main May 15, 2025
23 checks passed
@backslashxx backslashxx deleted the odm-mounting branch May 15, 2025 17:12
selfmusing added a commit to selfmusing/USlenreK that referenced this pull request May 15, 2025
selfmusing added a commit to selfmusing/USlenreK that referenced this pull request May 16, 2025
selfmusing added a commit to selfmusing/USlenreK that referenced this pull request May 16, 2025
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request May 16, 2025
we move the folder out of system if it exists in real filesystem and it
is not a symlink.
this is already supported on init_event.rs so only handle_partition
logic was needed to make it happen

since KernelSU is using overlayfs, we need to move these out.

Signed-off-by: backslashxx
<[email protected]>

---------

Signed-off-by: backslashxx <[email protected]>
fadlyas07 added a commit to bengal-upstream/KernelSU that referenced this pull request May 29, 2025
* 'main' of https://github.com/tiann/KernelSU:
  Add a formatting string for the update list tiann#2556 (tiann#2597)
  Revert "website: Fix ads"
  Fix fallback option for createRootShell() (tiann#2593)
  Update zip-extensions and set needed features for zip (tiann#2592)
  ci: update kmi versions (tiann#2591)
  ksud/installer: /odm handling (tiann#2513)
  build(deps): bump the maven group across 1 directory with 12 updates (tiann#2579)
  build(deps): bump the crates group across 1 directory with 53 updates (tiann#2585)
  build(deps): bump the npm group across 1 directory with 24 updates (tiann#2586)
  Translations update from Hosted Weblate (tiann#2558)
  website: Fix ads
  kernel/throne_tracker: we just uninstalled the manager, stop looking for it (tiann#2584)

 Conflicts:
	kernel/core_hook.c

Change-Id: I2cfcf1b3ab3108f16d377b80bf9573afa38cd4a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants