how to install recovery in redmi note 4 - Xiaomi Redmi Note 4 Guides, News, & Discussion

what is the requirement to install TWRP recovery in Redmi Note 4
1. Universal ADB driver
2. ADB files
3. TWRP Recovery
These 3 files you can download by clicking here after download these files first insatall universal adb driver after that unzip the adb.zip and twrp.zip after unzip both file open twrp unzip folder and copy twrp.img and past it on adb unzip folder.
Your device bootloder must be unlock if your device bootloder is not unlock than unlock it. visit here to unlock your device bootloder.
After unlock bootloder in your device just follow the step given below
Enable USB Debugging
==> Enable Developer option- Goto Settings > About phone > tap on MIUI version 5 to10 times.
==> Enable USB Debugging- Goto Settings > Additional settings > Developer options > USB Debugging and enable it.
Enable OEM Unlock
==> Enable OEM Unlock – Goto Settings > Additional settings > Developer options > Enable OEM Unlock.
Installation Process For TWRP Recovery in Redmi Note 4
1. Now connect your phone Redmi Note 4 to PC via USB cable.
2. Open the ADB unzip Folder.
3. Inside the folder, press and hold “Shift” Key then right click and select and selecte the option “Open command Windows here”. like this
4. The Command prompt will open.
5. Now write the this command.
adb devices
7. If your Redmi Note 4 properly connected to your PC it will show your device with some alphanumeric character.
8. Now write the this command. This will reboot your device into fastboot mode
adb reboot bootloader
9. Now its time to flash TWRP, so run this command.
(NOTE:- you must check in adb folder twrp.img file present or not if not present than past it first from twrp folder)
fastboot flash recovery twrp.img
once flashing process done than turn on your device

Actually you may use command 'dd' in adb shell or a terminal emulator to flash recovery easily.

yadav. said:
fastboot flash boot twrp.img
once flashing process done than turn on your device
Click to expand...
Click to collapse
I seems that the right command is "fastboot flash recovery twrp.img"
Unless you wanna install the recovery onto the kernel partition.

@OP: The correct command to flash the recovery is
fastboot flash recovery twrp.img
Please correct it in your post.

it does't work
after i downloaded the ADB file and the TWRP img together into my phone , which i saw with the CMD . and i open back my phone to recovery mode agian. it does not appear as TWRP . HOW?

Aaronyap said:
after i downloaded the ADB file and the TWRP img together into my phone , which i saw with the CMD . and i open back my phone to recovery mode agian. it does not appear as TWRP . HOW?
Click to expand...
Click to collapse
Because the instruction in first post is incorrect, after you flashed recovery you also need to use this command: "fastboot boot recovery_image_name.img"
This is needed only to boot into TWRP for first time, if you intend on flashing custom ROM's then Format DATA,reboot to recovery again and you can use it normal.

Related

root methode for honor 6 + marshmallow

try this link that worked for me : https://www.youtube.com/watch?v=DDT8RYrntgs
better download minimal adb and fasboot driver
take in folder " data " the twrp recovery and put this in Minimal adb and fastboot folder
1) turn your phone on , go setting " about " push 7 on build number for open developer option and allow tur usb debugin on
2) on the folder adb and fasboot right clic open a comand her
3) type " adb reboot bootloader " allow adb dont forget that
4)open folder Minimal adb and fastboot right clic again open a comand her
5) type fastboot flash recovery twrp.img " rename your recovery like this "
6) reboot your phone open a comand in Minimal adb fastboot folder right clic open a comand type adb reboot recovery and flash all zip ! " do not allow twrp flash a supesu is important reboot and enjoy
link file twrp+ flash zip : https://drive.google.com/open?id=0B7NgwPmiSDUzbU5hSUFhX0Vad1E
I have done these tutorials to root in marshmallow (spanish) http://actualizatumovil.com/Temas-Tutorial-TWRP-SuperSu-EMUI-4-Marshmallow-Honor-6 and http://www.htcmania.com/showthread.php?t=1178516

asus zenfone 5 recovery error while adb sideload

hi guys
im using zenfone 5 which was kitkat previously then i updated to lollipop via sideload adb but now my device is bricked and when i try to sideload new firmware it shows the following command with error
E: failed to mount / cache (no such file or directory)
E:cant open / cache /recovery / logs
E:cant open / cache /recovery / logs
E:cant open / dev/block/mmcd1k0p4(permission denied)
when im using these commands after entering into normal boot mode
(before executing commands)
[IMG="normal boot mode in lollipop"]
1)fastboot flash fastboot fastboot.img
2)fastboot reboot-bootloader
im supposed to get this screen after executing above commands
[IMG="droidboot mode"]
but im not getting this screen guys.
im again back to this screen only
[IMG="normal boot mode in lollipop"]
sorry guys this post doesnt allow me to link images because im new to this site
i cross checked with my friends mobile its working flawlessly
help me out from this isssue bro
thank you
mine too
Any expert please help
I need to know whether your partitions are okay or not. Please answer my questions below:
1. What's the model of your device? T00F/T00J?
2. Can you reboot into fastboot?
3. What was the last thing you did to it before bricking?
4. Does it flash the fastboot.img file successfully?
5. Which firmware were you using before sideload push? I mean when the device was fine, what was your firmware version?
6. Which version you were trying to push while you bricked it?
a8962383 said:
I need to know whether your partitions are okay or not. Please answer my questions below:
1. What's the model of your device? T00F/T00J?
2. Can you reboot into fastboot?
3. What was the last thing you did to it before bricking?
4. Does it flash the fastboot.img file successfully?
5. Which firmware were you using before sideload push? I mean when the device was fine, what was your firmware version?
6. Which version you were trying to push while you bricked it?
Click to expand...
Click to collapse
1. t00f
2. yes
3. i upgraded to lollipop which displays error that unfortunately stopped and i restarted thats the phone stucks at boot loop
4. no.it fails to flash the flashboot image
5. kitkat 2.21.44.540
6. tried all kitkats from 2.21.22.30 to 54 and lollipops also
error image
i dot imgur dot com/IrvGjbS.jpg
recovery
i dot imgur dot com/7UYyLnm.jpg
(replace dot with .)
thanks
I got same problem (solved)
I have advice for you according my experience.
My device is T00F/A500CG
I assume you can enter bootloader or recovery mode, your pc installed all needed driver to do command adb sideload.
1. Download official ZenFone 5 firmware from ASUS website. Just go to Google and type keyword "download ZenFone firmware".
2. Download firmware 5.3.3.3 and 5.2.2.2 (apply same SKU according your device). because my device use WW sku, so I downloaded firmware WW_5.3.3.3 and WW_5.2.2.2.
3. Place those firmware inside adb folder in your pc.
4. Go to recovery mode on your ZenFone 5.
5. Connect your ZenFone to pc using USB cable.
6. Select menu "apply update from adb" on recovery mode.
7. Open cmd at your adb folder.
8. Check whether your device connected or not by using command "adb device". Make sure your device listed as attached.
9. Flash your firmware 5.3.3.3 using adb sideload command.
10. At recovery mode, select clear cache and user data (optional).
11. Once again, enter menu "apply update from adb" at recovery mode and flash firmware 5.2.2.2 using adb sideload command.
12. Do clear cache and user data at recovery mode. Then restart your device. Its will take time to load operating system for the first time, so be patient. Once you done, your device will be running on kit Kat.
This is other way. If you still want to use lollipop on your ZenFone 5.
Follow the step above until step 10. Once it done, restart your device (it will take time for the first time). You will be on lollipop because firmware 5.3.3.3 itself based on lollipop. And of you want to use latest update lollipop (firmware 3.24.40.87) don't do adb sideload from firmware 5.3.3.3 or it will be fail at 54% and you need to repeat step above from step 1.
If you want to proceed to firmware 3.24.40.87, do this:
1. Download ZenFone assists (I recommend this tool).
http://forum.xda-developers.com/zenfone-5/development/zenfone-assist-t3401996
2. Place downloaded file in a folder and extract it.
3. Run the *.exe file. (Active internet connection needed for next step).
4. Activate "developer option" on your ZenFone, active USB debuging and then Connect your ZenFone using USB cable to your pc.
5. Click on "root" menu at ZenFone assists. ( application will download some file for first time usage).
6. When it done, click on " I'm on android" and your device will reboot and automatically enter fastboot mode.
7. When your ZenFone at fastboot mode, click on "execute" on ZenFone assists.
8. Done,reboot your device and if there is no super SU app installed, don't worry, your device has been successfully rooted. Check using root checker if you doubt that.
9. Successfully rooted, now use ZenFone assists to unlock your bootloader( use menu "unlock bootloader" at ZenFone assists). The processes will be similar
As process 5-7.
10. Install TWRP using ZenFone assists. Its also similar with process 5-7.
11. Download moded stock firmware 3.24.40.87 from here
drive.google.com/open?id=0B7Py5ad2aHwKMHRsZ1NJM0tfLTQ
(Source thread :http://forum.xda-developers.com/zenfone-5/help/how-to-revert-to-stock-firmware-t3303654)
This firmware is completely same as official firmware from ASUS, only changed in Meta.inf file so make it able to flash through TWRP.
12. Place downloaded firmware in your SD card.
13. Reboot your device to fastboot mode and enter recovery mode.
14. Your official recovery now replaced by TWRP.
15. Just touch "install from zip" menu at TWRP and select storage where you place the firmware. Do the flashing process, be patient and wait until done.
16. When its done, using TWRP wipe your cache and reboot your device. It will take time for first boot, be patient.
To restore your device all into normal (relock bootloader and replace TWRP with original recovery). Do this:
1. Enable developer option on your device then connect it to your pc using USB cable.
2. Open zenfone assists and select menu "relock bootloader". I assume you already familiar with this process.
3. Open downloaded firmware 3.24.40.87 and extract droidboot.img, boot.img, and recovery.img from inside the zip file and place them inside adb folder.
4. Reboot your ZenFone to fastboot mode, open cmd in adb device folder.
5. Flash fastboot using command fastboot flash fastboot fastboot.img
6. Flash recovery using command fastboot flash recovery recovery.img
7. Flash kernel using command fastboot flash boot boot.img
8. Enter recovery mode then wipe cache and user data (optional).
9. Or just reboot your device.
10. Done, enjoy.
Jagernout said:
I have advice for you according my experience.
My device is T00F/A500CG
I assume you can enter bootloader or recovery mode, your pc installed all needed driver to do command adb sideload.
1. Download official ZenFone 5 firmware from ASUS website. Just go to Google and type keyword "download ZenFone firmware".
2. Download firmware 5.3.3.3 and 5.2.2.2 (apply same SKU according your device). because my device use WW sku, so I downloaded firmware WW_5.3.3.3 and WW_5.2.2.2.
3. Place those firmware inside adb folder in your pc.
4. Go to recovery mode on your ZenFone 5.
5. Connect your ZenFone to pc using USB cable.
6. Select menu "apply update from adb" on recovery mode.
7. Open cmd at your adb folder.
8. Check whether your device connected or not by using command "adb device". Make sure your device listed as attached.
9. Flash your firmware 5.3.3.3 using adb sideload command.
10. At recovery mode, select clear cache and user data (optional).
11. Once again, enter menu "apply update from adb" at recovery mode and flash firmware 5.2.2.2 using adb sideload command.
12. Do clear cache and user data at recovery mode. Then restart your device. Its will take time to load operating system for the first time, so be patient. Once you done, your device will be running on kit Kat.
This is other way. If you still want to use lollipop on your ZenFone 5.
Follow the step above until step 10. Once it done, restart your device (it will take time for the first time). You will be on lollipop because firmware 5.3.3.3 itself based on lollipop. And of you want to use latest update lollipop (firmware 3.24.40.87) don't do adb sideload from firmware 5.3.3.3 or it will be fail at 54% and you need to repeat step above from step 1.
If you want to proceed to firmware 3.24.40.87, do this:
1. Download ZenFone assists (I recommend this tool).
http://forum.xda-developers.com/zenfone-5/development/zenfone-assist-t3401996
2. Place downloaded file in a folder and extract it.
3. Run the *.exe file. (Active internet connection needed for next step).
4. Activate "developer option" on your ZenFone, active USB debuging and then Connect your ZenFone using USB cable to your pc.
5. Click on "root" menu at ZenFone assists. ( application will download some file for first time usage).
6. When it done, click on " I'm on android" and your device will reboot and automatically enter fastboot mode.
7. When your ZenFone at fastboot mode, click on "execute" on ZenFone assists.
8. Done,reboot your device and if there is no super SU app installed, don't worry, your device has been successfully rooted. Check using root checker if you doubt that.
9. Successfully rooted, now use ZenFone assists to unlock your bootloader( use menu "unlock bootloader" at ZenFone assists). The processes will be similar
As process 5-7.
10. Install TWRP using ZenFone assists. Its also similar with process 5-7.
11. Download moded stock firmware 3.24.40.87 from here
drive.google.com/open?id=0B7Py5ad2aHwKMHRsZ1NJM0tfLTQ
(Source thread :http://forum.xda-developers.com/zenfone-5/help/how-to-revert-to-stock-firmware-t3303654)
This firmware is completely same as official firmware from ASUS, only changed in Meta.inf file so make it able to flash through TWRP.
12. Place downloaded firmware in your SD card.
13. Reboot your device to fastboot mode and enter recovery mode.
14. Your official recovery now replaced by TWRP.
15. Just touch "install from zip" menu at TWRP and select storage where you place the firmware. Do the flashing process, be patient and wait until done.
16. When its done, using TWRP wipe your cache and reboot your device. It will take time for first boot, be patient.
To restore your device all into normal (relock bootloader and replace TWRP with original recovery). Do this:
1. Enable developer option on your device then connect it to your pc using USB cable.
2. Open zenfone assists and select menu "relock bootloader". I assume you already familiar with this process.
3. Open downloaded firmware 3.24.40.87 and extract droidboot.img, boot.img, and recovery.img from inside the zip file and place them inside adb folder.
4. Reboot your ZenFone to fastboot mode, open cmd in adb device folder.
5. Flash fastboot using command fastboot flash fastboot fastboot.img
6. Flash recovery using command fastboot flash recovery recovery.img
7. Flash kernel using command fastboot flash boot boot.img
8. Enter recovery mode then wipe cache and user data (optional).
9. Or just reboot your device.
10. Done, enjoy.
Click to expand...
Click to collapse
how much time does it takes for first boot in kitkat (after flashing 5.3,3,3 and 5,2,2,2)
reply asap
thanks
RONUAA said:
how much time does it takes for first boot in kitkat (after flashing 5.3,3,3 and 5,2,2,2)
reply asap
thanks
Click to expand...
Click to collapse
At lease 10 minutes it will take for the first boot. Don't worry, stay cool.
How about without root,if same method can do?

How to root the Honor 8: very clear steps for dummies

How to root the Honor 8: very clear steps for dummies​Requirements:
Unlocked Bootloader
Download TWRP and SuperSU
Make sure USB Debugging is turned on, in the developer’s options.
Download and install the correct drivers and ADB tools.
Watch the video once and then watch it again to make sure you get the flow or the work.
Once you have setup the device with your PC for ADB and fastboot connections we are ready to start.
Installing TWRP
Connect your device to your PC and make sure to grant authentication to your PC over ADB. (You should be able to see your device when you type [ADB devices] in the Command Prompt)
Type [adb reboot bootloader] and wait for the device to reboot into fastboot mode
Type [fastboot devices] to confirm you have a connection to your device
Make sure to save the downloaded recovery .img in the same folder as your are running Adb/fastboot tools, and then type [fastboot flash recovery TWRP image.IMG] ( replace .img with the exact name of the downloaded file)
When complete reboot normally
When the device comes back up, open up ADB and type [adb reboot recovery]
Your device should reboot into TWRP
Do not change to “read/write” keep in read only mode and do a backup
Once backup is complete then enable “read/write” by going to “mount” and disabling the option for read only
Rooting the device
While connected in recovery mode transfer the Supersu2.78 stable to your device and install it. After installed, reboot
After rooting your device may restart 2 to 3 times. This is normal so just be patient.
System will reboot and you should have root. Test root access with your favorite root app ( I like XDA labs)
On my honor 8 I also had to accept in my phone when typing the line fastboot bootloader , if I didn't the phone didn't connect
Also I had to manually pick the driver for the connected Honor 8 in device manager twice. There is a vid about this showing how to choose the correct driver manually (google inc.->the top selection I believe) but if u have no problem connecting in adb in the command prompt typing the commands never mind this.
Good u type where to extract the twrp - MANY MANUALS MISSED THIS took me 30 min to search the info uncessesarily. Just like no one mentioned I had to accept the first command in phone for me atleast.
Does it works for FRD L19 (64GB)?
Nice guide

Back to Stock all in one - enable dm-verity, lock bootloader, flash latest OOS

I wanted to create a guide which is as simple as rooting a OnePlus 3T. I don’t know if it will work with the OnePlus 3. I’m not responsible for anything. You’re doing it on your own risk, so only do it if you know what you will do, now! It may brick your device.
This is the way it worked for me. I do not guarantee it will work for you!
READ THE WHOLE INSTRUCTIONS FIRST BEFORE YOU DO ANYTHING​
What we do:
- Flash TWRP
- Flash an old version of OOS
- Enable dm verity
- Relock the bootloader
- Flash the latest stock rom
What you need:
- Computer (Windows 7 or 10)
- USB Cable
- about 1 hour of your lifetime
YOU WILL LOOSE ALL YOUR DATA - ALSO THE INTERNAL STORAGE WILL BE DELETED (pics, music and all the stuff stored there)​
Download to your computer:
Latest TWRP for OnePlus 3T
https://forum.xda-developers.com/on.../recovery-official-twrp-oneplus-3-3t-t3543391
and
latest OOS from OnePlus for your 3T
http://downloads.oneplus.net/
THE USB DRIVERS MUST BE INSTALLED ON YOUR COMPUTER​
Download to the phone:
4.0.2 OOS Stock rom (post #2)
https://forum.xda-developers.com/oneplus-3t/development/recovery-twrp-oneplus-3t-t3507308
Flash TWRP:
1. Start your phone in fastboot mode (don’t connect to your PC yet!)
2. Open CMD as Admin (Windows start-menu - type “cmd”, right-click, run as administrator)
3. connect your phone
4. rename the file to “recovery” (don’t type “recovery.img” manually, only “recovery”)
5. type command “fastboot devices” -> device will be listed
6. command “fastboot flash recovery C:\Users\...\recovery.img” (the path where it’s stored)
7. done -> boot to recovery
8. disconnect your phone - leave CMD open
Flash OOS 4.0.2
1. Go into TWRP
2. wipe “System, Data, Cache, Dalvik”
3. Install OOS 4.0.2
4. reboot into fastboot
Enable dm-verity:
1. connect your 3T when it’s back in fastboot
2. type in CMD “enable dm-verity”
3. done - keep CMD open and the phone connected
Relock the bootloader:
1. type in CMD “fastboot OEM lock”
2. Warning message on your phone will pop up -> choose “yes” on your phone by using the volume buttons to lock the bootloader (keep CMD open)
Update to the newest OOS via “sideload”:
1. VOL down to boot into recovery
2. choose “Install from ADB”
3. “Upgrade Android from USB?” -> “Ok”
4. rename the OOS zip file to "update"
5. type in CMD “adb sideload C:\Users\...update.zip”
6. done
7. reboot the device - it will take about 10 minutes, DO NOT INTERRUPT THE PROCESS
Finish
Take your time! Don't do it if you're in a rush.
Please give me feedback if it worked for you or if I have to change something.
enable dm-verity doesnt work
"enable is not recognised..."
chowchillacharlie said:
enable dm-verity doesnt work
"enable is not recognised..."
Click to expand...
Click to collapse
Did you check if the device is listed in fastboot?
You can also try the command "disable" and then "enable"
Sometimes you may need to do it first, even if it's disabled
Thanks for your threat. I tried this but had to do a couple things differently.
I think enabling/disabling dm-verity works only with old firmware.
What I used:
* 4.0.2 firmware from this threat https://forum.xda-developers.com/oneplus-3t/how-to/firmware-modem-collection-flashable-zips-t3565535
* latest oneplus recovery and rom https://downloads.oneplus.com/
* the recovery can be downloaded from a link on the bottom of the rom download site.
I started with twrp and a custom rom.
You need usb debuging enabled and adb and fastboot installed
What I did:
* I did a Nandroid backup, and copied the sdcards content to my computer, because the following completely wiped my phone
"adb pull /sdcard /path/to/my/drive/"
* flash 4.0.2 firmware, with trp
enter adb sideload mode in twrp and
"adb sideload firmware.zip"
* fastboot flash oneplus recovery
"fastboot flash recovery recovery.img"
* using onplus recovery and sideloading installed latest oneplus rom
enter adb sideload and
"adb sideload oneplusrom.zip"
* did a factory reset in oneplus recovery and cheked if my phone would boot
* entered fastboot mode
"fastboot oem disable_dm_verity", then "fastboot oem enable_dm_verity"
"fastboot oem lock"
after that my phone got wiped again, and the next boot took a long time
Then the phone was completely stock
Wanted to post to say thanks to roor7 and WhataHulk - had a rooted 3T I wanted to sell following an upgrade (best price requires the phone to have no sign of root!), and this was the only method that worked for me to enable dm-verity.
As a quick note, I followed roor7's guide, but got the same error message as chowchillacharlie. After sme playing about I found the simplest soultion was using the CMD line provided towards the end of WhataHulk's guide, i.e. - "fastboot oem disable_dm_verity", then "fastboot oem enable_dm_verity". For me, roor7's guide swapping the type "enable dm-verity" in CMD with "fastboot oem enable_dm_verity" worked a treat.
Sorry if that is all incredibly obvious to most people!
Thanks again gents.

install PitchBlack Recovery on Redmi Note 6 Pro [PBRP]

1. First Unlock the Bootloader of Your Phone. (Attention: Unlocking the bootloader will erase all your data! So please back up your data before you unlock the bootloader)
2. Download The PitchBlack Recovery zip file here.
3. Download the Platform Tools folder here and unzip the folder on your desktop.
4. Unzip the PitchBlack Recovery zip folder and copy the recovery.img form TWRP folder and paste in the Platform tool folder.
5. Enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your computer via USB cable (best would be the original cable)
6. Opne the command Prompt WIndow son the Platforms tool folder.
7. Now enter the following command to flash recovery.
fastboot flash recovery recovery.img
8. Now boot your phone in recovery.
fastboot boot recovery.img
9. Once your phone PBRP recovery copy the Pitch Balck Recovery Zip in the phone.
10. Install the Pitch Balck Recovery Zip file.
11. Reboot > System
Done
.

			
				
Hi,
I installed this recovery. But evry time I boot into recovery, it said enter password. Then I installed DM verity disabler. after that installed this recovery zip file. Now seems working.
But, when I checked the developer options, it isn't showing device is unlocked. It says "this device is locked", and it wants me to bind account to unlock.
I checked by fastboot, and it says device unlocked = true.
Why developer options shows device is locked?
Installed rom is global stable 10.0.5.0
What must I do to developer options unlock status show true(locked).
thanks...
cannot mount storage, please help

Categories

Resources