@TehJibba
Three year later... kkkk
A contribution to those who are recently facing the search for this learning!
#[mount]
use the "by-name" path in command line to mount any partitions. You will avoid future errors!
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/data", "/data");
or the easy way:
run_program("/sbin/busybox", "mount", "/data");
and...
run_program("/sbin/mount", "-t", "auto", "/data");
#[umount and unmount]
run_program("/sbin/busybox", "umount", "/data");
add the letter 'n' and will look like this: "unmount"
run_program("/sbin/busybox", "unmount", "/data");
or use:
run_program("/sbin/umount", "/data");
set_perm(1000, 1000, 0771, "/data"); this is not a file... obviously.
I had the same problem you (within the file explorer, the folder "/data" appeared as if empty).
to correct this, add this line too:
set_perm_recursive(1000, 1000, 0771, 0644, "/data");
It worked for me! But I needed to do a clean install.
By the way...
You will need at minimum:
/data/app and /data/app-lib
inside the flashable.zip installer for the full operation of apps after installation.
Three year later... kkkk
A contribution to those who are recently facing the search for this learning!
#[mount]
use the "by-name" path in command line to mount any partitions. You will avoid future errors!
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/data", "/data");
or the easy way:
run_program("/sbin/busybox", "mount", "/data");
and...
run_program("/sbin/mount", "-t", "auto", "/data");
#[umount and unmount]
run_program("/sbin/busybox", "umount", "/data");
add the letter 'n' and will look like this: "unmount"
run_program("/sbin/busybox", "unmount", "/data");
or use:
run_program("/sbin/umount", "/data");
set_perm(1000, 1000, 0771, "/data"); this is not a file... obviously.
I had the same problem you (within the file explorer, the folder "/data" appeared as if empty).
to correct this, add this line too:
set_perm_recursive(1000, 1000, 0771, 0644, "/data");
It worked for me! But I needed to do a clean install.
By the way...
You will need at minimum:
/data/app and /data/app-lib
inside the flashable.zip installer for the full operation of apps after installation.
Last edited:
Upvote
0