How to flash OTA through TWRP? - Xiaomi Redmi Note 3 Questions & Answers

I have official unlocked bootloader, with TWRP that patches boot.img automatically, and rooted Global Beta ROM on SD version. I successfully flashed full ROM zip without any problem, by just flashing in TWRP without any modifications or any other boot.img.
But I never flashed OTA before. I'm a little paranoid about this, I don't wanna brick my phone again. By my given condition, I should be able to flash OTA zips without any modifications, and keeping my TWRP and unlocked bootloader, right?
Sent from my Redmi Note 3 using Tapatalk

Did you flash official TWRP?

Klanac89 said:
Did you flash official TWRP?
Click to expand...
Click to collapse
No I didn't. I flashed the modified one that I do not have to flash boot.img when flashing miui rom
Sent from my Redmi Note 3 using Tapatalk

You don't need boot.img if you use official TWRP.
http://linuxwelt.blogspot.de/2016/04/twrp-recovery-flashen-xiaomi-anleitung.html
Flash TWRP (just check the Screenshots) and after that you can flash OTA without problems (I did it 2 times). Have no problems.
But first take the new TWRP and make a backup with EFS on a USB Stick or sd card. If something go wrong you can restore your RN3P.

Official twrp?
Lol yea u mite be able to flash ota with official twrp but won't it lock the bootloader and boot.img..
But there mite be a way to make it work .
Use the original boot.img of the current ROM and flash then flash the otathat(so there won't be error 7) will fix the issue .and the twrp will auto patch the boot.img after update

Related

[Help] Installing ota on officially unlocked bootloader and rooted phone.

As the tiltle says I want to install ota update on my phone. It's bootloader is officially unlocked, rooted amd xposed is also installed. I'm right now on cofface twrp.
Unless you made a backup of unmodified stock boot and system before rooting etc.
The ota will probably fail.
If you have made a backup of them? Then restore the backup and apply the OTA.
Make backups again if the OTA gets applied. Then root and install xposed again.
If you can follow this thread you see the steps involved in applying an ota.
corkiejp said:
Unless you made a backup of unmodified stock boot and system before rooting etc.
The ota will probably fail.
If you have made a backup of them? Then restore the backup and apply the OTA.
Make backups again if the OTA gets applied. Then root and install xposed again.
If you can follow this thread you see the steps involved in applying an ota.
Click to expand...
Click to collapse
I didnt made the back up of those files but today i unrooted, uninstalled xposed, flashed stock recovery but still ota fails.
i even followed the guide and replaced emmc file and modified updater script but twrp was not able to flash the update and can i install recovery rom using twrp even when im rooted and xposed is install adn do i lose data by flashing it?
Once you have modified your system and boot images. you can not unmodified them by removing the changes. Because the images will still be modified!
I don't know if you can flash the latest rom, without losing your data. What rom are you using?
I flashed xiaomi.eu rom, to avoid having to worry about getting and applying OTA updates. As detail in my previous post.
With xiaomi.eu rom, I can flash the updated roms without losing data.
You could try, making a TWRP backup of your data partition.
Flash the latest version of your rom.
Then if data gets wiped, restore the TWRP backup of data partition.
My phone was officially unlocked, used alka twrp. I can still have ota update of cause failed on incremental update, alter rebooted the phone, I received the second ota update full rom and flashed it , flashed superSU and exposed v86 with success.
Sent from my Redmi Note 3 using Tapatalk
farhantahir said:
As the tiltle says I want to install ota update on my phone. It's bootloader is officially unlocked, rooted amd xposed is also installed. I'm right now on cofface twrp.
Click to expand...
Click to collapse
To flash recovery MIUI rom through twrp, delete the emmc_appsboot.mbn file from the firmware_update folder inside the rom zip file, and then flash rom through ALKA TWRP .
To update rom, download OTA through updater app or MIUI site and then open the OTA zip file and delete emmc_appsboot.mbn file inside the firmware-update folder and then flash through ALKA TWRP .
manishbhakuni14 said:
To flash recovery MIUI rom through twrp, delete the emmc_appsboot.mbn file from the firmware_update folder inside the rom zip file, and then flash rom through ALKA TWRP .
To update rom, download OTA through updater app or MIUI site and then open the OTA zip file and delete emmc_appsboot.mbn file inside the firmware-update folder and then flash through ALKA TWRP .
Click to expand...
Click to collapse
Officially unlocked the bootloader, I always successfully ota full rom flashed by alka twrp. No needed to do additional steps.
Sent from my Redmi Note 3 using Tapatalk
timberwolf60 said:
Officially unlocked the bootloader, I always successfully ota full rom flashed by alka twrp. No needed to do additional steps.
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
is this working for ota for you plz tell
android_smater said:
is this working for ota for you plz tell
Click to expand...
Click to collapse
On my rmn3 pro, failed on first incremental ota update. Upon reboot, I will received another ota, this time will be full rom. Flashed with alka twrp with success.
Sent from my Redmi Note 2 using Tapatalk
OTA not worked on twrp..only work full rom on twrp recovery so u flash full rom zip file ..u hv stock recovery then works ota updates

Help TWRP Kenzo question

So i am on the new miui using the oficial flash thing (unlocked bootloader oficialy).
The thing is i always wanted to get root and use a kernel on xda here that gives more available memory and solves some of the heating problems when charging (but i know need TWRP ofc) .
So i went to here and checked a few guides however there are many twrp's versions some of them i can't flash miui oficial roms, some of them i need installl boot.img every single time or when i want to restore backup is not just select the backup and done, i need to do something else (is a bit confusing)... so instead i decided to ask you guys directly
The question is:
- If i wanted to use oficial miui but have root and install a kernel and in future just flash the new miui rom again without any stress (just twrp -> flash-> select rom and gapps and done), no boot.img bull****, no flash another twrp etc is it possible??
(before this phone i had moto g(1st gen) and was easy as to put ONE twrp and then would be always flash rom + gapps every single time, no boot.img no firmware, worked for CM12, 12.1 and 13)
Install Alka recovery and back up all the partitions before doing anything.
tigax said:
- If i wanted to use oficial miui but have root and install a kernel and in future just flash the new miui rom again without any stress (just twrp -> flash-> select rom and gapps and done), no boot.img bull****, no flash another twrp etc is it possible??
Click to expand...
Click to collapse
Although I haven't tried it personally, the TWRP explanation guide here says the Cofface TWRP (linked on that page) automatically patches the boot.img when you flash a new ROM, which I believe solves your problem.
harishmenace said:
Install Alka recovery and back up all the partitions before doing anything.
Click to expand...
Click to collapse
so this one allows me to flash new roms from Miui? without any boot.img and stuff?
tigax said:
so this one allows me to flash new roms from Miui? without any boot.img and stuff?
Click to expand...
Click to collapse
Yes, I was doing it all the time.
Sent from my Redmi Note 3 using Tapatalk
timberwolf60 said:
Yes, I was doing it all the time.
Click to expand...
Click to collapse
Thank you will use then

Bootloop after flashing rr nougat

Hey guys.
I'm using a 32/3GB kenzo with an unlocked bootloader running official rr mm.
I formatted the phone, flashed CM14 firmware, flashed the official RR nougat and GAPPS, then rebooted to system.
At this point, it started bootlooping, booting to the MI splashscreen, staying there for about half the time it usually does, before rebooting and repeating the process.
At this point, I was unable to access recovery, but was able to access fastboot and edl.
Flashing a recovery using the "fastboot flash recovery" command failed, so I assume that the partitions were corrupted.
I had to revert to MIUI by flashing through edl using MI flash, which fixed all the issues.
Can someone tell me what I did wrong?
Or should I follow the newbie guide 2.0 from the forums?
Thanks in advance to anyone who replies.
Ivanlai said:
Hey guys.
I'm using a 32/3GB kenzo with an unlocked bootloader running official rr mm.
I formatted the phone, flashed CM14 firmware, flashed the official RR nougat and GAPPS, then rebooted to system.
At this point, it started bootlooping, booting to the MI splashscreen, staying there for about half the time it usually does, before rebooting and repeating the process.
At this point, I was unable to access recovery, but was able to access fastboot and edl.
Flashing a recovery using the "fastboot flash recovery" command failed, so I assume that the partitions were corrupted.
I had to revert to MIUI by flashing through edl using MI flash, which fixed all the issues.
Can someone tell me what I did wrong?
Or should I follow the newbie guide 2.0 from the forums?
Thanks in advance to anyone who replies.
Click to expand...
Click to collapse
Which recovery you uaed for flashing rr n. Because you went bootloop and recovery was not able to access that means may be some problems in recovery or either in rom/gapps zip. Make sure you are flashing gapps for NOUGAT only. And use latest stable miui firmware (not cm14 zip one although may be both are same)
Try this
1. Flash zcx recovery (I recommend this, never disappointed)
2. Flash latest miui stable firmware
3. Flash rom zip
4. Flash gapps n
Boot to system
5. Then flash kernel or anything.
Apcoolboy said:
Which recovery you uaed for flashing rr n. Because you went bootloop and recovery was not able to access that means may be some problems in recovery or either in rom/gapps zip. Make sure you are flashing gapps for NOUGAT only. And use latest stable miui firmware (not cm14 zip one although may be both are same)
Try this
1. Flash zcx recovery (I recommend this, never disappointed)
2. Flash latest miui stable firmware
3. Flash rom zip
4. Flash gapps n
Boot to system
5. Then flash kernel or anything.
Click to expand...
Click to collapse
Thanks for the reply, I'll try it soon. Can you tell me how to get the miui stable firmware?
Should I fastboot flash latest MIUI stable before flashing the ROM or is there a MIUI firmware zip file to flash?
Ivanlai said:
Thanks for the reply, I'll try it soon. Can you tell me how to get the miui stable firmware?
Should I fastboot flash latest MIUI stable before flashing the ROM or is there a MIUI firmware zip file to flash?
Click to expand...
Click to collapse
There is flashable zip file which is extracted from miui rom only. So both way will be good as flash latest stable miui rom and then twrp > rom zip > gapps. Or twr0 > firmware zip (search in any custom rom thread you will get one) > custom rom zip > gapps.
Only benefit of flashing firmware zip is less time consuming and less file size (around 50mb) compare to full miui rom.
Ivanlai said:
Thanks for the reply, I'll try it soon. Can you tell me how to get the miui stable firmware?
Should I fastboot flash latest MIUI stable before flashing the ROM or is there a MIUI firmware zip file to flash?
Click to expand...
Click to collapse
https://forum.xda-developers.com/redmi-note-3/development/firmware-hmnote3proglobal-t3574361
Ivanlai said:
Hey guys.
I'm using a 32/3GB kenzo with an unlocked bootloader running official rr mm.
I formatted the phone, flashed CM14 firmware, flashed the official RR nougat and GAPPS, then rebooted to system.
At this point, it started bootlooping, booting to the MI splashscreen, staying there for about half the time it usually does, before rebooting and repeating the process.
At this point, I was unable to access recovery, but was able to access fastboot and edl.
Flashing a recovery using the "fastboot flash recovery" command failed, so I assume that the partitions were corrupted.
I had to revert to MIUI by flashing through edl using MI flash, which fixed all the issues.
Can someone tell me what I did wrong?
Or should I follow the newbie guide 2.0 from the forums?
Thanks in advance to anyone who replies.
Click to expand...
Click to collapse
unlock your bootloader again it will run without problem..

Can i flash stock rom using twrp ?

I am on Global stable miui 8.2.4 but for some reasons i don't like it and i wanna downgrade to 8.1.15 . I have Twrp installed and rooted . Can i flash recovery 8.1.15 rom using twrp ?
Or i need to flash a fastboot rom using twrp ?
somebody?
I have flashed stock 8.2.4.0 from 8.2.2.0 with flashfire, although I have twrp too. No problems just put the zip in right folder.
Yes you can. I have flashed both dev and stable. @jazzh mentions something about folders. TWRP doesn't really care about that.
Be warned though that flashing the official zip also replaces the recovery and there is a bug with 8.1.15 where you cannot flash TWRP back afterwards.
If you go back to 8.1.15 and want to use TWRP for flashing a custom rom simply use
fastboot boot [recovery name].img
to soft load TWRP and do all your work from there up.
Yes, that's a good advice.
I soft boot twrp whenever performing backup or updating magisk.
I just mentioned folders because flashfire is started from os and it will look into the ota folder and if it finds the zip it will offer rebooting to perform the update.

Stack in twrp - please help

Hi all,
I have redmi note 4x (snapdragon).
I tried rooting (after unlocked) using this tool:
https://forum.xda-developers.com/redmi-note-4/how-to/twrp-easy-root-redmi-note-4-1-click-t3606463
For some reason it didn't work (stuck in fastboot screen)
So I did, in fast boot:
fastboot flash recovery recovery.img
fastboot flash boot recovery.img (I have no idea why I did that)
Then I loaded twrp by vol+ and power button
When in twrp I flashed supersu.
Since then the phone only boots to twrp. I read I need to flash lazyflasher-no-verity-opt-encrypt.zip, and so I did, and it didn't help.
What should I do?
If I need to flash a new ROM, where can I find the official ROM (international version) that came with the phone (note 4x not 4)?
Thanks for your help
No one has any ideas?
http://en.miui.com/extra.php?mod=rom/download&r=321&mobile=no
Sent from my Redmi Note 4 using Tapatalk
Sp_Ark said:
http://en.miui.com/extra.php?mod=rom/download&r=321&mobile=no
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
@Sp_Ark Thanks
Will using MIUI ROM Flashing Tool in fastboot re-lock my bootloader?
Will it revert back to stock recovery?
Is it possible to flash the zip from that link using twrp?
Clonimus74 said:
@Sp_Ark Thanks
Will using MIUI ROM Flashing Tool in fastboot re-lock my bootloader?
Will it revert back to stock recovery?
Is it possible to flash the zip from that link using twrp?
Click to expand...
Click to collapse
I use red wolf twrp and with that recovery you can flash stock zips. I'm not sure if you can do it with the official twrp that u have. Also with the red wolf there is an option in the settings that keeps custom recovery after flashing official miui. Actually I think you can flash official rom zip with official twrp as well the option in talking about is for flashing OTA updates. With red wolf you can also root either with flashing the included super super zip or with the included magisk. I don't know if flashing with miui tool will relock, I believe not but not sure.
Sent from my Redmi Note 4 using Tapatalk
OK. I solved it.
I put all the necessary files in the external SD.
I did a complete wipe (system, cache etc.)
I flashed the complete firmware from the link @Sp_Ark gave me (thanks)
I flashed red wolf twrp (just in case the flashing of the complete firmware was reverting me back to stock recovery)
I flashed supersu
I flashed lazyflasher
Reboot to recovery (just to make sure)
Rebooted to system, all is well.
I rebooted to recovery to set the special actions: "Support MIUI Incremental OTA" and "Include System in OTA Survival".
Rebooted to system and all is perfect (rooted)
I couldn't find the included supersu and magisk in the red wolf twrp though, so I downloaded supersu myself.

Categories

Resources