In my case the mobile was Redmi Note 7 Pro
2. Press and hold Volume Up + Power keys together until you see a Mi logo.
3 Three permission
a)
USB Debugging
b)
Install Via USB
c)
USB debugging security settings
Uncheck Verify apps over USB
Stage 1 Unlock the Bootloader
Please note the unlocking the bootloader will automatically wipe all your data so back up at this stage only.
In case you have android one you can bootinto fastboot mode and type on screen
fastboot flashing unlock
Unlock will take atleast 7 days.
2)
The list of devices in MI account (in your mobile)
does not show the current device in which you are logged in.
3)
If MI unlock status shows
“Don’t disconnect from the Network------ to unlock your
device”
Then it means you have successfully added your account.
4)
To check whether your device is recognized in
ADB type adb devices
5)
To check whether your device is recognized in
fastboot, log into fastboot mode and type fastboot devices.
6)
In my Case the data cable was faulty. It showed
the device in adb device command but not in fastboot device command. As soon as
I changed the data cable the same was detected in no time.
Stage 2 Install Device specific recovery ROM of TWRP
Open the ADB folder (C:/ADB) on your desktop and open a command prompt window here.
adb devices Make sure your device is listed.
In case unauthorized is displayed against your device then simply disconnect and reconnect the cable. Against your device id it must read "device".
Next, type in: adb reboot bootloader
Wait for the phone to reboot in bootloader mode
Once in Fastboot mode, to check whether your device is being read by computer you can check by typing Fastboot devices
(Drag and drop the twrp.img
file into the Command Prompt instead of typing out the filename)
Once the phone in fastboot mode, type the following command to flash the recovery:-
fastboot flash recovery recovery.img
Entering into recovery mode
1. Turn off your mobile.2. Press and hold Volume Up + Power keys together until you see a Mi logo.
Typing
ADB reboot recovery
By default you boot into MI recovery mode.
1) Boot into
fastboot
2) fastboot flash recovery twrp.img (You can also drag and drop the file location into the window).
3) fastboot reboot (immediately after device reboot, in black screen, hold VOL+ button)
4) TWRP logo will appears
2) fastboot flash recovery twrp.img (You can also drag and drop the file location into the window).
3) fastboot reboot (immediately after device reboot, in black screen, hold VOL+ button)
4) TWRP logo will appears
If you boot directly into the phone the flashed twrp image will be
overwritten and you have to restart the process.
If you have booted into phone then you can use some software so as to restart the phone in recovery (TWRP) mode.
If you have booted into phone then you can use some software so as to restart the phone in recovery (TWRP) mode.
DO NOT try to run
'fastboot boot recovery.img', it won't work.
Stage 3 Installing Custom ROM
Now to install Custom ROM there are 2 methods
1)
Saving the custom ROM in Mobile memory
Once your phone in TWRP main menu Select Wipe > Advanced wipe and
Select Dalvik Cache, System, Data and Cache then swipe to wipe. NOTE:- Don’t Select the Internal option, otherwise you will delete the Custom ROM file and Gapps File.
2)
Flashing through USB cable connected to ADB
screen.
(Remember if giving link of img or zip file from laptop then the folder name should not have any spaces.)
Flash Fcrypt If you're Decrypted
DON'T FLASH FCRYPT DISABLER IF WANT OTA UPDATES
Errors
1) 1) This package
requires firmware from miui 9.5.14 or newer
The firm ware package can be reloaded
by way of following
Iin TWRP > Advanced> ADB
Sideload
In ADB window at PC type adb sideload (Drag and drop file location)
In my Case weekly 9.5.16 China
Firmware zip file did the trick
2) Failed Remote recovery. No such partition.
fastboot getvar current-slot
this will return your <letter>
then do
fastboot flash boot_<letter> <filename>.img
this will return your <letter>
then do
fastboot flash boot_<letter> <filename>.img
Underscore is important in above command.
3) error data / user_de operation not
permitted
Keep phone in fastboot mode and type this
fastboot erase userdata
4) Unable to mount data
Format Data
No comments:
Post a Comment