Enabling camera2api on redmi 6 pro - Xiaomi Redmi 6 Pro Questions & Answers

How can i enable my camera2api on my redmi6pro? I know how to unlock the bootloader but i don't know the next step. Please provide some links for the files that needed. Thanks!

XRicksenX said:
How can i enable my camera2api on my redmi6pro? I know how to unlock the bootloader but i don't know the next step. Please provide some links for the files that needed. Thanks!
Click to expand...
Click to collapse
StanLeY Sd said:
HOW TO FLASH TWRP FOR THE FIRST TIME
Bootloader should be unlocked before going into these steps
Install minimal adb & fastboot tools on your PC
1. Copy twrp.img file into minimal adb & fastboot folder and also keep camera2api file in your sdcard.
2. Goto fastboot mode by long pressing volumeUp+PowerButton.
Phone boots into fastboot mode. Now Connect your phone to pc.
3. Open cmd/powershell in minimal adb& fastboot folder by holding shift + rightClick on mouse then "click Open cmd here"
4. Now in the cmd type fastboot boot twrp.img
Now your phone boots into TWRP.
5. From booted TWRP, Goto mount->check System.
6. Now goto Install and select your camera2api.zip from your sdcard and flash it.
Download camera2api from here https://drive.google.com/file/d/1_7GMHjb6DB8A2TTxUZpg9Acd9qfLt83U/view?usp=drivesdk
7. Finally Goto Reboot and click system.
8. Finally download and install this gcam.
https://drive.google.com/file/d/1iqYCvEw7rQyn4w2KB6R9yWV6tby-JyUa/view?usp=drivesdk
Now you have gcam working.
9. To keep twrp forever, Flash disable-force-encryption-treble zip file which also installs magisk So, if you dont want root, flash magisk uninstaller next after flashing above file.
10. Finally reboot into system.
NOTE: DO IT AT YOUR OWN RISK
Flash latest fastboot rom of your device if something goes wrong.
Give thanks if this helped you. If you have doubt hit me on telegram @isrikanthd
Click to expand...
Click to collapse
This is from another post.

XRicksenX said:
How can i enable my camera2api on my redmi6pro? I know how to unlock the bootloader but i don't know the next step. Please provide some links for the files that needed. Thanks!
Click to expand...
Click to collapse
Download build.prop editor from playstore
Then open it and give it root privledges
Then edit the build.prop and Add this line:
persist.vendor.camera.HAL3.enabled=1
save changes and reboot, cam2api will be enabled
hit thanks if it worked

Related

[Motorola] Moto All-In-one Tool v1.1

MOTO All-In-one Tool​
Supported Model:
1. Any Motorola device to Flash Stock ROM.
Pre-Required:
1. Windows OS
2. STOCK ROM For flashing.
3. Supersu.zip for rooting.
4. Bootloader Key to unlock bootloader.
5. Stock Recovery for flashing.
Downloads:
*In next Post
Bugs:
1. GUI hangs if you press anything during flashing. So avoid touching anything once flash button pressed.{fixed in next update}
2. You tell :cyclops:
Features:
1. Flashing stock rom on any Motorola Device (Any model).
2. Root through superuse.zip.
3. custom recovery.
4. Bootloader lock and unlock (Required bootloader key).
5. Flashing logo.bin to remove bootloader warning message.
6. sideload any zip/ROM.
7. Installing ADB & mfastboot driver.
Request:
Please don't add direct download link in your [email protected] or in your website. if you want to add in your thread then
First ask me for permission and after that mention me in your thread and instead of giving download link, direct them to this page for downloading.
Please rate this thread to 5 * so that this tool can be published on XDA Portal​
XDA:DevDB Information
Moto All-In-one Tool v1.1, Tool/Utility for the Moto G4 Plus
Contributors
hard91
Version Information
Status: Stable
Current Stable Version: v1.0
Stable Release Date: 2016-06-12
Created 2016-06-12
Last Updated 2016-06-16
Downloads:
Go to this Link:
CLICK ON ME
Reserved
How to Section​ How to Install Driver
1. Click on Driver.
2. Now Click on ADB & mfastboot Drivers.
3. Now just click Next> Next> button.
4. Do not change Installation directory.
5. After installations please make sure mfastboot.exe, fastboot, adb etc Files are present in installation directory.
6. Done.
Note: Above section is very very important without it this tool will not work.
How to Phone Info
1. Please ensure you have installed ADB & mfastboot Drivers from Driver page.
2. Enable USB debugging option under settings of your Mobile.
3. If there is any Message appears on mobile screen which require authentication to connect PC then click on remember option and Press Ok.
4. Now Click on ADB Devices button. It will show connected device and its serial No.
5. Now click on Get Phone Info to get Information Regarding Phone you currently connected with.
6. Done!
How to Flash STOCK ROM (fastboot flashable) and recover from bricked moto device.
1. Click on Flasher.
2. If you are not in fastboot mode then click on AUTO Button under Reboot into Bootloader Group Box. If you are in mobile bricked stage then manually boot into bootloader.
3. Click on browse button. It will open a dialog to select STOCK fastboot Flashable ROM
4. Go to the path where your STOCK ROM is placed.
5. On selecting STOCK ROM Directory it will show its path under STOCK ROM Path Group Box.
6. If all the basic files are present in the directory then Flash button is enabled otherwise it will give error and show missing files and Disable Flash Button.
7. Select whether you want to lock bootloader or Un-lock bootloader (if bootloader is previously unlocked it will not lock it).
8. Click on Flash button.
9. See Log window.
10. When progress bar reaches to 100% it will show Flashing Done!
11. Your phone will now reboot automatically.
12. Flashing Done!
Note: First boot take 5-10 min. So don’t worry.
How to Flash Stock/Custom Recovery
1. Click on Root/ Recovery.
2. Under Flash recovery Group box click on Browse button.
3. Select your Recovery (twrp, cwm, Stock etc) from opened dialog box.
4. It will show your selected file path in Path line.
5. Click on Flash.
6. Done!
How to Flash custom ROM or Zip using Sideload
1. Click on Root/ Recovery.
2. Under side Load Group box click on Browse button.
3. Select your custom ROM or any fastboot flashable Zip file from opened dialog box.
4. It will show your selected file path in Path line.
5. Click side load.
6. Done!
How to Root any MOTO Device
1. Click on Root/ Recovery.
2. Under Root Group box click on Browse button.
3. Select supersu.zip path from opened dialog box.
4. It will show your selected file path in Path line.
5. Click on Root.
6. Your Phone will reboot into custom recovery which you flashed previously.
7. Under custom recovery click on INSTALL > SDCARD (Internal) > select superuser.zip which you selected in 3rd step.
8. Rooting Done!
NOTE: You have to flash custom recovery first in order to Root.
How to Lock Bootloader
1. Click on Root/ Recovery.
2. Under Lock/Unlock Boot-loader Group box.
3. Click on Lock Button.
4. Done!
NOTE: There is no need of bootloader unlock key while locking bootloader.
How to Unlock Bootloader
1. Click on Root/ Recovery.
2. Under Lock/Unlock Boot-loader Group box.
3. Enter 20 digit bootloader key.
4. Click on Un-Lock.
5. Done!
How to get Unlock Bootloader Key
1. Click on Root/ Recovery.
2. Click on get Moto Key button.
3. It will restart your phone into fastboot and wait for device to respond.
4. A message box will open Read it carefully.
5. Click on show info and copy that string.
6. Now Click on OK to go to MOTO website.
7. Login to the website and paste previously copied string where motorola website say.
8. And click on can I unlock my bootloader?.
9. If yes then you will get Bootloader key in your Email inbox.
10. Now paste above 20 digit bootloader key into Under Lock/Unlock Boot-loader Group box.
11. Click on unlock bootloader button.
12. Done!
NOTE: Please note that all the MOTO Models do not support unlocking bootloader like phones under AT &T and other contract phone. This tool is not created by Rajnikant or Superman. Hence this tool can only automate the adb commands that are used to get bootloader string and unlock bootloader. This tool will not do any kind of magic to unlock your contract Moto device.
How to Remove Bootloader Warning Message
1. Click on Root/ Recovery.
2. Under Flash Logo Group box click on Browse button.
3. Select logo.bin file downloaded from your mobile XDA form.
4. It will show your selected file path in Path line.
5. Click on Flash.
6. Done!
You Have to Download each and every File from your respective XDA Form​
Screenshots
Hmm, download blocked because virus found : Trojan: Win32/Spursint.A!cl
You can disable antivirus
This tool is 100% virus free
Sent from my CP8298_I00 using XDA-Developers mobile app
As this tool automate some task and install drivers and copy mfastboot in windows directory your antivirus consider it virus
Sent from my CP8298_I00 using XDA-Developers mobile app
Ok but i wonder, that the virus message came only by download from 4shared.com, by download from mediafire no warning..
tasar said:
Ok but i wonder, that the virus message came only by download from 4shared.com, by download from mediafire no warning..
Click to expand...
Click to collapse
Really.....
But both the files are same
Oky then i will remove file from 4shared
Can you report me one thing
When you click on adb&mfastboot driver is there any installer open????
Sent from my CP8298_I00 using XDA-Developers mobile app
Yes, it open but in the install folder is no mfastboot, only fastboot and a file called maf32.exe
Gesendet von meinem XT1562 mit Tapatalk
tasar said:
Yes, it open but in the install folder is no mfastboot, only fastboot and a file called maf32.exe
Gesendet von meinem XT1562 mit Tapatalk
Click to expand...
Click to collapse
Can you plz tell me exact folder location of install folder and plz do confirm that you have not changed it during installation
Also all the files present in that folder
Sent from my CP8298_I00 using XDA-Developers mobile app
c:\Program Files (x86)\Minimal ADB and Fastboot\
I delete folder to test a new install, all fine and mfastboot was there... dont know why by first install i dont saw it.. tomates on eyes ?
tasar said:
c:\Program Files (x86)\Minimal ADB and Fastboot\
Click to expand...
Click to collapse
List of all files
Sent from my CP8298_I00 using XDA-Developers mobile app
Oky
Now do you got messages when you click get phone info button
Sent from my CP8298_I00 using XDA-Developers mobile app
Get my phone for 1 hour and at this moment, no SIM card. Must tick ADB devices before phone infos are read, and not forget ADB allow on phone
Tried it and it can't get phone info (something about the being unauthorized). i'm trying to find a working flashable ROM for my XT1626 model
lokinmodar said:
Tried it and it can't get phone info (something about the being unauthorized). i'm trying to find a working flashable ROM for my XT1626 model
Click to expand...
Click to collapse
Please read how to section
Install driver first.......
Install v1.1a
hard91 said:
Please read how to section
Install driver first.......
Install v1.1a
Click to expand...
Click to collapse
Tried removing and installing all from scratch. No success. Says phone unauthorized. No info pops on phone screen to authorize it
lokinmodar said:
Tried removing and installing all from scratch. No success. Says phone unauthorized. No info pops on phone screen to authorize it
Click to expand...
Click to collapse
Hello
Which model do you have
hard91 said:
Hello
Which model do you have
Click to expand...
Click to collapse
Moto G4 XT1626 DTV
lokinmodar said:
Moto G4 XT1626 DTV
Click to expand...
Click to collapse
Do it shows adb devoces???

[GUIDE] Unlocking bootloader and Rooting Micromax Q394

UNLOCKING BOOTLOADER:
a) Download Koush Universal adb driver from https://clockworkmod.com and adb setup.
b) Install the driver first and install adb after that.
c) Type n and press Enter when adb setup asks for installing drivers.
d) After the installation, run command prompt as administrator.
e) Open File explorer, and navigate to C:\adb
f) Please take backup of your data before proceeding further.
g) In C:\adb press Shift+right click and select Open Command Window here.
h) Enable USB debugging on your phone and connect your phone to pc using USB cable.
i) Type
Code:
adb devices
and press enter.
j) If it shows some device to be connected, only then proceed further.
k) Type
Code:
adb reboot bootloader
and press enter.
l) Phone will boot into fastboot mode.
m) Type
Code:
fastboot devices
and press enter.
n) If it shows some device to be connected, only then proceed further.
o) Type
Code:
fastboot oem unlock
and press enter.
p) On the phone screen, the phone will ask for confirmation to unlock bootloader.
Once fastboot shows "Success" or "Done" or something else signifying that the command was successful, type
Code:
fastboot reboot
and press enter.
q) Your phone will reboot normally.
Congrats, you have successfully unlocked bootloader.
ROOTING:
1. For Dr. Fone - Root:
a) Download and install Dr. Fone - Root on your PC.
b) Enable USB debugging on your phone.
c) Open Dr. Fone - Root and select Root option.
d) Connect your phone to your PC with USB cable.
e) Dr. Fone - Root will detect your phone in a few minutes.
f) Click "Root" button and wait.
Congrats, you have a rooted phone now.
2. For Magisk:
You'll find instructions to install Magisk over here.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
3.Through TWRP:
a) Download SuperSU.zip or Magisk.zip
SuperSU link:
http://download.chainfire.eu/696/supersu/
THIS IS A LINK FOR AN OLDER VERSION OF SUPERSU SINCE supersu.com IS SHOWING DOWNLOAD ERRORS.
Magisk link:
Given in method 2 of rooting.
b) Download and flash TWRP from this thread, instructions have been provided in the thread for flashing it:
https://forum.xda-developers.com/ca...nofficial-twrp-3-2-3-micromax-canvas-t3833332
c) Boot into TWRP.
d) Select "Install" option.
e) In the File Manager that opens, select the zip you want to flash.
f) Follow the instructions on the screen.
g) Select "Reboot System"
Congrats, you have a rooted phone now.
Note: Kingoroot used to work before but it only provides temporary root now. Once you reboot, you lose root.
HIT THANKS IF FOUND USEFUL
mali_ said:
Any custom rom for this phone?
Click to expand...
Click to collapse
Not yet
mali_ said:
Is there an official stock firmware download link or just the thirdparty links?
Click to expand...
Click to collapse
androidmtk.com provides official firmware
mali_ said:
Magisk works on this?
What are the safe to remove apps?
Click to expand...
Click to collapse
Yes, Magisk works on this. I am using it right now.
You can uninstall any app you want without any side effects as long as the app is not an essential part of system.
For example, Firsttouch Launcher, Swiftkey Keyboard, Email, Amazon Kindle, App Center, App Bazaar, Chaatz, Hangouts etc.
You can use Debloater.
It is a magisk module you can use by terminal emulator to remove bloatware.
HIT THANKS IF FOUND USEFUL
if device doesn't show anything after writing fastboot devices command what is to be done...???
Masumilicioz said:
if device doesn't show anything after writing fastboot devices command what is to be done...???
Click to expand...
Click to collapse
Have you installed the drivers I mentioned or some other ones?
Btw, are you running adb and fastboot in Windows or Linux?
Thanks You for this post.
WHen I get to step "K" the device simply reboots fully back into normal OS
then further steps are not recognized if I do not keep putting "adb" in front
like it will not recognize fastboot devices
but it will recognize "adb fastboot devices"
---------- Post added at 08:15 AM ---------- Previous post was at 08:13 AM ----------
Not sure if I got the adb drivers right because I did not see any "koushes adb" I mesn the site was clearly koushes but no where did I see a download names or called "koushes adb" Am I missing something?
protomind said:
WHen I get to step "K" the device simply reboots fully back into normal OS
then further steps are not recognized if I do not keep putting "adb" in front
like it will not recognize fastboot devices
but it will recognize "adb fastboot devices"
---------- Post added at 08:15 AM ---------- Previous post was at 08:13 AM ----------
Not sure if I got the adb drivers right because I did not see any "koushes adb" I mesn the site was clearly koushes but no where did I see a download names or called "koushes adb" Am I missing something?
Click to expand...
Click to collapse
You can get adb from SDK Tools from
https://developer.android.com/studio/ and Universal ADB Drivers from https://clockworkmod.com
I got TWRP recovery installed created by you. Big thanks !
I'm having issues in installing magisk via zip as well as patched boot image. Was the process smooth for you?
I got it to work by editing boot.img.
Are you working on any custom rom ?
Do you have any roms which can be ported to Q394 ?
Ashishoswal said:
I got TWRP recovery installed created by you. Big thanks !
I'm having issues in installing magisk via zip as well as patched boot image. Was the process smooth for you?
Click to expand...
Click to collapse
Yes, there were no problems at all.
Tell me the problem in detail so that I would be able to help.
Augustoandro said:
Yes, there were no problems at all.
Tell me the problem in detail so that I would be able to help.
Click to expand...
Click to collapse
Solved by changing some values in default boot image.
Are you working on any custom rom for this device ?
Ashishoswal said:
Solved by changing some values in default boot image.
Are you working on any custom rom for this device ?
Click to expand...
Click to collapse
I am working on creating a device tree first, but it will take some time.
Im not a developer but if there's any task which can be done by following a guide, and is helpful for you then let me know. I will be glad to help you.

Asus Zenfone 4 selfie Lite(ZB553KL) BOOTLOADER UNLOCKER

Hello everyone. Asus have recently released the bootloader unlocker for zenfone 4 selfie lite. So guys its time for the pro users to switch to custom roms according to their choice. If you want the bootloader unlocker then download it from the link below:
ZENFONE 4 SELFIE LITE BOOTLOADER UNLOCKER
stock recovery
plz upload the stock recovery for zenfone 4 selfie lite.. i need it
Help me, how to install twrp. On my zb553kl
Help me, how to install twrp. On my zb553kl
snoopy_042981 said:
Help me, how to install twrp. On my zb553kl
Click to expand...
Click to collapse
Note: This will void the warranty of your device and can also brick your device. Do it at your own risk.
Step 1: Download adb and fastboot in your pc and install it.
Step 2: Turn on developer options in your phone.(Go to SETTINGS>ABOUT>SOFTWARE INFORMATION. Then keep on tapping build number until a toast notification says "YOU ARE NOW DEVELOPER").
Step 3: Turn on USB Debugging. (Go to SETTINGS>DEVELOPER OPTIONS and turn on USB DEBUGGING.
Step 4: Connect it to your pc and authorize your pc to have usb debugging access.
Step 4: Download the bootloader unlocker apk . Open the folder where you have downloaded the apk. Rename the apk to unlocker.apk. Then type in the address bar of the file explorer "CMD" and press enter. This will open a command terminal. Then type the given code in the terminal an press enter. Then close all file explorer and the command terminal
Code:
adb install unlocker.apk
Step 5: Download TWRP Recovery ZD553KL or ZB553KL (Still not avilable). Open the folder where you have downloaded the img file. Rename it to recovery.img. Then type the given code in the terminal an press enter. Then close all file explorer and the command terminal.
Step 6: Press and hold volume up button+power button until your phone gets switch off. Then it will reboot to fastboot mode.
Step 7: NOTE: Now since ZB553KL dosent have an Official version of twrp. So it is recommended to use temporary booting of recovery. Though I will provide both the codes.
Type this command for temporary booting of twrp recovery.
Code:
fastboot boot recovery.img
This will boot the phone in to twrp recovery mode. After you reboot it will get back to your stock recovery. [It is recommended to back up system, recovery and boot partition of your device using this temporary recovery boot. Coz if you ever want to go back to stock rom you must have stock recovery. ]
Type this command for permanently setting twrp recovery as recovery.
Code:
fastboot flash recovery recovery.img
snoopy_042981 said:
Help me, how to install twrp. On my zb553kl
Click to expand...
Click to collapse
Step 1: Download adb and fastboot in your pc and install it.
Step 2: Turn on developer options in your phone.(Go to SETTINGS>ABOUT>SOFTWARE INFORMATION. Then keep on tapping build number until a toast notification says "YOU ARE NOW DEVELOPER").
Step 3: Turn on USB Debugging. (Go to SETTINGS>DEVELOPER OPTIONS and turn on USB DEBUGGING.
Step 4: Connect it to your pc and authorize your pc to have usb debugging access.
Step 4: Download the bootloader unlocker apk . Open the folder where you have downloaded the apk. Rename the apk to unlocker.apk. Then type in the address bar of the file explorer "CMD" and press enter. This will open a command terminal. Then type the given code in the terminal an press enter. Then close all file explorer and the command terminal
Code:
adb install unlocker.apk
Step 5: Download TWRP Recovery ZD553KL or ZB553KL (Still not avilable). Open the folder where you have downloaded the img file. Rename it to recovery.img. Then type the given code in the terminal an press enter. Then close all file explorer and the command terminal.
Step 6: Press and hold volume up button+power button until your phone gets switch off. Then it will reboot to fastboot mode.
Step 7: NOTE: Now since ZB553KL dosent have an Official version of twrp. So it is recommended to use temporary booting of recovery. Though I will provide both the codes.
Type this command for temporary booting of twrp recovery.
Code:
fastboot boot recovery.img
This will boot the phone in to twrp recovery mode. After you reboot it will get back to your stock recovery. [It is recommended to back up system, recovery and boot partition of your device using this temporary recovery boot. Coz if you ever want to go back to stock rom you must have stock recovery. ]
Type this command for permanently setting twrp recovery as recovery.
Code:
fastboot flash recovery recovery.img
I forgot to tell you
I have already use ur bootloader unlocker.apk and my fone its already unlock the bootloader. It is ok to install the twrp and how?
And i dont have yet the TWRP Recovery ZB553KL, coz dosent have an official version on my model? What can i do?
---------- Post added at 09:43 AM ---------- Previous post was at 09:37 AM ----------
thank u for helping me (Devc100)
snoopy_042981 said:
And i dont have yet the TWRP Recovery ZB553KL, coz dosent have an official version on my model? What can i do?
---------- Post added at 09:43 AM ---------- Previous post was at 09:37 AM ----------
thank u for helping me (Devc100)
Click to expand...
Click to collapse
You have to wait, till there is a recovery for ZD553KL atleast.
wrong signatures image error
i got wrong signature img error in this
Devc100 said:
Note: This will void the warranty of your device and can also brick your device. Do it at your own risk.
Step 1: Download adb and fastboot in your pc and install it.
Step 2: Turn on developer options in your phone.(Go to SETTINGS>ABOUT>SOFTWARE INFORMATION. Then keep on tapping build number until a toast notification says "YOU ARE NOW DEVELOPER").
Step 3: Turn on USB Debugging. (Go to SETTINGS>DEVELOPER OPTIONS and turn on USB DEBUGGING.
Step 4: Connect it to your pc and authorize your pc to have usb debugging access.
Step 4: Download the bootloader unlocker apk . Open the folder where you have downloaded the apk. Rename the apk to unlocker.apk. Then type in the address bar of the file explorer "CMD" and press enter. This will open a command terminal. Then type the given code in the terminal an press enter. Then close all file explorer and the command terminal
Code:
adb install unlocker.apk
Step 5: Download TWRP Recovery ZD553KL or ZB553KL (Still not avilable). Open the folder where you have downloaded the img file. Rename it to recovery.img. Then type the given code in the terminal an press enter. Then close all file explorer and the command terminal.
Step 6: Press and hold volume up button+power button until your phone gets switch off. Then it will reboot to fastboot mode.
Step 7: NOTE: Now since ZB553KL dosent have an Official version of twrp. So it is recommended to use temporary booting of recovery. Though I will provide both the codes.
Type this command for temporary booting of twrp recovery.
Code:
fastboot boot recovery.img
This will boot the phone in to twrp recovery mode. After you reboot it will get back to your stock recovery. [It is recommended to back up system, recovery and boot partition of your device using this temporary recovery boot. Coz if you ever want to go back to stock rom you must have stock recovery. ]
Type this command for permanently setting twrp recovery as recovery.
Code:
fastboot flash recovery recovery.img
Click to expand...
Click to collapse
snoopy_042981 said:
I have already use ur bootloader unlocker.apk and my fone its already unlock the bootloader. It is ok to install the twrp and how?
Click to expand...
Click to collapse
may i know your firmware version, i try to unlock via app but after reboot still same

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

Rooting 7T without TWRP / Pre-patched Magisk boot.img for 10.0.13.HD65AA (Global)

For those who can't root via TWRP or somehow lost root while updating (like I did), I have a patched boot image to aid others in this endeavor. This is a boot.img from a T-Mobile 7T which I had converted to the Global ROM, extracted and patched by Magisk after applying the latest update (10.0.13.HD65AA). Fully tested and working!
Instructions:
Unzip and place it in a convenient folder (ie, C:/adb/ or whatever's easy to remember.
Open a cmd prompt and navigate to your fastboot/adb folder.
Then run the command
Code:
fastboot boot boot.img
Your phone will be "temp-rooted" once it boots. If you haven't already, install Magisk Manager, then flash Magisk itself (ALWAYS do direct install!).
Don't install any modules yet. Just reboot when prompted after the Magisk flashing process is done.
Profit!
Download from Google Drive
[I dunno where else to upload this that XDA would consider "safe," so GDrive it is, I suppose.]
Spoiler: Process for manually patching the boot.img without TWRP:
Requirements: Stock device with unlocked bootloader only (no other mods), most recent OTA update applied and system rebooted. Fastboot and ADB Windows executables.
1) Enable advanced reboot and usb debugging in developer options.
2) Reboot to bootloader.
Code:
adb reboot bootloader
3) Boot to twrp
Code:
fastboot boot twrp.img
(or whatever you named it).
4) Once booted, enter:
Code:
adb shell
dd if=/dev/block/bootdevice/by-name/boot of=/tmp/boot.img
exit
5.5) Copy file to the PC:
Code:
adb pull /tmp/boot.img stock_boot.img
6) Reboot phone back to Android.
6.5) Copy boot.img back to phone:
Code:
adb push stock_boot.img /sdcard/boot.img
7) Make sure you have a data connection.
8) Install Magisk Manager.
9) Select option to install Magisk (not the Magisk App). Choose "Select and Patch a File."
10) Point to the boot.img.
11) It will do its thing then come back with a done message. File /sdcard/download/magisk_patched.img will be created.
12) Copy this file to your PC, either using MTP or ADB.
Code:
adb pull /sdcard/download/magisk_patched.img
13) Reboot the phone into bootloader mode again.
Code:
adb reboot bootloader
14) Boot the patched boot from step 12:
Code:
fastboot boot magisk_patched.img
15) Launch Magisk Manager again. You should see the current version available and the installed version below that now. If all is good, choose to install/update Magisk, then "Direct install" and reboot when finished.
I guess you posted it in wrong section as mentioned the file is for Oneplus 7t ?
>Akshay< said:
I guess you posted it in wrong section as mentioned the file is for Oneplus 7t ?
Click to expand...
Click to collapse
OH! You're right. I goofed. I'll ask a mod to move it.
This will delete all the data from the phone + bootloader needs to be unlocked?
Brontok said:
This will delete all the data from the phone + bootloader needs to be unlocked?
Click to expand...
Click to collapse
Flashing this doesn't erase your data, unlocking the bootloader does, though (and is necessary to flash this).
GuyInDogSuit said:
Flashing this doesn't erase your data, unlocking the bootloader does, though (and is necessary to flash this).
Click to expand...
Click to collapse
never mind!
someone already did!
https://forum.xda-developers.com/showpost.php?p=83780229&postcount=12
thanks anyway!
Will this work for 10.0.13 tmobile ? Thanks
gershee said:
Will this work for 10.0.13 tmobile ? Thanks
Click to expand...
Click to collapse
You might be better off pulling the boot.img yourself and patching it. I can't guarantee that this will even work on the T-Mobile version. But if you want to test it, just boot the img and root from Magisk once it loads. If it bootloops, well, then we know.
EDIT: Updated OP with instructions on how to patch the boot.img.
GuyInDogSuit said:
You might be better off pulling the boot.img yourself and patching it. I can't guarantee that this will even work on the T-Mobile version. But if you want to test it, just boot the img and root from Magisk once it loads. If it bootloops, well, then we know.
EDIT: Updated OP with instructions on how to patch the boot.img.
Click to expand...
Click to collapse
Thanks!
Worked like a charm.

Categories

Resources