TWRP-Flashable stock ROM? [Lavender Global] - Xiaomi Redmi Note 7 Questions & Answers

Hello,
I'm interested in going back to stock after having some issues with xiaomi.eu ROMs. However, the one time I tried it, I had an error mid-flash (with MiFlashTool) and the phone got wiped. Thankfully I was able to re-flash TWRP and flash Xiaomi.eu ROM from there. But I want to return to stock now. However, I don't want to have to use MiFlashTool as last time I did that, the phone almost got bricked. Xiaomi's tools are horrible anyway.
Is there a way to get the latest stable Global ROM for Lavender in a .ZIP file that I'd be able to flash from TWRP?
Any help is appreciated.

rottensong said:
Hello,
I'm interested in going back to stock after having some issues with xiaomi.eu ROMs. However, the one time I tried it, I had an error mid-flash (with MiFlashTool) and the phone got wiped. Thankfully I was able to re-flash TWRP and flash Xiaomi.eu ROM from there. But I want to return to stock now. However, I don't want to have to use MiFlashTool as last time I did that, the phone almost got bricked. Xiaomi's tools are horrible anyway.
Is there a way to get the latest stable Global ROM for Lavender in a .ZIP file that I'd be able to flash from TWRP?
Any help is appreciated.
Click to expand...
Click to collapse
Every zip from the official MIUI download page are flashable via TWRP. Remember to make a full backup with TWRP and also backup your internal sdcard as the global rom will reset the official recovery and encrypt your data again (that's what happened in my case).

thunderteaser said:
Every zip from the official MIUI download page are flashable via TWRP. Remember to make a full backup with TWRP and also backup your internal sdcard as the global rom will reset the official recovery and encrypt your data again (that's what happened in my case).
Click to expand...
Click to collapse
Thank you so much! I really don't care much about the data, the phone is new, I just want it to work.
I'll get on this ASAP. Thanks again!

thunderteaser said:
Every zip from the official MIUI download page are flashable via TWRP. Remember to make a full backup with TWRP and also backup your internal sdcard as the global rom will reset the official recovery and encrypt your data again (that's what happened in my case).
Click to expand...
Click to collapse
I get a "zip treble" compatibility error with the stock .zip

rottensong said:
I get a "zip treble" compatibility error with the stock .zip
Click to expand...
Click to collapse
Which TWRP version are you using?

thunderteaser said:
Which TWRP version are you using?
Click to expand...
Click to collapse
V. 3.3.0-0

thunderteaser said:
Which TWRP version are you using?
Click to expand...
Click to collapse
Just in case, I flashed https://forum.xda-developers.com/re...very-unofficial-twrp-touch-recovery-t3921637/ and got the same result.

It did not happen in my case as I was already on global. Maybe you should look for a guide to switch from Xiaomi.eu to global

thunderteaser said:
It did not happen in my case as I was already on global. Maybe you should look for a guide to switch from Xiaomi.eu to global
Click to expand...
Click to collapse
All guides point to using Fastboot flash and that's what almost killed my phone last time.
I've flashed xiaomi.eu Stable now, and did a /data format and full wipe. Let's see if this isn't better. I honestly just want stuff to work at this point.
Thank you for your help.

It took me hours to fix it as ADB wouldnt work with me for some reason...
BUT there is allways an indian guy who does tutorials:
https://www.youtube.com/watch?v=kr3kUJF6d0Y
WORKED FLAWLESS!
Hope i can help some ppl in the future that googled like me

Related

Does anyone else have a problem installing Official Firmware with TWRP

I cant seem to flash Oppo Firmware at all with TWRP it says FAILED!!! every time I try to flash Oppo's Firmware, Full Firmware or OTAs, it says the same thing FAIL!!!. Using TWRP 2.5.0.0 if you have done it, how did you do it? Did you set an special permissions in TWRP or anything?
drvsbsm said:
I cant seem to flash Oppo Firmware at all with TWRP it says FAILED!!! every time I try to flash Oppo's Firmware, Full Firmware or OTAs, it says the same thing FAIL!!!. Using TWRP 2.5.0.0 if you have done it, how did you do it? Did you set an special permissions in TWRP or anything?
Click to expand...
Click to collapse
Delete
drvsbsm said:
I cant seem to flash Oppo Firmware at all with TWRP it says FAILED!!! every time I try to flash Oppo's Firmware, Full Firmware or OTAs, it says the same thing FAIL!!!. Using TWRP 2.5.0.0 if you have done it, how did you do it? Did you set an special permissions in TWRP or anything?
Click to expand...
Click to collapse
Had the same problem, could not install any oppo ota or full roms with TWRP.
In the end i installed CM rom, then installed oppo full, I could then install OTA without problem, but you loose all your data
Left TWRP off for now
Warlord
I don't know why you're having problems my friend. I have installed everything via twrp on my Oppo. As soon as faux123 he wouldn't be doing a CM kernel for now, I downloaded the beta firmware and flashed it in TWRP. No problems here. Maybe another bad download? I did get a fail when I downloaded it to my computer and then transferred it to my phone, but when I downloaded it straight to my phone, I had zero problems.
BTW, what part of Ohio are you in?
housry23 said:
I don't know why you're having problems my friend. I have installed everything via twrp on my Oppo. As soon as faux123 he wouldn't be doing a CM kernel for now, I downloaded the beta firmware and flashed it in TWRP. No problems here. Maybe another bad download? I did get a fail when I downloaded it to my computer and then transferred it to my phone, but when I downloaded it straight to my phone, I had zero problems.
BTW, what part of Ohio are you in?
Click to expand...
Click to collapse
I got it working same problem here, it was a bad transfer to phone from PC because MD5 matched the rom, that's what had me so confused, I transfered it over again and its working. I read your other message over at Oppo forums and I don't think I can stay stock too much longer either. I really hope that faux, or maybe someone else will develop a kernel for custom 4.2.2 roms...........
I'm in Sidney
Whoa Sidney! That's pretty close. Small world. I'm sure we're the only ones on the Dayton area with an oppo lol
Sent from my Find 5 using Tapatalk 4 Beta

Stuck in TWRP after pushed upgrade 28s

This morning I my phone pesented itself in TWRP.
Maybe this is because over the past days I repeatedly got notifications that a system upgrade wanted to install itself (I have a modified 26s X720 from Tora33).
I rejected those notifications.
Now I am stuck in TWRP and I cannot get around it. What I tried:
Reinstalling previous firmware (Tora33 26s) still on the phone
Restoring a TWRP backup from 6 months ago (TWRP didn't see it, maybe it's from a previous TWRP version, I now have v. 3.1)
Flash via fastbood factory image using Mauro's Tool All In One (error message "can't find file mke2fs.conf")
Wipe data, cache, dalvik cache, system; then install Mauro_V2.2 cleansed 23s firmware which I transferred to the phone
Every time it boots up in TWRP.
Your bricked you never flash ota with twrp you should read before doing anything.
The only thing that can help is ofil.
I suggest you study well before trying it.
Sent from my LEX720 using xda premium
mchlbenner said:
Your bricked you never flash ota with twrp you should read before doing anything.
The only thing that can help is ofil.
I suggest you study well before trying it.
Click to expand...
Click to collapse
Oh boy. Thanks anyway. OTA flashed itself, couldn't stop it. Maybe I made it worse by trying to fix.
The bootloader is not locked according to the AIO tool. I can flash succesfully any firmware, only after flashing the phone will still boot in TWRP. It is strange it still boots in TWRP. Is there no simpler trick like flashing the standard recovery and then flashing OFW?
You mention Ofil; do you think the guide described here work?
Wortelstok said:
Oh boy. Thanks anyway. OTA flashed itself, couldn't stop it. Maybe I made it worse by trying to fix.
The bootloader is not locked according to the AIO tool. I can flash succesfully any firmware, only after flashing the phone will still boot in TWRP. It is strange it still boots in TWRP. Is there no simpler trick like flashing the standard recovery and then flashing OFW?
You mention Ofil; do you think the guide described here work?
Click to expand...
Click to collapse
Yes, that QFIL guide is for the x720.
In my opinion, the best way to return stock is to push update.zip into phones main folder, then install stock recovery, then in this one install update zip then check that OS is working. If it is, then go into twrp and wipe. Can't do it?
I'll mention myself;
https://forum.xda-developers.com/le-pro3/how-to/guide-simple-to-return-to-stock-x720-t3618658
marik1 said:
In my opinion, the best way to return stock is to push update.zip into phones main folder, then install stock recovery, then in this one install update zip then check that OS is working. If it is, then go into twrp and wipe. Can't do it?
I'll mention myself;
https://forum.xda-developers.com/le-pro3/how-to/guide-simple-to-return-to-stock-x720-t3618658
Click to expand...
Click to collapse
If he was just going back stock that would work he flash 28s ota with twrp so this will not work.
Sent from my LEX720 using xda premium
No brick after OFW push 28s
The pushed (unvoluntary) update didn't brick my phone after all. This may be important for those that have modified stock ROMs with TWRP.
Not being able to restore OFW was a bug in Mauro's All-in-One tool which he fixed last night. After I could easily flash 20S or 26S stock from his repository. I would also recommend this as safest/easiest procedure. Afterwards you can just flash TWRP from the same tool and move from there.
By the way, immediately after flashing 20s the FW notified it wanted to update itself, again!
n my opinion, the best way to return stock is to push update.zip into phones main folder, then install stock recovery, then in this one install update zip then check that OS is working. If it is, then go into twrp and wipe. Can't do it?
Click to expand...
Click to collapse
Might have tried that

How do I get back to 7.1

A month or two ago I put on AOSP 8.1 via this thread.
https://forum.xda-developers.com/x-compact/development/nougat-7-1-1-android-source-project-t3555510
I'd like to go back to where I was. I have a full twrp backup. I cannot restore that currently due to the aosp being encrypted. You get a bunch of errors.
What is the easiest way to get back to a place where I can simply restore my twrp backup?
TWRP is installed. 3.1.1 I'm assuming I should upgrade to 3.2.2. Curious if that will let me just restore from my twrp backup.
It was suggested I flash another .img file but I'm not sure which one.
j1tters said:
A month or two ago I put on AOSP 8.1 via this thread.
https://forum.xda-developers.com/x-compact/development/nougat-7-1-1-android-source-project-t3555510
I'd like to go back to where I was. I have a full twrp backup. I cannot restore that currently due to the aosp being encrypted. You get a bunch of errors.
What is the easiest way to get back to a place where I can simply restore my twrp backup?
TWRP is installed. 3.1.1 I'm assuming I should upgrade to 3.2.2. Curious if that will let me just restore from my twrp backup.
It was suggested I flash another .img file but I'm not sure which one.
Click to expand...
Click to collapse
You can flash N with Emma... Or, if you just flash a different boot img from a different rom, or update TWRP to 3.2, (it's official now), you should be able to restore backup.
levone1 said:
You can flash N with Emma... Or, if you just flash a different boot img from a different rom, or update TWRP to 3.2, (it's official now), you should be able to restore backup.
Click to expand...
Click to collapse
Emma? Where does one get that. I've always used xpirifirm and flashtool.
Oh seriously? I was kind of hoping that was the answer, that twrp 3.2.2 will be able to restore that.
Thanks
j1tters said:
Emma? Where does one get that. I've always used xpirifirm and flashtool.
Oh seriously? I was kind of hoping that was the answer, that twrp 3.2.2 will be able to restore that.
Thanks
Click to expand...
Click to collapse
https://developer.sony.com/develop/open-devices/get-started/flash-tool/download-flash-tool/
levone1 said:
You can flash N with Emma... Or, if you just flash a different boot img from a different rom, or update TWRP to 3.2, (it's official now), you should be able to restore backup.
Click to expand...
Click to collapse
So I got 3.2.2 installed. It will not restore my old backup.
Could not mount data unable to find crypto key. Also not cannot boot into working oreo.
Unable to mount /data
Unable to find file system
Error opening modem_fs1.emmc.win no such file.
At this point I can get to twrp 3.2.2 and I can get to fastboot.
Cant get emma to see phone.
Any suggestions?
I got emma working. I got it flashed back to nougat. I still cannot restore twrp.
I get this
unable to find file system (first period)
Error opening modem_fs1.emmc.win no such file.
j1tters said:
I got emma working. I got it flashed back to nougat. I still cannot restore twrp.
I get this
unable to find file system (first period)
Error opening modem_fs1.emmc.win no such file.
Click to expand...
Click to collapse
Hi, how did you get emma recognize your phone? I can't see my phone in it.
andry360 said:
Hi, how did you get emma recognize your phone? I can't see my phone in it.
Click to expand...
Click to collapse
In Emma I went to help, Product information. Then I chose my model. Booted phone into fastboot and plugged it in. Emma saw it from then on.

sideload installation keeps failing.

I'm trying to revert my oneplus 5 back to stock. I done all the steps got stock recovery installed. When I attempt to sideload original oos through adb sideload it keeps failing at 46%. Any advice would be very appreciated.. I've read so much and tried so many different things. I am completely stuck.
TENlll423 said:
I'm trying to revert my oneplus 5 back to stock. I done all the steps got stock recovery installed. When I attempt to sideload original oos through adb sideload it keeps failing at 46%. Any advice would be very appreciated.. I've read so much and tried so many different things. I am completely stuck.
Click to expand...
Click to collapse
Which rom do you want to flash and from which rom are you coming? Maybe there are some updates between you're missing...
strongst said:
Which rom do you want to flash and from which rom are you coming? Maybe there are some updates between you're missing...
Click to expand...
Click to collapse
I got the phone from a friend and it has been completely wiped and formatted through TWRP. He did have a nougat custom ROM on it prior to that.
I tried to sideload to it with TWRP and it wouldn't work. I followed directions from a website that explains how to revert your op5 back to stock using stock recovery. I was trying to put the original oxygen OS ROM on it that came with the phone using the stock recovery and adb and fastboot. I'm thinking maybe I possibly downloaded the wrong OOS version. Who knows. Lol .
It had nougat Pure FusionOS 7.1.2. encrypted...SuperSU root and TWRP blue spark.
Now all it has is stock recovery with No OS
Would like to get OOS pie on it eventually.
TENlll423 said:
I got the phone from a friend and it has been completely wiped and formatted through TWRP. He did have a nougat custom ROM on it prior to that.
I tried to sideload to it with TWRP and it wouldn't work. I followed directions from a website that explains how to revert your op5 back to stock using stock recovery. I was trying to put the original oxygen OS ROM on it that came with the phone using the stock recovery and adb and fastboot. I'm thinking maybe I possibly downloaded the wrong OOS version. Who knows. Lol .
It had nougat Pure FusionOS 7.1.2. encrypted...SuperSU root and TWRP blue spark.
Now all it has is stock recovery with No OS
Would like to get OOS pie on it eventually.
Click to expand...
Click to collapse
Do you want to have root along with your new rom? And which rom do you want?
strongst said:
Do you want to have root along with your new rom? And which rom do you want?
Click to expand...
Click to collapse
New OOS 5.1 7. With Magisk v18 would be great.
TENlll423 said:
New OOS 5.1 7. With Magisk v18 would be great.
Click to expand...
Click to collapse
You need to flash 5.1.4 at first to create the vendor partition like described here https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003 then you can flash 5.1.7. If that fails you need to flash 5.1.5 and 5.1.6 after 5.1.4 and before 5.1.7. You'll find older versions here
https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-mirrors-official-oxygen-os-t3628190
Also you need an actual(latest codeworkx for example) twrp recovery https://forum.xda-developers.com/on...overy-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723
Please report back
strongst said:
You need to flash 5.1.4 at first to create the vendor partition like described here https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003 then you can flash 5.1.7. If that fails you need to flash 5.1.5 and 5.1.6 after 5.1.4 and before 5.1.7. You'll find older versions here
https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-mirrors-official-oxygen-os-t3628190
Also you need an actual(latest codeworkx for example) twrp recovery https://forum.xda-developers.com/on...overy-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723
Please report back
Click to expand...
Click to collapse
Thank you... can I do all that by installing TWRP with fastboot and then sideload 5.1.4?
TENlll423 said:
Thank you... can I do all that by installing TWRP with fastboot and then sideload 5.1.4?
Click to expand...
Click to collapse
There's no need of sideload anything when you flashed twrp through fastboot. Just copy the roms on the device and flash through twrp
strongst said:
There's no need of sideload anything when you flashed twrp through fastboot. Just copy the roms on the device and flash through twrp
Click to expand...
Click to collapse
Ok I'll give it a try thanks. And merry Christmas
strongst said:
There's no need of sideload anything when you flashed twrp through fastboot. Just copy the roms on the device and flash through twrp
Click to expand...
Click to collapse
How can I transfer 5.1.4 to phone from pc? My phone is completely wiped. Computer won t recognize phone in PC file explorer? Also, Will I have to fastboot flash recovery twrp img to get new twrp to work? Sorry for all the questions.
strongst said:
There's no need of sideload anything when you flashed twrp through fastboot. Just copy the roms on the device and flash through twrp
Click to expand...
Click to collapse
Keep getting failed to mount/system/ invalid argument in thwrp. Can't transfer rom from pc. Its showing up in PC file explorer but won't transfer
strongst said:
You need to flash 5.1.4 at first to create the vendor partition like described here https://forum.xda-developers.com/oneplus-5/how-to/official-oxygenos-4-5-2-7-1-1-ota-t3627003 then you can flash 5.1.7. If that fails you need to flash 5.1.5 and 5.1.6 after 5.1.4 and before 5.1.7. You'll find older versions here
https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-mirrors-official-oxygen-os-t3628190
Also you need an actual(latest codeworkx for example) twrp recovery https://forum.xda-developers.com/on...overy-twrp-3-2-1-0-oreo-oxygenos-5-0-t3725723
Please report back
Click to expand...
Click to collapse
Can't copy anything to phone. says there's no system and I even tried sideloading rom and said it corrupt
I think it's done. It's beyond me.. I've read so much trying to get this thing fixed I can't even see straight.. lol
It lets me copy small files over like magisk v18. It works. When I attempt to copy 5.1.4 rpm over it says device stopped not responding. Crazy
TENlll423 said:
It lets me copy small files over like magisk v18. It works. When I attempt to copy 5.1.4 rpm over it says device stopped not responding. Crazy
Click to expand...
Click to collapse
You need to mount internal storage, not system. Is your twrp updated to latest codeworkx?
I'm redownloading 5.1.4
I tried to copy over another ROM I had and it started to copy over so it is the file that was corrupted.
Thanks again I really appreciate it ?
strongst said:
You need to mount internal storage, not system. Is your twrp updated to latest codeworkx?
Click to expand...
Click to collapse
Second to latest... I have
TWRP-3.2.3-0-20181031-codeworkx installed.
Latest one wouldn't boot.
It won't install no vendor to mount or something. I'm done... Thanks for everything anyway.
When I reboot to recovery. This what it says.
TENlll423 said:
Second to latest... I have
TWRP-3.2.3-0-20181031-codeworkx installed.
Latest one wouldn't boot.
Click to expand...
Click to collapse
I'm using twrp-3.2.3-0-20181031-codeworkx-cheeseburger.img
You have the same? The vendor partition will be created with 5.1.4.
You can go(in twrp) to mount - > vendor. But the recovery should mount it automatically when it's created by flashing 5.1.4.
strongst said:
I'm using twrp-3.2.3-0-20181031-codeworkx-cheeseburger.img
You have the same? The vendor partition will be created with 5.1.4.
You can go(in twrp) to mount - > vendor. But the recovery should mount it automatically when it's created by flashing 5.1.4.
Click to expand...
Click to collapse
Yeah that's the same one I'm using I'm thinking maybe I don't have TWRP setup right is there any settings I'm supposed to go into?
Even when I check off everything in advanced wipe and do a wipe it comes up fine all the way to the end and then it says failed to mount vendor (invalid argument)
I liked everything again in TWRP I went to flash 514 and it works all the way up to the end and fails to mount vendor invalid argument.
Somehow I need to activate the vendor partition or something.
well I'm going back to reading like a madman and figure out if anybody else had this problem online. Lol thanks

TWRP Error installing zip file

Hello,
I got the error " error installing zip file " while a try to flash oos 11.1.2.2.
I try sideload instead by it Failed instantly. I tried to format data and wipe without any change. I also tried to boot other version of TWRP (I currently use a custom version of TWRP 3.6.0), but I always got a Crash Dump error.
I was able to install rom with this version of TWRP before and I have wanted to install PixelExperience but I have forgotten to flash oos 11.1.2.2 before and i think is that witch broken TWRP.
I also tried to reinstall TWRP.
Any ideas on this?
wiiznokes2 said:
Hello,
I got the error " error installing zip file " while a try to flash oos 11.1.2.2.
I try sideload instead by it Failed instantly. I tried to format data and wipe without any change. I also tried to boot other version of TWRP (I currently use a custom version of TWRP 3.6.0), but I always got a Crash Dump error.
I was able to install rom with this version of TWRP before and I have wanted to install PixelExperience but I have forgotten to flash oos 11.1.2.2 before and i think is that witch broken TWRP.
I also tried to reinstall TWRP.
Any ideas on this?
Click to expand...
Click to collapse
I had that error before from a bad copy of oos. I would download it again and copy to USB again if that's what you're using. Also use this twrp to fastboot boot it works I actually just had to do it a min ago.
Brettroth said:
I had that error before from a bad copy of oos. I would download it again and copy to USB again if that's what you're using. Also use this twrp to fastboot boot it works I actually just had to do it a min ago.
Click to expand...
Click to collapse
Thank you, I will try that. Can you send me a link of oos that I should install, I'm not sure if it's that one https://www.oneplus.com/fr/support/softwareupgrade/details?code=PM1574156215016 .
Also, shoud I use "flash current TWRP" before flashing the ROM?
wiiznokes2 said:
Thank you, I will try that. Can you send me a link of oos that I should install, I'm not sure if it's that one https://www.oneplus.com/fr/support/softwareupgrade/details?code=PM1574156215016 .
Also, shoud I use "flash current TWRP" before flashing the ROM?
Click to expand...
Click to collapse
Yeah definitely flash current twrp first. The oos you used is not the latest I'll just upload it. The latest and last ever update from OnePlus is 11.1.2.2
Brettroth said:
Yeah definitely flash current twrp first. The oos you used is not the latest I'll just upload it. The latest and last ever update from OnePlus is 11.1.2.2
Click to expand...
Click to collapse
That worked, thank a lot!
wiiznokes2 said:
That worked, thank a lot!
Click to expand...
Click to collapse
You're welcome

Categories

Resources