Hello guys!
I'm working on replacing Kingroot with SuperSU but my script failed. I can install SuperSU but can't remove Kingroot. It seems like the mount /system and /data on MediaTek soc is different from other phones.
Here is some information you may need:
By the way, I download the original flashable stock ROM from MIUI and I see the updater-script like this:
Please help me! :crying::crying::crying:
I'm working on replacing Kingroot with SuperSU but my script failed. I can install SuperSU but can't remove Kingroot. It seems like the mount /system and /data on MediaTek soc is different from other phones.
Here is some information you may need:
Code:
# Start
# Mount /system
# mount -o rw,remount /system
mount -o rw,remount-t ext4 /dev/block/platform/mtk-msdc.0/by-name/system /system
# Mount /data
# mount -o rw,remount /data
mount -o rw,remount-t ext4 /dev/block/platform/mtk-msdc.0/by-name/userdata /data
# my other scripts below...
Code:
mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/by-name/userdata", "/data", "");
show_progress(0.750000, 0);
format("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/by-name/system", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/by-name/system", "/system", "max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc");
Download from this link
Aucun commentaire:
Enregistrer un commentaire