Help (redmi 4a) - Xiaomi Redmi 5A Questions & Answers

Hi guys,i need your help
today i tried to flash my redmi 4a (32 gb storage) with miflash tool to make a downgrade,(xiaomi official fastboot image->dm verity zip->lineageos16 )but now it only recognizes 8 gb,do you know any solution?
(i heard that the 4a is pretty similar to the 5a,that's why asked in this forum)

solved,was the twrp,fixed flashing other twrp version

Related

[TWRP](GUIDE) All in one TWRP Tool for Mi8SE

Tool includes all TWRP versions available for Mi 8 SE. (Android Q - Android P - Miui 10 - Miui 11)
This tool is Turkish but i explained settings on picture.
-Turn off your phone and go to fastboot mode
(power+volume down button)
-Connect your phone with cable to the PC
-All drivers should be installed on your PC.
If not please install Mi Flash from link then install drivers in the Mi Flash program.
Mi Flash: https://sourceforge.net/projects/reiwa-mi8se/files/Fastboot Bootloop Rom/
Win 10 / 7 / 8 works flawless
If drivers are OK please go to next step.
-Choose TWRP you would like to flash then copy it to main folder and rename it to recovery
(If you flash wrong TWRP version, TWRP will not start but don't worry. Just flash different version of TWRP in the list.)
TWRP TOOL DOWNLOAD
https://sourceforge.net/projects/reiwa-mi8se/files/TWRP/Reiwa_twrp_tool_v11.2019.rar/download
Thanks to reiwa for the tool :good:
If pictures are not shown, Please let me know
TacoNikky said:
If pictures are not shown, Please let me know
Click to expand...
Click to collapse
they arent
novato97 said:
they arent
Click to expand...
Click to collapse
Thank you! Pics are fixed :good:
Hi TacoNikky
Thank you very much for the tool and the detailed description. I tried to install the TWRP for over a week now and i am at my wits end. It is a Xiaomi Mi 8SE, running on MIUI 11.0.3.0 Stable (PEBCNXM) with Android 9 with security patch level 2019-09-01.
I installed the tool and i selected the recovery0423 version. (Later, I tried also other versions).
Unfortunately the following error occured: can not found file flash_all_lock.bat
Thank you for any help.

[DA][FLASH] DA files for flashing to MERLIN using FLASH TOOL (Xiaomi Redmi Note 9 / Xiaomi Redmi 10X 4G)

Downloads:
- SP Flash Tool (Windows) https://spflashtools.com/windows
- SP Flash Tool (Linux) https://spflashtools.com/linux
Alternative Downloads:
If you are having problems for flashing on Windows with sp flash tool, give a try on these versions:
- SP Flash Tool v5.2020 https://spflashtools.com/windows/sp-flash-tool-v5-2020
- SP Flash Tool v5.1920 https://spflashtools.com/windows/sp-flash-tool-v5-1920
- SP Flash Tool v5.1916 https://spflashtools.com/windows/sp-flash-tool-v5-1916
It works with:
- Xiaomi Redmi 10X 4G
- Xiaomi Redmi Note 9
- Probably some others Xiaomi devices
Build dates:
- 2020/07/14
- 2020/03/06
- 2019/12/18
MD5 Hashes:
2020/07/14: c0189752968408c8009303d719c06494
2020/03/06: ffc2a1dbd2eb273ef4cd2fc6377b07a1
2019/12/18: 4f250e0a6a57255b037ac0de0ab98d5e
How to solve "LIB DA not match" error ?
Please, follow the guide "How to properly use the SP Flash Tool": https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4229937/
Do you need help with your MERLIN device ?
Read this FAQ: https://forum.xda-developers.com/t/...for-merlin-redmi-note-9-redmi-10x-4g.4225163/
#DownloadAgent #Download-Agent #NoAuth #NoAuthentication #No-Auth #No-Authentication
Do we need an authorized mi account to do so? Because i hardbricked my redmi 6 months ago and it always says that my mi account doesnt have a permission and then it will fail with a broadcom_cmd_fail.
EinTim23 said:
Do we need an authorized mi account to do so? Because i hardbricked my redmi 6 months ago and it always says that my mi account doesnt have a permission and then it will fail with a broadcom_cmd_fail.
Click to expand...
Click to collapse
No. But they may fail if you try to flash to any phone with V12.0.5.0 or higher already installed. I suggest you to flash to V12.0.4.0 using fastboot before. And then, try to flash using DA files.
Good luck
Download the DA files but when select Smart Phone Flash Tool v6, it give error
DA_VD171--3.3001.2020-07-02020-07-14.bin is invalid.
Running the tools in Windows 10.
Any idea?
stevenf00 said:
Download the DA files but when select Smart Phone Flash Tool v6, it give error
DA_VD171--3.3001.2020-07-02020-07-14.bin is invalid.
Running the tools in Windows 10.
Any idea?
Click to expand...
Click to collapse
[GUIDE] How to properly use the SP FLASH TOOL for MERLIN ? (Redmi Note 9 / Redmi 10X 4G)
Warnings: - If you try to flash in "firmware upgrade" mode, bootloader will be LOCKED again ! - NEVER try to flash in "format all" mode ! Otherwise, you will LOSE all secure and identifying infos for your device. Like IMEI and MAC. - Keep your...
forum.xda-developers.com

Question Edit system files in Mi 11x

I have been using this Mi 11x (Indian variant of Poco F3/ Redmi K40). It has TWRP by Nebrassy as latest version of Magisk (v23) installed and working. Magisk is working in systemless mode. System structure shows partitions Slot A and Slot B in TWRP. Whenever I attempt to delete any system file using root privileged file manager it return 'failed to delete : error code 1'.
I did try deleting these files using TWRP file manager. There also it says 'failed, Code 1'.
What am I doing wrong. And how to correct it? Please help...
Running Os: Xiaomi.eu with version 12.5.4.0 with MIUI 12.5
Device : Mi 11x (Aliothin)
System files cannot be deleted after android 10
Thread '[SCRIPT][Android 10+] Universal Mount System read write R/W' https://forum.xda-developers.com/t/script-android-10-universal-mount-system-read-write-r-w.4247311/
Here I just got the solution... I just installed the flashable.zip file through TWRP in my poco f3 with xiaomi.eu and it was full success in first attempt.
Suryashis said:
Thread '[SCRIPT][Android 10+] Universal Mount System read write R/W' https://forum.xda-developers.com/t/script-android-10-universal-mount-system-read-write-r-w.4247311/
Here I just got the solution... I just installed the flashable.zip file through TWRP in my poco f3 with xiaomi.eu and it was full success in first attempt.
Click to expand...
Click to collapse
seems very hard for me... can explain better how ? thanks
Angyone1 said:
seems very hard for me... can explain better how ? thanks
Click to expand...
Click to collapse
I worked on my mi 11x with unlocked, magisk rooted Xiaomi.eu 12.5.4.0 rom (android 11). I just downloaded the flashable zip file from the site attached) and installed it in TWRP recovery. Pretty straight forward... But u need to have atleast 20gb internal memory free, where a backup of your super.img will be stored (u can delete this later). My advice is to go through the thread once since I have read certain feedbacks where the device went into bootloop.
Suryashis said:
I worked on my mi 11x with unlocked, magisk rooted Xiaomi.eu 12.5.4.0 rom (android 11). I just downloaded the flashable zip file from the site attached) and installed it in TWRP recovery. Pretty straight forward... But u need to have atleast 20gb internal memory free, where a backup of your super.img will be stored (u can delete this later). My advice is to go through the thread once since I have read certain feedbacks where the device went into bootloop.
Click to expand...
Click to collapse
Be sure to mount System, Vendor, Product atleast before starting the installation process in TWRP

Help me plzzz "failed (status read failed (too many links))"

hey, i have problem. i wanted to install pixel expirience on my redmi note 8 pro so i tried to install TWRP first as usual through adb. I flashed the memory and then tried to boot into it
and it gave an error "failed (status read failed (too many links))". I was kinda intersted what happened
so i have found the guy with the same problem but ha has different phone (who is interested the link is in the bottom) and he found the solution but it does not work (for me at least)
i tried everyting: flashing different versions of TWRP, flashing stock ROM a few times (2 at this moment) and nothing worked. If you could please help i would appreciate it a lot. also i`m leaving a photo of the error too (if it can somehow help).
Redmi Note 8T - failed (status read failed (too many links)) when booting recovery
Hi guys, I have finally waited the wait period for unlocking my Redmi Note 8T. I have flashed the TWRP which can be found here: https://forum.xda-developers.com/redmi-note-8/development/recovery-unofficial-twrp-xiaomi-redmi-t3997267 But then...
forum.xda-developers.com
redmi note 8 pro 6/128; miui 12.5.15; android 11
plaui said:
hey, i have problem. i wanted to install pixel expirience on my redmi note 8 pro so i tried to install TWRP first as usual through adb. I flashed the memory and then tried to boot into it
and it gave an error "failed (status read failed (too many links))". I was kinda intersted what happened
so i have found the guy with the same problem but ha has different phone (who is interested the link is in the bottom) and he found the solution but it does not work (for me at least)
i tried everyting: flashing different versions of TWRP, flashing stock ROM a few times (2 at this moment) and nothing worked. If you could please help i would appreciate it a lot. also i`m leaving a photo of the error too (if it can somehow help).
Redmi Note 8T - failed (status read failed (too many links)) when booting recovery
Hi guys, I have finally waited the wait period for unlocking my Redmi Note 8T. I have flashed the TWRP which can be found here: https://forum.xda-developers.com/redmi-note-8/development/recovery-unofficial-twrp-xiaomi-redmi-t3997267 But then...
forum.xda-developers.com
redmi note 8 pro 6/128; miui 12.5.15; android 11
Click to expand...
Click to collapse
Did you try to use the power+volume up buttons to restart on the TWRP after the flash without going through the command?
plaui said:
hey, i have problem. i wanted to install pixel expirience on my redmi note 8 pro so i tried to install TWRP first as usual through adb. I flashed the memory and then tried to boot into it
and it gave an error "failed (status read failed (too many links))". I was kinda intersted what happened
so i have found the guy with the same problem but ha has different phone (who is interested the link is in the bottom) and he found the solution but it does not work (for me at least)
i tried everyting: flashing different versions of TWRP, flashing stock ROM a few times (2 at this moment) and nothing worked. If you could please help i would appreciate it a lot. also i`m leaving a photo of the error too (if it can somehow help).
Redmi Note 8T - failed (status read failed (too many links)) when booting recovery
Hi guys, I have finally waited the wait period for unlocking my Redmi Note 8T. I have flashed the TWRP which can be found here: https://forum.xda-developers.com/redmi-note-8/development/recovery-unofficial-twrp-xiaomi-redmi-t3997267 But then...
forum.xda-developers.com
redmi note 8 pro 6/128; miui 12.5.15; android 11
Click to expand...
Click to collapse
*Flash TWRP guide:
- Your phone firmware must be 12.5.x A11
- In Google, search "Begonia Recovery Project Fastboot Miui 12.5 a11 zip pling" and download "BRPv3.6-fastboot.zip" on it site.
- Extract the zip file
- Phone in fastboot mode
- Double click "1.FlashBRPMiuiA11Unified.bat"
Then your phone will automatic flash and boot in TWRP
*After boot in TWRP:
- Advanced>Disable TWRP Replace
(To prevent it get back to MIUI Recovery after boot in System)
- Advanced>Patch vbmeta
(Need to prevent bootloop in MIUI because of flashing Magisk or flashing TWRP)
Kirasu2080 said:
*Flash TWRP guide:
- Your phone firmware must be 12.5.x A11
- In Google, search "Begonia Recovery Project Fastboot Miui 12.5 a11 zip pling" and download "BRPv3.6-fastboot.zip" on it site.
- Extract the zip file
- Phone in fastboot mode
- Double click "1.FlashBRPMiuiA11Unified.bat"
Then your phone will automatic flash and boot in TWRP
*After boot in TWRP:
- Advanced>Disable TWRP Replace
(To prevent it get back to MIUI Recovery after boot in System)
- Advanced>Patch vbmeta
(Need to prevent bootloop in MIUI because of flashing Magisk or flashing TWRP)
Click to expand...
Click to collapse
thanks for the help!! it worked perfectly, but i have a different problem now. I installed pixel expirience i tried to boot into the system and it does not want to. it just boot loops back into TWRP and when i try to plug it into my pc it reboots repetitively. that`s kinda odd.
plaui said:
It gave an error "failed (status read failed (too many links))".
Click to expand...
Click to collapse
Every time I see that that stupid message still circulates in the universe I rip out my hair.
What causes it? Generally it is when your device is not configured or has a wonky cable or interference.
Windows reports such a case as:
Code:
kernel32.dll message code 0x0000001F
A device attached to the system is not functioning.
The (still) stupid adb.exe takes 0x1f as 31 and interprets it as Linux error code EMLINK.
Thus it proudly prints out that you have too many symbolic links in a chain.
plaui said:
thanks for the help!! it worked perfectly, but i have a different problem now. I installed pixel expirience i tried to boot into the system and it does not want to. it just boot loops back into TWRP and when i try to plug it into my pc it reboots repetitively. that`s kinda odd.
Click to expand...
Click to collapse
Go in fastboot and type:
fastboot -w
fastboot reboot
thank you! It`s finally working
Kirasu2080 said:
Go in fastboot and type:
fastboot -w
fastboot reboot
Click to expand...
Click to collapse
Kirasu2080 said:
*Flash TWRP guide:
- Your phone firmware must be 12.5.x A11
- In Google, search "Begonia Recovery Project Fastboot Miui 12.5 a11 zip pling" and download "BRPv3.6-fastboot.zip" on it site.
- Extract the zip file
- Phone in fastboot mode
- Double click "1.FlashBRPMiuiA11Unified.bat"
Then your phone will automatic flash and boot in TWRP
*After boot in TWRP:
- Advanced>Disable TWRP Replace
(To prevent it get back to MIUI Recovery after boot in System)
- Advanced>Patch vbmeta
(Need to prevent bootloop in MIUI because of flashing Magisk or flashing TWRP)
Click to expand...
Click to collapse
<Moderator Edit>: English translation added to the top.
Hi all! We need your help! I have a xiaomi redmi 9 phone. I decided to install tvrp, so that later I can install another OS. At the same time, I encountered the following error: "FAILED (failed to read status (too many links)"). I succeeded when I had already successfully installed tvrp and set the command to reboot in the recovery. I tried to change the USB cable, the USB port on the computer, I tried to press the sound key to immediately get into the recovery without a command on the PC. All unsuccessful. PLEASE HELP ME
Original:
Всем привет! Мы нуждаемся в твоей помощи! У меня телефон сяоми редми 9. Решил установить тврп, чтобы потом поставить другую операционку. В то же время я столкнулся со следующей ошибкой: «FAILED (сбой чтения статуса (слишком много ссылок)»). У меня получилось, когда я уже успешно установил тврп и выставил команду на перезагрузку в рекавери. Пробовал менять кабель USB, порт USB на компе, пробовал нажимать клавишу звука, чтобы сразу попасть в рекавери без команды на ПК. Все безуспешно. ПОМОГИ ПОЖАЛУЙСТА

Question Tough technical problem - First hardbrick then softbrick

Hello all,
I've been having the hardest week, all my personal business at the halt (cant use bank apps, email etc.). One morning my phone suddenly entered a bootloop, then since then I was in a bit of hurry, I tried a stock rom recovery update from twrp, that made the phone enter a hardbrick status.
Then since we don't have a firehose for the 'lisa' I had to pay a guy to take it out. That solved the hardbrick but the softbrick remained. Since I am not an android expert just have mediocre knowledge I asked a kind persons help. They've been trying to help me for days but we still couldn't solve the issue and I thought other opinions would be nothing but helpful.
The details you should know:
1. Only hardware operation made on the device is changing a resistor. (Can explain it better, if requested). But the phone was working just fine after it for months.
2. We have identified the partitions are all messed up and and flashing stock rom doesn't solve it, tried Eu, global and Chinese roms.
3. The system was missing on the twrp advance wipe and there were:
dalvik
metadata
data
ınt storage
sdcard1
usb otg
4. I didn't understand all the things he/she tried but tried to fix the partitions mainly using these sources ( it could give you a better idea ):
How to create System partition in Android? Which is accidentally deleted when tried to increase size.
Tools needed can be downloaded from forum.xda-developers Section 3. parted_gdisk_fdisk_mkfs.ext4-AARCH64.zip - [Click for QR Code] ...
illitrateman.blogspot.com
How to fix "Partition does not start on physical sector boundary" warning?
I have one HDD on my laptop, with two partitions (one ext3 with Ubuntu 12.04 installed and one swap). fdisk is giving me the following warning: Partition 1 does not start on physical sector boundary
askubuntu.com
5. We tried 3 different custom roms but no avail.
6. At the moment the phone can enter in fastboot but giving trouble flashing twrp or orangefox.
I'm confident my expert angel has a solution for that but I think in general any thoughts, ideas, suggestions would be highly appreciated.
Thank you in advance...
Try to use Miflash with the oldest Fastboot rom.
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
MIFLASH[GUIDE]⚙ USE XIAOMI FLASH TOOL
FOR ALL XIAOMI BOOTLOADER MUST BE UNLOCKED https://new.c.mi.com/global/post/101245 https://en.miui.com/unlock/index.html ----------------------------------------------------------------------------------------------------------- All your data...
forum.xda-developers.com
NOSS8 said:
Try to use Miflash with the oldest Fastboot rom.
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
MIFLASH[GUIDE]⚙ USE XIAOMI FLASH TOOL
FOR ALL XIAOMI BOOTLOADER MUST BE UNLOCKED https://new.c.mi.com/global/post/101245 https://en.miui.com/unlock/index.html ----------------------------------------------------------------------------------------------------------- All your data...
forum.xda-developers.com
Click to expand...
Click to collapse
Thank you for your input, yes we have thought of that and downloaded the oldest global rom but haven't tried to flash it yet because of another hardbrick possibility. We are trying to fix it with terminal within twrp (we can flash twrp now) attempting to fix the partitions.
Any other ideas?
stercorarius said:
Thank you for your input, yes we have thought of that and downloaded the oldest global rom but haven't tried to flash it yet because of another hardbrick possibility. We are trying to fix it with terminal within twrp (we can flash twrp now) attempting to fix the partitions.
Any other ideas?
Click to expand...
Click to collapse
Not sure that the Twrp for this device is 100% functional, especially since this device has A/B partitions and A13 has write restrictions.
You can try a Xiaomi Eu rom and flash the rom in fastboot mode with the first install.bat script included in the extracted folder.(xiaomi.eu_multi_MI11LE_XM11Lite5GNE_V14.0.6.0.TKOCNXM_v14-1)
Xiaomi.eu Multilang MIUI ROMs - Browse /xiaomi.eu/MIUI-STABLE-RELEASES/MIUIv14 at SourceForge.net
OFFICIAL mirror of MIUI Multilang ROM by https://xiaomi.eu/
sourceforge.net
Format data, erase your data and create a new partition if necessary (Twrp format data type yes, Miflash and Xiaomi Eu rom do it too).
The recovery roms do not contain all the system imgs unlike the Fastboot rom and Xiaomi Eu rom.
Could also be a HW problem.
stercorarius said:
Hello all,
I've been having the hardest week, all my personal business at the halt (cant use bank apps, email etc.). One morning my phone suddenly entered a bootloop, then since then I was in a bit of hurry, I tried a stock rom recovery update from twrp, that made the phone enter a hardbrick status.
Then since we don't have a firehose for the 'lisa' I had to pay a guy to take it out. That solved the hardbrick but the softbrick remained. Since I am not an android expert just have mediocre knowledge I asked a kind persons help. They've been trying to help me for days but we still couldn't solve the issue and I thought other opinions would be nothing but helpful.
The details you should know:
1. Only hardware operation made on the device is changing a resistor. (Can explain it better, if requested). But the phone was working just fine after it for months.
2. We have identified the partitions are all messed up and and flashing stock rom doesn't solve it, tried Eu, global and Chinese roms.
3. The system was missing on the twrp advance wipe and there were:
dalvik
metadata
data
ınt storage
sdcard1
usb otg
4. I didn't understand all the things he/she tried but tried to fix the partitions mainly using these sources ( it could give you a better idea ):
How to create System partition in Android? Which is accidentally deleted when tried to increase size.
Tools needed can be downloaded from forum.xda-developers Section 3. parted_gdisk_fdisk_mkfs.ext4-AARCH64.zip - [Click for QR Code] ...
illitrateman.blogspot.com
How to fix "Partition does not start on physical sector boundary" warning?
I have one HDD on my laptop, with two partitions (one ext3 with Ubuntu 12.04 installed and one swap). fdisk is giving me the following warning: Partition 1 does not start on physical sector boundary
askubuntu.com
5. We tried 3 different custom roms but no avail.
6. At the moment the phone can enter in fastboot but giving trouble flashing twrp or orangefox.
I'm confident my expert angel has a solution for that but I think in general any thoughts, ideas, suggestions would be highly appreciated.
Thank you in advance...
Click to expand...
Click to collapse
Which twrp version were you using and which version of MIUI did you try to flash when you hard bricked?
There's no system partition nowadays, it is now included in the "super" partition (system, system_ext, product and vendor) and developer removed the option to wipe it because you are not intended to wipe it.
My recomendation is to flash any fastboot rom, I've flashed 7 roms with fastboot and it always worked flawlessly.
Hi, I'm the person that has been helping.
Of course we flashed miui (in fastboot). Global and chinese. We haven't tried eu yet.
I think I've found the source of the problem, but I'm not sure if solving it will fix the bootloop. A partition that's called switch is corruped. It reports as 16EiB (yes that is correct, 16 exabytes, 18446744073709551607 sectors, reported by gptfdisk, full report). It could just be a program issue. The switch partition in located in /dev/block/sda1 and /dev/block/dm-5. I also found that a dummy.img file is being flashed to that partition.
I also got this error from trying to open the switch partition from a newer version of gptfdisk.
I'm not sure if that's the reason for the bootloop, but I think it can be.
These reports have been from /dev/block/sda1. From /dev/block/dm-5 it's like this.
If someone wants to look at the tools I found, they're here.
If someone has any suggestions or possible answers for us, please reply.
What is the error generated by Mi Flash?
Miflash log folder
NOSS8 said:
What is the error generated by Mi Flash?
Miflash log folder
Click to expand...
Click to collapse
Hi, there was is no error in miflash.
You can take a look here if you want to.
Indeed, no error.
Could be a boot sector problem but with dynamic+A/B partitions+A13 , it gets tricky.
NOSS8 said:
Indeed, no error.
Could be a boot sector problem but with dynamic+A/B partitions+A13 , it gets tricky.
Click to expand...
Click to collapse
Can we somehow repair the sector?
Sucharek 233 said:
Can we somehow repair the sector?
Click to expand...
Click to collapse
I saw that you changed a transistor, maybe there is a problem elsewhere that is causing this to happen.
Changing the motherboard with the flex cable might be preferable.
I doubt that what you are trying to do is possible due to the complexity of the current system and especially for boot sectors which are not likely to be accessible with current tools.
Especially since the problem has not been identified with precision.
A little update:
We tried flashing EU rom and the oldest rom, but still no luck. Phone is still bootlooping and switch partition is still broken.

Categories

Resources