[root] redmi 4x root - Upgrading, Modifying and Unlocking

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.

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

LG G4 H815 frozen on LG logo after attempting root/TWRP

Attempted to root phone use ADB and fastboot.
during process noticed difficulty in getting recovery mode open manually and had to use adb reboot recovery, whereupon android recovery picture was there but no menu options.
Could not install TWRP conventionally thus attempted the method shown here.
"NSTALL TWRP
Make sure you have ADB and Fastboot installed.
I always put TWRP.img in the ADB folder - so if I want to boot into TWRP with out installing it this is what I do:
make sure you open a command prompt in the ADB folder "VERY IMPORTANT" and type:
adb reboot bootloader <enter>
fastboot boot TWRP.img <whatever your TWRP image is called in your ADB folder><enter> dont forget the .img at the end
That will re-start your phone straight into TWRP - You can transfer files to and from your computer while in recovery.
If you want to install TWRP permanently, copy your TWRP image to your mobile "while you are in TWRP RECOVERY mode" then press install, then select images, then select recovery NOT BOOT, then swipe to flash. This method does not install TWRP app on your phone, all you need is a reboot app from the play store that will re-boot you into recovery. "
Flashed both twrp image and super-su within the TWRP booted from pc through adb (as shown in the previously mentioned method).
Upon reboot phone has hung at LG symbol. LED is flashing. ADB recognises device as connected however won't respond to reboot requests.
How do i fix this?
GhostlessShell said:
Attempted to root phone use ADB and fastboot.
during process noticed difficulty in getting recovery mode open manually and had to use adb reboot recovery, whereupon android recovery picture was there but no menu options.
Could not install TWRP conventionally thus attempted the method shown here.
"NSTALL TWRP
Make sure you have ADB and Fastboot installed.
I always put TWRP.img in the ADB folder - so if I want to boot into TWRP with out installing it this is what I do:
make sure you open a command prompt in the ADB folder "VERY IMPORTANT" and type:
adb reboot bootloader <enter>
fastboot boot TWRP.img <whatever your TWRP image is called in your ADB folder><enter> dont forget the .img at the end
That will re-start your phone straight into TWRP - You can transfer files to and from your computer while in recovery.
If you want to install TWRP permanently, copy your TWRP image to your mobile "while you are in TWRP RECOVERY mode" then press install, then select images, then select recovery NOT BOOT, then swipe to flash. This method does not install TWRP app on your phone, all you need is a reboot app from the play store that will re-boot you into recovery. "
Flashed both twrp image and super-su within the TWRP booted from pc through adb (as shown in the previously mentioned method).
Upon reboot phone has hung at LG symbol. LED is flashing. ADB recognises device as connected however won't respond to reboot requests.
How do i fix this?
Click to expand...
Click to collapse
use you variant KDZ file and flash it with LGUP.
raptorddd said:
use you variant KDZ file and flash it with LGUP.
Click to expand...
Click to collapse
That worked very well. Thankyou raptorddd.
Praise him. Praise him with great praise.

Help rooting Pixel C!!

Hi guys,
I've been using WugFresh's root toolkit to root the pixel which has worked fine thus far. Recently I upgraded OTA to Nougat 7.1.2 (N2G47O). Now I've lost root and can't seem to get it back. Attempting to root the device through the toolkit no longer works as the file dependancy hasn't updated properly - "No-Force Encrypt" needs to be downloaded/updated. The link doesn't work however. I'm suspecting that WugFresh hasn't updated to the latest file to match N2G47O.
I don't understand this properly and information online seems limited. Can anyone advise on how to get this thing rooted again? With or without the toolkit will be fine.
Thanks in advance.
Just fastboot flash TWRP then install Magisk in TWRP. Poof... root.
To elaborate on this: download the latest latest "Recovery Flashable.zip" from http://www.supersu.com/download and copy it to the Download folder of your tablet.
In NRT under "Options > Custom recovery" select "Utilize Open Recovery by Team Win Recovery", then use Advanced Utilities to either
- "Fastboot Flash > Recovery" to flash TWRP, then "Quick Tools > Reboot recovery" to start TWRP
or
- "Fastboot Boot > Custom recovery" to start TWRP only once / non-permanent.
In TWRP allow write access to /system, then "Install" SuperSU.ZIP from your Download folder and reboot.
Thanks for your help guys. There seems to be another problem now though. I've followed the steps above and attempted to install TWRP recovery using the tools on the NRT. During the process TWRP asked me for the key to decrypt system data. I don't have one as far as I'm aware. Only my regular system pin. I tried that but it isn't accepting it. I had to accept TWRP leaving the system unmodified. Now I cannot boot into the system at all, only into the TWRP recovery! Why is it encrypted? I never set up encryption...
You seem to have somehow messed up your /system image. To restore it without losing your data, follow these steps:
- find the folder where your ADB.EXE is installed. Typically that would be C:\Program Files (x86)\WugFresh Development\Nexus Root Toolkit\data
- we will call that the ADB folder
- download a Pixel C N2G47W factory image from here: https://developers.google.com/android/images
- there will be a "bootloader-dragon-google_smaug.7900.50.0.img" and a "image-ryu-n2g47w.zip" inside the downloaded ZIP file. Copy these to your ADB folder.
- start TWRP. Press Cancel when asked for encryption key. If asked for write access to /system: allow it
- select Wipe, then Advanced Wipe. Select "Dalvik / ART Cache" and "Cache", then Swipe to Wipe
- In TWRP select Reboot, then Bootloader. If asked to install TWRP: Do Not Install. Should end up with "Waiting for fastboot command".
- alternatively: start your tablet manually into fastboot mode: Power off, then hold the volume down button, after 2 seconds shortly press the power button and hold it until a menu appears
- select "Switch to fastboot mode" with the volume buttons, start it with the power button. "Waiting for fastboot command".
- when in fastboot mode: start an administrative command prompt, CD to your ADB folder
Code:
fastboot flash bootloader bootloader-dragon-google_smaug.7900.50.0.img
fastboot reboot-bootloader
- wait until it says "Waiting for fastboot command" again
Code:
fastboot update image-ryu-n2g47w.zip
- after several flash actions (be patient!) the Pixel C will boot into Android. It may take a while and a second boot can occur.
To install SuperSU you can't use the Download folder of the tablet because /data is encrypted (sorry, my bad).
If you can use a USB stick with OTG, then:
- copy the "Recovery Flashable.zip" from http://www.supersu.com/download to the USB stick
- use NRT to start TWRP without flashing it (Advanced Utilities, Fastboot Boot, Custom Recovery)
- press Cancel when asked for encryption key. If asked for write access to /system: allow it.
- attach the USB stick
- Install, Select Storage, USB OTG, OK
- select SuperSU.ZIP from USB stick and reboot.
If you cannot attach a USB stick:
- copy SuperSU.ZIP to your ADB folder
- start TWRP as described above
- Advanced, ADB Sideload
Code:
adb sideload SuperSU-v2.78-201609011115.zip
- Reboot
This worked a treat. Now rooted and running 7.1.2! Thank you for taking the time to help out. +1

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...

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

Categories

Resources