Affichage des articles dont le libellé est scripts. Afficher tous les articles
Affichage des articles dont le libellé est scripts. Afficher tous les articles

mercredi 27 janvier 2016

[Redmi Note 3] Need Help for Scripts



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:

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...


By the way, I download the original flashable stock ROM from MIUI and I see the updater-script like this:

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");


Please help me! :crying::crying::crying:

Download from this link