Unlocking Bootloader, Flashing TWRP recovery and Custom rom on Redmi Note 3

  1. Unlocking Bootloader:
    1. Official method: Go to the developer options (Setting>About phone>7 times taps MIUI version) and enable OEM unlocking and USB debugging. Send request on http://en.miui.com/unlock/ to get permission for unlocking bootloader. After 7-10 days from when you got permission, download Mi Unlock tool on Windows and connect mobile to PC/laptop and click on the unlocking button.
    2. Unofficial method: Flash miui rom from edl mode and after that go to fastboot mode and run fastboot oem unlock-go command. Also, you can check whether the bootloader is unlocked or not by run fastboot oem device-info in fastboot mode.
  2. For more detail:

  3. Flashing TWRP recovery:
    1. Backup your all internal storage data.
    2. Download the latest TWRP recovery (https://dl.twrp.me/kenzo/).
    3. Go to the fastboot mode.
    4. Check device is connected or not. (fastboot devices)
    5. Run command fastboot flash recovery <recovery_path>. This command will flash TWRP recovery on mobile.
    6. Also run fastboot format userdata. This command will actually remove all enycrpted/normal data in the internal storage which TWRP recovery cannot read it.
    7. Then run fastboot boot <recovery_path>. This command boot your device into twrp recovery.
  4. Flashing custom roms:
    1. Download LineageOS (https://download.lineageos.org/) for Redmi note 3 (kenzo) into internal storage.
    2. Boot into TWRP recovery by pressing power button and volume up simultaneously.
    3. Then go to wipe>advanced wipe>select Dalvik/ART Cache, Data and Cache>then Swipe to Wipe.
    4. After that go to Install>select custom rom.zip>then click on Install Image.
    5. Last again Wipe only Dalvik cache and then go to reboot>system reboot.
    6. Done

Daily Diary (Flashing recovery in Micromax bolt A089)

After rooted my mobile I wants to flash recovery in my mobile. Then I found the new android app Rashr – Flash Tool which is using to flash recovery image in mobile and also this app will find Philips recovery image, CWM (Clock Work Mode) recovery image and TWRP (Team Win Recovery Project) recovery image of my mobile. Then after flashing Philips recovery which was found by Rashr – Flash Tool I cannot go to in recovery mode. When I go to recovery mode white screen cames up for 1 or 2 seconds, dismiss and then restart my phone. It makes our whole mobile storage (i.e internal and external storage) as read-only. At this stage, I cannot open any android app and storage.

Now I connected my mobile to laptop tried running ADB (Android Debug Bridge) commands. I tried to push recovery image by adb push command but I failed because my whole mobile storage in mount as read-only. Then after asking my problem in GD Vigas told a couple of links which can solve my problem. Here in that links first of all, I run adb shell command because by running this I can go to an Android shell and in this shell I used the power of su. In ADB shell first command I run was su and now I run mount -o remount,rw /, this command remounts my whole mobile storage as in read and write mode. Then after running this command, my problem was not solved. I cannot read and write data from my mobile storage. Then in ADB shell I set some permissions by running chmod 0777 /mnt/sdcard and chmod 0777 /mnt/sdcard1. After changing permissions of /mnt/sdcard and /mnt/sdcard2, permissions of /storage/sdcard0 and /storage/sdcard1 automatically changed because /storage/sdcard0 is a symbolic link of /mnt/sdcard and /storage/sdcard1 is a symbolic link of /mnt/sdcard2 now I can read and write data in my mobile storage.

Because my recovery was damage by Rashr – Flash Tool during flashing Philips recovery. Now I downloaded CTR (Carliv Touch recovery) image file and push it into my mobile by adb push recovery.img /storage/sdcard1 and flashed it by Rashr – Flash Tool.

This day was a great day for me in Android world because continuously unknown problems came and I solved all problems one by one.

Source:
http://stackoverflow.com/questions/19920144/read-only-file-system-android-is-mnt-not-system-resolved
http://mmxbolta089devarea.blogspot.in/