Stock ROM won't Flash - Xiaomi Redmi Note 4 Questions & Answers

it says "invalid sparse file format at unknown block" when i try to go back to the stock MiUI ROM via Fastboot flashing method. I formatted the internal storage when i tried to install the pixel experience ROM. What can i do now to solve this problem?

Do u have twrp still installed?

Dadovvv said:
Do u have twrp still installed?
Click to expand...
Click to collapse
yes, i have redwolf installed

Jaisun said:
yes, i have redwolf installed
Click to expand...
Click to collapse
then flash miui rom through recovery.
EDIT: after that if u want clean MIUI without twrp u can flash then using fastboot metod (miflash)

Dadovvv said:
then flash miui rom through recovery.
EDIT: after that if u want clean MIUI without twrp u can flash then using fastboot metod (miflash)
Click to expand...
Click to collapse
Isn't there any other solution?

Jaisun said:
Isn't there any other solution?
Click to expand...
Click to collapse
try from twrp wipe everything and format data, after that try using fastboot method to flash stock miui.

Dadovvv said:
try from twrp wipe everything and format data, after that try using fastboot method to flash stock miui.
Click to expand...
Click to collapse
did that sevaeel times but result is the same. I think i need to re format the internal storage to a new file system. which file system does miui support? ext4?

Jaisun said:
did that sevaeel times but result is the same. I think i need to re format the internal storage to a new file system. which file system does miui support? ext4?
Click to expand...
Click to collapse
yes ext4

Related

Partition "Firmware" failed to restore

As everyone already knew, MIUI 8 is not only available for China Developer ROM, it's not yet available for Global. I was on Global MIUI 7 Developer, I was very curious about MIUI 8. So, I tried to flash it through TWRP. Before I flash, I backed up all partitions on TWRP.
Fast forward 20 minutes, MIUI 8 flashed properly, but I want to go back to my original Global Developer MIUI 7. So, I tried to restore every partition through TWRP with the backup I did. Every partition restored successfully, except "Firmware". It gives error "extractTarFork() process ended with ERROR: 255"
In recovery log, it shows that "tar_extract_file(): failed to restore SELinux context ubject_r:vfat:s0 to file" for a lot of files.
It booted up normally, but it failed to detect my SIM card. Wifi working, just no SIM. Baseband version unknown, can't enter Phone Status, SIM cards & mobile networks greyed out. Phone tells that Can't get valid Device ID (Invalid Device ID: null)
Anyone did experienced this? Any solution?
Use twrp to restore again , this time exclude the firmware partition (restore all other partition except firmware). After the restoration complete , use MiFlashTool to flash back the Miui 7 stable
heorung said:
Use twrp to restore again , this time exclude the firmware partition (restore all other partition except firmware). After the restoration complete , use MiFlashTool to flash back the Miui 7 stable
Click to expand...
Click to collapse
Thanks for the advise. I've restored everything except firmware, and I'm now downloading the fastboot file to be flashed
heorung said:
Use twrp to restore again , this time exclude the firmware partition (restore all other partition except firmware). After the restoration complete , use MiFlashTool to flash back the Miui 7 stable
Click to expand...
Click to collapse
Unfortunately it didnt help. Still the same after flashing with MiFlashTool
Hello,
i have same problem. Radio works fine but USB not. I cant do fastboot. When android starts and connec to pc phone only chaging.
Have you someone solution?
Thanks
@ImjuzCY
i flash the cm rom, but finger print can not work properly .
so i restored all the partitions by twrp. also got that error. and i restored all the partitions except “Firmware”.
but my phone working properly include sim and usb.
lordrak said:
Hello,
i have same problem. Radio works fine but USB not. I cant do fastboot. When android starts and connec to pc phone only chaging.
Have you someone solution?
Thanks
Click to expand...
Click to collapse
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
yogesh1970 said:
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
Click to expand...
Click to collapse
what type of bugs does alka have???is cofface twrp better??
yogesh1970 said:
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
Click to expand...
Click to collapse
I use alka twrp too, but while twrp should we use?
The official twrp can backup all the partitions.
Sent from my Nexus 7 using Tapatalk
Flash MIUI recovery zip ..it will be proper. Same thing happened to me with twrp alka , firmware restore fails .so what u have to do is restore everything except firmware and then reboot to alka twrp again , wipe everything except internal storage and flash MIUI full recovery rom zip file.
Pranbellam said:
Flash MIUI recovery zip ..it will be proper. Same thing happened to me with twrp alka , firmware restore fails .so what u have to do is restore everything except firmware and then reboot to alka twrp again , wipe everything except internal storage and flash MIUI full recovery rom zip file.
Click to expand...
Click to collapse
can i flash the miui rom by twrp?
paranoia_gu said:
can i flash the miui rom by twrp?
Click to expand...
Click to collapse
Y not..! U can ,the recovery rom zip file BTW
yogesh1970 said:
i am pretty sure u have used alka twrp. and it has bug. so my recommendation is to not use this twrp. it may lead your device to end
Click to expand...
Click to collapse
What's this bug you mentioned? Pls tell more
alka recovery formats the firmware partition and then restoring failed . if it do same with the fastboot partition then u r screwed
yogesh1970 said:
alka recovery formats the firmware partition and then restoring failed . if it do same with the fastboot partition then u r screwed
Click to expand...
Click to collapse
which twrp u recommend then??
Pranbellam said:
Y not..! U can ,the recovery rom zip file BTW
Click to expand...
Click to collapse
Sorry, i don't understand. Original recovery is zip file. So How I can use twrp to recover original FW?

EUI 5.8.21s LEX720/727 (Stock)

Hi mates, here you have the latest LEX727USA update for our LEX720 devices.
It´s the original stock not modified, you can make a custom rom if you want.
If you have the LEX727 you only need to change a setting with a text editor in "System/Build.prop":
-persist.radio.multisim.config=dsds
to
-persist.radio.multisim.config=NA
its simple.
Rom:
-EUI5.8.21s(Stock)
Install:
-Twrp or custom recovery
-Wipe data,cache, dalvik and system
-Install the Rom
-Reboot to system
No problem with the fingerprint reader?
Because on the rom of Steve, the reader was not recognized.
meuhmeuh51 said:
No problem with the fingerprint reader?
Because on the rom of Steve, the reader was not recognized.
Click to expand...
Click to collapse
No problem with nothing
OK, thank You.
meuhmeuh51 said:
OK, thank You.
Click to expand...
Click to collapse
:good:
Thanks for the rom, everything perfect only problem I'm having and that in the twrp is asking for password has some way to solve?
gersonrsj said:
Thanks for the rom, everything perfect only problem I'm having and that in the twrp is asking for password has some way to solve?
Click to expand...
Click to collapse
If I say no nonsense, it is that the rom of the united states is encrypted. Me, i erased everything with twrp, and then installed the rom.
meuhmeuh51 said:
If I say no nonsense, it is that the rom of the united states is encrypted. Me, i erased everything with twrp, and then installed the rom.
Click to expand...
Click to collapse
I've done this, but it's always back to rom and very good, but if you have an update, it's impossible to use
gersonrsj said:
I've done this, but it's always back to rom and very good, but if you have an update, it's impossible to use
Click to expand...
Click to collapse
Even using otg via twrp?
meuhmeuh51 said:
Even using otg via twrp?
Click to expand...
Click to collapse
I do not know if it works ota with twrp, I'll put the original recovery and wait for the next update
What language?
gersonrsj said:
Thanks for the rom, everything perfect only problem I'm having and that in the twrp is asking for password has some way to solve?
Click to expand...
Click to collapse
I think that you have installed the latest version of twrp wich make problems with encrypted data.
- Install the boot.img via fastboot (fastboot flash boot boot.img)
-Format data partition via fastboot (fastboot format userdata)
-Remove the latest twrp and install the old (fastboot flash recovery twrp-3.0.2.img)
I have no problem with that twrp.
villarleg said:
I think that you have installed the latest version of twrp wich make problems with encrypted data.
- Install the boot.img via fastboot (fastboot flash boot boot.img)
-Format data partition via fastboot (fastboot format userdata)
-Remove the latest twrp and install the old (fastboot flash recovery twrp-3.0.2.img)
I have no problem with that twrp.
Click to expand...
Click to collapse
Thanks, I got it by installing the old twrp
kixx22 said:
What language?
Click to expand...
Click to collapse
Default would be English.
Hello, I am going to flash this via twrp soon. But one thing I need to know, can I flash supersu 2.79 on this? Because of kernel tweak.
crazy1990 said:
Hello, I am going to flash this via twrp soon. But one thing I need to know, can I flash supersu 2.79 on this? Because of kernel tweak.
Click to expand...
Click to collapse
Yes, you can flash the latest SuperSU 2.79 SR3 (https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip) normally without issue
bayad said:
Yes, you can flash the latest SuperSU 2.79 SR3 (https://download.chainfire.eu/1021/SuperSU/SR3-SuperSU-v2.79-SR3-20170114223742.zip) normally without issue
Click to expand...
Click to collapse
has anyone tried to root his phone with this. I am new at flashing things and i don't want to break my phone
mertsamet said:
has anyone tried to root his phone with this. I am new at flashing things and i don't want to break my phone
Click to expand...
Click to collapse
Yes, I flashed my Le Pro 3 with this SuperSU version many times without problem
I wanted to ask a question: this ROM, compared to the overall performance (including fuel consumption) of the 20s, how are you? The translation in some languages ​​I know not be perfect, but it does not matter. What they would press me to know is whether it is worth abandoning the 20s for this stock. Thank you all for the answers.
PS: excuse for my very bad english
Sent from my Le Pro3 using XDA Labs
where can i get a 21s rom for 727 without the modified build.prop? it's annoying me that the phone is thinking that he's 720

Installation of MIUI 10 beta

I have permission to unlock bootloader but dont have access to a pc atm. Can I flash the rom zip file through locked bootloader without twrp ?
Distrackto said:
I have permission to unlock bootloader but dont have access to a pc atm. Can I flash the rom zip file through locked bootloader without twrp ?
Click to expand...
Click to collapse
Yes u can. Follow this thread and search for miui 10 recovery (twrp) zip and update through Updater app since its global beta u can flash without twrp.
https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-unlock-bootloader-custom-t3839405
I downloaded the zip version and installed from the update screen. Haven't unlocked bootloader. It's working really well.
Whoamitosayanything said:
I downloaded the zip version and installed from the update screen. Haven't unlocked bootloader. It's working really well.
Click to expand...
Click to collapse
Can you share the link please
Whoamitosayanything said:
I downloaded the zip version and installed from the update screen. Haven't unlocked bootloader. It's working really well.
Click to expand...
Click to collapse
Any Problems after Update?
Is Miui 10 faster then 9?
Not sure if placebo but it feels faster to me. I think there's a youtuber who showed it was faster as well.
Did it wipe data on your phone using this method? If so, is the internal storage wiped as well?
Distrackto said:
Can you share the link please
Click to expand...
Click to collapse
Does it wipe your data (apps, internal storage etc)
MasterFURQAN said:
Does it wipe your data (apps, internal storage etc)
Click to expand...
Click to collapse
It'll wipe everything. All of internal storage.
Link plz guys.
azaan477 said:
It'll wipe everything. All of internal storage.
Click to expand...
Click to collapse
. I guess I'll wait for the official stable update then. I'm too lazy to backup the humungous amount of pics and apps in my phone.
Distrackto said:
Link plz guys.
Click to expand...
Click to collapse
en.miui.com/download-355.html
Download Developer Full ROM.
It says MIUI 9 but actually is MIUI 10.
lambebaal said:
en.miui.com/download-355.html
Download Developer Full ROM.
It says MIUI 9 but actually is MIUI 10.
Click to expand...
Click to collapse
I need to flash it through updater app right ? On locked bootloader.
Correct
Distrackto said:
I need to flash it through updater app right ? On locked bootloader.
Click to expand...
Click to collapse
Yes.
Also, make a copy of the downloaded zip file because the contents of the zip file changes during flashing. So, you need to use different zip file than the one used previously in case the upgrade fails.
lambebaal said:
Yes.
Also, make a copy of the downloaded zip file because the contents of the zip file changes during flashing. So, you need to use different zip file than the one used previously in case the upgrade fails.
Click to expand...
Click to collapse
Upgrade fails as in bootloop ?
Distrackto said:
Upgrade fails as in bootloop ?
Click to expand...
Click to collapse
Nope. My wording was wrong. Sometimes the updater app can't verify the zip file and shows error like "Can't install unofficial ROM". I was referring to that case.
https://forum.xda-developers.com/poco-f1/how-to/poco-f1-stock-image-9-6-18-0-oejmifd-t3836433
I am on 8.9.13
Iam not able to install the global beta version ! ..... It shows installation of unauthorised rom is not allowed.
Langpang said:
Iam not able to install the global beta version ! ..... It shows installation of unauthorised rom is not allowed.
Click to expand...
Click to collapse
Download ROM zip file again.

Any way to root Android Pie RETEU xt1941-4?

Hello! I just updated to Android Pie and i've been wondering if there is any way to root the phone. Any help would be SUPER appriciated! Thanks!
Sure it is possible. With Magisk..
bb2k22 said:
Sure it is possible. With Magisk..
Click to expand...
Click to collapse
And how do you flash it?
borksek said:
And how do you flash it?
Click to expand...
Click to collapse
Take the boot.img out of the firmware package and transfer it to the phone. Install Magisk Manager, open it and click install.
Chose "patch boot image" option. When it's done, transfer "patched_boot.img" to pc and use fastboot to flash.
Code:
fastboot flash boot patched_boot.img
tys0n said:
Take the boot.img out of the firmware package and transfer it to the phone. Install Magisk Manager, open it and click install.
Chose "patch boot image" option. When it's done, transfer "patched_boot.img" to pc and use fastboot to flash.
Click to expand...
Click to collapse
Why not with twrp just flash zip?
borksek said:
Why not with twrp just flash zip?
Click to expand...
Click to collapse
I didn't wanna format data at the time to be able to mount it in TWRP, which is needed for flashing magisk since it writes to /data/adb.
tys0n said:
I didn't wanna format data at the time to be able to mount it in TWRP, which is needed for flashing magisk since it writes to /data/adb.
Click to expand...
Click to collapse
Why not just decrypt
borksek said:
Why not just decrypt
Click to expand...
Click to collapse
I tried a few zips for that when I was on O, but with no success.
There's more ways for decryption to try, like your fstab edit, but I would have to format data anyway.
Otherwise it won't boot after disabling forced encryption, because the data itself is still encrypted and won't be decrypted on boot.
tys0n said:
I tried a few zips for that when I was on O, but with no success.
There's more ways for decryption to try, like your fstab edit, but I would have to format data anyway.
Otherwise it won't boot after disabling forced encryption, because the data itself is still encrypted and won't be decrypted on boot.
Click to expand...
Click to collapse
Hello Tys0n, can you please help me with bootloop? I tried to install a magisk module and my phone bootloop. Please help me I just got my phone. Step by step i beg you.. I don't want to lose the phone..
Edit: nvm i fixed it by flashing stock rom
Bro

I can not upload a stock rom

Hello, I can not upload a ROM stock from the MIUI website in any way by the MiFlash program or by TWRP.
_theos_ said:
Hello, I can not upload a ROM stock from the MIUI website in any way by the MiFlash program or by TWRP.
Click to expand...
Click to collapse
Miflash does not work for me, flash OrangeFox recovery and try to update, this method worked for me without issues miui_MI8LiteGlobal_V10.3.1.0.PDTMIXM_8f2efd3fd2_9.0 global version... this is name of rom and rom must contain system.new.dat.br file and similar files ending with dat, br.....make folder log inside Miflash root folder. This may help
Stefke93 said:
Miflash does not work for me, flash OrangeFox recovery and try to update, this method worked for me without issues miui_MI8LiteGlobal_V10.3.1.0.PDTMIXM_8f2efd3fd2_9.0 global version... this is name of rom and rom must contain system.new.dat.br file and similar files ending with dat, br.....make folder log inside Miflash root folder. This may help
Click to expand...
Click to collapse
I flash orangefox and nothing else gave me further error 7 pops up
_theos_ said:
I flash orangefox and nothing else gave me further error 7 pops up
Click to expand...
Click to collapse
Strange, try to wipe vendors, system etc... and then mount partitions in OrangeFox. Also disable siignature check and other stuff's... try to flash dm-verity disabler first...you can try also Pitch black recovery
Stefke93 said:
Strange, try to wipe vendors, system etc... and then mount partitions in OrangeFox. Also disable siignature check and other stuff's... try to flash dm-verity disabler first...you can try also Pitch black recovery
Click to expand...
Click to collapse
ok thank you for your help

Categories

Resources