I want to replace some system fonts with anotherone,but file manager of TWRP can't do it.
And I downloaded some fonts of TWRP zip format and flashed it and files were extracted to system\font but TWRP ist mounting "system_root" instead of "system".
How to fix that?
Here is the updater-script
show_progress(1.000000, 0);
ui_print("Mounting filesystems...");
run_program("/sbin/busybox", "mount", "/system");
set_progress(0.100000);
ui_print("Extracting files...");
package_extract_dir("system", "/system");
set_progress(0.300000);
ui_print("Setting permissions...");
set_perm(0, 0, 0644, "/system/etc/fonts.xml");
set_progress(0.400000);
set_progress(0.500000);
set_perm_recursive(0, 0, 0755, 0644, "/system/fonts");
set_progress(0.700000);
# Unmounting filesystems...
run_program("/sbin/busybox", "umount", "/system");
set_progress(0.900000);
set_progress(1.000000);
ui_print("****************************************");
ui_print("* Install Complete! *");
ui_print("****************************************");
And I downloaded some fonts of TWRP zip format and flashed it and files were extracted to system\font but TWRP ist mounting "system_root" instead of "system".
How to fix that?
Here is the updater-script
show_progress(1.000000, 0);
ui_print("Mounting filesystems...");
run_program("/sbin/busybox", "mount", "/system");
set_progress(0.100000);
ui_print("Extracting files...");
package_extract_dir("system", "/system");
set_progress(0.300000);
ui_print("Setting permissions...");
set_perm(0, 0, 0644, "/system/etc/fonts.xml");
set_progress(0.400000);
set_progress(0.500000);
set_perm_recursive(0, 0, 0755, 0644, "/system/fonts");
set_progress(0.700000);
# Unmounting filesystems...
run_program("/sbin/busybox", "umount", "/system");
set_progress(0.900000);
set_progress(1.000000);
ui_print("****************************************");
ui_print("* Install Complete! *");
ui_print("****************************************");