Official TWRP is out - Xiaomi Redmi Note 7 Guides, News, & Discussion

If anyone's interested. Haven't tried it myself, I'm quite happy with Orangefox.
https://twrp.me/xiaomi/xiaomiredminote7.html

It works
I've been using it for a while now and it's just great, you don't need to wipe your phone's data after installing it, quiet useful when you are reinstalling it after an OTA update.
It's the best.

Related

Trouble with installing GApps with safestrap 1.08f

If anyone else is trying to do a fresh install on a XT860 with Rick #2's 1.08f safestrap, and is having trouble with GAPPS not installing on a clean wipe, try using the regular safestrap.
I don't know why it was failing for me, but every time I tried to install CM9 + Gapps with the new and very feature rich and otherwise excellent 1.08f, i would get a usable Android phone, but no Gapps. Everything claimed it installed correctly, but no dice. I tried it with and without rick#2's xt860 data patch to no avail.
Upon reverting safestrap to Hashcode's version from his website, everything worked fine.
Merci!
Stuart
I just wanted to mention that I've patched the bug that caused this problem and it's working properly now. This is what I get for trying to squeeze so many ideas into one release instead of slowly dispersing them as I go along...
The link is the same, but here it is again for your convenience:
Safestrap 1.08f
http://db.tt/u4vAwv2u
C'est bon rick! I wanted to post it in your development thread to give you feedback but of course as a new member it wouldn't let me. I am glad you were able to fix it so quickly, merci!

ANCIENT Android

I have quite an old version of Android on my Nexus 6 (see attached). Is it safe to flash or fastboot to a 7.0 or 7.1 build without wiping? I am on rooted Project Fi. I don't necessarily need to keep root (though I prefer it for tap-to-wake), but I do need Project Fi compatibility since that is my carrier. Thank you!
You are going to have to wipe data and cache, flash bootloader and radio, and then you are clear to go to 7.0 or 7.1! *project FI is not a custom rom thing, its going to work now with any rom! Root is as easy is reflashing SU when done with upgrade, if you want root again.
While you probably can receive OTA updates until you get to Android 7.0, there's no guarantee that you'll get the required updates. Flashing one of the OTA images from the Google Developer website will get you there a lot quicker. But you want to back up your internal storage onto your PC before applying the OTA. Since there is a bootloader update involved, your device may end up wiped.
Darn. Can you link me to whichever bootloader, radio, and build would be best for me to use? I just want the base stock Project Fi build, so I'm not sure if I should get the Google build, or one in the dev forum.
I cannot utilize OTA updates: I click install, it reboots, and fails. Hence why I have been on 5.1 for years. I just haven't had the time (or desire) to do all of this manually. How should I go about the upgrade process? I understand the process of fastboot and all that (though it has been a while), but I need a little guidance on which file (or files) to use and where to download them. Any pointers on which website and which download(s) would be much appreciated, whether it is the official google file, or I need other files as well, etc.
This is a link to the 7.0 bootloader and radio, both flashable! http://forum.xda-developers.com/nexus-6/development/fxz-nexus-6-recovery-flashable-fastboot-t3066052
This is a link to a stock (project fi ready) 7.0 build, with radio / bootloader/ rom / gapps / everything. Perhaps it would be easier just to do this writeup! http://forum.xda-developers.com/nexus-6/general/android-nougat-nbd90z-flashable-image-t3474572
Excellent thank you. Regarding the second link:
a) This will work for 5.1 and a very old version of TWRP correct?
b) Also, what is the purpose of making a backup if this will wipe the storage anyway?
Of course it fails. OTA updates require the stock recovery to work. Had I known you had TWRP installed I would have had you flashing the factory image using fastboot.
a) no, while it may work, You should definitely update your version of TWRP
b) You aren't going to wipe your internal storage if you use TWRP. that's only when you're flashing via fastboot
If you use TWRP, you can wipe the system, data, and cache without touching your files. just dont' wipe internal storage
Yes. I do have TWRP. In that case, do you agree with the other post that the following link is the best upgrade path? http://forum.xda-developers.com/nexus-6/general/android-nougat-nbd90z-flashable-image-t3474572
Ohhh I see. My eyes immediately skipped to the "Method 2" content.
a) So I should first update TWRP, and then perform "Method 1" in that post, correct? Just want to make absolutely sure of the steps.
b) In the case that Method 1 is correct, since my data would remain, will my phone be wiped or not?
Yes.
It worked! I am now proudly on 7.0 without wiping!!! Thank you!!!!!! How do I mark this as the answer? Woohoo!!!
P.S. In case this should help anyone else (or maybe help myself in the future), I updated TWRP though the "TWRP Manager" app, did a full backup of the phone (took 822 seconds), then flashed that zip in that other thread. So far so good!!!
Woot!

If I just flash a new full version instead of the OTA will nothing get deleted?

I've tried to look for the sultan otas but haven't found so if I just flash the whole ROM I should be fine right? Is there some other way to get the OTA from the updater if that deletes stuff?
Escabrera said:
I've tried to look for the sultan otas but haven't found so if I just flash the whole ROM I should be fine right? Is there some other way to get the OTA from the updater if that deletes stuff?
Click to expand...
Click to collapse
You'll be fine. What you're doing is called dirty flashing. It's not always the most stable thing to do especially if subsequent versions have significant changes, but if the update is just adding things like security patches and minor bugs, go ahead. Be aware that it's best to clean flash, or wipe the system partition because there will be no chance of conflicting code. Even if you're unsure if flashing a whole ROM would delete data, you can always just make a backup on TWRP. In fact, always make a backup before doing something like this.
Inflection said:
You'll be fine. What you're doing is called dirty flashing. It's not always the most stable thing to do especially if subsequent versions have significant changes, but if the update is just adding things like security patches and minor bugs, go ahead. Be aware that it's best to clean flash, or wipe the system partition because there will be no chance of conflicting code. Even if you're unsure if flashing a whole ROM would delete data, you can always just make a backup on TWRP. In fact, always make a backup before doing something like this.
Click to expand...
Click to collapse
It's just that I'm getting Google play services crashes constantly and 2 patches ago it wasn't happening so I'm trying to reflash the newest release. So I'll probably do a TWRP back up first. Does it also back up stuff like downloads and files on the phone?
Escabrera said:
It's just that I'm getting Google play services crashes constantly and 2 patches ago it wasn't happening so I'm trying to reflash the newest release. So I'll probably do a TWRP back up first. Does it also back up stuff like downloads and files on the phone?
Click to expand...
Click to collapse
You should probably also be reflashing the gapps as well since you are having issues with play services. In the case of TWRP, it doesn't back up files on the phone; rather it backs up the system partition, data (excluding storage), and some other optional stuff. Even if you were to clean flash, you wouldn't need to worry about your files (that is in the partition Internal Storage) because you almost never need to wipe media. A clean flash only requires you to wipe Dalvik, system, data, and cache. What you're doing is dirty flashing, where you wipe nothing and flash your zips over the existing ROM. The backup is just insurance in the instance that something goes wrong and you soft brick the phone.
i tried to flash it again and old updates with the issue still being there so i just nuked everything. I'm just going to use titanium backup plus having the files on a computer to get back to where i was before.

My Three Questions ! please help.

I flashed mi 9t pro rom on my k20 pro. now if i install TWRP and ROOT(Magisk) will I get the OTA?
If yes,
If I flash/install DOLBY or Viper4android or change the Display Refresh rate or any type of System application/modification through TWRP or Magisk , will it stop getting OTA?
and if I get OTA, will those applications or modifications be removed after installing the OTA update?
Thanks
As you already know how to flash things, why would you bother with ota updates?
Ota updates with modified rom is always a surprise. But, definitely you gonna lose some changes if it applies fine...
Thanks for the reply.
I just know how to flash what . but I don't have that much knowledge how things are work. So I am confused all the time. However, I'm not using any modified rom. the rom I've mentioned above is stock fastboot rom. So it would be helpful if anyone gives me the answer.
zahidhasanzahid said:
Thanks for the reply.
I just know how to flash what . but I don't have that much knowledge how things are work. So I am confused all the time. However, I'm not using any modified rom. the rom I've mentioned above is stock fastboot rom. So it would be helpful if anyone gives me the answer.
Click to expand...
Click to collapse
You won't lose OTA, but OTA will break some things that you've done.
You will need to turn off OTA. Whenever there's an update you want you will need to download the recovery ROM for that version and install it manually in TWRP. You should be OK just wiping cache and dalvik. After installing you will need to immediately install Magisk again in TWRP.
I'm not sure about any mods as I've not used any you mention. I suppose it depends on where they get installed to and if a recovery ROM touches those areas.

Good low effort way of keeping a rooted stock Mi 9T Pro up to date?

Hello,
I bought a 9T Pro in Europe for my wife and until it arrives I'm trying to research and come up with a low effort process of keeping the stock ROM up to date and rooted for her. I'm confident in manually installing and updating custom ROMs, rooting and dealing with custom ROM issues, but she is not. Therefore I thought the best thing is to use the stock ROM - not custom - since it may be the most stable experience and for me to update and re-root it for her regularly. root is mandatory because we need AdAway and other things. As I understand it, as soon as we unlock and root the phone, OTA updates for stock are impossible and maybe even dangerous. I've tried researching here but am bit struggling to come up with the right infos and I'd be glad for any advice.
Of course I have seen the great thread about unlocking, rooting, etc, but It seems that that deals with non-standard Chinese firmware pre-installed, which is probably not the case on our device. Since it's bought in Europe, I think it will probably come with some Global or EU ROM. And it doesn't answer some of my other questions.
So far my idea is roughly like this:
Phone arrives
Immediately update it via built-in OTA to latest official stock ROM
Unlock, install TWRP, root with Magisk
Use the phone
Whenever a new stock ROM comes out, download it from XDA
Flash new ROM in TWRP and root again with Magisk
Repeat 4-6 as new stock ROM versions are released
Of course regularly backup with Titanium Backup and TWRP
First of all, would this work or did I misunderstand something fundamental?
How does low level firmware / modem update come into play? Would that be included in the stock ROM packages I find here? Or do I need to manually update that separately? How do I know when I have to, since there is no custom ROM maintainer telling me when it's needed?
Is there an easier way of doing this? This process requires me to regularly check for a new stock ROM, then borrow the phone from the wife for some time to backup, update, re-root and so on. Not that convenient but it would work if there is no better way.
Sorry for the long post, but I'd be very thankful for any advice or ideas. I did quite some research, but if all this info is already available and I missed it, my sincere apologies. It's a lot of info about a new device to take in. :silly:
derfraenk said:
Hello,
I bought a 9T Pro in Europe for my wife and until it arrives I'm trying to research and come up with a low effort process of keeping the stock ROM up to date and rooted for her. I'm confident in manually installing and updating custom ROMs, rooting and dealing with custom ROM issues, but she is not. Therefore I thought the best thing is to use the stock ROM - not custom - since it may be the most stable experience and for me to update and re-root it for her regularly. root is mandatory because we need AdAway and other things. As I understand it, as soon as we unlock and root the phone, OTA updates for stock are impossible and maybe even dangerous. I've tried researching here but am bit struggling to come up with the right infos and I'd be glad for any advice.
Of course I have seen the great thread about unlocking, rooting, etc, but It seems that that deals with non-standard Chinese firmware pre-installed, which is probably not the case on our device. Since it's bought in Europe, I think it will probably come with some Global or EU ROM. And it doesn't answer some of my other questions.
So far my idea is roughly like this:
Phone arrives
Immediately update it via built-in OTA to latest official stock ROM
Unlock, install TWRP, root with Magisk
Use the phone
Whenever a new stock ROM comes out, download it from XDA
Flash new ROM in TWRP and root again with Magisk
Repeat 4-6 as new stock ROM versions are released
Of course regularly backup with Titanium Backup and TWRP
First of all, would this work or did I misunderstand something fundamental?
How does low level firmware / modem update come into play? Would that be included in the stock ROM packages I find here? Or do I need to manually update that separately? How do I know when I have to, since there is no custom ROM maintainer telling me when it's needed?
Is there an easier way of doing this? This process requires me to regularly check for a new stock ROM, then borrow the phone from the wife for some time to backup, update, re-root and so on. Not that convenient but it would work if there is no better way.
Sorry for the long post, but I'd be very thankful for any advice or ideas. I did quite some research, but if all this info is already available and I missed it, my sincere apologies. It's a lot of info about a new device to take in. :silly:
Click to expand...
Click to collapse
I didn't keep stock MIUI long enough to know definite answers, but from what I remember, this is my understanding.
OTA will still work and shouldn't cause any issues, just that you will lose TWRP and root whenever you do this.
The steps you give are the normal way to update with TWRP and root.
However, OrangeFox recovery (a heavily modified version of TWRP) is often used instead of TWRP in this circumstance. It is built specifically for MIUI devices and with a little bit of work, I believe that it is able to survive OTA updates. Have another dig around for OrangeFox in this forum section and hopefully you'll find details on how to set it up so that you can still take OTA updates.
Edit:
Found this guide https://forum.xda-developers.com/k2...efox-recovery-mi-9t-pro-t3980579/post80480669
It seems OrangeFox it's a bit hit and miss.
Also Xiaomi.eu ROMs are another alternative to look into.
Robbo.5000 said:
I didn't keep stock MIUI long enough to know definite answers, but from what I remember, this is my understanding.
OTA will still work and shouldn't cause any issues, just that you will lose TWRP and root whenever you do this.
The steps you give are the normal way to update with TWRP and root.
However, OrangeFox recovery (a heavily modified version of TWRP) is often used instead of TWRP in this circumstance. It is built specifically for MIUI devices and with a little bit of work, I believe that it is able to survive OTA updates. Have another dig around for OrangeFox in this forum section and hopefully you'll find details on how to set it up so that you can still take OTA updates.
Edit:
Found this guide https://forum.xda-developers.com/k2...efox-recovery-mi-9t-pro-t3980579/post80480669
It seems OrangeFox it's a bit hit and miss.
Also Xiaomi.eu ROMs are another alternative to look into.
Click to expand...
Click to collapse
Wow, that's a lot of helpful info, thanks a lot for pointing me into these directions. I will definitely look into Xiaomi.eu, I that sounds promising!
Get phone. Apply for unlock. Unlock.
You can use my guide bit.do/raphaelguide
Use orangefox 10.8 use magisk.
You can flash eu ROM. Stable version. From xiaomi.eu
Eu rom installs official twrp after install. You are familiar with that
Once you have eu ROM ( same as stock, better performance, minimal bloat, no ads, no tracking)
Eu ROMs gets OTA, keeps root. This is exactly what you want. Just press update in settings as normal ota. It'll do normal ota update by itself, no titanium, migrate hassle.
Join telegram group if you want or on me for any help.
Sandeeep Kiran said:
Get phone. Apply for unlock. Unlock.
You can use my guide bit.do/raphaelguide
Use orangefox 10.8 use magisk.
You can flash eu ROM. Stable version. From xiaomi.eu
Eu rom installs official twrp after install. You are familiar with that
Once you have eu ROM ( same as stock, better performance, minimal bloat, no ads, no tracking)
Eu ROMs gets OTA, keeps root. This is exactly what you want. Just press update in settings as normal ota. It'll do normal ota update by itself, no titanium, migrate hassle.
Join telegram group if you want or on me for any help.
Click to expand...
Click to collapse
Amazing, I have taken a look at Xiaomi.eu already and decided to try that. But what you're saying sounds even much better than what I expected. Thank you very much too, I will definitely go that route.

Categories

Resources