Comments (3)
- Overlayfs must be mounted before zygote start so system modifications can have effect, overwise it is meanless. Unless you restart zygote again after mounting.
/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.
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.
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)
- Installation failed...
- 避坑:红米pocoF5加载此模块后root权限消失了 HOT 24
- Magisk ( Alpha )Zygisk Auto Turn Off when module is mounted HOT 3
- Failed magisk module install HOT 1
- [Q] can i use this to mount everything as ro (aka volatile) on kernelsu? HOT 3
- doesn't work with magisk 27.0 HOT 17
- HyperOS = Xiaomi 13 PRO, Xiaomi 14 Ultra
- Magisk 27.0 issue HOT 11
- K70 PRO install failed HOT 1
- Possibility of missing 2GB of internal storage space after failed installation attempt of magic_overlayfs module HOT 1
- 正确解锁system分区办法/unlock system HOT 4
- KSU Install error
- How to copy to overlayFS using adb shell? HOT 3
- Can I make folders in /
- Apatch install error HOT 2
- kernelsu evoX a13 installation fails
- Does this support Windows Subsystem For Android? HOT 1
- setup upperdir and workdir failed!
- Bug
- 【问题已解决】
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magic_overlayfs.