How to root your Redmi Note 4 and install TWRP recovery. - Upgrading, Modifying and Unlocking

WARNING: this tutorial is specifically for the Redmi Note 4 [ Qualcomm Snapdragon ] variant. Attempt to try it on other devices may brick your phone.
It is slightly technical but a really easy procedure. So carry on only if you have the skill, patience and confidence. I will not be held responsible for your mistakes, because I have tried this on my device and it works perfectly fine.
***NOTE : All links have been disabled since I am a new user. I'll update them as soon as i am over the restriction. thanks for understanding. (Just google the file you want to download, and they'll easily be available )
This takes barely half hour if you have the proper skill and an unlocked bootloader.
So, let's start.
So there are some steps to be followed over here. You need to complete all of the below steps. Links to the files required will be given below.
1. You need an unlocked bootloader.
2. You need the ADB and Fastboot device drivers installed on your PC
3. The ZIP files required for flashing.
So You will need the Mi Flash tool and MiUnlock tool during the bootloader unlock process. ( The MiFlash tool is available for download. but you can download the MiUnlock tool only if you get the permission to unlock your bootloader from Mi. To apply for a bootloader unlock go here : en.miui.com/unlock )
Once the permission is obtained, download the MiUnlock Tool from the same link, and follow the instructions to unlock bootloader.
The unlocked bootloader is mandatory.
You have to follow all the steps given below once, you have an unlocked bootloader.
Before you perform the below steps, make sure you download the adb and fastboot for your Computer. Download them here : ( *** ) [ONLY FOR DEVICES RUNNING WINDOWS ]
Download the TWRP recovery file for Redmi Note 4 from here : ( *** )
NOTE: You can use either SuperSU or Magisk for rooting your phone. I personally prefer Magisk.
Download the SuperSU ZIP file from here : ( *** )
OR
Download the Magisk ZIP file from here : ( *** )
Once all these files are downloaded,
1> Place the SuperSU file OR Magisk file (whichever you choose) inside your internal storage directory of your mobile device.
2> Place the TWRP recovery file in the folder where the adb drivers (Platform Tools folder) have been downloaded on your computer. Then rename it as "twrp".
3>turn off your device. then switch it on by pressing the volume down button and the power button together.
leave the keys once your device vibrates. This will enable the fastboot mode. (For beginners, It will display a green coloured rabbit on your device with fastboot written ) Connect it to the PC once the fastboot mode is enabled.
4> Come back to your Computer and Open the folder where the adb drivers and the twrp recovery file is copied.
Hold down the Shift key on the keyboard and then right click in the empty space of the folder window.
There will be a menu that pops up with some options. You have to click " Open Command Window Here "
This will open up the terminal/cmd on your computer. (NOTE: Steps given for a PC running the Windows OS only. )
5> In the terminal you have to type a few commands. Again make sure your device is properly connected to the computer and with fastboot mode enabled.
Note: Connect only 1 device running fastboot.
To verify connected devices enter command " fastboot devices " This will show available fastboot devices with a string of letters or numbers.
After verification of connected device,
First enter the command " fastboot flash recovery twrp.img"
Then hit enter.
(twrp can change according to your twrp recovery file name, if you have renamed it as i said above, no wories, carry on)
6> The terminal will indicate completion of the command. once this is done, type in
"fastboot boot twrp.img"
7> You device will restart and the twrp recovery will pop up on your mobile. Now you can disconnect your device from the computer.
8> In the twrp recovery screen click on install, and select the supersu ZIP file OR magisk ZIP file which you had placed in your internal storage. Then swipe to confirm the flash. It will be indicated when the flash is completed.
Once it's done, click clear cache/dalvik and swipe to confirm.
And hit reboot.
Voila! You now have a rooted Redmi Note 4 with TWRP recovery installed.
[
If you install the magisk ZIP or SuperSU ZIP, under some rare circumstances the app might not have installed on the phone. So you might have to download the apk once the phone has started.
Grab the Magisk Manager APK file here ( *** )
Grab the SuperSU APK file here ( *** )
]
[NOTE :
All the steps are important to be followed exactly. Do not mess up the steps or you might brick your device.
Here unlocking the bootloader is key. Do not ignore my Bootloader unlock thread. Otherwise rooting isn't possible.
This thread is a bit long, sorry for that. But it's written in an easy way so it's better for the new users.
Hope this helps guys. Follow the thread accurately, and it'll work perfectly well on your device.
Cheers.

Related

[RECOVERIES & ROOT] Yureka custom recoveries & Root without Changing Stock Recovery

[RECOVERIES & ROOT] Yureka custom recoveries & Root without Changing Stock Recovery
Note : This tutorial is for YU Yureka based on CM11 (KK 4.4.4) 32bit architecture
and
do it on your own risk, I will not be responsible if you brick your phone
Here is the detailed guide and collection of stock and all custom recoveries for YU Yureka and detailed guide to Root YU Yureka without changing Stock Recovery
Requirements
1. YU Yureka (obviously) with USB Data cable
2. PC / Laptop (Having Windows installed at least Windows 7 or above)
3. Drivers (Windows Automatically detect and install the required drivers)
4. ADB & Fastboot binary package that can be downloaded from XDA 15 seconds ADB Installer v1.4.2']http://forum.xda-developers.com/showthread.php?t=2588979
5. Custom Recovery (Anyone in which you are interested CWM, PhiZ, TWRP)
6. Latest SuperSU.zip file to root your phone
Warning: This process may delete all data stored in internal storage so better backup all the files stored in internal storage.
Step One
Enable USB Debugging on your device you can just follow these steps:
Go to Settings> About phone and keep taping on build number at least 7 times or till it appears "You are a developer now",
Now again go to settings>developer option (only after the previous step it will be enabled)> check/select USB debugging.
Step Two
Unlock your bootloader to flash custom recovery and root.
Here is the process
1. Download the adb & fastboot binary package and install it.
2. Put your phone into FASTBOOT mode by following anyone from below methods :
Method 1 (easiest)
-------------------
a. Power down phone
b. Plug USB cable to your PC
c. Press and hold Vol Up button and plug other end of USB to your device, soon you will see the fastboot screen.
(or without plugging USB Cable, Press and Hold Power and Vol Up buttons simultaneously, until you see the screen
"FASTBOOT MODE"
Method 2
---------
a. While your phone is Power On, plug USB Data Cable with PC and Phone (USB Debuging must be Enable)
b. Open Command Prompt on your PC (with Administartor rights) and type the following command
adb -s 0x1ebf devices
You will get results something like that :
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
3a289c2 device
*Note : If you get "authorization message" then look on your mobile screen and authorize your PC and run the command again.
c. Now note down the device no. (for e.g. in above "3a289c2") and type the following command
adb -s 3a289c2 reboot bootloader
[*Note replace the device id with your id (here 3a289c2), that you got in last command]
Now your phone must be booted into fastboot mode. A screen with "Fastboot Mode" should be appear on your phone.
3. Device drivers will get installed by windows (please wait for the driver installation to complete)
4. After driver installation is done go to the folder where you have extracted the package
5. Now open elevated DOS command prompt (terminal) on your PC and go into the same folder where you saved the recovery file
(*Note : to start command prompt directly from desired folder, while holding the Shift Key Right Click on folder and select start "open command window here")
6. Type the following command to check if the device was detected in fastboot mode
fastboot -i 0x1ebf devices
you should get output like : 2a25d00 fastboot
if you don't get similar output it means that the drivers weren't correctly installed or the device wasn't connected properly
7. If the output is similar to above then run the following command:
fastboot -i 0x1ebf oem unlock
you should get output something like :
.....
OKAY [ 0.003s]
finished. total time: 0.004s
8. Now your bootloader is now unlocked.
*Note : if you want to re-lock your bootloader again (for warranty on any other reason), again boot into fastboot mode and this time type the following command and enter
fastboot -i 0x1ebf oem lock
Step Three
Boot your phone into recovery (temporarily or permanently) and root your phone
1. Download SuperSU.zip and put it on root of your internal or external SD card
2. To load custom recovery (CWM / TWRP / PhiZ) temporarily, now type this command in terminal :
fastboot -i 0x1ebf boot CWM_6.0.5.1_recovery-yu.img
*Note 1 : if you want to flash the custom recovery permanently then us the following command
fastboot -i 0x1ebf flash CWM_6.0.5.1_recovery-yu.img
*Note 2 : if your download custom recovery is named differently (here CWM_6.0.5.1_recovery-yu.img) then while writing the above commands you need to put the name of the recovery same as as your saved file name (anyone CWM / Phiz / TWRP)
3. Done ! You loaded custom recovery temporarily, if command used with "boot" hence to root your phone, proceed to next section (step 5).
or
If you flashed recovery permanently, using command with "flash" then boot your phone into recovery. To do so, you have Two options
i) type the following command and press enter : adb -s 3a289c2 reboot recovery
or
ii) power off your phone, after then press and hold "Vol up+ Vol down + Power" buttons simultaneously to boot into custom recovery.
Now to root your phone proceed with next section (step 5).
Root your phone
5. To gain root access, flash SuperSu.zip that is stored on your internal or external SD card (in step 1)
6. Choose reboot phone and enjoy rooted phone with stock or custom recovery !
Special Note 1
I didn't tested, but came to know that root doesn't effect OTA update on Yureka.
You can get OTA updates with root but after the OTA update is flashed you will loose root access. To keep it or to avoid this please go to System Settings -> Developer Options -> UNTICK -"Update CM Recovery" (update recovery while installing system updates)
Even though if someone want to go back to Stock recovery, then download the official stock recovery (link no. 6 above) and flash it using command in fastboot mode (second command in step 2 under head "STEP THREE")
Downloads
1. 15 seconds ADB Installer v1.4.2 http://forum.xda-developers.com/showthread.php?t=2588979
2. Super SU latest v2.46 http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
3. CWM 6.0.5.1 https://s.basketbuild.com/devs/vishal_android_freak/yu/yureka
OR http://d-h.st/ElAe
4. PhilZTouch 6.59 based on CWM v6.0.5.1 http://www.androiddevs.net/downloads/
OR http://d-h.st/UqWK
5. TWRP 2.8.5.0 http://techerrata.com/browse/twrp2/tomato
OR https://www.androidfilehost.com/?fid=95916177934528156
OR http://d-h.st/5wDD
6. YU Yureka Official Stock Recovery http://d-h.st/tQ1k
Special Note 2
Without the vendor id, phone will not get detected in fastboot mode.
Like if you want to check fastboot type this :
fastboot -i 0x1ebf devices
therefore, always add "i -0x1ebf" after fastboot and then write your command
aabidhashmi said:
Here is is collection of all custom recoveries for YU Yureka and detailed guide to Root YU Yureka without changing Stock Recovery
Requirements
1. YU Yureka (obviously) with USB Data cable
2. PC / Laptop (Having Windows installed at least Windows 7 or above)
3. Drivers (Windows Automatically detect and install the required drivers)
4. ADB & Fastboot binary package that can be downloaded from XDA 15 seconds ADB Installer v1.4.2']http://forum.xda-developers.com/showthread.php?t=2588979
5. Custom Recovery (Anyone in which you are interested CWM, PhiZ, TWRP)
6. Latest SuperSU.zip file to root your phone
Warning: This process may delete all data stored in internal storage so better backup all the files stored in internal storage.
Step One
Enable USB Debugging on your device you can just follow these steps:
Go to Settings> About phone and keep taping on build number at least 7 times or till it appears "You are a developer now",
Now again go to settings>developer option (only after the previous step it will be enabled)> check/select USB debugging.
Step Two
Unlock your bootloader to flash custom recovery and root.
Here is the process
1. Download the adb & fastboot binary package and install it.
2. Power down phone
3. Plug USB cable to your PC
4. Press and hold Vol Up button and plug other end of USB to your device, soon you will see the fastboot screen.
(or without plugging USB Cable, Press and Hold Power and Vol Up buttons simultaneously, until you see the screen
"FASTBOOT MODE"
5. Device drivers will get installed by windows (please wait for the driver installation to complete)
6. After driver installation is done go to the folder where you have extracted the package
7. Now open elevated DOS command prompt (terminal) on your PC and go into the same folder where you saved the recovery file
* to start command prompt directly from desired folder, while holding the Shift Key Right Click on folder and select start "open command window here"
8. Type the following command to check if the device was detected in fastboot mode
fastboot -i 0x1ebf devices
you should get output like : 2a25d00 fastboot
if you don't get similar output it means that the drivers weren't correctly installed or the device wasn't connected properly
9. If the output is similar to above then run the following command:
fastboot -i 0x1ebf oem unlock
you should get output something like :
.....
OKAY [ 0.003s]
finished. total time: 0.004s
10. Now your bootloader is now unlocked.
Step Three
Root your phone without changing your stock recovery
1. Download SuperSU.zip and put it on root of your internal or external SD card
2. To load custom recovery (CWM / TWRP / PhiZ) temporarily, now type this command in terminal :
fastboot -i 0x1ebf boot recovery CWM_6.0.5.1_recovery-yu.img
*Note : if your download custom recovery is named differently (here CWM_6.0.5.1_recovery-yu.img) then while writing the above command you need to put the name of the recovery same as as your saved file name (anyone CWM / Phiz / TWRP)
Done ! You flashed custom recovery temporarily.
3. Now press and hold "Vol up+ Vol down + Power" buttons simultaneously to boot into custom recovery.
4. To gain root access flash SuperSu.zip that is stored on your internal or external SD card (in step 1)
5. Choose reboot phone and enjoy rooted phone without changing stock recovery !
Downloads
1. 15 seconds ADB Installer v1.4.2 http://forum.xda-developers.com/showthread.php?t=2588979
2. Super SU latest v2.46 http://download.chainfire.eu/696/SuperSU/UPDATE-SuperSU-v2.46.zip
3. CWM 6.0.5.1 https://s.basketbuild.com/devs/vishal_android_freak/yu/yureka
OR http://d-h.st/ElAe
4. PhilZTouch 6.59 based on CWM v6.0.5.1 http://www.androiddevs.net/downloads/
OR http://d-h.st/UqWK
5. TWRP 2.8.5.0 http://techerrata.com/browse/twrp2/tomato
OR https://www.androidfilehost.com/?fid=95916177934528156
OR http://d-h.st/5wDD
Special Note
Without the vendor id, phone will not get detected in fastboot mode.
Like if you want to check fastboot type this :
fastboot -i 0x1ebf devices
therefore, always add "i -0x1ebf" after fastboot and then write your command
Click to expand...
Click to collapse
Few errors noted:
1. You can't say flashing recovery when you are booting it.
2. In step 3 point 3 is not valid because when your command is to boot it will automatically boot into recovery you need not use combination keys.
3. Last point vender id is wrong !!!
Few suggestions:
1. It feels like you have not tested this by yourself
2. There is already a guide for "rooting without flashing recovery". Search before posting.
Regards
aashking
aashking said:
Few errors noted:
1. You can't say flashing recovery when you are booting it.
2. In step 3 point 3 is not valid because when your command is to boot it will automatically boot into recovery you need not use combination keys.
3. Last point vender id is wrong !!!
Few suggestions:
1. It feels like you have not tested this by yourself
2. There is already a guide for "rooting without flashing recovery". Search before posting.
Regards
aashking
Click to expand...
Click to collapse
Dear aaskking
Thanks to inform. Here is the corrections
1 & 2 - Tutorial updated with "boot" and "flash" commands separately.
3 + Vendor ID is correct nothing wrong in it.
4 - I already tested all those procedures and commands. I never post anything without testing.
5 - Yes, I also seen that available guide, but that is not so much detailed and also required files links are not provided.
Anyway, thanks for your suggestions.
aabidhashmi said:
Dear aaskking
Thanks to inform. Here is the corrections
1 & 2 - Tutorial updated with "boot" and "flash" commands separately.
3 + Vendor ID is correct nothing wrong in it.
4 - I already tested all those procedures and commands. I never post anything without testing.
5 - Yes, I also seen that available guide, but that is not so much detailed and also required files links are not provided.
Anyway, thanks for your suggestions.
Click to expand...
Click to collapse
EDIT : You can get OTA updates with root..
After the update is flashed you will loose root access ..
To keep it or to avoid this please write the following step
STEP) In Developer Option UNTICK -"Update CM Recovery".
That's it.. Cheers mate wonderful thread.. @aabidhashmi @aashking
arjunsingh1000 said:
EDIT : You can get OTA updates with root..
After the update is flashed you will loose root access ..
To keep it or to avoid this please write the following step
STEP) In Developer Option UNTICK -"Update CM Recovery".
That's it.. Cheers mate wonderful thread.. @aabidhashmi @aashking
Click to expand...
Click to collapse
Thanks Arjun Singh @arjunsingh1000 for suggestion and appreciation
Post updated ...
aabidhashmi said:
Thanks Arjun Singh @arjunsingh1000 for suggestion and appreciation
Post updated ...
Click to expand...
Click to collapse
Great mate cheers just checked and tried that ota updates are available and work.. On stock recovery... Locked bootloader and with root..
Achieved this by downgrading to the very first cm11 firmware and got then rooted it and locked the bootloader then I just booted it and got the incremental update .. Downloaded and flashed .. Works perfectly.. Root not lost due to the untick in dev options..
Thanks again Arjun Singh, for confirming OTA updates are working.
I am already on Stock ROM & recovery {rooted} and tried the same procedure {locked the bootloader}, but no updates for me.
Is updates are really there, or something wrong with me ?
Sent from my AO5510 using Tapatalk
I am simply unable to get the device listed in command prompt after fastboot mode is enabled. my phone has option to boot into fastboot mode in power options. i tried that option, i tried using command to boot into fastboot. But somehow, when phone is in fastboot mode, it does not get detected by fastboot application (even though windows installs drivers successfully).
I have tried 3 different laptops. All had same problem. No idea how to solve this.
aabidhashmi said:
Thanks again Arjun Singh, for confirming OTA updates are working.
I am already on Stock ROM & recovery {rooted} and tried the same procedure {locked the bootloader}, but no updates for me.
Is updates are really there, or something wrong with me ?
Sent from my AO5510 using Tapatalk
Click to expand...
Click to collapse
Well I guess you are on the latest build XN0PHQ I guess? Another beta update was made but not rolled out it is um XNPH08P I know its a little late but just in case you don't know..
---------- Post added at 05:30 PM ---------- Previous post was at 05:28 PM ----------
jitendragarg said:
I am simply unable to get the device listed in command prompt after fastboot mode is enabled. my phone has option to boot into fastboot mode in power options. i tried that option, i tried using command to boot into fastboot. But somehow, when phone is in fastboot mode, it does not get detected by fastboot application (even though windows installs drivers successfully).
I have tried 3 different laptops. All had same problem. No idea how to solve this.
Click to expand...
Click to collapse
Ahahahaah... I know just the way... Do not reboot via adb ...
Switch off your phone remove your battery and put it back in do not turn it on.. But connect your USB cable and at the same time hold the power up or maybe down button .. Voila your in fastboot which will get detected .. Don't forget to use the vendor id.
arjunsingh1000 said:
Ahahahaah... I know just the way... Do not reboot via adb ...
Switch off your phone remove your battery and put it back in do not turn it on.. But connect your USB cable and at the same time hold the power up or maybe down button .. Voila your in fastboot which will get detected .. Don't forget to use the vendor id.
Click to expand...
Click to collapse
I tried this method but phone does not get detected in fastboot mode at all. I have drivers installed for all different modes I connect my phone as. No luck at all.
Also, weird thing is, I have an option to directly go to fastboot mode from the power menu.
Jitendra Garg
Your driver's are not installed
As there is no special drivers setup, so connect your PC with Internet then plug your phone and let Windows install drivers automatically.
Sent from my AO5510 using Tapatalk

Total Nub's guide to rooting Qmobile Q Infinity & Micromax Canvas Inifinity

After failing some 1-click rooting methods, for the first time I tried to do it the hard way.
That turned out to be a pretty easy way thanks to some handy links to drivers and other files I found.
Infinity thanks to the thread I found platform-tools from and the website called "getdroidtips" for the Custom TWRP for the HS2.
NOTE: THIS GUIDE WILL WIPE YOUR DEVICE SO BE PREPARED
Standard warning: FOLLOW THIS GUIDE AT YOUR OWN RISK. REMEMBER, AS PER MY NAME I AM A TOTAL NUB. I DO NOT TAKE RESPONSIBILITY FOR YOUR PHONE MALFUNCTIONING, BRICKING, BLOWING UP OR DROWNING IN COOKING OIL (rip my Elephone S7)
Pastebin code for missing links: F2RGqM1A
1) Preparation
Download the latest Flashable.Zip from [ ]
Place SuperSu.zip in your sd card or internal storage
Enable Developer Options by going to Settings -> "About Phone" -> Click "Software Version" 7-8 times
Go to developer Options in Settings
Enable OEM Unlocking
Enable USB Debugging
Shutdown your phone by holding the power button
Boot into fastboot by holding the Volume Up key + Power Button
Press Volume Down key to get into fastboot
2) On your Windows PC:
Download the file from [ ] and extract the platform-tools folder (I extract to "D:\Downloads" in this example)
Download the Custom TWRP from [ ] and place it inside the platform-tools folder
Connect your device to your computer
press Win+R, type cmd and press enter
2.1) (not always needed)
If your device won't connect or the steps below don't work, try updating drivers:
Connect your phone while it's in fastboot
open start menu, search and open Device Manager
check inside Portable Devices or Android Devices for your phone's name
or look for Android Bootloader Interface
if it's not there, it might be named something else, with an icon that has a yellow triangle inside it.
Right click it, Update Driver
> Browse my computer for driver software
> Let me pick from a list of available drivers on my computer
> select Android Bootloader Interface
to check if you are connected, type "fastboot devices" in cmd and you'll see a device code
3) Unlocking Bootloader
In cmd, enter the following commands:
Code:
D:
cd D:\Downloads\platform-tools
fastboot oem unlock-go
THIS STEP WILL WIPE YOUR DEVICE DATA
wait for restart
4) Booting into TWRP
Go to device Settings again and ensure OEM Unlocking and USB Debugging are still Enabled. Reboot into fastboot.
In cmd:
Code:
fastboot boot twrp-3.1.1-0-20171128-UNOFFICIAL-HS2.img
(In case above cmd line doesn't work, type "fastboot boot twrp" and press Tab)
5) Backing up your rom and data (Optional but recommended)
Inside TWRP, Click Backup, tick everything, select desired directory and swipe to backup.
Reboot and follow step 5 again if needed
6) Installing SuperSU with root privileges
Inside TWRP, Click Install and select SuperSU.zip
Swipe to install and reboot
Enjoy
Please port miui 9 or lineage os 15 for micromax canvas infinity hs2
NubbyMcNubNub said:
After failing some 1-click rooting methods, for the first time I tried to do it the hard way.
That turned out to be a pretty easy way thanks to some handy links to drivers and other files I found.
Infinity thanks to the thread I found platform-tools from and the website called "getdroidtips" for the Custom TWRP for the HS2.
NOTE: THIS GUIDE WILL WIPE YOUR DEVICE SO BE PREPARED
Standard warning: FOLLOW THIS GUIDE AT YOUR OWN RISK. REMEMBER, AS PER MY NAME I AM A TOTAL NUB. I DO NOT TAKE RESPONSIBILITY FOR YOUR PHONE MALFUNCTIONING, BRICKING, BLOWING UP OR DROWNING IN COOKING OIL (rip my Elephone S7)
Pastebin code for missing links: F2RGqM1A
1) Preparation
Download the latest Flashable.Zip from [ ]
Place SuperSu.zip in your sd card or internal storage
Enable Developer Options by going to Settings -> "About Phone" -> Click "Software Version" 7-8 times
Go to developer Options in Settings
Enable OEM Unlocking
Enable USB Debugging
Shutdown your phone by holding the power button
Boot into fastboot by holding the Volume Up key + Power Button
Press Volume Down key to get into fastboot
2) On your Windows PC:
Download the file from [ ] and extract the platform-tools folder (I extract to "D:\Downloads" in this example)
Download the Custom TWRP from [ ] and place it inside the platform-tools folder
Connect your device to your computer
press Win+R, type cmd and press enter
2.1) (not always needed)
If your device won't connect or the steps below don't work, try updating drivers:
Connect your phone while it's in fastboot
open start menu, search and open Device Manager
check inside Portable Devices or Android Devices for your phone's name
or look for Android Bootloader Interface
if it's not there, it might be named something else, with an icon that has a yellow triangle inside it.
Right click it, Update Driver
> Browse my computer for driver software
> Let me pick from a list of available drivers on my computer
> select Android Bootloader Interface
to check if you are connected, type "fastboot devices" in cmd and you'll see a device code
3) Unlocking Bootloader
In cmd, enter the following commands:
THIS STEP WILL WIPE YOUR DEVICE DATA
wait for restart
4) Booting into TWRP
Go to device Settings again and ensure OEM Unlocking and USB Debugging are still Enabled. Reboot into fastboot.
In cmd:
(In case above cmd line doesn't work, type "fastboot boot twrp" and press Tab)
5) Backing up your rom and data (Optional but recommended)
Inside TWRP, Click Backup, tick everything, select desired directory and swipe to backup.
Reboot and follow step 5 again if needed
6) Installing SuperSU with root privileges
Inside TWRP, Click Install and select SuperSU.zip
Swipe to install and reboot
Enjoy
Click to expand...
Click to collapse
Hi please help me, after flashing recovery my phone is on bootloop now, what do i do
Hem97 said:
Please port miui 9 or lineage os 15 for micromax canvas infinity hs2
Click to expand...
Click to collapse
I wish I could.
Sudhangshu said:
Hi please help me, after flashing recovery my phone is on bootloop now, what do i do
Click to expand...
Click to collapse
Did you try "flashboot boot twrp..." like in my guide or "flashboot flash twrp..."?
And which twrp image did you use?
In any case, if you can still get to the fastboot screen, try booting with the twrp image in Step 4 above (download links in the pastebin link)
NubbyMcNubNub said:
I wish I could.
Did you try "flashboot boot twrp..." like in my guide or "flashboot flash twrp..."?
And which twrp image did you use?
In any case, if you can still get to the fastboot screen, try booting with the twrp image in Step 4 above (download links in the pastebin link)
Click to expand...
Click to collapse
Hi, "flashboot boot twrp" wasnt working at all, so i tried "flashboot flash twrp" and all i have is a bootloop. So after flashing recoveru i booted my phone to fastboot and run the command, " flashboot boot recovery recovery.img" where recovery is the custom recovery image and it booted into recovery. Then there is one more step to do that allowed me to finally boot into my os. Its working fine and i still have twrp installed on my phone
---------- Post added at 06:53 PM ---------- Previous post was at 06:49 PM ----------
NubbyMcNubNub said:
I wish I could.
Did you try "flashboot boot twrp..." like in my guide or "flashboot flash twrp..."?
And which twrp image did you use?
In any case, if you can still get to the fastboot screen, try booting with the twrp image in Step 4 above (download links in the pastebin link)
Click to expand...
Click to collapse
Btw i dont find any pastebin links, im sorry im just a noob too..... Lol
Want custom rom for Qmobile Qinfinity
I want a custom rom for Qmobile Qinfinity.
Because its own rom lags and does not have full features. Please give the rom like lineage os,RR,Or Stock
Please Help?:good:
hi bro,recently i just buy a new phone which is micromax canvas infinity.i have rooted my phone successfully,but there are no custom roms available for this phone.can you develop any custom rom for this phone?that will be very helpful...

[root] redmi 4x root

Firstly this is my first helpful post so be gentle.
How to root the Redmi 4x
First off I am not accountable if your fry your device or shut down the power grid etc.
Alright. It took me some research and trial and error but I found the CORRECT way to root the Redmi 4x.
Needed files:
Lasted version of the magisk zip. DO NOT USE ANY VERSION OF SUPER SU. IT CAUSES BOOTLOOP.
TWRP for Redmi 4x
Lazy patcher.
Adb and fastboot files.
Step one:
Ensure your bootloader is unlocked. If not search XDA for a thread there are multiple threads showing you how to do it. Once that's done let's move on.
Step 2:
Alright let's get going with flashing TWRP first.
You need to enable developer options and enable USB debugging on your Redmi. To do that go to settings>about devices>scroll down>continually tap on MIUI version and a toast notification will tell you that you are now a developer>go to developer option under the more options tab and enable USB debugging.
Step 3:
Now that we've got USB debugging we can connect to Adb. Firstly download all aforementioned files and place them in the same folder as your Adb installation for ease of access. Now open up a command prompt in that folder by either typing "cmd" into the address bar or shift+right click and select open command window here. Now you need to connect your phone via USB to your computer and ensure it is connected by entering "adb devices" into the command window.
Step 4: commands
Here are the commands you will need to enter. I recommend making a backup of everything first.
Enter these commands
adb reboot bootloader
Fastboot flash recovery (put TWRPS full file name here including the .zip)
Wait for it to finish.
Now DO NOT BOOT TO SYSTEM.
Enter in fastboot reboot and hold volume up to enter recovery. If you boot to system it will remove twrp and you will have to reflash it.
Once in Twrp check the box to allow modifications and slide right.
Go to advanced and the ADB sideboard.
Now flashing magisk and lazy patcher.
Reconnect your phone to the computer and leave Twrp on sideload mode.
Enter this command
adb sideload (lazy patchers full file name here)
Now I made sure my phone still booted to system after this because every time I flashed SuperSU it would boot loop.
Once your back in sideload mode let's flash magisk.
adb sideload (magisks full file name here).
Once it's done select reboot to system from Twrp and enjoy your root!!
Again I say do not use any flashable root other than magisk. I don't know if I had a specific problem but every single one I tried resulted in bootloop.

Redmi 7 Unlock Bootloader, Root, TWRP, & Changing Network bands

Prereqs
1. Download zip files & extract
2. Place adb drivers & mi unlock tool in c:/ directory
3. Place all files onto sd card since you are going to wipe your phone if not just download files onto phone twice
Unlocking Bootloader!
*backup your data, it wipes it all off!!!*
1. Go to settings, about phone, tap MIUI version several times until device says you are now a developer
2. Go back to settings, mi account, sign in. *YOU MUST REGISTER YOUR PHONE NUMBER AND EMAIL OR IT WON'T WORK*
3. Go to settings, additional settings, developer options, enable OEM unlocking and usb debugging, then click on Mi Unlock status.
4. Agree to you info being shared, and click on add account. You will need to disable wifi as it only lets you link with data.
5. Extract mi unlock tool via downloaded zip or go to unlock.update.miui.com Zip file is version 3.3.525.23 since the current
zip from the site didn't work. If you are having trouble, unlock.update.miui.com has a FAQ that can help you.
6. Run the MI Unlock application, but make sure you right click and open as administrator.
7. Agree, log in with the same account as you linked on your phone.
8. Hold power and volume down button on the phone until you see fastboot on screen. Plug in the phone and wait to see your phone register on the computer. If it won't register, go to device manager and right click device, and click on update drivers. Or, before
putting phone into fastboot mode, plug into computer for the computer to find drivers.
9. Click unlock on screen several times, and watch the device unlock. If the program says to wait 24,360,1000 hours,
wait that amount of time, and redo steps. To get out of fastboot mode, hold power until it reboots.
10. After software says device is unlocked, reboot and reset up information. Your bootloader is now unlocked.
11. After setup, do steps 1-3 again.
Flash TWRP
1. Reboot device into fastboot mode (power and volume down)
2. Place TWRP.img into universal adb devices folder.
3. Plug in device into computer.
4. Look up/find command prompt on computer. Right click, and open command promp as an administratior.
5. Type cd *directory of file* ex: cd C:\Users\Josh xD\Desktop\Unlock Bootloader, root, & change bands\Universal Adb Driver
You can find the directory from file manager.
6. Type fastboot devices and press enter. It should say fastboot with a hex value identifying your device, follow step 8 from
unlocking bootloader to make sure drivers are in place.
7. Type fastboot flash recovery REDMI7.img
8. Command prompt should say successful.
9. Next, type fastboot reboot.
10. To get into recovery, hold power and volume up.
11. Follow TWRP instructions, you now have twrp. If in chinese, go to the right row, third button down, click on globe, and
change to english.
12. Reboot phone
12.1 If your device doesn't have wifi/celluar after recovery:
Boot into twrp (power and volume up)
Click Install, Click on Wifi not working zip, and flash that.
Root
*I chose magisk since you can hide root from apps, but if you are classic and want to use supersu go right ahead*
1. Boot into TWRP (volume up & power)
2. Click install, click magisk.zip (or supersu.zip)
3. Flash and reboot then click on magisk in app drawer and follow instructions.
Band Change
1. Go to TWRP, backup, click on everything, and backup device just incase of error
2. Download LTE band calculator and click on bands you want. (go on google, look up what your carrier uses as bands and
select those. I did verizon and tmobile with also the defult bands redmi has so my hex # is : 2070174767327)
3. Go to command prompt via steps 4-5 on catagory flash TWRP
4. Type adb devices to make sure device is shown. Your phone must be rooted so make sure you follow Root catagory.
5. Type adb shell
6. Type su
7. Type setprop su setprop persist.usb.eng 1 ( if that command is invalid do command setprop sys.usb.config diag,adb)
8. Go to device manager and find device. Click on ports and find qualcomm device. If you can't find it, right click,
update drivers, and mannually install from HTC zip.
9. Open QPST and leave running.
10. Open QXDM, click options, communicatons, and make sure device is on COM
11. Click on view dropbar, and scroll to find NV Browser.
12. Click LTE and click on first value.
13. Click on read, and paste in your code value. BEFORE YOU DO THAT COPY THE CODE THAT IS ALREADY IN THE PHONE SO YOU CAN REVERT AT ANYTIME!!!
14. Click write and reboot device.
15. Close out of windows and reboot
16. Go back to the terminal and type adb shell
17. Type su
18. Type su setprop persist.usb.eng 0 (or setprop sys.usb.config mtp,adb)
19. To revert, redo all steps but paste in your default value you copied before you changed
IF YOU ARE STUCK IN A BOOTLOOP RESTORE BACKUP FROM TWRP (VOLUME UP AND POWER, RESTORE)
Bricked phone?
1. Open Mi Flash and install software
2. Plug in the device in fastboot mode (volume down and power)
3. Start-up program
3. When your device is noticed, click browse, click on firmware directory, and flash. (as of 4/29 only could find Chinese version)
Software
Here's a link for the software for all of this. I'll be making a video soon.
https://drive.google.com/file/d/1JS8a828svKZOlf6qoTPL5PLGpjwiZFRh/view?usp=sharing
Just got my Redmi 7 today and I am having trouble connecting the phone to PC using the USB port. Any link to the latest USB drivers?
superjit said:
Just got my Redmi 7 today and I am having trouble connecting the phone to PC using the USB port. Any link to the latest USB drivers?
Click to expand...
Click to collapse
Drivers should be in the unzipped miunlock zip or here
https://c.mi.com/thread-1625831-1-1.html
joshieboo said:
Drivers should be in the unzipped miunlock zip or here
https://c.mi.com/thread-1625831-1-1.html
Click to expand...
Click to collapse
Finally managed to get phone connected. The MI Unlock Tool files should be placed directly in C:\ otherwise phone will show as disconnected.
Now have to wait for 344 hours and try again
superjit said:
Finally managed to get phone connected. The MI Unlock Tool files should be placed directly in C:\ otherwise phone will show as disconnected.
Now have to wait for 344 hours and try again
Click to expand...
Click to collapse
The first sentence says to zip it in c:/ directory. & yup, I'm waiting too until May 7th to finally unlock it.
Can you post the source link please?
Mr147 said:
Can you post the source link please?
Click to expand...
Click to collapse
https://forum.xda-developers.com/redmi-7/development/redmi7-lr-team-twrp-3-3-0-redmi7-cn-t3924278
https://www.google.com/amp/s/www.xda-developers.com/remove-band-restrictions-qualcomm/amp/
Here are videos that show how to unlock the bootloader, install TWRP, and then gain root access. . .
https://www.youtube.com/watch?v=tYcJ1BSd0_I
https://www.youtube.com/watch?v=tZAWW_MQE7M
https://www.youtube.com/watch?v=V16d3UOolX0
My device is Hard bricked
Now what should i do???
Device Redmi Note 7.
c1w3xx said:
My device is Hard bricked
Now what should i do???
Device Redmi Note 7.
Click to expand...
Click to collapse
Go to note 7 forums:
https://forum.xda-developers.com/redmi-note-7
c1w3xx said:
My device is Hard bricked
Now what should i do???
Device Redmi Note 7.
Click to expand...
Click to collapse
This will help
- https://www.androidexplained.com/redmi-note-7-unbrick/
joshieboo said:
Prereqs
1. Download zip files & extract
2. Place adb drivers & mi unlock tool in c:/ directory
3. Place all files onto sd card since you are going to wipe your phone if not just download files onto phone twice
Unlocking Bootloader!
*backup your data, it wipes it all off!!!*
1. Go to settings, about phone, tap MIUI version several times until device says you are now a developer
2. Go back to settings, mi account, sign in. *YOU MUST REGISTER YOUR PHONE NUMBER AND EMAIL OR IT WON'T WORK*
3. Go to settings, additional settings, developer options, enable OEM unlocking and usb debugging, then click on Mi Unlock status.
4. Agree to you info being shared, and click on add account. You will need to disable wifi as it only lets you link with data.
5. Extract mi unlock tool via downloaded zip or go to unlock.update.miui.com Zip file is version 3.3.525.23 since the current
zip from the site didn't work. If you are having trouble, unlock.update.miui.com has a FAQ that can help you.
6. Run the MI Unlock application, but make sure you right click and open as administrator.
7. Agree, log in with the same account as you linked on your phone.
8. Hold power and volume down button on the phone until you see fastboot on screen. Plug in the phone and wait to see your phone register on the computer. If it won't register, go to device manager and right click device, and click on update drivers. Or, before
putting phone into fastboot mode, plug into computer for the computer to find drivers.
9. Click unlock on screen several times, and watch the device unlock. If the program says to wait 24,360,1000 hours,
wait that amount of time, and redo steps. To get out of fastboot mode, hold power until it reboots.
10. After software says device is unlocked, reboot and reset up information. Your bootloader is now unlocked.
11. After setup, do steps 1-3 again.
Flash TWRP
1. Reboot device into fastboot mode (power and volume down)
2. Place TWRP.img into universal adb devices folder.
3. Plug in device into computer.
4. Look up/find command prompt on computer. Right click, and open command promp as an administratior.
5. Type cd *directory of file* ex: cd C:\Users\Josh xD\Desktop\Unlock Bootloader, root, & change bands\Universal Adb Driver
You can find the directory from file manager.
6. Type fastboot devices and press enter. It should say fastboot with a hex value identifying your device, follow step 8 from
unlocking bootloader to make sure drivers are in place.
7. Type fastboot flash recovery REDMI7.img
8. Command prompt should say successful.
9. Next, type fastboot reboot.
10. To get into recovery, hold power and volume up.
11. Follow TWRP instructions, you now have twrp. If in chinese, go to the right row, third button down, click on globe, and
change to english.
12. Reboot phone
12.1 If your device doesn't have wifi/celluar after recovery:
Boot into twrp (power and volume up)
Click Install, Click on Wifi not working zip, and flash that.
Root
*I chose magisk since you can hide root from apps, but if you are classic and want to use supersu go right ahead*
1. Boot into TWRP (volume up & power)
2. Click install, click magisk.zip (or supersu.zip)
3. Flash and reboot then click on magisk in app drawer and follow instructions.
Band Change
1. Go to TWRP, backup, click on everything, and backup device just incase of error
2. Download LTE band calculator and click on bands you want. (go on google, look up what your carrier uses as bands and
select those. I did verizon and tmobile with also the defult bands redmi has so my hex # is : 2070174767327)
3. Go to command prompt via steps 4-5 on catagory flash TWRP
4. Type adb devices to make sure device is shown. Your phone must be rooted so make sure you follow Root catagory.
5. Type adb shell
6. Type su
7. Type setprop su setprop persist.usb.eng 1 ( if that command is invalid do command setprop sys.usb.config diag,adb)
8. Go to device manager and find device. Click on ports and find qualcomm device. If you can't find it, right click,
update drivers, and mannually install from HTC zip.
9. Open QPST and leave running.
10. Open QXDM, click options, communicatons, and make sure device is on COM
11. Click on view dropbar, and scroll to find NV Browser.
12. Click LTE and click on first value.
13. Click on read, and paste in your code value. BEFORE YOU DO THAT COPY THE CODE THAT IS ALREADY IN THE PHONE SO YOU CAN REVERT AT ANYTIME!!!
14. Click write and reboot device.
15. Close out of windows and reboot
16. Go back to the terminal and type adb shell
17. Type su
18. Type su setprop persist.usb.eng 0 (or setprop sys.usb.config mtp,adb)
19. To revert, redo all steps but paste in your default value you copied before you changed
IF YOU ARE STUCK IN A BOOTLOOP RESTORE BACKUP FROM TWRP (VOLUME UP AND POWER, RESTORE)
Bricked phone?
1. Open Mi Flash and install software
2. Plug in the device in fastboot mode (volume down and power)
3. Start-up program
3. When your device is noticed, click browse, click on firmware directory, and flash. (as of 4/29 only could find Chinese version)
Click to expand...
Click to collapse
Here's the link to the video, hope it helps visually
https://youtu.be/dXNwcv-jSS0
Is it possible to unlock the bootloader without losing user data ?
It is my main phone and i used it already for quite some time
thank u very much, wait for a long time ! yeah! its working!
Can't boot temporarily into TWRP
Pretty weird, but I when I try
Code:
fastboot boot twrp.img
I get this error: Fastboot error: Command Failed
My bootloader is unlocked
Did it all, no problems i had to wait 15 days for factory unlock, now i have full rooted phone no issues atm.
Can you please dump cat /sys/class/leds/lcd-backlight/max_brightness and cat /sys/class/backlight/panel0-backlight/max_brightness
Kernel sources for Redmi 7 [onc] released
@ joshieboo
how lock bootloader back ??? please reply thankxxxx

Oppo A83 [CPH1729] TWRP RECOVERY

⚠Warning: This is not official TWRP, use it at your own risk!!!
Data will be erased. Back up if neccessary
This device is kind of weird so to flash twrp you need these things:
1. Prepare materials​
Install driver so as to have access to preloader (Just install automatically and no need to do anything in device manager)
This software to access to preloader -> fastboot (fastboot is somehow not available via adb methods) Enter fastboot
This tool for flashing
2. Unlock bootloader (need testpoint, python, git (optional) - you can search on google)​
Use this tool - go to this section. Follow guides to unlock bootloader (remember to use testpoint not hardware buttons)
3. Enter fastboot mode​
Use latest MTK META Ultility tool
Select Reboot Fastboot Mode in BRom section
Hold volume down button. While holding connect it to your computer
*Now your phone is in fastboot mode​4. Flash​
Open platform-tools folder in Downloads folder
Shift + Right click then "open command window here"
Input these commands into cmd
fastboot flash boot drag twrp file to cmd
fastboot flash recovery drag twrp file to cmd.
fastboot reboot. Swipe to allow modification in twrp (to make sure that stockboot wont replace twrp). After that reboot to recovery to make it installed on your device permanently.
Now your recovery is ready to flash file you can push stock image file to your root folder using adb command: "adb push. Drag the stock image file. /" (Because Decryption right now doesnt work on my device yet)
Enjoy
*Sounds crazy but it is required to make sure twrp is installed correctly​*If successful, when you power on, you will get a red section on top of your device. If you want to recover to stock recovery, flash the recovery.img below.​*Also, if you want to make your own twrp, you can try recovery.img below.​
Also thanks SebaUbuntu and Mofadal El-Tayeb (مُفَضَّل) for awesome apps
​
​​
​
Here is the PBRB version for this device
Hey I'm stuck in the third step.can you please help me?
Sorry for late reply. What problems do you have?
Is this the stock boot image you provided?
SAMIUL ISLAM 0 said:
Is this the stock boot image you provided?
Click to expand...
Click to collapse
Yes it is. I took it from OTA update
Hey friends
I want to upgrade my oppo a 83 fone to a costum rom to upgrade my androide to android 8 or higher
mahmoud2503 said:
Hey friends
I want to upgrade my oppo a 83 fone to a costum rom to upgrade my androide to android 8 or higher
Click to expand...
Click to collapse
Unfortunately, I have no custom roms available for this phone (

Categories

Resources