I have a problem - Xiaomi Redmi Note 4 Questions & Answers

Hi guys
I have a problem. XIAOMI REDMI NOTE 4 SNAPDRAGON
I had unlock phone and installed [email protected]
I have tried some ROM and everything works great but the battery went fast so i decided to try: Lineage os 160-20210205 nighty santoni
-Transfer it on sd card
-Wipe system data cache dalvik storage?
And they to flash new ROM but it went failed.
I thought need to get TWRP and got :
-TWRP 3.5.0_9-0- santoni
After I connected to my PC Linux Pop os
Used terminal :
fastboot flash recovery '/home/mati/Downloads/twrp-3.5.0_9-0-santoni.img'
target reported max download size of 536870912 bytes
sending 'recovery' (25004 KB)...
OKAY [ 0.842s]
writing 'recovery'...
OKAY [ 0.191s]
finished. total time: 1.033s
[email protected]:~$ fastboot reboot recovery
fastboot: usage: unknown reboot target recovery
[email protected]:~$ boot into recovery mode
Command 'boot' not found, did you mean:
command 'toot' from deb toot (0.27.0-1)
command 'hboot' from deb lam-runtime (7.1.4-6build2)
command 'boom' from deb doomsday (2.2.2+ds1-1)
command 'boom' from deb prboom-plus (2:2.5.1.7um+git89-1)
command 'booth' from deb booth (1.0-205-gc9e90fe-1)
command 'bolt' from deb bolt-lmm (2.3.4+dfsg-2build1)
command 'brot' from deb fortunes-de (0.34-1)
Try: sudo apt install <deb name>
[email protected]:~$
It doesn't work it says
The system has been destroyed.
I am only on fastboot mode and can't do anything

zenon9 said:
Hi guys
I have a problem. XIAOMI REDMI NOTE 4 SNAPDRAGON
I had unlock phone and installed [email protected]
I have tried some ROM and everything works great but the battery went fast so i decided to try: Lineage os 160-20210205 nighty santoni
-Transfer it on sd card
-Wipe system data cache dalvik storage?
And they to flash new ROM but it went failed.
I thought need to get TWRP and got :
-TWRP 3.5.0_9-0- santoni
After I connected to my PC Linux Pop os
Used terminal :
fastboot flash recovery '/home/mati/Downloads/twrp-3.5.0_9-0-santoni.img'
target reported max download size of 536870912 bytes
sending 'recovery' (25004 KB)...
OKAY [ 0.842s]
writing 'recovery'...
OKAY [ 0.191s]
finished. total time: 1.033s
[email protected]:~$ fastboot reboot recovery
fastboot: usage: unknown reboot target recovery
[email protected]:~$ boot into recovery mode
Command 'boot' not found, did you mean:
command 'toot' from deb toot (0.27.0-1)
command 'hboot' from deb lam-runtime (7.1.4-6build2)
command 'boom' from deb doomsday (2.2.2+ds1-1)
command 'boom' from deb prboom-plus (2:2.5.1.7um+git89-1)
command 'booth' from deb booth (1.0-205-gc9e90fe-1)
command 'bolt' from deb bolt-lmm (2.3.4+dfsg-2build1)
command 'brot' from deb fortunes-de (0.34-1)
Try: sudo apt install <deb name>
[email protected]:~$
It doesn't work it says
The system has been destroyed.
I am only on fastboot mode and can't do anything
Click to expand...
Click to collapse
that's incompatible twrp
You need to download a compatible twrp for mido

Related

[SOLVED] Can't install TWRP on Xiaomi Redmi note 4 :'(

Hi everyone !
I'm a little stuck now, so i really need your help !
I want to install LineageOS on my Xiaomi redmi note 4. So i followed the installation instructions on official Lineage website.
At the step "Install TWRP recovery" i'm stuck.
Here are the logs :
Code:
> $ fastboot flash recovery twrp-3.1.0-0-mido.img
target reported max download size of 134217728 bytes
sending 'recovery' (26840 KB)...
OKAY [ 1.328s]
writing 'recovery'...
FAILED (remote: size too large)
finished. total time: 1.331s
So after searching on the web I tried splitting img into chunks with the following command :
Code:
> $ fastboot flash -S 20M recovery twrp-3.1.0-0-mido.img
Invalid sparse file format at header magi
sending sparse 'recovery' (20476 KB)...
OKAY [ 1.015s]
writing 'recovery'...
FAILED (remote: sparse image size span overflow.)
finished. total time: 1.019s
I choosed 20M for my chunks randomly (inferior to recovery image of 26840KB).
Other informations :
I can't boot to origin system
I can access to fastboot
I can use adb but my device is in sideload mode
Please feel free to answer if you have any idea.
You're great! Thanks.
Did you already unlock the bootloader? It seems not yet..
crok.bic said:
Did you already unlock the bootloader? It seems not yet..
Click to expand...
Click to collapse
Yes I did !
Code:
> $ fastboot getvar all
...
(bootloader) unlocked: yes
...
Are you sure you have Mido and not Nikel? Is your SoC is Snapdragon or MTK?
And why are you flashing *not* the latest version (3.1.0.0 instead of 3.1.1.0)?
Use this Minimal ADB if you are not using this one:
https://forum.xda-developers.com/showthread.php?t=2317790
And use this TWRP instead the one you are trying to use if you really have a Mido phone:
https://dl.twrp.me/mido/twrp-3.1.1-0-mido.img.html
crok.bic said:
Are you sure you have Mido and not Nikel? Is your SoC is Snapdragon or MTK?
And why are you flashing *not* the latest version (3.1.0.0 instead of 3.1.1.0)?
Use this Minimal ADB if you are not using this one:
https://forum.xda-developers.com/showthread.php?t=2317790
And use this TWRP instead the one you are trying to use if you really have a Mido phone:
https://dl.twrp.me/mido/twrp-3.1.1-0-mido.img.html
Click to expand...
Click to collapse
I'm not sure if it's Mido or Nikel.
Do you have a link for Nikel ? Because it doesn't appear in twrp list :\
For adb i've downloaded with
Code:
sudo apt-get install android-tools-adb
I've tried with 3.1.1-0-mido and same error than 3.1.0 :\
@crok you really rock !
I've tried with this link of Nikel : https://xiaomifirmware.com/downloads/twrp-custom-recovery-redmi-note-4-mtk/
And I'm having the recovery mode!
I continue the tutorial !
Great news. Please mark the thread [solved] just to help people who has the same trouble and seeking for info/solution.

fastboot mode not working

I am not able to install or boot TWRP recovery on my Redmi Note 5 Pro and I am getting this error on Linux terminal:
Code:
~$ sudo fastboot devices
2029cac7 fastboot
~$ sudo fastboot boot /home/ubuntu/Desktop/twrp.img
downloading 'boot.img'...
FAILED (remote: unknown command)
finished. total time:0.001s
~$ sudo fastboot flash recovery /home/ubuntu/Desktop/twrp.img
target didn't report max-download-size
sending 'recovery' (36240 KB)...
FAILED (remote: unknown command)
finished. total time: 0.001s
Bootloader status says already unlocked on the settings screen and after MIUI update 8.5.2, I am facing this issue. And I was having the custom recovery already installed before I updated. Tried different cables, and different devices too :/
It seems none of the fastboot commands is now working(except the reboot commands) What to do now?
gavi7566 said:
I am not able to install or boot TWRP recovery on my Redmi Note 5 Pro and I am getting this error on Linux terminal:...
Click to expand...
Click to collapse
I don't have this device but, you should be able to obtain some member guidance within the following thread that's specific to your device.
https://forum.xda-developers.com/showthread.php?t=3778049
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.

TWRP - Wiped Internal Storage now I can't boot into recovery

I've just unlocked the phone, via minimal ADB
tried fastboot getvar current-slot and got the output that my slot was a
then I've tried flashing TWRP at a utilizing
fastboot flash recovery twrp.img
then got the following output:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 803868672 bytes
sending 'recovery' (39780 KB)...
OKAY [ 1.663s]
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
finished. total time: 1.695s
so, I've tried fastboot flash boot twrp.img
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash boot recovery.img
target reported max download size of 803868672 bytes
sending 'boot_a' (35452 KB)...
OKAY [ 1.063s]
writing 'boot_a'...
OKAY [ 0.183s]
finished. total time: 1.254s
then I've manually pressed the power button + volume up and successfully entered TWRP
there, I've gone to advanced wipe and wiped
Dalvik / ART Cache, system, Data and Internal Storage
I didn't know Internal Storage would give me problems... After that, I couldn't access my internal storage from the PC to copy the .zip of the custom rom.
Tried going to mount into TWRP to mount different partitions, no succes.
Then I thought that maybe if I restarted the phone it would be ok. So I've restarted and TWRP told me "no system installed, do you wish to continue?" I said yes.
Now, I'm stuck at fastboot and can't boot into twrp anymore...
I've tried repeating the same commands above and got the same outputs.
fastboot flash boot twrp.img got me the "OKAY" messages. But now, even if I hold the power + vol up button, I won't get to recovery.
I've tried
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot twrp.img
downloading 'boot.img'...
OKAY [ 1.291s]
booting...
FAILED (remote: unknown command)
finished. total time: 1.298s
because my frient told me to do so, but this command does not exist.
How can I proceed?
Try using mi flash tool
I was also stuck in fastboot mode I then tried installing twrp again with no success.
So I then went and flashed stock rom again into my phone using mi flash tool.
(Having a new account, I can't post link to these files. So download the files from official mi website, it is available there)
Steps to flash
1- Place the Flash File on Desktop.
2- open flash tool application.
3- Assign the Folder path.
4-Go to slot a using adb
5- Click on refresh & then tap Flash button

Needed: Fastboot command to reboot into recovery!

Hi,
My LG5 850 is rooted and wiped, after testing another custom ROM. However, this time I can't reboot into recovery using the Vol-dwn/Power key-combination. Always ending-up in fastboot
Is there a command to take it from there?
Thanks a lot!
Bash:
fastboot reboot recovery
Should generally do the trick.
Unfortunately not:
LG5# fastboot reboot recovery
fastboot: usage: unknown reboot target recovery
Also tried:
LG5# fastboot flash recovery twrp-3.4.0-0-h850.img
target reported max download size of 536870912 bytes
sending 'recovery' (21124 KB)...
OKAY [ 0.681s]
writing 'recovery'...
OKAY [ 0.226s]
finished. total time: 0.907s
LG5# fastboot reboot twrp-3.4.0-0-h850.img
fastboot: usage: unknown reboot target twrp-3.4.0-0-h850.img

Download Mode - Restart loop after installing OS

Adroid One 10
Unlock solved and installed the lineage OS a several times in twrp with success according to the given instruction here:
https://raw.githubusercontent.com/RaghuVarma331/changelogs/master/crossdevelopment/abcrins.txt
but the phone didnt boot the OS after restarting neither in slot A nor B. In twrp u could read that there was "no OS installed" (??).
In the last try i changed the slot before installing and now the phone hangs in a restart loop with download mode and i connot turn down the phone or get back to twrp. Trying to connect it by adb to restart twrp is not working....
=========================
My errors while trying to get out:
=========================
fastboot boot twrp.img
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot B:\Various\Nokia\TWRP\twrp.img
downloading 'boot.img'...
OKAY [ 0.969s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 1.011s
fastboot flash recovery twrp.img
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery B:\Various\Nokia\TWRP\twrp.img
target reported max download size of 402653184 bytes
sending 'recovery' (42412 KB)...
OKAY [ 0.953s]
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
finished. total time: 0.968s
So right now I'm at the end with my rudementary skills here.
Any idea how to get back to the point with twrp and installing an OS?
Thanks.
In case that no one else answers but someone else have the same problems , I write my solutions here.
.......
I got back to twrp by changing the slot in ADB
fastboot --set-active=a
unfortunately the restart loop doesn't end and no OS starts wether in slot a or b.

Categories

Resources