[GUIDE] Unlock permission + Unlock bootloader + TWRP + LineageOS + Open GApps - Xiaomi Redmi 3 Guides, News, & Discussion

Updated post for Lineage OS 14.1
Thanks a lot to @Anik_khan , @P.Kosunen , 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://forum.xda-developers.com/redmi-3/development/recovery-twrp-3-0-0-0-touch-recovery-t3340118
https://forum.xda-developers.com/redmi-3/development/rom-cyanogenmod-14-0-t3481701
http://forum.xda-developers.com/red...eveloper-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://forum.xda-developers.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

Thanks man, awesome job!

Hey guys. Thanks for the guide, I'm stuck however. I installed the latest global developer ROM in order to root and flash twrp, but there is no native option to root the ROM. What am I doing wrong? Bootloader is unlocked with xiaomi approval. Or is root China Rev ROM exclusive? If yes, the op should make that very clear, so that even dimwits like me understand it.

Rotpeter said:
Hey guys. Thanks for the guide, I'm stuck however. I installed the latest global developer ROM in order to root and flash twrp, but there is no native option to root the ROM. What am I doing wrong? Bootloader is unlocked with xiaomi approval. Or is root China Rev ROM exclusive? If yes, the op should make that very clear, so that even dimwits like me understand it.
Click to expand...
Click to collapse
Hi there,
I did not use global ROM, true, don't know if possible with it.
Did you perform this step?
- Connect to WIFI
- Setting > Permissions > Root access
- Activate root access
The phone will then download a bunch of things and reboot.
After that you will be able to install TWRP and give it root access.
If not, tell me, I will update guide,
and you can reinstall Chinese ROM, to complete process, a matter of a few minutes.
Let me know

Thanks for your help! I already fixed in in the meantime, though. The permissions app only shows the root-button, if you are on the Chinese dev ROM. Which I wasn't (global one instead). Maybe you should add some extra weight to that in the guide. Other than that, it worked like a charm! Thanks buddy!
Edit: Sorry, didn't see that you pretty much already wrote all of that.

anyone else waiting more than two days for the request to be accepted?

en.miui.com/unlock/download_en.html
without waiting

Hi,
I have problem after this step
Install TWRP:
TWRP will download and install itself (Click Yes to try flash, Yes to reboot to recovery)
Click to expand...
Click to collapse
Answer from TWRP is Success, but after reboot to recovery there is no TWRP, just MI logo all the time.
Model is Redmi 3S Global
and of course:
C:\xx\platform-tools>adb disable-verity
Verity already disabled on /system
Click to expand...
Click to collapse

Have you downloaded the TWRP version for the 3 S? Not the Redmi 3?
I am not sure what are the differences here, but maybe the phone cannot boot if it is the wrong version.

parphane said:
Have you downloaded the TWRP version for the 3 S? Not the Redmi 3?
I am not sure what are the differences here, but maybe the phone cannot boot if it is the wrong version.
Click to expand...
Click to collapse
sorry, I realized that not all Redmi 3 are ido, my is land :crying: so TWRP for land is working

Hi all,
I am on:
- 02-06 nightly (https://download.lineageos.org/ido)
- ARM64 7.1 Stock GApps (http://opengapps.org/)
Camera app is not working at all, crashing instantly,
Do you know what could I have missed? Maybe not wiped correctly?
What could I do to troubleshoot/fix?
Thanks,
Answered: Inhibit Camera app automatic updates for the moment...

Updated post for LineageOS 14.1 and checked if links are still ok.

Hello there,
I need a little help : I get stuck trying to install the latest Chinese developper ROM.
I get a "ping target failed" error, as seen in the pic here : http://hpics.li/32bd109
Can you help me please ?
Galdanor

Galdanor said:
Hello there,
I need a little help : I get stuck trying to install the latest Chinese developper ROM.
I get a "ping target failed" error, as seen in the pic here : http://hpics.li/32bd109
Can you help me please ?
Galdanor
Click to expand...
Click to collapse
Hmm, never seen that one,
Just to be sure, you did the following steps:
- Restart computer as per section: Windows 10 "Disable driver signature enforcement"
[...]
- Reboot to recovery, power off, power on "Vol. up" + "Power"
- Touch "Download" button (screen goes black)
- Plug-in USB cable
- Open Miflash tool... (this I know you did cause of the screen capture)
Do you have any devices identified as not properly installed in the Window peripherals?
Maybe try and install Android tools (also in the tuto) before and try to issue commands to your device.
Also, Googling "ping target failed xiaomi" I found that: http://en.miui.com/thread-354050-1-1.html
You might want to use older tool version.
Let us know

Thank you for your time.
parphane said:
Also, Googling "ping target failed xiaomi" I found that: http://en.miui.com/thread-354050-1-1.html
You might want to use older tool version.
Let us know
Click to expand...
Click to collapse
This worked !
Can't believe I didn't google my error thoroughly... Seems that the older I get, the lazier I become...
Just need to wait for the approval SMS now.
Thanks a lot for your help !
Galdanor

ambient display (dt2w option) for me don't work

wetito said:
ambient display (dt2w option) for me don't work
Click to expand...
Click to collapse
We don't have DT2W support by default.
Sent from my Redmi 3 using XDA Labs

This rom drain my battere a lot. It's a Shame. 8 hours in aeroporto mode, 20% battery less

wetito said:
This rom drain my battere a lot. It's a Shame. 8 hours in aeroporto mode, 20% battery less
Click to expand...
Click to collapse
Maybe you did something wrong cause most of the people here on XDA have no issue.
Try using an older ROM, or clean install... let us know!
By the way, this is just a guide to flashing,
Which I believe was useful for you cause you were able to change ROM.
Don't report bugs/issues on the ROM here, it is just a guide, report them on the ROM thread itself: https://forum.xda-developers.com/redmi-3/development/rom-cyanogenmod-14-0-t3481701

Hey guys,
I really do not know what to do.
with redmi one - i did not have problems - ok only one time
now I tried to put new international rom on my redmi 3 in holiday. I really treid it for at least 10 hours now! no success. I think, i am stupid....
flash unlock with sms and tool "miflash_unlock-en-2.2.406.5" worked.
next step is to power off and turn on with power up and power button.
If I do this, the redmi device always goes to fastboot picture rabbit and does not react to anything.
At this point I could not do anything. I always waited until accu was empty (1day) and then try it again in some other way.
Is there some really good guide? I do not know what i am doing wrong.
thank you in advance.
my redmi 3s crashed yesterday and i have the same problem now.
see here:
https://forum.xda-developers.com/xiaomi-redmi-3s/help/phone-crashed-fingerprint-deleted-120-t3603930
for redmi 3 i downloaded a lot:
roms
02 MiFlashUnlock
03 TWRP
05 Root SuperSU
TWPR and RootSuperuser i do not get installed, too.

Related

[GUIDE] How to unlock your bootloader, install TWRP and gain root access

There doesn't seem to be a comprehensive guide on this, so I thought I would provide one.
READ THIS FIRST
DO NOT TAKE ANY OTA UPDATES!!!
Please consider the following:
Ask yourself these two questions: "Why do I want to unlock my bootloader? Why do I need root access?" If the answer to either one of those is "I don't know," don't do it. Both of these actions weaken the security of your phone, and there's no reason to do that if you're not sure why.
This guide is for the Droid Turbo, model XT1254. It is not for the Droid Turbo 2, and it is not for any phone that is not named Droid Turbo.
Standard XDA rules apply. I'm not responsible for anything you do, and neither is anyone else other than you.
I'm assuming that you are running a Windows PC. If you have a Mac, I can't help you. If you're running Linux, you shouldn't need help.
This method is not free. It costs $25 (USD). If that's not okay with you, don't do this.
Once your bootloader is unlocked, you CANNOT safely re-lock and unlock it again. See this thread for what happens when you try to do that: http://forum.xda-developers.com/droid-turbo/help/relocked-bootloader-bricked-t3306081#post65095391
Still here? Cool.
Section 0: Installing Firmware Version MCG24.251-5
1. Go to Settings -> About phone -> Build number. If it says SU4TL-44, SU4TL-49 or MCG24.251-5, skip to section 1 of this guide. If it says MCG24.251-5-5, you need to take an extra step to unlock your bootloader. I'll explain later. For now, just skip to section 1 of this guide. If it says anything else, keep reading.
Flashing MCG24.251-5 using this method will erase all of your data. Back up any important files/information before proceeding.
2. Download and install Minimal ADB and Fastboot from here: http://forum.xda-developers.com/showthread.php?t=2317790.
3. Download and install the Motorola Device Manager from here: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481
4. Download the MCG24.251-5 firmware package from here: https://www.androidfilehost.com/?fid=889764386195901169
5. Extract the contents of the MCG24.251-5 firmware package to the installation directory of Minimal ADB and Fastboot (C:\Program Files (x86)\Minimal ADB and Fastboot on any 64-bit installation of Windows).
6. Power off your phone.
7. Hold down the volume down button and power on your phone. Release the volume down button when you see that the phone has booted into bootloader mode. You'll see a dead green android.
8. Plug the phone into your computer.
9. Open the Minimal ADB and Fastboot shortcut on your desktop. This will open a command prompt.
10. Type "fastboot devices" and press enter. If it displays your device's serial number, you're ready to go. If it displays nothing, your computer is not recognizing your device properly.
11. Navigate to the installation directory of Minimal ADB and Fastboot and double click on FlashAll.bat. This will flash MCG24.251-5 to your device and erase all of your data.
12. Use the power button to select Start in the bootloader menu to boot normally.
13. Set up your phone at least to the point where you can install apps if you want to.
For now, just try to ask someone nicely to help you out with this. I'll try to get this done before the end of the day.
Section 1: Unlocking the Bootloader
1. Download Sunshine from here: http://theroot.ninja/download.html
2. Move the apk file to a convenient location on your phone. If you downloaded it with your phone, it's in your downloads folder already, so leave it there.
3. Use any file browser on your phone to navigate to the folder that contains the Sunshine apk file. Tap on it to install it.
4. If a message comes up and says that you need to enable installation of apps from unknown sources, follow the instructions on that message to enable it.
5. Enable Wi-Fi on your phone if it is disabled. Even if you aren't connected to a Wi-Fi network, it still needs to be on.
6. !!!DO THIS STEP ONLY IF YOU'RE ON MCG24.251-5-5!!! Follow the instructions here to obtain temporary root: https://forum.xda-developers.com/g4-play/development/root-autoinitroot-motorola-bootloader-t3639316/. DO NOT perform the uninstall step.
7. Open your app drawer and start Sunshine.
8. Follow the instructions.
9. !!!FOR MCG24.251-5-5 ONLY!!! Sunshine will reboot your phone automatically, and it will go into a bootloop. This is normal. Don't panic. Hold down the volume down button until the phone goes into bootloader mode. Plug your phone into the computer, start Minimal ADB and Fastboot (see Section 0 for link if you didn't have to install it before this point), and enter the command fastboot oem config fsg-id "". This will disable the temporary root exploit. Reboot your phone normally, and everything should be happy again.
10. If, when your phone reboots, you see a "Warning: The bootloader is unlocked" message, you have successfully unlocked your bootloader. If you do not see this message, open Sunshine again and follow the directions again. If you're on MCG24.251-5-5, you'll have to gain and uninstall temproot again at the appropriate times.
Section 2: Installing TWRP
Team Win Recovery Project is arguably the most important tool to have on a bootloader-unlocked phone. This is how you install it:
1. Download and install Minimal ADB and Fastboot from here: http://forum.xda-developers.com/showthread.php?t=2317790. If you already did this in section 0, you don't have to do it again.
2. Download the latest TWRP .img file from here: https://www.androidfilehost.com/?w=files&flid=39562
NOTE: The TWRP file that you download should have a .img extension. Make sure you can see this. If you don't see .img at the end of the filename, Google how to make file extensions visible on your version of Windows and do it. If you do not do this, you may run into trouble later.
3. Download and install the Motorola Device Manager from here: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481. If you already did this in section 0, you don't have to do it again.
3. Rename the file that you downloaded in step 2 to TWRP.img
4. Copy TWRP.img to the directory that you installed Minimal ADB and Fastboot to. The default location on an installation of 64-bit Windows is C:\Program Files (x86)\Minimal ADB and Fastboot.
5. Turn off your phone.
6. Hold the volume down button and press the power button to boot into bootloader mode. You should see a green android lying on his back with his chest open, and some information about your phone. Poor little guy...
7. Plug your phone into your PC.
8. Double click on the Minimal ADB and Fastboot shortcut that's on your desktop. It will open a command prompt.
9. Type "fastboot devices" without quotes and press enter. If it gives you your phone's serial number, you're good to go. If it gives you nothing, your device is not detected. This can happen for several reasons, and I won't discuss them here. However, if you followed these directions and all of your hardware is functioning properly, you should be good to go.
10. Type "fastboot flash recovery TWRP.img" without quotes and press enter. It should tell you that the flash was successful. You might see some "not found" errors. These are normal and can be ignored.
11. Highlight "Recovery mode" on your phone using the volume up and down buttons.
12. Press the power button to boot into TWRP.
13. TWRP will boot, and it will ask you if you want to allow write access to the system partition. IT IS VERY IMPORTANT THAT YOU ALLOW THIS. Check the box that says to never ask this question again.
14. Select Reboot, followed by System to boot the phone normally.
Section 3: Gaining Root Access
If you intend to install a custom rom, these steps are not necessary. Custom roms almost always come with root access built in. Refer to the thread of your custom rom of choice for installation instructions.
If you do not want a custom rom, and you simply want root access on the stock Droid Turbo rom, continue reading.
1. If you are on the stock marshmallow rom, build MCG24.251-5 or higher, download the latest version of both Magisk and Magisk Manager to your phone: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445.
NOTE: You need to be on marshmallow to use Magisk to root your phone. The Magisk thread says it supports lollipop and higher, but it only supports lollipop for some stock Samsung roms. This does not apply to you. If you want to root your phone on lollipop, you'll need to use SuperSU. I won't go into that here because I don't think there is a lot of demand for it, but if you need help with that, reach out to someone here. It's not difficult.
2. Install Magisk Manager the same way you installed Sunshine.
3. Turn off your phone.
4. Hold the volume down button and press the power button to boot into bootloader mode. You should see a green android lying on his back with his chest open, and some information about your phone. Andy, what have they done to you?
5. Use the volume up and down buttons to highlight "Recovery mode."
6. Press the power button to select Recovery mode.
7. Select Install from the TWRP main menu.
8. Select the most recent version of Magisk (the .zip file, NOT the Magisk Manager .apk file) that you downloaded.
9. Swipe the bar at the bottom of the screen to flash this zip file.
10. When it finishes, select Wipe Cache/Dalvik and swipe the bar at the bottom of the screen.
11. Select Reboot System
Section 4: Passing Safetynet using Stock, Unrooted Marshmallow
If you are running stock marshmallow with an unlocked bootloader, you will fail safetynet verification (and be unable to use Android Pay). Installing Magisk is the only recommended method, as of this writing, to bypass this limitation. If you completed Section 3, you shouldn't have any trouble. Understand, however, that there is a constant game of cat and mouse going on between Google and Magisk's developer, so sometimes Google will update safetynet to beat Magisk. If that happens, wait for Magisk Manager to tell you that a new version of Magisk is available, and it will install the new version for you. That's your best bet for passing safetynet again.
If you really want to pass safetynet, but you really don't want to be rooted, you can disable root (Superuser access) in the Magisk Manager settings.
Section 5: Miscellaneous
Here are some links to stuff you can flash now that your bootloader is unlocked:
Official LineageOS 12.1 (Android 5.1.1): http://forum.xda-developers.com/dro.../moto-maxx-xt1225-droid-turbo-xt1254-t3260253
Official LineageOS 13.0 (Android 6.0.1): http://forum.xda-developers.com/dro.../moto-maxx-xt1225-droid-turbo-xt1254-t3353298
AOSPExtended (Android 7.X): https://forum.xda-developers.com/moto-maxx/general/rom-aospextended-rom-v3-1-t3555361
Unofficial LineageOS 14.1 (Android 7.X): http://forum.xda-developers.com/moto-maxx/development/rom-t3494646
crDroid (Android 7.X): http://forum.xda-developers.com/moto-maxx/development/rom-crdroid-android-t3491257
Android Open Kang Project (Android 7.X): http://forum.xda-developers.com/droid-turbo/development/rom-aokp-7-x-quark-t3504629
Resurrection Remix (a great LineageOS-based rom, Android 5.1.1): http://forum.xda-developers.com/moto-maxx/development/rom-resurrection-remix-5-5-5-t3197643
Resurrection Remix (Android 6.0.1): http://forum.xda-developers.com/moto-maxx/development/rom-resurrection-remix-t3316232
Resurrection Remix (Android 7.X): https://forum.xda-developers.com/moto-maxx/development/rom-resurrection-remix-t3511109
Computerfreek274's optimized stock rom (Android 6.0.1): http://forum.xda-developers.com/droid-turbo/development/computerfreekunlocked1-0-t3255945
MoKee Open Source Project (Android 6.0.1): http://forum.xda-developers.com/moto-maxx/development/rom-mokee-opensource-project-t3188936
Bliss Rom (Android 6.0.1): http://forum.xda-developers.com/droid-turbo/development/rom-bliss-rom-6-4-team-bliss-t3422937
Android Open Kang Project (Android 6.0.1): http://forum.xda-developers.com/droid-turbo/development/rom-android-kang-project-t3422456
Android Open Kang Project (Android 7.X): https://forum.xda-developers.com/droid-turbo/development/rom-aokp-7-x-quark-t3504629
Change the splash screen (the bootloader unlocked warning message) that you see when you first start your phone: http://forum.xda-developers.com/dro...custom-boot-logos-accepting-requests-t3262873
Xposed framework and installer (make sure to use the sdk22-arm version if you're running a lollipop rom, sdk23-arm if you're running marshmallow. Not available for nougat yet.): http://forum.xda-developers.com/showthread.php?t=3034811
Alternative Material Design Xposed Installer that provides additional features: http://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
Pon-3 Audio Mod (modified and improved Viper4Android. It makes your phone sound better.): http://forum.xda-developers.com/showthread.php?t=2530976
Other modded Viper4Android versions that are better than PON-3: http://forum.xda-developers.com/android/software/viperaudio-viperatmos-3-8-sq-driver-t3289075
Theme your TWRP with different colors: http://forum.xda-developers.com/android/themes/theme-twrp-3-0-0-0-dark-stock-colors-t3310235
More TWRP themes: http://forum.xda-developers.com/showpost.php?p=66276401&postcount=2889
Android N Emojis: http://android.wonderhowto.com/how-to/get-android-nougats-all-new-emojis-right-now-0170328/
Section 6: Troubleshooting
Issue: When you try to boot TWRP, you see a screen that says "no command." TWRP does not boot.
Solution: The screen you are seeing is the stock Droid Turbo recovery menu (the menu that you're trying to replace with TWRP). If you see this after flashing TWRP, one of two things happened:
-You did not boot into the recovery menu immediately after flashing TWRP, and it was therefore replaced by the stock recovery menu.
-When you flashed TWRP, the process did not complete successfully.
The solution to both of these problems is to repeat section 2 and follow the instructions more carefully.
Issue: When TWRP asked you if you wanted to allow write access to the system partition, you selected no. Now you cannot flash anything.
Solution: At the main TWRP menu, select Mount. Uncheck the box that says "Mount system partition as read-only."
Issue: Fastboot says "cannot load TWRP.img" when you try to flash it.
Solution: This error indicates that Fastboot cannot find TWRP.img. The most common source of this problem is that you did not make your file extensions visible, and so when you renamed the TWRP file to TWRP.img, you actually renamed it to TWRP.img.img (including the hidden .img file extension that you didn't realize was there). Google how to enable file extensions on your version of Windows, follow those instructions, and if this is the issue you will see it.
nice write up - will follow these when I get my phone tomorrow.
worked!
Just tried this. Worked amazingly, and exactly as you described! Thanks!!
Thanks just got this phone yesterday. I came from a Verizon s4 with a unlockable bootloader so now running cm on a phone is really awesome for me. Although I was concerned about the $25. I love paying people for there work but it seemed different and I was expecting the app to be a scam or something. However everything went okay. I wish there was a way to get viper4android working. Does anyone know about that? I thought installing cm would have fixed the issue. Anyways thanks a lot. I wonder if I can change my username. Lol.
I keep getting a "no command" screen after step 6 in section 3. Everything else worked perfect. Any ideas?
22e said:
I keep getting a "no command" screen after step 6 in section 3. Everything else worked perfect. Any ideas?
Click to expand...
Click to collapse
So you can't boot into twrp?
Sent from my XT1254 using Tapatalk
SpyderPride said:
So you can't boot into twrp?
Sent from my XT1254 using Tapatalk
Click to expand...
Click to collapse
Nope, no matter what I do, it stays on that screen. I have to reboot and then it returns to normal. I've followed all of the steps twice now and got the same results each time. I do have the phone still plugged into the computer charging.
s4shield said:
Thanks just got this phone yesterday. I came from a Verizon s4 with a unlockable bootloader so now running cm on a phone is really awesome for me. Although I was concerned about the $25. I love paying people for there work but it seemed different and I was expecting the app to be a scam or something. However everything went okay. I wish there was a way to get viper4android working. Does anyone know about that? I thought installing cm would have fixed the issue. Anyways thanks a lot. I wonder if I can change my username. Lol.
Click to expand...
Click to collapse
https://www.androidfilehost.com/?w=files&flid=44797 try this just flash it through TWRP its basically viper4android i've used it before
5.1
HI, I am on SU3TL-39, android 5.1, system 23.11.39.quark_verizon.verizon.en.US vzw.
I have been holding off on an OTA that my phone keeps prompting me to do, should I now take that OTA?
CatMan8 said:
HI, I am on SU3TL-39, android 5.1, system 23.11.39.quark_verizon.verizon.en.US vzw.
I have been holding off on an OTA that my phone keeps prompting me to do, should I now take that OTA?
Click to expand...
Click to collapse
if u want an unlocked bootloader then take the OTA
22e said:
I keep getting a "no command" screen after step 6 in section 3. Everything else worked perfect. Any ideas?
Click to expand...
Click to collapse
The screen that you're seeing is the stock Droid Turbo recovery menu, which means that TWRP is not getting flashed. What result does it give you after section 2, step 10?
s4shield said:
Thanks just got this phone yesterday. I came from a Verizon s4 with a unlockable bootloader so now running cm on a phone is really awesome for me. Although I was concerned about the $25. I love paying people for there work but it seemed different and I was expecting the app to be a scam or something. However everything went okay. I wish there was a way to get viper4android working. Does anyone know about that? I thought installing cm would have fixed the issue. Anyways thanks a lot. I wonder if I can change my username. Lol.
Click to expand...
Click to collapse
Yeah, I did the exact same thing. The MDK bootloader is golden. I broke my phone once and almost cried. Luckily, I was able to get another MDK on Swappa. The seller wasn't even charging extra for it! He/she must not have known what they had.
As for Viper4Android, I've added a link to section 4 that you might want to look at.
iceblitz4 said:
https://www.androidfilehost.com/?w=files&flid=44797 try this just flash it through TWRP its basically viper4android i've used it before
Click to expand...
Click to collapse
Thanks! If I can only remove all the brony stuff from the app. Lol. I guess I can change the icon. I have to pretend at least that I don't have a mangina when I'm with my friends. No seriously this post made my day. I thought I was stuck without viper on my phone.
s4shield said:
Thanks! If I can only remove all the brony stuff from the app. Lol. I guess I can change the icon. I have to pretend at least that I don't have a mangina when I'm with my friends. No seriously this post made my day. I thought I was stuck without viper on my phone.
Click to expand...
Click to collapse
Such is life. Sometimes if you want the wubz, you gotta take the brony.
TheSt33v said:
Such is life. Sometimes if you want the wubz, you gotta take the brony.
Click to expand...
Click to collapse
Ha ha ha!
successful for me, thanks!
to comment on @22e issue, I had the same problem. i was able to correct it by copying the TWRP.img file to the same directory as the minimal adb fastboot files were installed in.
also, a shortcut after flashing TWRP is to type "fastboot reboot-bootloader". this will return back to bootloader rather than having to reboot, power off, and then press the buttons to get to bootloader.
hope this helps.
Awesome post. It definitely will come in handy. One question, at what point should I create a backup image via twrp? Is it before section 3 step 7?
s4shield said:
Thanks just got this phone yesterday. I came from a Verizon s4 with a unlockable bootloader so now running cm on a phone is really awesome for me. Although I was concerned about the $25. I love paying people for there work but it seemed different and I was expecting the app to be a scam or something. However everything went okay. I wish there was a way to get viper4android working. Does anyone know about that? I thought installing cm would have fixed the issue. Anyways thanks a lot. I wonder if I can change my username. Lol.
Click to expand...
Click to collapse
Download the file www.viperforandroid.com install goto menu set as expert ui under ui setting open viper4android check on click box click appropriate sound changer so it sounds right to u I suggest doing on headphones than use thoose settings as base settings for phone bt ect.. The the real good sound comes in under conolover files you must download impulse response files or. Irs files dfx_pro_surround_2.irs, Dolby,, dfx ect. After u download you unzip and using a file manager find unzipped file and goto sd card u will see viper4android folder inside that folder you will see 2 other folders one being kernel place irs files in kernel folder. Now when you click impulse response you will have the audio producing files. Like Dolby digital cinema, stereo, HD. Ect there are hundreds I'll post my walk though install video
can you help me sir
my friend have verizon moto droid ultra xt1254 and he already give it to me
and i got this phone with google account privacy and he forgot last email in this device, so i cant finished setup wizard and go to home screen
this device locked bootloader so i cant do something to
what should i can do?
jco23 said:
successful for me, thanks!
to comment on @22e issue, I had the same problem. i was able to correct it by copying the TWRP.img file to the same directory as the minimal adb fastboot files were installed in.
also, a shortcut after flashing TWRP is to type "fastboot reboot-bootloader". this will return back to bootloader rather than having to reboot, power off, and then press the buttons to get to bootloader.
hope this helps.
Click to expand...
Click to collapse
Thanks for the help.
After I got stuck, I downloaded and installed KingRoot. It successfully rooted my phone. I downloaded two different root checkers and they confirmed. Everything works correctly within Rom Toolbox Pro now, I can remove apps (stupid NFL mobile, Amazon, etc). My software status says "Modified". I did not need to format or anything like that. Is that normal? My only issues are with XBlast Tools and SuperSU, when I change a setting in XBlast, it does NOT get updated. Even after a reboot. In SuperSU cannot update binaries for some reason.
I cannot post outside links for screen shots yet.

[HOWTO] Install Mokee 7.1.1 Unofficial cutom ROM for your new Zuk Z2 PRO for dummies

Hi,
Today I just installed a custom ROM for my Zuk Z2 PRO. This tutorial is how I did it.
I get many ressources from this forum and I thank orignal authors.
Big thanks to meister for his guide : https://forum.xda-developers.com/zuk-z2-pro/how-to/zuk-z2-pro-guide-to-everything-ota-t3562099
And big thanks to m_atze for his guide : https://forum.xda-developers.com/zuk-z2-pro/how-to/howto-flash-stock-rom-t3435109
More info on this ROM : https://forum.xda-developers.com/zuk-z2-pro/development/rom-share-lr-team-zuk-z2row-z2-pro-t3567710
Backup your data before processing the flash, in order to avoid loss of data!
Flashing / rooting and install custom ROM could brick your device ! You're the only responsible on what you're doing. This guide is how I did it and I'm not responsible if you're messing up your device
Unlock bootloader (step 3) will void Lenovo warranty
Antutu Score : 143050
Summary :
Step 1 : Prepare environment
Step 2 : Install ZUI 2.5.x (recommended before installing Nougat custom ROM)
Step 3 : Unlock bootloader (to be able to boot on TWRP)
Step 4 : Boot on TWRP to root the phone
Step 5 : Make a Nandroid backup
Step 6 : Install TWRP
Step 7 : Install a custom ROM with TWRP
Step 8 : Install Gapps (google apps)
Step 1 : Prepare environment
Create a directory where you're gona extract download files (avoid space in the directory path).
Download : adb and fastboot from google
Extract it on your previous created directory.
Download usb drivers and install it
Enable developer mode in your Z2 PRO (link if your don't know how to do it)
Connect your phone on your computer
On the directory C:/yourDirectoryPath/platform-tools maintains shift + rigth click and "Open command window here"
Type adb devices
If your see a line below "List of devices attached" your adb is OK
Note the number somewhere, it's your device serial number.
On the phone type *#06# and note somewhere IMEI numbers in case something went wrong during flashing
Step 2 : Install ZUI 2.5.x (recommended before installing Nougat custom ROM)
For this part I use the m_atze tutorial that you can find here. Check it for me detailed steps.
If you are on windows 8, 8.1 or 10, you have to disable driver verification (some people didn't disable driver verification and it works as well)
For windows 10 with anniversary update : you just have to run a cmd as admin and enter bcdedit -set TESTSIGNING ON then reboot your computer (your windows will be in test mode)
For other cases check this link
Then
Download QPST flashtool
Install QPST flashtool and reboot your computer
Download and extract ZUI ROM 2.5.x (you maybe need to rename the directory where the ROM is because it could be too big)
Launch QFIL application as administrator
Go to Configuration -> FireHostConfiguration. 1-change device type to UFS. 2-check reset after download checkbox
Click on "Load content" and browse the contents.xml from the ZUI ROM 2.5.x extracted files
On the adb console you opened earlier, enter adb reboot edl
The QFIL page should look like this
Click on "Download content" to flash your phone
The final screen should like this
If any problem, there is an FAQ
Your phone is gonna reboot, congratulation, you're flashed your phone with ZUI 2.5.x ROM.
Once the phone boots up it will be in Chinese again. To get your phone back in English :
On the welcome screen tap the bottom of the screen below the highlighted blue text to skip the ZUK login.
To change the language back to English go to Settings.
In the third section choose the last entry. "Advanced Settings" (the gears symbol).
Choose the 2nd menu item.
Choose the first menu item and select English.
Now check update and install it if needed trough this app. If the check is green, it's ok.
Re-enable developer mode and debugging
Step 3 : Unlock bootloader (to be able to boot on TWRP)
This step is almost a copy past of section 2 of meister guide
This step gonna void your Lenovo warranty and wipe your data
Step 3.1 : Get the unlock bootloader from Lenovo
In order to unlock the bootloader you will need to got the zuk website, where you need to register first before you can request to unlock the bootloader.
So go here : https://passport.zuk.com/wauthen3/wauth/jsp/register.jsp (use google translate)
Select Email Registration (upper right corner) and fill in the required data
You will receive an Email with a confirmation link.
Now that you are registered, log in and than go to http://developer.zuk.com/bootloader (use google translate)
Click on Carry On.
On the next page select your phone type Z2 Pro.
Enter your serial number (8 digits) (you can find it on Settings -> About -> Status. If your serial is not 8 digit, add 0 to the end to make a 8 digit number)
Enter an email address where to send the unlock image. It seems that the email address here has to follow some rules. ([email protected] or @Web.net seems to work. A domain name with a hyphen (-) seems to cause problems, i use a @hotmail.com mail adresse and it worked)
Check the 2 check boxes and click SUBMIT
If successful you get a message that the image has been sent to your email address. No message means something went wrong. Likely the email address was not approved.
Save the email attachment from ZUK you requested earlier (named unlock_bootloader.img) into C:/yourDirectoryPath/platform-tools/ (next to adb.exe)
Step 3.2 : Unlock bootloader
On adb console enter adb devices to check if your device is still connected
Next enter adb reboot bootloader and your phone gonna reboot in bootloader mode
Next enterfastboot -i 0x2b4c flash unlock unlock_bootloader.img (if you got error "target did not report max-download-size" change from usb 3.0 to usb 2.0 port and / or try to turn on "enable_usb_2.0" via
Developer Options)
You should see
Code:
target reported max download size of 1610612736 bytes
sending 'unlock' (0 KB)...
OKAY [ 0.031s]
writing 'unlock'...
OKAY [ 0.063s]
finished. total time: 0.094s
Then enter fastboot -i 0x2b4c oem unlock-go
You should see
Code:
...
OKAY [ 0.031s]
finished. total time: 0.031s
You phone is gonna reboot (or reboot it manually)
Change the phone language to english and re enable debugging.
Step 4 : Boot on TWRP to root the phone
Download TWRP 3.1 for Zuk Z2 PRO here and extrat TWRP..... .img next to adb.exe in platform-tools folder
Download SuperSu here
Copy paste SuperSu zip file in your phone internal storage
In adb cmd enter adb reboot bootloader
Then enter fastboot -i 0x2b4c boot TWRP3.1.0.0_ZUK_Z2_pro.img to boot in TWRP image
Click on "Keep read only"
Go to install and browse to SuperSu zip.
Swipe to install
When installation is finished, reboot your phone (it may reboot many times)
Good job, your phone is now rooted !
Step 5 : Make a Nandroid backup
In adb cmd enter adb reboot bootloader
Then enter fastboot -i 0x2b4c boot TWRP3.1.0.0_ZUK_Z2_pro.img to boot in TWRP image
Go in backup and check all checkbox
Swipe to backup
Reboot the phone
From your computer browse your phone internal memory and copy your backup from TWRP/Backup/XXXXX to a directory in your computer
Step 6 : Install TWRP
In adb cmd enter adb reboot bootloader
Then fastboot flash recovery TWRP3.1.0.0_ZUK_Z2_pro.img to install TWRP on your phone
Then fastboot reboot
Then adb reboot bootloader
Then with volume keys select Recovery Mode and enter in Recovery Mode by pushing power key
TWRP will start
Reboot your phone
Step 7 : Install a custom ROM with TWRP
Download ROM from https://uploadfiles.io/55ffa
Copy paste ROM zip file in your phone internal storage
In adb cmd enter adb reboot bootloader
Then with volume keys select Recovery Mode and enter in Recovery Mode by pushing power key
Click Wipe and swipe to wipe. Do NOT reboot your phone.
Go back in TWRP main menu and click Install. Browse the ROM zip file
Swipe to install
Reboot your phone
When your phone reboot, it's in chinese. Click on the texte in the right bottom corner and then select your language.
During the phone configuration, do not connect wifi (in my case the phone configuration crashed when I connected to a wifi)
When you finished phone configuration reboot to get notification in your language
Step 8 : Install Gapps (google apps)
Download Gapps from https://forum.xda-developers.com/android/software/gapps-dynamic-gapps-t3487192
Copy the zip file in your phone
Reboot in TWRP
Install Gapps through TWRP
Reboot your phone
At this point my Google Play Services crashed each reboot. So needed to
Reboot in TWRP
Wipe cache
Now it works !
You can install other ROM with this method but I only tested with this one.
Enjoy
First of all, thank you for your help.
I followed this tutorial from start to finish without encountering any unexpected events. It is rare to say so!
Small points:
Step 1:
*- Think of connecting the phone before the command "adb devices", it's stupid but I had not done it!
Step 2:
*- I did not need to change my driver settings on Windows 10.
*- I had to run the QFIL application as an administrator.
*- I had to rename the directory where the ROM was because the name was too big.
Step 3.1:
*- I have a serial number on 7 characters, you must add "0" at the end to make 8 characters.
*- My Gmail address worked smoothly.
Step 4:
*- The SuperSU link did not work, I took this one: http://downloadmirror.co/Utz/UPDATE-SuperSU-v2.79-20161211114519.zip
*- Some reboot at home also, it seems to be normal.
Step 7:
*- I took the ROM "Resurrection Remix", no problem with another ROM.
Step 8:
*- I also had a crash of Google apps, I also did a wipe and it works now. It looks normal too.
Thank you again for your help!
Glade I could help !
Thanks for your feedback, I'm gonna update the tutorial
Hi,
great tutorial, thank you!
Step 6 : Install TWRP - I'm stuck though, as my PC still does not recognize device on fastboot without -i 0x2b4c...
so should I use instead of
Then fastboot flash recovery TWRP3.1.0.0_ZUK_Z2_pro.img to install TWRP on your phone
Then fastboot reboot
Click to expand...
Click to collapse
the -i option ?
Then fastboot -i 0x2b4c flash recovery TWRP3.1.0.0_ZUK_Z2_pro.img to install TWRP on your phone
Then fastboot -i 0x2b4c reboot
Click to expand...
Click to collapse
?
... edit, yes that worked ...
lxlx said:
... edit, yes that worked ...
Click to expand...
Click to collapse
Great ! Good to know
Step 3.1 : Get the unlock bootloader from Lenovo
- gmail works
- did not work to get the bootloader with google translater . had to do it in Chinese, but knew the steps since i tried it with translation first
zwat said:
Step 3.1 : Get the unlock bootloader from Lenovo
- gmail works
- did not work to get the bootloader with google translater . had to do it in Chinese, but knew the steps since i tried it with translation first
Click to expand...
Click to collapse
Thanks for the feedback, I updated the tuto.
Thank you for this tutorial, it worked like a charm!
I'm currently on ZUI 2.5.x. Can I go straight to official MK60.1 using this guide?
Or should I downgrade to ZUI 2.3.x first
dommels said:
I'm currently on ZUI 2.5.x. Can I go straight to official MK60.1 using this guide?
Or should I downgrade to ZUI 2.3.x first
Click to expand...
Click to collapse
I don't know sorry :/
Maybe downgrade to 2.3.x is more secured...
For my information, why do you want to install the MK60.1 ?
Bluud said:
I don't know sorry :/
Maybe downgrade to 2.3.x is more secured...
Click to expand...
Click to collapse
Just went from stock 2.5x to MK60.1 without issues, thanks!
For my information, why do you want to install the MK60.1 ?
Click to expand...
Click to collapse
So far it's the only stable official release from Mokee.
Mk60.1 have exactly the same bugs like Mk71.1. so no need to use mk60.1. mk71.1 is pretty stable btw.
So far quite happy running Mokee. Is there an easy way to root as well?
dommels said:
So far quite happy running Mokee. Is there an easy way to root as well?
Click to expand...
Click to collapse
Mokee was quite good.
Yesterday I installed this ROM : https://forum.xda-developers.com/zu...tom-rom-zuk-z2pro-resurrection-remix-t3579113
I prefer this ROM because you can custom it in many ways.
Since yesterday it's stable.
Question
Bluud said:
Mokee was quite good.
Yesterday I installed this ROM : https://forum.xda-developers.com/zu...tom-rom-zuk-z2pro-resurrection-remix-t3579113
I prefer this ROM because you can custom it in many ways.
Since yesterday it's stable.
Click to expand...
Click to collapse
It's the same tutorial?
Yes
Bluud said:
Hi,
Today I just installed a custom ROM for my Zuk Z2 PRO. This tutorial is how I did it.
I get many ressources from this forum and I thank orignal authors.
Big thanks to meister for his guide : https://forum.xda-developers.com/zuk-z2-pro/how-to/zuk-z2-pro-guide-to-everything-ota-t3562099
And big thanks to m_atze for his guide : https://forum.xda-developers.com/zuk-z2-pro/how-to/howto-flash-stock-rom-t3435109
More info on this ROM : https://forum.xda-developers.com/zuk-z2-pro/development/rom-share-lr-team-zuk-z2row-z2-pro-t3567710
Backup your data before processing the flash, in order to avoid loss of data!
Flashing / rooting and install custom ROM could brick your device ! You're the only responsible on what you're doing. This guide is how I did it and I'm not responsible if you're messing up your device
Unlock bootloader (step 3) will void Lenovo warranty
Antutu Score : 143050
Summary :
Step 1 : Prepare environment
Step 2 : Install ZUI 2.5.x (recommended before installing Nougat custom ROM)
Step 3 : Unlock bootloader (to be able to boot on TWRP)
Step 4 : Boot on TWRP to root the phone
Step 5 : Make a Nandroid backup
Step 6 : Install TWRP
Step 7 : Install a custom ROM with TWRP
Step 8 : Install Gapps (google apps)
Step 1 : Prepare environment
Create a directory where you're gona extract download files (avoid space in the directory path).
Download : adb and fastboot from google
Extract it on your previous created directory.
Download usb drivers and install it
Enable developer mode in your Z2 PRO (link if your don't know how to do it)
Connect your phone on your computer
On the directory C:/yourDirectoryPath/platform-tools maintains shift + rigth click and "Open command window here"
Type adb devices
If your see a line below "List of devices attached" your adb is OK
Note the number somewhere, it's your device serial number.
On the phone type *#06# and note somewhere IMEI numbers in case something went wrong during flashing
Step 2 : Install ZUI 2.5.x (recommended before installing Nougat custom ROM)
For this part I use the m_atze tutorial that you can find here. Check it for me detailed steps.
If you are on windows 8, 8.1 or 10, you have to disable driver verification (some people didn't disable driver verification and it works as well)
For windows 10 with anniversary update : you just have to run a cmd as admin and enter bcdedit -set TESTSIGNING ON then reboot your computer (your windows will be in test mode)
For other cases check this link
Then
Download QPST flashtool
Install QPST flashtool and reboot your computer
Download and extract ZUI ROM 2.5.x (you maybe need to rename the directory where the ROM is because it could be too big)
Launch QFIL application as administrator
Go to Configuration -> FireHostConfiguration. 1-change device type to UFS. 2-check reset after download checkbox
Click on "Load content" and browse the contents.xml from the ZUI ROM 2.5.x extracted files
On the adb console you opened earlier, enter adb reboot edl
The QFIL page should look like this
Click on "Download content" to flash your phone
The final screen should like this
If any problem, there is an FAQ
Your phone is gonna reboot, congratulation, you're flashed your phone with ZUI 2.5.x ROM.
Once the phone boots up it will be in Chinese again. To get your phone back in English :
On the welcome screen tap the bottom of the screen below the highlighted blue text to skip the ZUK login.
To change the language back to English go to Settings.
In the third section choose the last entry. "Advanced Settings" (the gears symbol).
Choose the 2nd menu item.
Choose the first menu item and select English.
Now check update and install it if needed trough this app. If the check is green, it's ok.
Re-enable developer mode and debugging
Step 3 : Unlock bootloader (to be able to boot on TWRP)
This step is almost a copy past of section 2 of meister guide
This step gonna void your Lenovo warranty and wipe your data
Step 3.1 : Get the unlock bootloader from Lenovo
In order to unlock the bootloader you will need to got the zuk website, where you need to register first before you can request to unlock the bootloader.
So go here : https://passport.zuk.com/wauthen3/wauth/jsp/register.jsp (use google translate)
Select Email Registration (upper right corner) and fill in the required data
You will receive an Email with a confirmation link.
Now that you are registered, log in and than go to http://developer.zuk.com/bootloader (use google translate)
Click on Carry On.
On the next page select your phone type Z2 Pro.
Enter your serial number (8 digits) (you can find it on Settings -> About -> Status. If your serial is not 8 digit, add 0 to the end to make a 8 digit number)
Enter an email address where to send the unlock image. It seems that the email address here has to follow some rules. ([email protected] or @Web.net seems to work. A domain name with a hyphen (-) seems to cause problems, i use a @hotmail.com mail adresse and it worked)
Check the 2 check boxes and click SUBMIT
If successful you get a message that the image has been sent to your email address. No message means something went wrong. Likely the email address was not approved.
Save the email attachment from ZUK you requested earlier (named unlock_bootloader.img) into C:/yourDirectoryPath/platform-tools/ (next to adb.exe)
Step 3.2 : Unlock bootloader
On adb console enter adb devices to check if your device is still connected
Next enter adb reboot bootloader and your phone gonna reboot in bootloader mode
Next enterfastboot -i 0x2b4c flash unlock unlock_bootloader.img (if you got error "target did not report max-download-size" change from usb 3.0 to usb 2.0 port and / or try to turn on "enable_usb_2.0" via
Developer Options)
You should see
Then enter fastboot -i 0x2b4c oem unlock-go
You should see
You phone is gonna reboot (or reboot it manually)
Change the phone language to english and re enable debugging.
Step 4 : Boot on TWRP to root the phone
Download TWRP 3.1 for Zuk Z2 PRO here and extrat TWRP..... .img next to adb.exe in platform-tools folder
Download SuperSu here
Copy paste SuperSu zip file in your phone internal storage
In adb cmd enter adb reboot bootloader
Then enter fastboot -i 0x2b4c boot TWRP3.1.0.0_ZUK_Z2_pro.img to boot in TWRP image
Click on "Keep read only"
Go to install and browse to SuperSu zip.
Swipe to install
When installation is finished, reboot your phone (it may reboot many times)
Good job, your phone is now rooted !
Step 5 : Make a Nandroid backup
In adb cmd enter adb reboot bootloader
Then enter fastboot -i 0x2b4c boot TWRP3.1.0.0_ZUK_Z2_pro.img to boot in TWRP image
Go in backup and check all checkbox
Swipe to backup
Reboot the phone
From your computer browse your phone internal memory and copy your backup from TWRP/Backup/XXXXX to a directory in your computer
Step 6 : Install TWRP
In adb cmd enter adb reboot bootloader
Then fastboot flash recovery TWRP3.1.0.0_ZUK_Z2_pro.img to install TWRP on your phone
Then fastboot reboot
Then adb reboot bootloader
Then with volume keys select Recovery Mode and enter in Recovery Mode by pushing power key
TWRP will start
Reboot your phone
Step 7 : Install a custom ROM with TWRP
Download ROM from https://uploadfiles.io/55ffa
Copy paste ROM zip file in your phone internal storage
In adb cmd enter adb reboot bootloader
Then with volume keys select Recovery Mode and enter in Recovery Mode by pushing power key
Click Wipe and swipe to wipe. Do NOT reboot your phone.
Go back in TWRP main menu and click Install. Browse the ROM zip file
Swipe to install
Reboot your phone
When your phone reboot, it's in chinese. Click on the texte in the right bottom corner and then select your language.
During the phone configuration, do not connect wifi (in my case the phone configuration crashed when I connected to a wifi)
When you finished phone configuration reboot to get notification in your language
Step 8 : Install Gapps (google apps)
Download Gapps from https://forum.xda-developers.com/android/software/gapps-dynamic-gapps-t3487192
Copy the zip file in your phone
Reboot in TWRP
Install Gapps through TWRP
Reboot your phone
At this point my Google Play Services crashed each reboot. So needed to
Reboot in TWRP
Wipe cache
Now it works !
You can install other ROM with this method but I only tested with this one.
Enjoy
Click to expand...
Click to collapse
Does it works on Zuk Z2?
dommels said:
I'm currently on ZUI 2.5.x. Can I go straight to official MK60.1 using this guide?
Or should I downgrade to ZUI 2.3.x first
Click to expand...
Click to collapse
You can go straight to the latest RR rom without downgrade, so I guess you can do this with MK60 also. But why do you want that...?
Sendt fra min ZUK Z2121 med Tapatalk
Pendragon2000 said:
Does it works on Zuk Z2?
Click to expand...
Click to collapse
You can use this tutorial BUT you need to take a Z2 ROM and a Z2 TWRP.
Check on xda Z2 topics
accelerometer/gyroscope BUG can`t play any game

[guide] how to fix totally dead redmi note 4 | stuck in bootloop | qfil flashing

Hello everyone, in today's guide I will tell you all how to fix bootloop problem in Redmi note 4
NOTE: THIS FIX IS FOR THOSE WHOSE PROBLEM DIDN'T GET FIXED EVEN AFTER FLASHING WITH MIFLASH
QFIL is a tool which is used to flash stock firmwares in Qualcomm smartphones.
Prerequisites:
1)Bricked Redmi note 4 (lol I guess you have that already if you are reading this)
2) Working USB cable (You really dont want yourself smashing your head and then finding out faulty cable)
3) QPST Version 2.7.438.3 (Google it)
4) Unlocked bootloader
5) Platform Tools (For passing OEM EDL command)
6) Stock fastboot MIUI ROM (IMPORTANT: Use V8.1.10.0.MCFMIDI from here: http://bigota.d.miui.com/V8.1.10.0....DI_20161228.0000.00_6.0_global_7557bfe334.tgz)
7)QDLoader HS-USB Driver for Redmi Note 4X
Note: I'm not responsible if you mess up your device the mentioned process helped me and others in fixing our devices. You yourself are responsible!
Steps:
1) Open QFIL tool from C:\Program Files\Qualcomm\QPST\bin or wherever you installed it. Run as administrator!
Note: Don't use older version QPST, because you will get an error message when writing userdata section.
2) In QFIL choose Flat Build option.
3) Make sure you you have extracted the above ROM file onto desktop
4) In QFIL tool browse and locate .mbn file
(Named like: prog_emmc_firehose_8953_ddr.mbn)
5) Click on Load XML and select rawprogram0.xml and patch0.xml inside your Fastboot ROM folder.
6) Now turn off your phone and enter Fastboot mode by pressing ans holding power button+vol down button. After that open platform tools folder downloaded above and right click opening cmd in that folder and write following command:
fastboot oem edl
And hit enter (The above command does require your bootloader to be unlocked so kindly keep that in mind before passing the command)
7) Your phone will exit Fastboot mode and red led will start blinking and your phone will be detected as COM port in QFIL tool.
8) At last hit download button, if you did everything right process should begin and end saying download complete.
9) You can now remove your phone and keep holding power button till it boots up. First boot will take some time.
Optional step 10) If you loose your IMEI in flashing process then you can flash your IMEI using Qualcomm IMEI tool (If you face problem in this then comment and i will come up with another guide regarding IMEI flashing)
Hope it helps, if yes be sure you hit that thumbs up button it gives me good feeling lol ?
Reply if you face any problem
Peace!
addymishra said:
Hello everyone, in today's guide I will tell you all how to fix bootloop problem in Redmi note 4
NOTE: THIS FIX IS FOR THOSE WHOSE PROBLEM DIDN'T GET FIXED EVEN AFTER FLASHING WITH MIFLASH
QFIL is a tool which is used to flash stock firmwares in Qualcomm smartphones.
Prerequisites:
1)Bricked Redmi note 4 (lol I guess you have that already if you are reading this)
2) Working USB cable (You really dont want yourself smashing your head and then finding out faulty cable)
3) QPST Version 2.7.438.3 (Google it)
4) Unlocked bootloader
5) Platform Tools (For passing OEM EDL command)
6) Stock fastboot MIUI ROM (IMPORTANT: Use V8.1.10.0.MCFMIDI from here: http://bigota.d.miui.com/V8.1.10.0....DI_20161228.0000.00_6.0_global_7557bfe334.tgz)
7)QDLoader HS-USB Driver for Redmi Note 4X
Note: I'm not responsible if you mess up your device the mentioned process helped me and others in fixing our devices. You yourself are responsible!
Steps:
1) Open QFIL tool from C:\Program Files\Qualcomm\QPST\bin or wherever you installed it. Run as administrator!
Note: Don't use older version QPST, because you will get an error message when writing userdata section.
2) In QFIL choose Flat Build option.
3) Make sure you you have extracted the above ROM file onto desktop
4) In QFIL tool browse and locate .mbn file
(Named like: prog_emmc_firehose_8953_ddr.mbn)
5) Click on Load XML and select rawprogram0.xml and patch0.xml inside your Fastboot ROM folder.
6) Now turn off your phone and enter Fastboot mode by pressing ans holding power button+vol down button. After that open platform tools folder downloaded above and right click opening cmd in that folder and write following command:
fastboot oem edl
And hit enter
7) Your phone will exit Fastboot mode and red led will start blinking and your phone will be detected as COM port in QFIL tool.
8) At last hit download button, if you did everything right process should begin and end saying download complete.
9) You can now remove your phone and keep holding power button till it boots up. First boot will take some time.
Optional step 10) If you loose your IMEI in flashing process then you can flash your IMEI using Qualcomm IMEI tool (If you face problem in this then comment and i will come up with another guide regarding IMEI flashing)
Hope it helps, if yes be sure you hit that thumbs up button it gives me good feeling lol
Reply if you face any problem
Peace!
Click to expand...
Click to collapse
Hi,
after your manual, download success, the device restarts, but it then gets stuck with the MI logo?
What can I do?
sieg
sieg01 said:
Hi,
after your manual, download success, the device restarts, but it then gets stuck with the MI logo?
What can I do?
sieg
Click to expand...
Click to collapse
Hello there,
First of all make sure that you are flashing the fastboot rom which I mentioned in the thread.
Now coming to your problem, open QFIL tool and open configuration panel. You will see many options, check for 'Erase before Download' option and make sure its unchecked then try flashing again. If the problem persist then send me screenshot of QFIL tool along with configuration.
All the best!
addymishra said:
Hello there,
First of all make sure that you are flashing the fastboot rom which I mentioned in the thread.
Now coming to your problem, open QFIL tool and open configuration panel. You will see many options, check for 'Erase before Download' option and make sure its unchecked then try flashing again. If the problem persist then send me screenshot of QFIL tool along with configuration.
All the best!
Click to expand...
Click to collapse
Hi again,
I have flashed again and in the " download configuration " I set " Erase before Download", please see the Attachment, unfortunately the same device restarts, but it then gets stuck with the MI logo?
sieg01 said:
Hi again,
I have flashed again and in the " download configuration " I set " Erase before Download", please see the Attachment, unfortunately the same device restarts, but it then gets stuck with the MI logo?
Click to expand...
Click to collapse
Dear, you DON'T NEED TO SELECT "ERASE BEFORE DOWNLOAD" !!! Now listen carefully what to do-:
1) Download mi flash tool and mi unlock tool
2) Your bootloader must be locked now so unlock it with mi unlock (Don't worry just use your mi account it will unlock successfully)
3) Once unlocked flash the fastboot rom in fastboot mode using mi flash tool. IMPORTANT: MAKE SURE YOU SELECT "CLEAN ALL" OPTION
4) Now when flashed your device will restart. Dont let it boot up. Press and hold power+volume down button till you enter into fastboot
5) From fastboot enter EDL mode using "fastboot oem edl" command. Red light will blink
6) Open QFIL and make sure "Erase before download" IS *NOT* SELECTED
7)Click download and you should be good to go
All the best
addymishra said:
Dear, you DON'T NEED TO SELECT "ERASE BEFORE DOWNLOAD" !!! Now listen carefully what to do-:
1) Download mi flash tool and mi unlock tool
2) Your bootloader must be locked now so unlock it with mi unlock (Don't worry just use your mi account it will unlock successfully)
3) Once unlocked flash the fastboot rom in fastboot mode using mi flash tool. IMPORTANT: MAKE SURE YOU SELECT "CLEAN ALL" OPTION
4) Now when flashed your device will restart. Dont let it boot up. Press and hold power+volume down button till you enter into fastboot
5) From fastboot enter EDL mode using "fastboot oem edl" command. Red light will blink
6) Open QFIL and make sure "Erase before download" IS *NOT* SELECTED
7)Click download and you should be good to go
All the best
Click to expand...
Click to collapse
1. My redmi is unlocked ( from Xiaomi )
2. MI flash tool don`t work, because I get error: can not found file flash_all.bat, so I dont`t use this tool
sieg01 said:
1. My redmi is unlocked ( from Xiaomi )
2. MI flash tool don`t work, because I get error: can not found file flash_all.bat, so I dont`t use this tool
Click to expand...
Click to collapse
In order to use mi flash correctly kindly place the fastboot rom in C: drive root directory then try flashing, it will work. Its a bug of mi flash
Hi I followed your all 9 steps in the first post. However, me too is stuck in 'mi' logo nothing happens waiting after 10 minutes
Then I followed the following steps, flashed by mi tool followed by QFIL. But my QFIL didn't have "ERASE BEFORE DOWNLOAD" option. I downloaded the exact QPST version 2.7.438.3 from gsmhosting forum.
Still the phone boots and stuck with 'mi' logo forever. I have tried flashing other ROMs like RR, lineageOS from TWRP but each of the ROM is stuck while booting . Only miuiPro "miuipro_v7.0_mido_v9.2.1.0_NCFCNEK.zip" manages to boot but keeps rebooting after every 2-3 seconds. My phone has been useless for 3 long days.
addymishra said:
Dear, you DON'T NEED TO SELECT "ERASE BEFORE DOWNLOAD" !!! Now listen carefully what to do-:
1) Download mi flash tool and mi unlock tool
2) Your bootloader must be locked now so unlock it with mi unlock (Don't worry just use your mi account it will unlock successfully)
3) Once unlocked flash the fastboot rom in fastboot mode using mi flash tool. IMPORTANT: MAKE SURE YOU SELECT "CLEAN ALL" OPTION
4) Now when flashed your device will restart. Dont let it boot up. Press and hold power+volume down button till you enter into fastboot
5) From fastboot enter EDL mode using "fastboot oem edl" command. Red light will blink
6) Open QFIL and make sure "Erase before download" IS *NOT* SELECTED
7)Click download and you should be good to go
All the best
Click to expand...
Click to collapse
biits1993 said:
Hi I followed your all 9 steps in the first post. However, me too is stuck in 'mi' logo nothing happens waiting after 10 minutes
Then I followed the following steps, flashed by mi tool followed by QFIL. But my QFIL didn't have "ERASE BEFORE DOWNLOAD" option. I downloaded the exact QPST version 2.7.438.3 from gsmhosting forum.
Still the phone boots and stuck with 'mi' logo forever. I have tried flashing other ROMs like RR, lineageOS from TWRP but each of the ROM is stuck while booting . Only miuiPro "miuipro_v7.0_mido_v9.2.1.0_NCFCNEK.zip" manages to boot but keeps rebooting after every 2-3 seconds. My phone has been useless for 3 long days.
Click to expand...
Click to collapse
Try downloading the lastest version from here:
https://androidmtk.com/download-qpst-flash-tool
Erase before download must be unchecked
And remember first boot does take some time so be patient a little. Hope it works!
addymishra said:
Try downloading the lastest version from here:
https://androidmtk.com/download-qpst-flash-tool
Erase before download must be unchecked
And remember first boot does take some time so be patient a little. Hope it works!
Click to expand...
Click to collapse
Hi, Thank you very much, I managed to boot the ROM using QFil , however in setup wizard I can't get past the getting device security info in mi account setup. Besides, dialogues for lots "app stopped working" keeps coming. and also there are frequent reboots
addymishra said:
In order to use mi flash correctly kindly place the fastboot rom in C: drive root directory then try flashing, it will work. Its a bug of mi flash
Click to expand...
Click to collapse
Hi,
II managed to flash successfully with MIflash tool, but after switching it on
do I have permanent boot loop with MI logo? Andere Fastboot ROM`s will MIflash nicht machen. Please look my Screenshot.
Greating
biits1993 said:
Hi, Thank you very much, I managed to boot the ROM using QFil , however in setup wizard I can't get past the getting device security info in mi account setup. Besides, dialogues for lots "app stopped working" keeps coming. and also there are frequent reboots
Click to expand...
Click to collapse
Strange :/ you can try miflash tool for that case. Download the lastest mi flash tool, enter into EDL mode using "fastboot oem edl" command then in mi flash drop down menu in left corner select "flash_factory.bat" and click flash. It will take around 400 seconds. Make sure you are in edl mode with red blinking light otherwise it will wipe your IMEI. Hope it works!
sieg01 said:
Hi,
II managed to flash successfully with MIflash tool, but after switching it on
do I have permanent boot loop with MI logo? Andere Fastboot ROM`s will MIflash nicht machen. Please look my Screenshot.
Greating
Click to expand...
Click to collapse
Are you able to enter into setup wizard? If not then try the procedure I posted above using factory flash. After flashing with mi flash once again try flashing with QFIL. It's sometimes hit or miss :/
addymishra said:
Are you able to enter into setup wizard? If not then try the procedure I posted above using factory flash. After flashing with mi flash once again try flashing with QFIL. It's sometimes hit or miss :/
Click to expand...
Click to collapse
Hi,
I don`t able to enter into setup wizard, because boot-loop, so I done following:
1. mi flash factory flash-successfully
2. mi flash flash once again-successfully
3. flashing with QFIL- successfully
After switch-on again boot loop every 22 seconds with mi-logo
Do you have any more tips for me?
Greating
sieg
sieg01 said:
Hi,
I don`t able to enter into setup wizard, because boot-loop, so I done following:
1. mi flash factory flash-successfully
2. mi flash flash once again-successfully
3. flashing with QFIL- successfully
After switch-on again boot loop every 22 seconds with mi-logo
Do you have any more tips for me?
Greating
sieg
Click to expand...
Click to collapse
Man, I think its some sort of hardware issue then. Or maybe your messed up your blobs or your partitions real bad and corrupted them. QFIL helped in my case. Got no more tips, maybe its time to visit service center brother One last shot you can give is to try flashing with QFIL first then with Mi Flash. That's last hope! All the best!
flash failed in QFIL please help
sohanaw said:
flash failed in QFIL please help
Click to expand...
Click to collapse
Which version of QFIL and which ROM are you flashing with? I managed to flash the said version in OP through QFIL without any error. However, other official versions like 9.xx fail to be flashed by QFIL
A solution that worked after all these troubles
Hi everyone,
This post is for those who are still struggling with 'cool' bootloop in Redmi note 4x irrespective of stock, custom ROMS, you are flashing.
Before all these steps I flashed "mido_global_images_V8.1.10.0.MCFMIDI_20161228.0000.00_6.0_global_7557bfe334.tgz" using QFIL first, then miFlash tool. I was greeted by "can't decrypt phone".
Refer to the OP
Then I flashed lazy_flasher and managed to boot into the stock ROM but couldn't get past the Mi account setup. Even my Keyboard app keeps stopping, so annoying.
The the below Steps I followed redeemed me of this agony powered by xiaomi:
1. Downloaded this firmware==>"global-mido-firmware-7.12.14.zip"
Mokee ROM==>"MK71.2-mido-201803080920-NIGHTLY"
open gapps arm-64, 7.1, pico
open gapps arm-64, 7.1, nano [BOTH] from gapps
2. flashed TWRP=3.1.1-0[official version] from the xda
Code:
fastboot flash recovery [name_of_recovery_image_of_twrp]
3. Entered into Recovery==>WIPE=>Advanced WIPE=> select all partitions==>WIPE[can leave Internal storage unchecked]
4. Then Format Data==>yes
5. Copied firmware, Mokee ROM, pico and nano gapps [4 items] to internal storage
6. Flashed downloaded firmware, then MOKEE ROM, then gapps-nano
7. Reboot to recovery
8. After entering Recovery, Reboot to system
Hopefully we will see mi logo, then Mokee robot animating soon enough. It will take you to setup wizard within 5-10 minutes, If you see any Google apps [Gboard in my case] stopping,
it may mean that google Play services were not installed properly[Don't know why]. In my case I couldn't set up Google account/framework first time. If it happens, go to settings,
enable developer options tapping BUILD version==>then enable USB debugging.
Then reboot to Recovery
Flash gapps-pico.
Do factory reset from Recovery, simple wipe.
Then reboot to System.[DON'T install TWRP as system app etc]
For me, this time I was able to setup google account from the setup wizard. Google service framework has been working without any issues. [ Again Don't know why]
This time I have been able to install my desired apps from playstore
Few more words:
Firstly, I tried flashing only pico, but I couldn't set up the google account, no matter how many times I reboot to recovery, wipe Dalvik-cache etc, then flash pico.
I described exactly what I did that worked out for me. There could be many possible orders, combinations, but I don't have time for that.
I tried to flash Alexy's "RR-N-v5.8.5-20180121mido_alexy.zip" ROM in combination with this firmware but it just will hang TWRP while flashing. only this MOKEE ROM worked with this firmware for me.
I wasted full 3 days for fixing this device. And no intention to tinker with it anymore, my communication has been in a mess!.
While in stock MIUI 'google *apps keeps stopping" just annoyed me as hell, so decided to switch, and after 3 days of disgusting 'Waiting period for bootloader UNLOCK' I couldn't even install a working stock
MIUI ROM now, maybe cheap hardware issue offered by Xiaomi. They have just made everything complex. This is my first and last device from them. My previous Moto G3 was amazing and would be with me had it not been stolen
Will be happy to help regarding this issue, and thank you the OP of this thread, who helped me realize that this device is still able to boot.
Wishing everyone in this note 4x trouble good luck!!
biits1993 said:
Hi everyone,
This post is for those who are still struggling with 'cool' bootloop in Redmi note 4x irrespective of stock, custom ROMS, you are flashing.
Before all these steps I flashed "mido_global_images_V8.1.10.0.MCFMIDI_20161228.0000.00_6.0_global_7557bfe334.tgz" using QFIL first, then miFlash tool. I was greeted by "can't decrypt phone".
Refer to the OP
Then I flashed lazy_flasher and managed to boot into the stock ROM but couldn't get past the Mi account setup. Even my Keyboard app keeps stopping, so annoying.
The the below Steps I followed redeemed me of this agony powered by xiaomi:
1. Downloaded this firmware==>"global-mido-firmware-7.12.14.zip"
Mokee ROM==>"MK71.2-mido-201803080920-NIGHTLY"
open gapps arm-64, 7.1, pico
open gapps arm-64, 7.1, nano [BOTH] from gapps
2. flashed TWRP=3.1.1-0[official version] from the xda
Code:
fastboot flash recovery [name_of_recovery_image_of_twrp]
3. Entered into Recovery==>WIPE=>Advanced WIPE=> select all partitions==>WIPE[can leave Internal storage unchecked]
4. Then Format Data==>yes
5. Copied firmware, Mokee ROM, pico and nano gapps [4 items] to internal storage
6. Flashed downloaded firmware, then MOKEE ROM, then gapps-nano
7. Reboot to recovery
8. After entering Recovery, Reboot to system
Hopefully we will see mi logo, then Mokee robot animating soon enough. It will take you to setup wizard within 5-10 minutes, If you see any Google apps [Gboard in my case] stopping,
it may mean that google Play services were not installed properly[Don't know why]. In my case I couldn't set up Google account/framework first time. If it happens, go to settings,
enable developer options tapping BUILD version==>then enable USB debugging.
Then reboot to Recovery
Flash gapps-pico.
Do factory reset from Recovery, simple wipe.
Then reboot to System.[DON'T install TWRP as system app etc]
For me, this time I was able to setup google account from the setup wizard. Google service framework has been working without any issues. [ Again Don't know why]
This time I have been able to install my desired apps from playstore
Few more words:
Firstly, I tried flashing only pico, but I couldn't set up the google account, no matter how many times I reboot to recovery, wipe Dalvik-cache etc, then flash pico.
I described exactly what I did that worked out for me. There could be many possible orders, combinations, but I don't have time for that.
I tried to flash Alexy's "RR-N-v5.8.5-20180121mido_alexy.zip" ROM in combination with this firmware but it just will hang TWRP while flashing. only this MOKEE ROM worked with this firmware for me.
I wasted full 3 days for fixing this device. And no intention to tinker with it anymore, my communication has been in a mess!.
While in stock MIUI 'google *apps keeps stopping" just annoyed me as hell, so decided to switch, and after 3 days of disgusting 'Waiting period for bootloader UNLOCK' I couldn't even install a working stock
MIUI ROM now, maybe cheap hardware issue offered by Xiaomi. They have just made everything complex. This is my first and last device from them. My previous Moto G3 was amazing and would be with me had it not been stolen
Will be happy to help regarding this issue, and thank you the OP of this thread, who helped me realize that this device is still able to boot.
Wishing everyone in this note 4x trouble good luck!!
Click to expand...
Click to collapse
will try this tonight, thanks bhai
sohanaw said:
will try this tonight, thanks bhai
Click to expand...
Click to collapse
Let me know bro what happens, hope it works for you
I wanted to use RR rom though, but in the end no ROM worked for me except this one. So I'm just happy with it.

NEW!! [ROM-KERNEL-MODS] Last official 9.6.1.0 global stable - antutu 101000

(last update post and files 10-07-2018)
I AM NOT RESPONSIBLE FOR NOTHING
download all requerted files ( without rom and MiFlash_unlocker.exe )
https://drive.google.com/file/d/1Hy6p_6wgEJqQyMlXPFUMcZ63zcBz8ifm/view google drive
hi,
STEP 1
first of all unlock your phone :laugh:
Code:
go options -> about phone -> click 7 times MIUI version and enable developer option
after that join developer option (optons->extra options->developer options)
and enable unlock device Xiaomi
and also usb debugging
********************************************************
HOW TO UNLOCK XIAOMI DEVICE
download Xiaomi unlocker from [COLOR="red"]here[/COLOR]
[url]https://en.miui.com/unlock/[/url]
[url]https://drive.google.com/open?id=1EwjgSU0KVqNjWalRTxyXf-zxmJWwT2G6[/url]
reboot your phone to download mode(push volume down+power button)
unzip download file
and run unlocker.exe
log in with your xiaomi account
connect your phone
request unlock your phone from Xiaomi server
wait 3-5 work days (show you,how hours need to wait)
and run unlocker again
in download mode(push volume down+power button) and unlock your device
**************************************************************************
after all that
STEP 2
install recovery TWRP
Code:
install ADB drivers,download [COLOR="red"]here[/COLOR]
[url]https://drive.google.com/open?id=1yeCfi-VHRj17hUJziWSO-77ssgW8y87m[/url]
(use ONLY win 7 or XP - dont use win 10,8,8.1)
connect your phone with pc and reboot phone to download mode(push volume down+power button)
and run "flash_TWRP.bat" file.download [COLOR="red"]here[/COLOR]
[url]https://drive.google.com/open?id=1rlV_yz0xqb_YgbtJSEhD39ajJFnmZ8w8[/url]
download all files and run flash_TWRP.bat
STEP 3
download rom
Code:
download any last official rom from [COLOR="red"]here[/COLOR] :
[url]https://xiaomifirmware.com/downloads/download-latest-miui-roms-redmi-note-4-mtk//[/url]
"Recovery ROM" ONLY********* NOT "for SP Flash Tool / MiFlash installation"
i use this rom
xiaomi.eu_multi_HMNote4_V9.5.3.0.MBFCNFA_v9-6.0.zip
[url]https://drive.google.com/open?id=1U2bjdh8yfzoH5Fag-zCDbtzMEgg2Cx3J[/url]
new version rom has been released :)
[COLOR="Red"](kernel dont work in 9.6.1.0)[/COLOR]
9.6.1.0 Global Stable Recovery ROM | V9.6.1.0.MBFMIFD [URL="https://xiaomifirmware.com/download/9322/"]download here[/URL]
STEP 4
after download
boot to recoveryTWRP(push volume up+power button)
and install rom
Code:
after install rom
install fix_boot with
FIX_FIRST_BOOT.img download from [COLOR="red"]here[/COLOR]:
[url]https://drive.google.com/file/d/1SGyf3CYJewj0ew7hkexBX2XlDrei1sZi/view?usp=sharing[/url]
first boot need half hour and more
after 40 minutes booting...
give you bootloop..
reboot to recovery (push volume up+power button)
and fix again boot with FIX_FIRST_BOOT.img
join :)
**********************************************************
OK now you have official rom.
*********************************************************
STEP 5
if you like install tools
install tools from recoveryTWRP (push volume up+power button):
root.zip https://drive.google.com/open?id=1zvJMMXAGVUSGs0OBEBojdelZjFIL53Lw only install from TWRP
dolbyatmos.zip https://drive.google.com/open?id=1SSpoH3JDniWb2T9oUesT7aiPwDupg1k3 only install from TWRP
disable boot animation https://drive.google.com/open?id=15QWPNSslmjXsVDxyb3McOMMT9nI7oyWE read .txt file
install tools from XDA Forum - read first original post
GPUmod https://drive.google.com/open?id=1FSlYnURWT1ZJ9SjhkQ4Nxv6NdMAmJ9t0 read original post here
CPUmod https://drive.google.com/open?id=1cv6Z4MMFiRMBGpiafB5CK_LWLhA-HSz9 read original post here
CosmicTweack https://drive.google.com/open?id=1U1iD9YDpl7HhJKZjQJQOY80AGmLBO0vC read original post here
Dualboot https://drive.google.com/open?id=1yQ6b7J6Xc6hpnZHcM1rlW685uPWV1TkB read original post here
Kernel Xtreme97 V2.0 read original post here
install kernel...(dont work in 9.6.10)
Code:
go to developer options and enable USB Debugging and connect your phone with pc
accept to your phone usb debugging request
download the "find device remover" [COLOR="red"]here[/COLOR]
[url]https://drive.google.com/open?id=1gIekgMhjRWPZlX_YYrNBZVrEtzQ7ymdY[/url]
download all files and run remove_mi_find_device_ONLY.bat
[COLOR="Red"]-> AFTER THAT YOU CANT USE FIND DEVICE SERVICE <-[/COLOR]
must delete find_device application (1 app-mi service)
********************************************************
if you dont delete this app
before install kernel,ok but..
give you error after boot
all time-again and again
you cant use the phone
**********************************************************
my opinion-remove all xiaomi apps-run 4 bat files-clean mobile
**********************************************************
reboot to recovery TWRP(push volume up+power button)
and install kernel
download kernel from [COLOR="red"]here[/COLOR]:
[url]https://forum.xda-developers.com/red...ernel-t3625082[/url]
[url]https://drive.google.com/open?id=1MmFKzsIQEWOBnVrtNMxNc2jSrT-vmhHB[/url]
wipe-clear dalvin + cache
reboot to system
SPECTRUM APK FILE [COLOR="Red"]here[/COLOR]
[url]https://drive.google.com/open?id=12RG90ynEsi83jo2HTERYvCvIwDucuft4[/url]
THIS IS IT :good::good:
NOW YOU HAVE EXCELLECT HARDWARE AND SOFTWARE
CREDITS:
ALL TOOLS AND MODS INCLUDED IN XDA FORUM - also thanks Xiaomi
thanks all developers
kisses from Greece
have fun :laugh::laugh:
Redmi Note 4 MTK Nikel-ROM-KERNEL SPECTRUM-TWRP-ROOT SU-ANTUTU 101000-DOLBY ATMOS
(moderetor delete me)
Would it work on a MiuiPro rom? Does it needs a clean installation?
SalPhobos said:
Would it work on a MiuiPro rom? Does it needs a clean installation?
Click to expand...
Click to collapse
to install kernel
dont need clean install
but before install kernel need delete all xiaomi service
all this work 100% with all official roms https://xiaomifirmware.com/downloads/download-latest-miui-roms-redmi-note-4-mtk//
in MiuiPro?i dont know.i havent rom.make backup from twrp and try it. :silly:
https://miuipro.by/
if you like to install kernel...
join options and enable USB Debugging and connect your phone with pc
accept to your phone usb debugging request and after that run "remove_mi_find_device.bat" files (2 files).download here
https://drive.google.com/open?id=1gIekgMhjRWPZlX_YYrNBZVrEtzQ7ymdY
download all files and run .bat (2 files)
-> AFTER THAT YOU CANT USE ANY XIAOMI SERVICE <-
Just one more question, if I run te bat files you provide I eliminate xiaomi services, then I install the kernel and then, should I have to install, again, xiaomi services? If so, where can I find them?
Every time I change my rom, this kernel has to be installed again?
Thanks in advance.
SalPhobos said:
if you like to install kernel...
join options and enable USB Debugging and connect your phone with pc
accept to your phone usb debugging request and after that run "remove_mi_find_device.bat" files (2 files).download here
https://drive.google.com/open?id=1gIekgMhjRWPZlX_YYrNBZVrEtzQ7ymdY
download all files and run .bat (2 files)
-> AFTER THAT YOU CANT USE ANY XIAOMI SERVICE <-
Just one more question, if I run te bat files you provide I eliminate xiaomi services, then I install the kernel and then, should I have to install, again, xiaomi services? If so, where can I find them?
Every time I change my rom, this kernel has to be installed again?
Thanks in advance.
Click to expand...
Click to collapse
if you install rom and kernel
phone give you error.
need delete find_divice application
**************************************
if you like to delete all bloatware run all .bat (3files)
(now have 3 bat files)
if you delete all bloatware you cant install it again.(use play store to download again-maybe)
kernel installed one time.if you change rom need install kernel again
akaluptos21 said:
hi,
first of all unlock your phone :laugh:
join options -> about phone -> click 7 times MIUI version and enable developer option
after that join developer option (optons->extra oprions->developer options)
and enable unlock device Xiaomi
and also usb debugging
********************************************************
HOW TO UNLOCK XIAOMI DEVICE
download Xiaomi unlocker from here
https://en.miui.com/unlock/
https://drive.google.com/open?id=1EwjgSU0KVqNjWalRTxyXf-zxmJWwT2G6
reboot your phone to download mode(push volume down+power button)
unzip download file
and run unlocker.exe
log in with your xiaomi account
connect your phone
request unlock your phone from Xiaomi server
wait 3-5 work days and run unlocker again
in download mode(push volume down+power button) and unlock your device
**************************************************************************
after all that
connect your phone with pc and reboot phone to download mode(push volume down+power button)
and run "flash_TWRP.bat" file.download here
https://drive.google.com/open?id=1rlV_yz0xqb_YgbtJSEhD39ajJFnmZ8w8
download all files and run .bat
download any last official rom from here "Recovery ROM only" not "for SP Flash Tool / MiFlash installation":
https://xiaomifirmware.com/downloads/download-latest-miui-roms-redmi-note-4-mtk//
after download
boot to recovery(push volume up+power button)
and install rom
after install rom
install
FIX_FIRST_BOOT_boot.img download from here:
https://drive.google.com/file/d/1SGyf3CYJewj0ew7hkexBX2XlDrei1sZi/view?usp=sharing
first boot need half hour and more
if give you bootloop reboot to recovery and fix boot.img again.
**********************************************************
OK now you have official rom.
*********************************************************
also install from recovery(push volume up+power button):
root.zip https://drive.google.com/open?id=1zvJMMXAGVUSGs0OBEBojdelZjFIL53Lw
dolbyatmos.zip https://drive.google.com/open?id=1SSpoH3JDniWb2T9oUesT7aiPwDupg1k3
GPUmod https://drive.google.com/open?id=1FSlYnURWT1ZJ9SjhkQ4Nxv6NdMAmJ9t0
CPUmod https://drive.google.com/open?id=1cv6Z4MMFiRMBGpiafB5CK_LWLhA-HSz9
CosmicTweack https://drive.google.com/open?id=1U1iD9YDpl7HhJKZjQJQOY80AGmLBO0vC
Dualboot https://drive.google.com/open?id=1yQ6b7J6Xc6hpnZHcM1rlW685uPWV1TkB
disable boot animation https://drive.google.com/open?id=15QWPNSslmjXsVDxyb3McOMMT9nI7oyWE
*******************************************************
if you like to install kernel...
join developer options and enable USB Debugging and connect your phone with pc
accept to your phone usb debugging request and after that run "remove_mi_find_device_ONLY.bat" files .download here
https://drive.google.com/open?id=1gIekgMhjRWPZlX_YYrNBZVrEtzQ7ymdY
download all files and run .bat
need delete find_divice application (1file)
**************************************
if you like to delete all bloatware run all .bat (3files)
-> AFTER THAT YOU CANT USE FIND DEVICE SERVICE <-
reboot to recovery menu(push volume up+power button) and install kernel
download kernel from here:
https://forum.xda-developers.com/red...ernel-t3625082
https://drive.google.com/open?id=1MmFKzsIQEWOBnVrtNMxNc2jSrT-vmhHB
SPECTRUM APK
https://drive.google.com/open?id=12RG90ynEsi83jo2HTERYvCvIwDucuft4
THIS IS IT :good::good:
CREDITS:
ALL TOOLS AND MODS INCLUDED IN XDA FORUM
thanks all developers
Kisses from Greece
have fun :laugh::laugh:
Click to expand...
Click to collapse
Make a video with tutorial and post the link please!
this kernel can use for miui 9 MM?
Alvian_P said:
this kernel can use for miui 9 MM?
Click to expand...
Click to collapse
i use it in 9.5.3.work fine
https://forum.xda-developers.com/redmi-note-4/development/spectrum-support-xtreme97-kernel-t3625082
--------------------------------------------------------------------------------------------
magnodjs said:
Make a video with tutorial and post the link please!
Click to expand...
Click to collapse
defecult man but i try it
akaluptos21 said:
if you install rom and kernel
phone give you error.
need delete find_divice application
**************************************
if you like to delete all bloatware run all .bat (3files)
(now have 3 bat files)
if you delete all bloatware you cant install it again.(use play store to download again-maybe)
kernel installed one time.if you change rom need install kernel again
Click to expand...
Click to collapse
Well. I tried to install the kernell but the drive folder isn't downloading everything 'cause google detects adb.exe and some other files as a virus, even thoug I replaced that file, I tried to run the .bat files, i just got a cmd32 window with "Enter adb.exe folder path:" so, maybe i'm lost. Should I have to enter my device in fastboot mode? can you give more details to install the kernell? i was able to do the mods but I think this is as important as that...
akaluptos21 said:
i use it in 9.5.3.work fine
https://forum.xda-developers.com/redmi-note-4/development/spectrum-support-xtreme97-kernel-t3625082
--------------------------------------------------------------------------------------------
Click to expand...
Click to collapse
Thx, i'll try on MTk rn4
SalPhobos said:
Well. I tried to install the kernell but the drive folder isn't downloading everything 'cause google detects adb.exe and some other files as a virus, even thoug I replaced that file, I tried to run the .bat files, i just got a cmd32 window with "Enter adb.exe folder path:" so, maybe i'm lost. Should I have to enter my device in fastboot mode? can you give more details to install the kernell? i was able to do the mods but I think this is as important as that...
Click to expand...
Click to collapse
Code:
[COLOR="Red"]DONT INSCUTED VIRUSES. BAT FILES ALERTED
i re-upload files in third-party page[/COLOR]
man if you like install kernel.
read how to install kernel from original post
kernel (bootv2.img) installed from recovery twrp.
not from pc with ADB :good:
Code:
https://forum.xda-developers.com/redmi-note-4/development/spectrum-support-xtreme97-kernel-t3625082
"WE AREN'T RESPONSIBLE FOR NOTHING
INSTALLATION:
-We reboot in the TWRP, press install, install image and select the bootv2.img that we downloaded from the post, select flash in the "boot" partition and install it
-Flash Supersu
-Restart
- Go to the Play Store and look for the Spectrum app (Go to the Screenshot tab and the icon app for zero confussions) and download it
-We open it, grant root access and select the behavior we want"
have installed kernel. remove find device. but my phone bootloop, white loading bar under Mi logo continuesly
Alvian_P said:
have installed kernel. remove find device. but my phone bootloop, white loading bar under Mi logo continuesly
Click to expand...
Click to collapse
so was i, i really confused with the step.
where can i find the batch for remove find device? or is it have to do manually?
i do manually remove find device app using adb shell, but after all that still getting stuck at bootloop and loading bar again and again, i tried almost 10 times and still cannot through that.
when i try to remove all bloatware, batch file saying " failure - internal device error or not installed for 0 "
but some app success to remove..
what do i missed?
feelsgood said:
so was i, i really confused with the step.
where can i find the batch for remove find device? or is it have to do manually?
i do manually remove find device app using adb shell, but after all that still getting stuck at bootloop and loading bar again and again, i tried almost 10 times and still cannot through that.
when i try to remove all bloatware, batch file saying " failure - internal device error or not installed for 0 "
but some app success to remove..
what do i missed?
Click to expand...
Click to collapse
bat files is here
https://drive.google.com/drive/folders/1gIekgMhjRWPZlX_YYrNBZVrEtzQ7ymdY
also need to work and win32 files.incluted.
wait for re-upload files in third-party page incluted zip
wipe-clean dalvin + cache from recovery TWRP
boot for 10 minutes...with MIUI bar
akaluptos21 said:
Code:
[COLOR="Red"]DONT INSCUTED VIRUSES. BAT FILES ALERTED
i re-upload files in third-party page[/COLOR]
man if you like install kernel.
read how to install kernelfrom original post
kernel (bootv2.img) installed from recovery twrp.
not from pc with ADB :good:
Code:
https://forum.xda-developers.com/redmi-note-4/development/spectrum-support-xtreme97-kernel-t3625082
"WE AREN'T RESPONSIBLE FOR NOTHING
INSTALLATION:
-We reboot in the TWRP, press install, install image and select the bootv2.img that we downloaded from the post, select flash in the "boot" partition and install it
-Flash Supersu
-Restart
- Go to the Play Store and look for the Spectrum app (Go to the Screenshot tab and the icon app for zero confussions) and download it
-We open it, grant root access and select the behavior we want"
Click to expand...
Click to collapse
yeah, I didn't ask correctly, the problem I'm having is uninstalling xiaomi services. I'll try again. Thank you!
SalPhobos said:
yeah, I didn't ask correctly, the problem I'm having is uninstalling xiaomi services. I'll try again. Thank you!
Click to expand...
Click to collapse
download all requerted files in one zip file ( without rom and MiFlash_unlocker )
https://drive.google.com/open?id=1Hy6p_6wgEJqQyMlXPFUMcZ63zcBz8ifm
new version rom has been released
9.6.1.0 Global Stable Recovery ROM | V9.6.1.0.MBFMIFD download here
(kernel dont work in 9.6.10)
ask question
sir why my handhpone cant go to recovery, i lost my twrp and i cant connect to my pc. please give a solution sir thanks :good:
anantaeka96 said:
sir why my handhpone cant go to recovery, i lost my twrp and i cant connect to my pc. please give a solution sir thanks :good:
Click to expand...
Click to collapse
volume down+power button
connect with usb
run "fastboot boot recovery"
give more details

[GUIDE/TUTORIAL/HOWTO] Xiaomi Redmi Note 4 Snapdragon stock to Android 12.1 / LineageOS 19.1

[GUIDE/TUTORIAL/HOWTO] Xiaomi Redmi Note 4 Snapdragon stock to Android 12.1
[GUIDE/TUTORIAL/HOWTO] Xiaomi Redmi Note 4/4X Snapdragon SOC (codename mido) stock to Android 12 / LineageOS 19.1
Complete guide to install Android 12 on your Xiaomi Redmi Note 4 (Snapdragon or 4X).
This tutorial only applies to this model, to check the correct version:
in Android, go to Settings > About phone, make sure Device model is Redmi Note 4.
It must be Snapdragon: below Device model, CPU must be Octa-core Max 2.0Ghz
### If CPU is not Octa-core Max 2.0Ghz, you have the Mediatek version (codename Nikel), see here:
https://forum.xda-developers.com/f/xiaomi-redmi-note-4-mediatek-roms-kernels-reco.5784/
### If phone is not Redmi Note 4, quit this tutorial
CHANGELOG
v4. Minor improvements, Android 13 incoming (+ Google Camera) !
v3. Android 12.1 thanks to awesome Zeelog (and @anandsvm), migrate to MindTheGApps, upgrade TWRP
v2. BitGApps, updated TWRP + Magisk
v1. Initial release
1) WHAT YOU NEED
- djibe Redmi Note 4 pack: https://bit.ly/djibe-redminote4-pack
(contains all you need: USB drivers + Mi Unlock tool + fastboot & adb + TWRP Recovery 3.6.2_9-0 + Magisk root v23)
+ ROM LineageOS Unofficial 19.1: https://forum.xda-developers.com/t/...ineageos-18-1-mido-vanilla-by-zeelog.4186179/
Download latest build: https://github.com/zeelog/OTA/releases
+ MindTheGApps 12.1 ARM64: http://downloads.codefi.re/jdcteam/javelinanddart/gapps
or BitGApps ARM61 12.1 v1.4+: https://github.com/BiTGApps/BiTGApps-Release/releases
2) INSTALL DRIVERS
First uninstall all Oneplus, Oculus ... Android drivers.
Go to the folder you unzipped earlier.
navigate to usb_driver_r13-windows > usb_driver.
Right click on android_winusb.inf and select Install. Confirm with OK.
Restart Windows.
### If you experience problems with phone connection later, use https://github.com/lostindark/DriverStoreExplorer (thanks @Lysolus for sharing)
3) BACKUP YOUR DATA
Make sure Google/provider account is synchronized.
Backup photos, documents, contacts before going any further (ex: use the backupyourmobile app).
Connect phone to PC, search for all .jpg, .mp3, .mp4 files on your phone and retrieve data.
4) UNLOCK BOOTLOADER
### Before going further, you need the latest official firmware.
Go to Settings > About phone.
MIUI version must be 11.0.2.0 (NCFMIXM).
Unlock Developer settings:
Tap 7 times on MIUI version item.
If not: connect to Wifi, tap on System update > Check for updates.
### System won't update ? Download latest firmware from here: https://xiaomifirmwareupdater.com/firmware/mido/
MIUI Account
Insert your SIM card.
Enter Sim PIN and turn off wifi, turn on mobile data and sync.
Go to Settings > Mi Account
Enter your phone number adapted to prefix and create an account (if not yet done).
Make sure phone Mi Account is active, in Settings, besides Mi account is written an identifier.
Go to Settings > Additional settings > Developer options and scroll to Mi Unlock Status item.
Permission required, Agree
### Make sure Wifi is off and mobile data on, then tap on Add account and device, then Got it.
### As written, don't sign out of Mi account, perform factory reset or erase system data for now.
### Keep calm and carry on.
Now open the \Mi Unlock subfolder from my pack.
Launch miflash_unlock.exe ad administrator: right click on .exe > Run as administrator
Agree to terms.
Login to your Mi account (with phone number prefixed or email)
Confirm login with SMS verification.
### Alternative: Open this webpage from your PC: https://en.miui.com/unlock/
### Click on Unlock now, then Download Mi Unlock archive. Unzip and refer to previous steps.
Back to phone, turn it off.
Then hold Volume down + Power buttons until phone vibrates and displays Fastboot screen.
Connect phone to USB.
Back to PC, Mi Unlock now says "Phone connected".
Unlock button is available, click on it and confirm with Unlock anyway.
Wait until Unlocked successfully is displayed.
Click on Reboot phone.
Unlocked is written at the bottom of screen during boot.
### Need to quit Fastboot mode ? Hold Power until phone vibrates and restarts.
5) FLASH TWRP RECOVERY
Back to Android, go to Settings > Additional settings > Developer options,
switch OEM unlocking ON and USB debugging ON.
Connect phone to PC.
Open a Windows command prompt on the /flash subfolder folder you unziped earlier:
select folder with left click, right click while holding SHIFT on keyboard > Open command windows here
In command, enter
Code:
adb devices
Commands starts adb and returns: bfacf0c80104 unauthorized
On the phone, Allow USB debugging and send command again.
Command now returns: bfacf0c80104 device
Now enter
Code:
adb reboot bootloader
Phone restarts in bootloader/fastboot mode.
Enter
Code:
fastboot devices
Command returns: bfacf0c80104 fastboot
### If not, you may try to reinstall USB drivers or try another PC.
Now enter
Code:
fastboot flash recovery twrp-3.6.2_9-0-mido.img
Command returns: Finished. Total time: 1.540s
Now enter
Code:
fastboot boot twrp-3.6.2_9-0-mido.img
and wait while TWRP recovery boots.
TWRP asks: Decrypt data, tap on Cancel.
then Swipe to Allow Modifications.
Leave phone connected to PC.
We must remove encryption to access partitions.
From TWRP Home screen, go to Wipe > Format Data. This will remove all data on phone.
Type yes and confirm with bottom right icon.
6) BACKUP SYSTEM
Now go to Home screen > Backup.
Select System, Vendor, Boot, Bootloader, Firmware and EFS partitions.
Swipe to Backup and wait during Backup.
Back to Home > Mount.
Using Windows Explorer, access Redmi Note 4 and copy the TWRP folder from Internal Storage folder to somewhere safe.
Then copy LineageOS 19.1 and gapps.zip (+ magisk if you want root) to the same phone's Internal Storage folder.
### Copy both zip files straightforward. Don't unzip archives.
7) FLASH ANDROID 12.1
Once again Swipe to Allow Modifications.
Go to Install > lineage*.zip,
then Add more zips: mind*.zip.
### Optional: to flash Magisk root, go to Reboot > Recovery. Then Install > Magisk*.zip
Go to Reboot > System
8) ROOT ACCESS AND DEVELOPER MENU (OPTIONAL)
With Magisk, you are root once phone is started. No extra manipulation needed.
Superuser permissions can be managed from Magisk Manager app (it was flashed during Magisk flash. Or get it https://github.com/topjohnwu/Magisk/releases).
You can now remove install files from Internal storage.
For developer menu:
open the Settings menu, select "About Phone".
Tap on the "Build number" entry seven times. You should be notified, that the developer settings are now active.
Now go to Settings menu > System > Developer settings.
That's it.
Enjoy,
djibe
Thanks: Zeelog, @anandsvm, Aryan Kedare, @xtrymind @flex1911, LineageOS team, TWRP team, MindTheGApps team
Thanks for this... Will try it in 2-3 days
[email protected] said:
Thanks for this... Will try it in 2-3 days
Click to expand...
Click to collapse
Hi,
Any feedback is very welcome.
Normally you have all you need to hack it.
Enjoy
Will payment apps work after installing magisk? like Gpay, PhonePe
Also will it take 7 days to unlock bootloader?
[email protected] said:
Will payment apps work after installing magisk? like Gpay, PhonePe
Also will it take 7 days to unlock bootloader?
Click to expand...
Click to collapse
Hi, no idead for payment.
But MagiskHide normally does the trick.
Unlock bootloader is fast with all the tools in my pack.
[email protected] said:
Will payment apps work after installing magisk? like Gpay, PhonePe
Also will it take 7 days to unlock bootloader?
Click to expand...
Click to collapse
Root is optional.
Can't get majisk install after several times can't install it tried for super su but that too not installing in los 18.1
Jn1441 said:
Can't get majisk install after several times can't install it tried for super su but that too not installing in los 18.1
Click to expand...
Click to collapse
Hi, what is the error during flash in TWRP ?
Error1 displayed but after reflashing with mindgapps majisk is working now
Jn1441 said:
Error1 displayed but after reflashing with mindgapps majisk is working now
Click to expand...
Click to collapse
Cool, enjoy. The phone is still good
A very nice and clean tutorial, thanks for that!
I already unlocked bootloader with another tutorial and for now I will leave the device on the last stock firmware. But I already tested magisk. It's very new to me. The last phone I flashed is some years ago and I only knew SuperSU.
The Note 4 is only a "second device" and I won't use it as a daily driver. But it's fun to play around with it and test some things.
@djibe89 Good hint, that I have to use an older rom as an intermediate step to avoid problem, this is new to me.
Also I wondered when I looked up the partitions to backup. There are 15 (!?) partitions (Pics attached). You are writing, that following partitions have to be backed up: System, Vendor, Boot, Bootloader, Firmware and EFS partitions.
When I flash lineage and then want to go back, can I just restore the partitions? What happens to the other partitions when I flash a rom? Will they be deleted? Some years ago a phone just had 4 or 5 partitions...
Hi @tito_puente, you can start from step 7 to enjoy a clean Note 4.
Many thanks for the guide. Worked well. Can I remove Magisk to unroot or would I need to start Over?
the_real_grumpazoid said:
Many thanks for the guide. Worked well. Can I remove Magisk to unroot or would I need to start Over?
Click to expand...
Click to collapse
Hi, you can uninstall from the Magisk app
Installation
The Magic Mask for Android
topjohnwu.github.io
Great guide, Im new to flashing roms and this seems understandable. Is this usable for Xiaomi Redmi Note 4x (snapdragon)?
nysrin said:
Great guide, Im new to flashing roms and this seems understandable. Is this usable for Xiaomi Redmi Note 4x (snapdragon)?
Click to expand...
Click to collapse
Hi,
Yes.
Like written in the Title, it is for the snapdragon version, Aka 4X
Ooh i did not know the only difference between the note 4 and note 4x is that the 4x uses snapdragon.
The reason I was doubting is that I got a different device ID so I thought i my phone is a different model
List of devices attached
e640de900903 device
Click to expand...
Click to collapse
I will proceed later tonight, thank you for your quick response.
djibe89 said:
[GUIDE/TUTORIAL/HOWTO] Xiaomi Redmi Note 4 Snapdragon SOC (codename mido) stock to Android 11 R / LineageOS 18.1
Complete guide to install Android 11 on your Xiaomi Redmi Note 4 (Snapdragon).
This tutorial only applies to this model, to check the correct version:
in Android, go to Settings > About phone, make sure Device model is Redmi Note 4.
It must be Snapdragon: below Device model, CPU must be Octa-core Max 2.0Ghz
### If CPU is not Octa-core Max 2.0Ghz, you have the Mediatek version (codename Nikel), see here:
https://forum.xda-developers.com/f/xiaomi-redmi-note-4-mediatek-roms-kernels-reco.5784/
### If phone is not Redmi Note 4, quit this tutorial
CHANGELOG ----------------------------------------
v1. Initial release
1 ) WHAT YOU NEED
- djibe Redmi Note 4 pack: https://bit.ly/djibe-redminote4-pack
(contains all you need: USB drivers + Mi Unlock tool + fastboot & adb + TWRP Recovery 3.5.0_9-0 + OrangeFox recovery + Magisk root)
+ ROM LineageOS Unofficial 17.1: https://forum.xda-developers.com/t/ota-3-18-4-9-unofficial-lineageos-17-1-mido.4039907/
Download latest build: https://androidfilehost.com/?w=files&flid=309016&sort_by=date&sort_dir=DESC
Yes we need both LineageOS (LOS) ROMS !
+ ROM LineageOS Unofficial 18.1: https://forum.xda-developers.com/t/...ineageos-18-1-mido-vanilla-by-zeelog.4186179/
Download latest build: https://github.com/zeelog/OTA/releases
+ FlameGApps Basic: https://sourceforge.net/projects/flamegapps/files/arm64/android-11/BETA/
2 ) INSTALL DRIVERS
Go to the folder you unzipped earlier.
navigate to usb_driver_r13-windows > usb_driver.
Right click on android_winusb.inf and select Install. Confirm with OK.
Restart Windows.
3 ) BACKUP YOUR DATA
Make sure Google/provider account is synchronized.
Backup photos, documents, contacts before going any further (ex: use the backupyourmobile app).
Connect phone to PC, search for all .jpg, .mp3, .mp4 files on your phone and retrieve data.
4 ) UNLOCK BOOTLOADER
### Before going further, you need the latest official firmware.
Go to Settings > About phone.
MIUI version must be 11.0.2.0 (NCFMIXM).
Unlock Developer settings:
Tap 7 times on MIUI version item.
If not: connect to Wifi, tap on System update > Check for updates.
### System won't update ? Download latest firmware from here: https://xiaomifirmwareupdater.com/firmware/mido/
MIUI Account
Insert your SIM card.
Enter Sim PIN and turn off wifi, turn on mobile data and sync.
Go to Settings > Mi Account
Enter your phone number adapted to prefix and create an account (if not yet done).
Make sure phone Mi Account is active, in Settings, besides Mi account is written an identifier.
Go to Settings > Additional settings > Developer options and scroll to Mi Unlock Status item.
Permission required, Agree
### Make sure Wifi is off and mobile data on, then tap on Add account and device, then Got it.
### As written, don't sign out of Mi account, perform factory reset or erase system data for now.
### Keep calm and carry on.
Now open the \Mi Unlock subfolder from my pack.
Launch miflash_unlock.exe ad administrator: right click on .exe > Run as administrator
Agree to terms.
Login to your Mi account (with phone number prefixed or email)
Confirm login with SMS verification.
### Alternative: Open this webpage from your PC: https://en.miui.com/unlock/
### Click on Unlock now, then Download Mi Unlock archive. Unzip and refer to previous steps.
Back to phone, turn it off.
Then hold Volume down + Power buttons until phone vibrates and displays Fastboot screen.
Connect phone to USB.
Back to PC, Mi Unlock now says "Phone connected".
Unlock button is available, click on it and confirm with Unlock anyway.
Wait until Unlocked successfully is displayed.
Click on Reboot phone.
Unlocked is written at the bottom of screen during boot.
### Need to quit Fastboot mode ? Hold Power until phone vibrates and restarts.
5 ) FLASH TWRP RECOVERY
Back to Android, go to Settings > Additional settings > Developer options,
switch OEM unlocking ON and USB debugging ON.
Connect phone to PC.
Open a Windows command prompt on the /flash subfolder folder you unziped earlier:
select folder with left click, right click while holding SHIFT on keyboard > Open command windows here
In command, enter
Code:
adb devices
Commands starts adb and returns: bfacf0c80104 unauthorized
On the phone, Allow USB debugging and send command again.
Command now returns: bfacf0c80104 device
Now enter
Code:
adb reboot bootloader
Phone restarts in bootloader/fastboot mode.
Enter
Code:
fastboot devices
Command returns: bfacf0c80104 fastboot
### If not, you may try to reinstall USB drivers or try another PC.
Now enter
Code:
fastboot flash recovery twrp-3.5.0_9-0-mido.img
Command returns: Finished. Total time: 1.540s
Now enter
Code:
fastboot boot twrp-3.5.0_9-0-mido.img
and wait while TWRP recovery boots.
TWRP asks: Decrypt data, tap on Cancel.
then Swipe to Allow Modifications.
Leave phone connected to PC.
We must remove encryption to access partitions.
From TWRP Home screen, go to Wipe > Format Data. This will remove all data on phone.
Type yes and confirm with bottom right icon.
6 ) BACKUP SYSTEM
Now go to Home screen > Backup.
Select System, Vendor, Boot, Bootloader, Firmware and EFS partitions.
Swipe to Backup and wait during Backup.
Back to Home > Mount.
Using Windows Explorer, access Redmi Note 4 and copy the TWRP folder from Internal Storage folder to somewhere safe.
Then copy OrangeFox and LineageOS 17.1 to the same phone's Internal Storage folder.
7 ) FLASH ORANGEFOX RECOVERY
Now go to Home screen > Install
Select OrangeFox*.zip and Swipe to confirm Flash, recovery will auto-reboot.
8 ) FLASH LINEAGEOS 17.1
Coming from Android 7, we need to flash Android 10 to prevent bugs with fingerprint or bootloops...
Once again Swipe to Allow Modifications.
On bottom navigation bar, tap on Files.
Then select lineage-17.1*.zip and Swipe to Install.
Then tap on Wipe Caches > Swipe to wipe,
then Reboot System.
Wait during boot.
Quickly setup Android and try to skip configs.
Once finished, turn phone off.
9 ) FLASH LINEAGEOS 18.1
Boot in Recovery mode:
Hold Power + Volume+ until Mi logo shows up and release buttons.
Wait during OrangeFox recovery boot.
On bottom navigation bar, tap on Wipe.
Select Dalvik/ART cache, Cache, System, Data and Vendor partitions,
then Swipe to Wipe.
Back to Home > Menu (right icon of navigation bar) > Mount
Copy lineage-18.1*.zip, FlameGApps, Magisk*.zip and Magisk Manager*.apk on Internal Storage.
Then back to Files menu (left item of navigation bar).
Tap in lineage > Add to Queue > Magisk > Add to Queue > FlameGApps and Swipe to Install.
When flash is over > Wipe Caches and Reboot System.
10 ) ROOT ACCESS AND DEVELOPER MENU
With Magisk, you are root once phone is started. No extra manipulation needed.
Superuser permissions can be managed from Magisk Manager app (it was flashed during Magisk flash. Or get it https://github.com/topjohnwu/Magisk/releases).
You can now remove install files from Internal storage.
For developer menu:
open the Settings menu, select "About Phone".
Tap on the "Build number" entry seven times. You should be notified, that the developer settings are now active.
Now go to Settings menu > System > Developer settings.
That's it.
Enjoy,
djibe
Thanks: anandsvm, Zeelog, Aryan Kedare, @xtrymind @flex1911, LineageOS team, TWRP team, OrangeFox recovery team
Click to expand...
Click to collapse
Hi @syzw,
Can you reinstall USB drivers in Administrator mode ?
Or try another computer ?
djibe89 said:
Hi @syzw,
Can you reinstall USB drivers in Administrator mode ?
Or try another computer ?
Click to expand...
Click to collapse
I updated USB drivers in device manager of PC.
Now I am enjoying A11.
Thanks.

Categories

Resources