Giter VIP home page Giter VIP logo

Comments (3)

HuskyDG avatar HuskyDG commented on August 24, 2024
  1. Overlayfs must be mounted before zygote start so system modifications can have effect, overwise it is meanless. Unless you restart zygote again after mounting.
  2. /data f2fs is not allowed to be used directly on some Kernel

Please try:

dd if=/dev/zero of=/data/adb/overlay bs=1024 count=100
mkfs.ext4 /data/adb/overlay
e2fsck -pf /data/adb/overlay
resize2fs /data/adb/overlay 2000M
mkdir /mnt/overlayfs
mount -o rw -t ext4 /data/adb/overlay /mnt/overlayfs
/data/local/tmp/overlayfs_system /mnt/overlayfs
stop; start

from magic_overlayfs.

diabl0w avatar diabl0w commented on August 24, 2024
mount -o rw -t ext4 /data/adb/overlay /mnt/overlayfs

@HuskyDG , thank you for your assistance

yes, restarting zygote was the plan, although I am sure that will come with more issues to be solved, I will have to take it one step at a time.

running your commands, the mount -o rw -t ext4 /data/adb/overlay /mnt/overlayfs results in:

mount: can't setup loop device: No such file or directory

EDIT: I apologize , it was a busybox mount issue, let me continue now that i used the proper mount binary

The test mount command runs fine, but running overlayfs_system mounting to /mnt/overlayfs results in the device locking up and rebooting

I tried

setprop ctl.stop media
setprop ctl.stop zygote

before running the command, but that did not result in any difference. The system freezes before there is any meaningful output in dmesg or logcat

from magic_overlayfs.

diabl0w avatar diabl0w commented on August 24, 2024

is there a reason why this is closed? whether it is believed to be useful or not after android boot i dont believe should be the reason. if it just not possible under this environment, that would be a good reason, but im not sure we've proven that

from magic_overlayfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.