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

Search This thread

joshieboo

Member
Apr 19, 2019
16
20
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)
 

superjit

Member
Feb 15, 2010
12
3
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?
 

joshieboo

Member
Apr 19, 2019
16
20
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

The first sentence says to zip it in c:/ directory. & yup, I'm waiting too until May 7th to finally unlock it.
 

greensoto101

Member
Apr 7, 2015
5
2
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)

Here's the link to the video, hope it helps visually :)

https://youtu.be/dXNwcv-jSS0
 

BusinessKid

Senior Member
Apr 28, 2016
68
31
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
 
Last edited:

BusinessKid

Senior Member
Apr 28, 2016
68
31
Can you please dump cat /sys/class/leds/lcd-backlight/max_brightness and cat /sys/class/backlight/panel0-backlight/max_brightness
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    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)
    3
    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
    2
    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)

    Here's the link to the video, hope it helps visually :)

    https://youtu.be/dXNwcv-jSS0
    1
    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?

    Drivers should be in the unzipped miunlock zip or here
    https://c.mi.com/thread-1625831-1-1.html
    1
    Drivers should be in the unzipped miunlock zip or here
    https://c.mi.com/thread-1625831-1-1.html

    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