[Xiaomi Redmi 3 Guides, News, & Discussion] parphane:
Updated post for Lineage OS 14.1

Thanks a lot to [MENTION=6083514]Anik_khan[/MENTION] , [MENTION=5308492]P.Kosunen[/MENTION] , TWRP and CM team and all XDA forumers who asked questions that allowed me to update my phone.

I am not responsible for any trouble you might run into, always cross-check your sources.

Whole process took me 1h15 / 1h30

Will rework/add links upon request, will quote names upon request,

Thanks,

Sources/Links:

http://xdaforums.com/redmi-3/development/recovery-twrp-3-0-0-0-touch-recovery-t3340118

https://xdaforums.com/redmi-3/development/rom-cyanogenmod-14-0-t3481701

http://xdaforums.com/redmi-3/how-to/redmi-3-developer-rom-unlock-bootloader-t3339246/page6

http://en.miui.com/unlock/

Miflash: http://api.bbs.miui.com/url/MiFlash

Mi Unlock: http://bigota.d.miui.com/miflashunlock/MiFlashUnlock_1.1.0317.1_en.zip

http://en.miui.com/download-298.html

http://en.miui.com/a-234.html

https://twrp.me/devices/xiaomiredmi3.html

Others...

Request unlocking permission:

Go to http://en.miui.com/unlock/

"Unlock Now" (refresh if page fails to load)

Create a "Mi Account ID" (you can also create it from your phone Miui app)

Apply for unlocking permission: Your Name, Phone number, Justification "Android developer"

Download "Mi Unlock": http://en.miui.com/unlock/download_en.html

Extract "Mi Unlock" file ("MiFlashUnlock")

Install developer ROM:

Download Miflash tool http://api.bbs.miui.com/url/MiFlash

Install Miflash tool

Restart computer as per section: Windows 10 "Disable driver signature enforcement"

Download last Chinese developer ROM for Xiaomi Redmi 3 http://en.miui.com/a-234.html

Note: Global ROM does not allow for ROOT activation

Extract ROM, tgz, then tar

Reboot to recovery, power off, power on "Vol. up" + "Power"

Touch "Download" button (screen goes black)

Plug-in USB cable

Open Miflash tool

Click "Browse" and select directory from ROM extract

Select "Flash all" at the bottom

Click "Refresh" and then "Flash", wait for install

...

Maintain "Power" to reset the phone, let it boot

(You can also install whatever official MIUI ROM you want from there http://en.miui.com/a-234.html)

Windows 10 "Disable driver signature enforcement":

Maintain "Shift" key while you click the "Restart" option in Windows

"Troubleshoot" > "Advanced options" > "Startup settings" > "Restart"

...restarting...

F7 "Disable driver signature enforcement"

Unlock Bootloader:

AFTER YOU GET APPROVAL SMS (last request took 15 minutes to be accepted)

Ensure you installed a developer ROM ("Flash all")

Skip everything

Note: Login with your MIUI account if you have never done it, do NOT activate FIND application

Power OFF device

Start fastboot, hold "Vol. down" + "Power"

Execute "MiFlashUnlock.exe" from "Mi Unlock" extract

Agree and "Sign in" with your created "Mi Account ID"

Connect phone

Unlock

Restart...

Install TWRP:

Connect device to computer

Connect to WIFI

Activate Root on the phone (different from TWRP): Setting > Permissions > Root access

Activate root access

Phone will install and restart

...meanwhile...

Install Android tools https://developer.android.com/studio/index.html#linux-bundle-size

(Install Java SDK)

...phone restarted...

Run Windows command prompt as administrator

"Windows" key, type "CMD", right click "Run as administrator"

Execute "cd C:\Program Files (x86)\Android\android-sdk\platform-tools"

Or whatever is your path to Android SDK

Execute "adb devices", ensure that your phone is listed

Execute "adb root"

Execute "adb disable-verity" (Note: You do not need to perform this step again if you want to UPDATE TWRP version)

Restart... (disable verity to take effect)

Download TWRP application

http://download.jmzsoftware.com/TWRPManager.apk

Copy it at the root of your phone

Install it from MIUI embedded file explorer

Start TWRP application and wait for phone to prompt for root access

Give TWRP Root acess: Settings > Permissions (Device) > Root access

Allow TWRP root access (Next to all, long...)

Launch TWRP

Click sandwich menu ///

Install TWRP

DEVICE INFO > Device name: Xiaomi Redmi 3 / ido

INSTALL > Recovery version to install > click latest

INSTALL > Install Recovery

TWRP will download and install itself (Click Yes to try flash, Yes to reboot to recovery)

Install CM and GApps:

Download Lineage OS: https://xdaforums.com/redmi-3/development/rom-cyanogenmod-14-0-t3481701

Download GApps ARM64 (7.1 for LineageOS 14.1): http://opengapps.org/

https://github.com/opengapps/opengapps/wiki/FAQ

Connect device to computer

Reboot to recovery (see "Reboot to recovery")

Select "Keep read only"

Manually wipe Data partition and System partition

(I wiped all because of "can't install this package on top of incompatible data" message)

Copy CM and GApps to phone

On TWRP: Install and flash ROM and GApps (add to queue, GApps takes a while)

Wipe Dalvik & Cache

Reboot

Recovery reboot:

- On CM

https://wiki.cyanogenmod.org/w/All_About_Recovery_Images

Activate Developer mode: https://wiki.cyanogenmod.org/w/Doc:_developer_options

Settings > Developer options > Advanced reboot = On

Hold the power button to see the reboot menu

- Using ADB

Run command prompt as administrator

cd C:\Program Files (x86)\Android\android-sdk\platform-tools

adb reboot recovery