Skip to content

Commit

Permalink
apd: bind_mount support
Browse files Browse the repository at this point in the history
source form: https://github.com/5ec1cff/MagicMountStandalone
use touch /data/adb/.bind_mount_enable to mannul enable
Signed-off-by: Admire <[email protected]>
Co-Authored-By: 5ec1cff <[email protected]>
  • Loading branch information
Admirepowered committed Oct 28, 2024
1 parent b9fed1a commit f30f346
Show file tree
Hide file tree
Showing 5 changed files with 438 additions and 3 deletions.
3 changes: 2 additions & 1 deletion apd/src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ pub fn systemless_bind_mount(module_dir: &str) -> Result<()> {
//mount("tmpfs",utils::get_tmp_path(),"tmpfs",combined_flags,"")?;

// construct bind mount params
info!("unimplemented");
let mut args = vec!["mount"];
let _ = utils::run_command("/data/adb/ap/bin/magiskmount",&args,None);


Ok(())
Expand Down
Loading

0 comments on commit f30f346

Please sign in to comment.