- Aug 19, 2018
- 40
- 20
Now that antirollback is implemented, the general instructions for installing EU ROM no longer work.
This method allows you to install without needing OTG cable/usb stick.
Now, does anyone know where I can find that /media/data folder when i am running MIUI? I would like to get the space back. I can see it is still there if i boot to TWRP.
EDIT: To remove the ROM image and recover the space, you need to boot once more into TWRP and use adb to remove
This method allows you to install without needing OTG cable/usb stick.
- Boot TWRP
Do not try to flash twrp, just boot to twrp (./fastboot boot TWRP_wayne.img )
Even though TWRP is in English at boot, you must press select language and choose English (or other language) or it will switch to Chinese at the next step.
If somehow it goes to chinese anyway, then press the bottom right hand button above the swipe box to select language
Ignore error about decryption and press cancel when it asks for password - Wipe Internal Storage to remove encryption
Wipe -> Advanced wipe dalvik + cache + data + Internal Storage - Enable MTP
Mount -> Enable MTP - Copy ROM to Internal Storage
With MTP enabled your PC should see your phone as a hard drive.
Copy the ROM to the phone. E.g. xiaomi.eu_multi_MI6X_V10.0.2.0.ODCCNFH_v10-8.1.zip - Install ROM
Go to Install and select the file from /data/media
Now, does anyone know where I can find that /media/data folder when i am running MIUI? I would like to get the space back. I can see it is still there if i boot to TWRP.
EDIT: To remove the ROM image and recover the space, you need to boot once more into TWRP and use adb to remove
Code:
dantheperson@danski:~/opt/adb/platform-tools$ ./adb shell
~ # cd /data/media
/data/media # rm xiaomi.eu_multi_MI6X_V10.0.2.0.ODCCNFH_v10-8.1.zip
/data/media # df -h .
Filesystem Size Used Available Use% Mounted on
/dev/block/mmcblk0p64
50.4G 2.9G 47.4G 6% /data
Last edited: