Miui 8 Firmware Problem


Andrei Sacuiu

Members
Jun 30, 2016
1
13
Hi,

I had MIUI 7 stable from xiaomi.eu, now I've flashed MIUI 8 weekly from xiaomi.eu, and during the flash process in TWRP I got unmount of /firmware failed; no such volume. The system works ok, just curious if it would work better if it managed to flash the firmware as well.
 
Same error for Mi4. I think it doesn't matter, the firmwares are updated with /dev path. It might be precaution to next mount line.

Code:
# ---- radio update tasks ----

ui_print("Patching firmware images...");
ifelse(msm.boot_update("main"), (
package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tz");
package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hyp");
package_extract_file("firmware-update/sbl1.mbn", "/dev/block/bootdevice/by-name/sbl1");
package_extract_file("firmware-update/rpm.mbn", "/dev/block/bootdevice/by-name/rpm");
package_extract_file("firmware-update/emmc_appsboot.mbn", "/dev/block/bootdevice/by-name/aboot");
), "");
ifelse(msm.boot_update("backup"), (
package_extract_file("firmware-update/tz.mbn", "/dev/block/bootdevice/by-name/tzbak");
package_extract_file("firmware-update/hyp.mbn", "/dev/block/bootdevice/by-name/hypbak");
package_extract_file("firmware-update/sbl1.mbn", "/dev/block/bootdevice/by-name/sbl1bak");
package_extract_file("firmware-update/rpm.mbn", "/dev/block/bootdevice/by-name/rpmbak");
package_extract_file("firmware-update/emmc_appsboot.mbn", "/dev/block/bootdevice/by-name/abootbak");
), "");
msm.boot_update("finalize");
package_extract_file("firmware-update/NON-HLOS.bin", "/dev/block/bootdevice/by-name/modem");
unmount("/firmware");
mount("vfat", "EMMC", "/dev/block/bootdevice/by-name/splash", "/firmware");
 
Last edited: