multilang MIUI 6 Special Edition 4.4 for Xiaomi Mi 2/2S Flashing via Linux

for everybody that owns a Xiaomi Mi2S and doesn’t have access to a windows box and the MiPhone flash tool, flashing the kitkat miui v6 rom through fastboot is quite easy.

first install fastboot either through the android sdk or if you’re running a debian based distro:

sudo apt-get install android-tools-fastboot

power off you’re phone and enter fastboot mode with volume down + power

i preferred running the next steps with root so i just used

sudo -i

so i wouldn’t always have to run everything with sudo.

now check if your phone is visible with

fastboot devices

if you see a device and number you’re ready to go.

download the new rom from here and unpack the archive. here’s a link to the thread containing more information.

in there you’ve got some batch files, shell scripts and a folder with all the images.

make sure the flash_all_except_storage.sh is executable and just run it. it does all the work for you.

here’s what you should see:

./flash_all_except_storage.sh
soc-id: 109
sending 'tz' (196 KB)...
OKAY [  0.017s]
writing 'tz'...
OKAY [  0.013s]
finished. total time: 0.030s
sending 'sbl1' (82 KB)...
OKAY [  0.008s]
writing 'sbl1'...
OKAY [  0.007s]
finished. total time: 0.016s
sending 'sbl2' (128 KB)...
OKAY [  0.012s]
writing 'sbl2'...
OKAY [  0.010s]
finished. total time: 0.022s
sending 'sbl3' (296 KB)...
OKAY [  0.024s]
writing 'sbl3'...
OKAY [  0.017s]
finished. total time: 0.042s
sending 'rpm' (136 KB)...
OKAY [  0.012s]
writing 'rpm'...
OKAY [  0.027s]
finished. total time: 0.039s
sending 'aboot' (1020 KB)...
OKAY [  0.081s]
writing 'aboot'...
OKAY [  0.049s]
finished. total time: 0.130s
erasing 'boot'...
OKAY [  0.011s]
finished. total time: 0.011s
sending 'misc' (8 KB)...
OKAY [  0.004s]
writing 'misc'...
OKAY [  0.003s]
finished. total time: 0.007s
sending 'modem+modem1' (51910 KB)...
OKAY [  4.067s]
writing 'modem+modem1'...
OKAY [  4.542s]
finished. total time: 8.609s
sending 'system+system1' (420865 KB)...
OKAY [ 32.988s]
writing 'system+system1'...
OKAY [ 60.549s]
finished. total time: 93.538s
sending 'cache' (32768 KB)...
OKAY [  2.578s]
writing 'cache'...
OKAY [  2.275s]
finished. total time: 4.853s
sending 'userdata' (204332 KB)...
OKAY [ 16.001s]
writing 'userdata'...
OKAY [ 11.741s]
finished. total time: 27.742s
sending 'recovery' (6640 KB)...
OKAY [  0.524s]
writing 'recovery'...
OKAY [  0.378s]
finished. total time: 0.902s
sending 'boot+boot1' (4764 KB)...
OKAY [  0.376s]
writing 'boot+boot1'...
OKAY [  1.239s]
finished. total time: 1.615s
rebooting...
 
finished. total time: 0.001s

your phone should now boot into the brand spanking new beta version of miui.
your sd card storage will not get wiped but it’s always a good idea to create a backup first.

as soon as your phone has booted you can go and locate the updater app and flash the weekly multilang rom releases from here the way you are used to.

have fun!

6 thoughts on “multilang MIUI 6 Special Edition 4.4 for Xiaomi Mi 2/2S Flashing via Linux

  1. Munzil

    Thanx for this.

    Please. I have a New Mi2s. I successfully updated to the above version using Windows. I then tried to update it but something went wrong. It’s stuck on Miui Logo and then goes blank. I have to pull the battery as the buttons unresponsive.

    I can Boot into Fastboot but the phone is ot picked up on the computer when plugged in.

    I was frustrated so had to leave it for a couple of days or I would have thrown the phone through a window.

    I have Linux Mint 17 on another computer and would like to try again.

    I would also like to install Clockworkmod recovery and then the new [ROM | 4.4.4][ | WIUI 6 | ][ 4.9.29 ] – MULTiLanguage | AROMA |.

    Can you help me and walk through the process. Big ask I know but would be appreciated.

    Thanks so much

    Steve Ambrose

  2. if you want to install clockworkmod recovery you don’t need to install any other rom first.

    • download the newest clockworkmod recovery
    • boot the phone into fastboot
    • log onto linux with superuser rights (or use sudo)
    • check if your device is visible with

      fastboot devices

    • flash the recovery image with

      fastboot flash recovery your_recovery_image.img

    everything else like installing WIUI 6 should be possible through clockworkmod recovery

    hope that works…

    [edit]you might wanna check out this wiki

  3. hmmm was it possible to decompress the tgz archive? and did you use the provided bash script inside or did you manually flash the boot image alone? maybe check the file with the provided checksum first… just to make sure: you can’t flash the tgz archive, you need to flash the images inside, and if you use the provided script it will overwrite cwm recovery

  4. -bash: ./flash_all_except_storage.sh: cannot execute binary file: Chybný formát spustitelného souboru

    Something is wrong, it doesn’t work.
    Ubuntu 14.04.2 :(

  5. looks like your script isn’t executable
    try

    sudo chmod +x flash_all_except_storage.sh

    before trying to run the script…

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.