Unable to install TWRP on the 4x Mido - Xiaomi Redmi Note 4 Questions & Answers

hey so, as the title says, i'm currently unable to install the recovery on my phone and have been trying for the past 3 hours or so now :/
Phone's unlocked, adb and fastboot are working ecc.
but whenever i try to flash the TWRP recovery or even boot it i get the FAILED (remote: 'size too large') error and idk what to do about it.
It worked weirdly with the nikel recovery but even then it installed badly and wouldnt let me flash mido roms for whatever reason and yes im 100% sure my phone is a 4x with a snapdragon.
Thanks to anyone that replies and tries to help

biggestpoyo said:
hey so, as the title says, i'm currently unable to install the recovery on my phone and have been trying for the past 3 hours or so now :/
Phone's unlocked, adb and flashboot are working ecc.
but whenever i try to flash the TWRP recovery or even boot it i get the FAILED (remote: 'size too large') error and idk what to do about it.
It worked weirdly with the nikel recovery but even then it installed badly and wouldnt let me flash mido roms for whatever reason and yes im 100% sure my phone is a 4x with a snapdragon.
Thanks to anyone that replies and tries to help
Click to expand...
Click to collapse
Describe how are you trying to flash the file, like using cmd window or mi flash tool or by already rooted phone?

Ebebeeh said:
Describe how are you trying to flash the file, like using cmd window or mi flash tool or by already rooted phone?
Click to expand...
Click to collapse
So, downloaded the ADB and Fastboot tools, downloaded TWRP, went to the CMD and changed the directory to the adb.
From here i just used the adb reboot bootloader command to get into the fastboot.
Next i used the fastboot flash recovery x.img command to try to flash it but didnt work simply giving me a "FAILED (remote: 'size too large')" on the last part.
I even tried the fastboot boot x.img command.
Also yes when i said flashboot prieviously i meant fastboot mb
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

biggestpoyo said:
So, downloaded the ADB and Fastboot tools, downloaded TWRP, went to the CMD and changed the directory to the adb.
From here i just used the adb reboot bootloader command to get into the fastboot.
Next i used the fastboot flash recovery x.img command to try to flash it but didnt work simply giving me a "FAILED (remote: 'size too large')" on the last part.
I even tried the fastboot boot x.img command.
Also yes when i said flashboot prieviously i meant fastboot mb
Click to expand...
Click to collapse
Which rom are you using currently? If it is android nougat based then read below, if higher the commands are a bit different I guess,
That is the same way i did it but it might be cause you are flashing wrong recovery.
Try this one :-
https://dl.twrp.me/mido/twrp-3.3.1-0-mido.img
Let me know if it works.

Ebebeeh said:
Which rom are you using currently? If it is android nougat based then read below, if higher the commands are a bit different I guess,
That is the same way i did it but it might be cause you are flashing wrong recovery.
Let me know if it works.
Click to expand...
Click to collapse
I'm using the MIUI global 10.2.1 so marshmellow but yeah, i've been trying that img along with older versions and what not but it just keeps giving the same error for whatever reason

Ebebeeh said:
Which rom are you using currently? If it is android nougat based then read below, if higher the commands are a bit different I guess,
That is the same way i did it but it might be cause you are flashing wrong recovery.
Try this one :-
https://dl.twrp.me/mido/twrp-3.3.1-0-mido.img
Let me know if it works.
Click to expand...
Click to collapse
Try using mi flash tool with the same image file, you will find the tool on their official website.

biggestpoyo said:
I'm using the MIUI global 10.2.1 so marshmellow but yeah, i've been trying that img along with older versions and what not but it just keeps giving the same error for whatever reason
Click to expand...
Click to collapse
You have MTK variant (Nikel) and trying to flash Snapdragon (Mido) TWRP.

updated to 11.0.2 MIUI and root disapeared , using ADB for TWRP installing , everything goes ok, but after command fastboot reboot , when phone reboots, there is no TWRP , only standart recovery, What I am doing wrong?

Related

Root, How do adb fastboot commands work? need help

Hello, I am student at my university studying Computer Science. I work in tech support at my school. This is the first time I have modified the android os. The community on xda has been really helpful and knowledgeable. I have created an account to see if anyone else has done the same thing I have. Anyway read below for my post.
I am trying to change the recovery on my phone to twrp. Let me start out by saying I rooted my phone before on build number 130 (KIW-L24,Android 5.1,EMUI 3.1,C567B130,United States, Channel-Others). I used the instructions here and it worked http://forum.xda-developers.com/honor-5x/development/root-kiw-l24-usa-kiwi-t3305190.
I then decided to update through the huawei updater to build number 151 (KIW-L24, Android 5.1, EMUI 3.1, C567B151, United States, Channel-Others). It eventually got to a black EMUI menu with installing 0%. So I powered it off even though it warned against it. So my phone was bricked so I followed instructions at http://forum.xda-developers.com/honor-5x/help/bricked-honor-5x-t3328308 and my phone worked again.
Okay so now I want to root my phone so I follow the instructions for rooting. Problem is that I can not replace the EMUI recovery with twrp recovery. I am guessing that it may be because 151 is a security update.
I use these commands on adb with the twrp_kiwi.img in my adb folder(named .android by default)
adb reboot bootloader
fastboot flash recovery twrp_kiwi.img
fastboot reboot
adb reboot recovery
So I wanted to see if I could put the old firmware back so I followed the instructions for bricked device. But the fastboot commands don't seem to do anything with the .img files.
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash cust cust.img
fastboot reboot
Yea so I am lost as to why fastboot commands arent working as it says finished and any advice would be appreciated.
Also is it possible to format the phone similar to a pc and use adb to flash the firmware back on.
I want to eventually backup my phone and put cyanogenmod on it.
... I am guessing that it may be because 151 is a security update
Click to expand...
Click to collapse
If your bootloader is unlocked, you should be able to flash what you want.
Have you tried reinstalling the Android device drivers on your PC?
JT-on said:
If your bootloader is unlocked, you should be able to flash what you want.
Have you tried reinstalling the Android device drivers on your PC?
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Arobase40 said:
Is this really for a private use unless you are trying to ask us to do your university exercises for you ? LOL
And as you felt need to mention "I am student at my university studying Computer Science. I work in tech support at my school.", you should know first University mission is to teach you to search and exercise by yourself, to do things step by step and to guess by yourself what was wrong. ^^
Just one tip and advice : read up your own post carefully and you should find out what you've done wrong...
Click to expand...
Click to collapse
That was just background information unrelated to my post. I am currently trying to see if I can put the old firmware back to see if it fixes the problem.
honor5x_student said:
That was just background information unrelated to my post. I am currently trying to see if I can put the old firmware back to see if it fixes the problem.
Click to expand...
Click to collapse
TWRP works just fine on B151
plug in usb / Shut down the phone
boot to the bootloader (power + vol down)
open command prompt on PC
fastboot flash recovery twrp_kiwi.img
hold volume up + volume down + power till you see TWRP (about 14 seconds)
In TWRP choose reboot / recovery
Say yes to Root
recovery will reload / flash your rom
If you want to return to Stock use this >> https://www.androidfilehost.com/?fid=24459283995315154
instructions are in the zip

[HOW] [Mi 3] [CM 13] [ERROR: 7] How to update CyanogenMod weekly updates

My device Mi3 is running on CyanogenMod 13 and latest TWRP recovery. Unable to install weekly updates of CyanogenMod. Recently, got an update cm-13.0-20160516-NIGHTLY when i tried to install that there is an dialog box of "Apply Update" You are about to update bla bla bla... Note: This feature requires a compatible Recovery or updates will need to be installed manually. I didn't get what it means and i thought TWRP is a valid recovery so proceeded from that. After few minutes it rebooted the device top recovery and nothing happened from that. So i rebooted the system again searched over Internet about the issue haven't found any perfect solution (within what i found) but i tried by copying the update file to /sdcard (i mean root directory) and tried to install the update manually by using TWRP recovery but it is showing an error "Updater process ended with ERROR: 7 Error installing zip file '/sdcard/cm-13.0-20160516-NIGHTLY-cancro.zip' Updating partition details......done"
Can you help me out how to install the update and also tell me what I've done wrong so that i will not do that again.
Thanks in advance.
Dude, the answer to your question is in the first post of CM13 FAQ.
Go in here and follow the guide.
https://jrizzoli.github.io/dotfiles/
Hi @diongdyh
sorry for late reply, please help me with a step that is mentioned in the link you've given.
"Run flash_all.bat (on windows) or flash_all.sh (on OS x and Linux - it's suggested to open it from a terminal in these systems)"
Does it mean to run in cmd or what. Please help me out. If you can please elaborate that step.
manideeproyal said:
Hi @diongdyh
sorry for late reply, please help me with a step that is mentioned in the link you've given.
"Run flash_all.bat (on windows) or flash_all.sh (on OS x and Linux - it's suggested to open it from a terminal in these systems)"
Does it mean to run in cmd or what. Please help me out. If you can please elaborate that step.
Click to expand...
Click to collapse
Just connect your device and double click on "flash_all.bat"(I'm assuming you to be on Windows) and it'll do the rest
Well I encountered the same problem a while ago.. I just flashed miui 8 through twrp.. and booted and again flashed latest cm13 and it worked.. No problems so far..
Sent from my MI 3W using XDA-Developers mobile app
@ssasin.monish said:
Just connect your device and double click on "flash_all.bat"(I'm assuming you to be on Windows) and it'll do the rest
Click to expand...
Click to collapse
ok i'll do the same. I doubt whether the device needs to be in fastboot mode or normal system. If you can clear this i'll proceed because previously i tried the same but in fastboot and the device is recognized i checked by 'fastboot devices'.
manideeproyal said:
ok i'll do the same. I doubt whether the device needs to be in fastboot mode or normal system. If you can clear this i'll proceed because previously i tried the same but in fastboot and the device is recognized i checked by 'fastboot devices'.
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It is literally written in the second step. Bootloader=Fastboot mode.
diongdyh said:
It is literally written in the second step. Bootloader=Fastboot mode.
Click to expand...
Click to collapse
i've done the same @diongdyh, after selecting run something went in a flash on the desktop screen and nothing happened on my device and its still in fastboot mode. i think booting to miui 8 and then installing cm13 will be a better option as suggested by @sidhg for me as i'm not getting exactly what to do
even I am having the same problem, I nothing happpens on clicking on flash all file.........
manideeproyal said:
i've done the same @diongdyh, after selecting run something went in a flash on the desktop screen and nothing happened on my device and its still in fastboot mode. i think booting to miui 8 and then installing cm13 will be a better option as suggested by @sidhg for me as i'm not getting exactly what to do
Click to expand...
Click to collapse
Yes it'd be best that you flash miui 8 with fastboot/bootloader
http://bigota.d.miui.com/6.6.1/cancro_alpha_images_6.6.1_20160516.0000.22_6.0_cn_2231b4fcb7.tgz

" Fastboot flashing unlock_critical " failed

I couldn't unlock the bootloader_critical on my mi a3 phone, when I entered the command " Fastboot flashing unlock_critical"
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I thought so I couldn't install any room stock, it was always stuck in Fastboot when I rebooted. I flashed the rom via Twrp, OrangeFox but failed, could only install the MIUI rom.
Can anyone help me, I like the stock rom and want to use it. please.
My English is not good, I used google to help me
Picture
https://photos.app.goo.gl/snH8FjKukY1YATPm6
You don't have OEM unlock and usb debugging enabled?
install twrp then flash the os
I can't turn it on, can you help me?
garylawwd said:
You don't have OEM unlock and usb debugging enabled?
Click to expand...
Click to collapse
Picture : https://photos.app.goo.gl/ayb6ToJTzwryWc9R6
ani_shawn said:
install twrp then flash the os
Click to expand...
Click to collapse
I installed twrp, but when I flashed the rom and rebooted, it always stuck in Fastboot
Sangkunho93 said:
I installed twrp, but when I flashed the rom and rebooted, it always stuck in Fastboot
Click to expand...
Click to collapse
Okay so your bootloader is obviously unlocked already if you have twrp installed.
Why are you trying to use those commands again?
You just are not installing the ROMs correctly that's the problem. Follow the installation steps of the ROM you are trying to flash which will be found in the op of that ROM thread
garylawwd said:
Okay so your bootloader is obviously unlocked already if you have twrp installed.
Why are you trying to use those commands again?
You just are not installing the ROMs correctly that's the problem. Follow the installation steps of the ROM you are trying to flash which will be found in the op of that ROM thread
Click to expand...
Click to collapse
" unlock bootloader critical failed ", I don't know if it's necessary?
-I followed the instructions to install the rom via twrp but it still failed, always stuck in Fastboot even though I changed the slot a / b
Sangkunho93 said:
" unlock bootloader critical failed ", I don't know if it's necessary?
-I followed the instructions to install the rom via twrp but it still failed, always stuck in Fastboot even though I changed the slot a / b
Click to expand...
Click to collapse
You still didn't explain what exactly you did and what fails in twrp or what error you get or anything..
You already did the flashing unlock critical if you have twrp you don't need to keep doing it every time unless you relock your bootloader.
Start from the very start and tell us exactly step by step what you did.
How did you get miui if you didn't already do flashing unlock critical?
garylawwd said:
You still didn't explain what exactly you did and what fails in twrp or what error you get or anything..
You already did the flashing unlock critical if you have twrp you don't need to keep doing it every time unless you relock your bootloader.
Start from the very start and tell us exactly step by step what you did.
How did you get miui if you didn't already do flashing unlock critical?
Click to expand...
Click to collapse
* This is what I did ( OEM, USB..: on) :
1. " fastboot flashing unlock " , ok
2. " fastboot flashing unlock_critical " , failed ( Picture : https://photos.app.goo.gl/74hv2ZyBRd9YVFGv7 )
3. "Fastboot set_active a (or b) " , ok
4. " Fastboot flash boot twrp.img " , ok
5. Fastboot reboot recovery
6. Flash rom :
- Rom MiUi, Stock : ok
- Rom Custom : Stuck in Fastboot, despite following the instructions
* * *
* OEM test: cannot turn on ( Picture : https://photos.app.goo.gl/uWXxK69zt7jEjPEw6 )
* I used to install PixelExperience rom successfully several times, but now I don't, it is always stuck in Fastboot
Where my problem is, I don't know. Can you help me. thank you. I use google to talk to you

Question TWRP Wont Install

Hi Folks,
I have a Xiomi Note 10 (camellian), unlocked and has USB Debugging switched on.
No matter what I do, I can't install TWRP or Orangefox because it fails with "FAILED: Too Many Links"
I've followed so many guides on how to fix this and they all fail. I tried to flash the stock rom with Mi Flash and that failed too (Constant "Unhandled exception" error as it doesnt seem to want to install drivers and wont continue without them). I've manually updated the ADB drivers for the Note and that worked fine. Mi Pc Suite doesnt recognise my phone unless i "Update your phone before you connect" (The phone is fully updated)
Please, for the love of the baby jesus and the little donkey, tell me what I can do to try and figure out what the smeg is going wrong
EDIT:
Ive changed ports/cables, tried compatibilty on programs, reinstalled ADB drivers
trying "fastboot flash boot recovery.img" (for orange fox) throws up "FAILED: remote: size too large"
hellfirehound said:
Hi Folks,
I have a Xiomi Note 10 (camellian), unlocked and has USB Debugging switched on.
No matter what I do, I can't install TWRP or Orangefox because it fails with "FAILED: Too Many Links"
I've followed so many guides on how to fix this and they all fail. I tried to flash the stock rom with Mi Flash and that failed too (Constant "Unhandled exception" error as it doesnt seem to want to install drivers and wont continue without them). I've manually updated the ADB drivers for the Note and that worked fine. Mi Pc Suite doesnt recognise my phone unless i "Update your phone before you connect" (The phone is fully updated)
Please, for the love of the baby jesus and the little donkey, tell me what I can do to try and figure out what the smeg is going wrong
EDIT:
Ive changed ports/cables, tried compatibilty on programs, reinstalled ADB drivers
trying "fastboot flash boot recovery.img" (for orange fox) throws up "FAILED: remote: size too large"
Click to expand...
Click to collapse
i see none TWRP and O.F for camellian, can you post the links +Miflash log?
The TWRP is unofficial https://forum.xda-developers.com/t/unofficial-twrp-camellia-camellian.4304717/
There is no MiFlash log anywhere. Sorry im new to this
I think I need to flash the original rom before trying to install a recovery rom
hellfirehound said:
The TWRP is unofficial https://forum.xda-developers.com/t/unofficial-twrp-camellia-camellian.4304717/
There is no MiFlash log anywhere. Sorry im new to this
Click to expand...
Click to collapse
The Mi Flash logs are in the Miflash Log folder (post the last + or - 20/22ko
This twrp seems not to work (closed thread).
Try the command: fastboot boot twrp.img
The phone will reboot in TWRP after that go to Advanced > Flash Current TWRP
And what do you want to do with the TWRP, your device has a Mediatek soc and there is little or no development for Xiaomi with a Mediatek soc.
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It looks like a mediatek device.
Never Mind, ill keep the phone as is. Thanks for trying to help
Download and extract to the root of the disk.C:/platform....
https://developer.android.com/studio/releases/platform-tools
rename the Twrp to twrp.img
Put it in the Platform tools folder
Execute the command from this folder
Since no custom is available for your phone I guess you want to update or downgrade for these 2 cases use Miflash not TWRP.
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/
this error
is frequent with certain version of W10.
Disable driver verification.
.

Question ADB Problem

Hello guys can someone help me on my redmi note 10,
So basically my problem is adb can detect my phone when its power on but when my phone switches to fastboot adb cannot detect it anymore. I also try the adb reboot bootloader command, it work and it go to fastboot but after that it didnt detected anymore.
Please help me.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I'm not sure, but it looks like you need install usb/device drivers from MiFlash.
And after, try enable/allow usb debugging
missingN said:
I'm not sure, but it looks like you need install usb/device drivers from MiFlash.
And after, try enable/allow usb debugging
Click to expand...
Click to collapse
i already tried that still the same
@ibanezred16 May be you missing add Environment Variables path?
Adb-fastboot PE guide
ibanezred16 said:
...when my phone switches to fastboot adb cannot detect it anymore. ...
Click to expand...
Click to collapse
This is intended behavior, if your phone is in fastboot mode it can only be detected by fastboot (try command 'fastboot devices'). Devices can only be detected by adb in recovery when sideload is enabled or in OS with debugging on.
Mthw said:
This is intended behavior, if your phone is in fastboot mode it can only be detected by fastboot (try command 'fastboot devices'). Devices can only be detected by adb in recovery when sideload is enabled or in OS with debugging on.
Click to expand...
Click to collapse
sorry im new here, can you tell me a way to flash the twrp? because the regular method don't work with me
ibanezred16 said:
sorry im new here, can you tell me a way to flash the twrp? because the regular method don't work with me
Click to expand...
Click to collapse
What do you mean by regular method? This should work: 'fastboot boot twrp.img' and once it boots up go to Advanced and there is an option called 'flash current recovery'.
Mthw said:
What do you mean by regular method? This should work: 'fastboot boot twrp.img' and once it boots up go to Advanced and there is an option called 'flash current recovery'.
Click to expand...
Click to collapse
that's also one of my problem when it boots to twrp the touch screen is not working can't touch or click anything when im in twrp
Are you using this one? https://forum.xda-developers.com/t/recovery-12-official-teamwin-recovery-project.4268563/ Either way you should probably ask there.
Mthw said:
Are you using this one? https://forum.xda-developers.com/t/recovery-12-official-teamwin-recovery-project.4268563/ Either way you should probably ask there.
Click to expand...
Click to collapse
yes, thank you very much for your help
Were you successful? I am guessing you are trying to install a ROM, depending on the rom you could also use a different recovery.
Mthw said:
Were you successful? I am guessing you are trying to install a ROM, depending on the rom you could also use a different recovery.
Click to expand...
Click to collapse
yeah im trying to install Evox
Mthw said:
Were you successful? I am guessing you are trying to install a ROM, depending on the rom you could also use a different recovery.
Click to expand...
Click to collapse
Im succesfully installed twrp I used mouse via otg connector to touch the screen

Categories

Resources