Flashing Any Latest Miui ROM Update Through TWRP - Xiaomi Redmi 3s Questions & Answers

I'm on Miui 8.1 Global version rooted, Unlocked Bootloader ,
can I flash Developers rom through TWRP? Without clean flash? Or Does it require clean flash for flashing developers rom on rooted / unlocked bootloader devices,
If I can dirty flash miui global to miui developers through TWRP, will my data gets deleted or wiped ?

johnstevenjs said:
I'm on Miui 8.1 Global version rooted, Unlocked Bootloader ,
can I flash Developers rom through TWRP? Without clean flash? Or Does it require clean flash for flashing developers rom on rooted / unlocked bootloader devices,
If I can dirty flash miui global to miui developers through TWRP, will my data gets deleted or wiped ?
Click to expand...
Click to collapse
It's always better to clean flash dev ROM if you're on stable ROM

psychopac said:
It's always better to clean flash dev ROM if you're on stable ROM
Click to expand...
Click to collapse
I'm getting updates for Developers ROM, shall I dirty flash it through TWRP ? They are small updates , can it be dirty flashed through TWRP ?

johnstevenjs said:
I'm getting updates for Developers ROM, shall I dirty flash it through TWRP ? They are small updates , can it be dirty flashed through TWRP ?
Click to expand...
Click to collapse
Those are increments.. they can only be flashed through stock or "zcx twrp" which does not exist for our device

johnstevenjs said:
I'm getting updates for Developers ROM, shall I dirty flash it through TWRP ? They are small updates , can it be dirty flashed through TWRP ?
Click to expand...
Click to collapse
You have to download the full ROM to update.

johnstevenjs said:
I'm on Miui 8.1 Global version rooted, Unlocked Bootloader ,
can I flash Developers rom through TWRP? Without clean flash? Or Does it require clean flash for flashing developers rom on rooted / unlocked bootloader devices,
If I can dirty flash miui global to miui developers through TWRP, will my data gets deleted or wiped ?
Click to expand...
Click to collapse
No need. Download fastboot rom. Unzip that zip (tgz) file. Go to fastboot mode. Click on flash all except storage. Nothing will get erased. That's better than installing through TWRP

johnstevenjs said:
I'm getting updates for Developers ROM, shall I dirty flash it through TWRP ? They are small updates , can it be dirty flashed through TWRP ?
Click to expand...
Click to collapse
If you're planning to flash incremental OTAs, you should flash the stock recovery. It's easier that way as it takes less data and eases the OTA update process but at the same time you'd end up switching recoveries if you need to flash other custom ROMs

nichcream said:
Those are increments.. they can only be flashed through stock or "zcx twrp" which does not exist for our device
Click to expand...
Click to collapse
What does zcx twrp..is this mean red wolf twrp?

Related

CM11/CM12 Firmware Repository

Hello
Given that no one has put this up anywhere legible for the whole community to have access to here it is.
If you are upgrading to CM12, you are required to upgrade your phones firmware. Most new ROMs will check for this firmware upgrade.
This can be found here
If you are downgrading to CM11 or CM11S basad ROMs they REQUIRE a downgrade or you will experience all sorts of issues.
This can be found here
Make sure you use your favorite custom recovery to flash these
Cheers
Seven
How to install?
Could you please tell how to proceed? Do I flash the firmware over the installed ROM and then do all the wipes and last flash the new ROM?
Argonathgrind said:
Could you please tell how to proceed? Do I flash the firmware over the installed ROM and then do all the wipes and last flash the new ROM?
Click to expand...
Click to collapse
The simplest thing to do is to just download the latest CM12 nightly, flash it, wipe the phone(not internal storage)... And then install the LP ROM of your choice
Sorry, I forgot to say that I want to downgrade to CM11S or CM11.
ViditM14 said:
The simplest thing to do is to just download the latest CM12 nightly, flash it, wipe the phone(not internal storage)... And then install the LP ROM of your choice
Click to expand...
Click to collapse
That isn't the simplest solution, the simplest solution is to just flash the firmware zips that are available. Flashing the whole CM12 ROM is kinda like buying a new car because you ran out of fuel, instead of just buying the fuel.
Transmitted via Bacon
---------- Post added at 08:54 AM ---------- Previous post was at 08:51 AM ----------
Argonathgrind said:
Sorry, I forgot to say that I want to downgrade to CM11S or CM11.
Click to expand...
Click to collapse
If you want to go back to KitKat from Lollipop you need to flash these:
Firmware:
https://docs.google.com/file/d/0B98G0KTJwnBFM09OTEZ2NnVfekE/edit?usp=docslist_api
Modem:
https://docs.google.com/file/d/0B98G0KTJwnBFS3J3SUFhczhnN2s/edit?usp=docslist_api (44S)
Or
https://docs.google.com/file/d/0B98G0KTJwnBFVWdNcFBwNzdxenc/edit?usp=docslist_api (05Q)
Transmitted via Bacon
Argonathgrind said:
Sorry, I forgot to say that I want to downgrade to CM11S or CM11.
Click to expand...
Click to collapse
Thisshould help you out.
I am on PA 5.0 and want to downgrade back to PA 4.4.4. Do I have to flash the 4.4.4 firmware and the modem for cm11s ? Thanks for anyhelp
Jessetatum1337 said:
I am on PA 5.0 and want to downgrade back to PA 4.4.4. Do I have to flash the 4.4.4 firmware and the modem for cm11s ? Thanks for anyhelp
Click to expand...
Click to collapse
See my post only two posts above yours...
Transmitted via Bacon
Argonathgrind said:
Sorry, I forgot to say that I want to downgrade to CM11S or CM11.
Click to expand...
Click to collapse
If you want to downgrade to CM11 or CM11s I'm rather sure you don't need any, because they come with the firmware. If you want to install a custom ROM than you probably need to flash the firmware extra before you flash the ROM.
Gesendet von meinem A0001 mit Tapatalk
I take it all I have to do is flash both of these files from above and my 05Q nandroid and all should be brilliant.
The Most Wanted
most people missed out the firmware part .. here he provides
Can i use this for 05Q? I am getting battery issues .
I'm not sure I understand - if I'm on stock CM11S, can I not just flash the most recent CM12 nightlies? I have to update the firmware first?
XanRules said:
I'm not sure I understand - if I'm on stock CM11S, can I not just flash the most recent CM12 nightlies? I have to update the firmware first?
Click to expand...
Click to collapse
The CM12 nightlies contain the firmware so there's no need to flash it if you're flashing CM12. If you're flashing another Lollipop ROM you do need to flash it though.
Transmitted via Bacon
The CM12 firmware link posted in the OP is not the latest one...request OP to update accordingly.
what cm11s version of firmware is most stable and battery friendly for 4.4 roms?
timmaaa said:
The CM12 nightlies contain the firmware so there's no need to flash it if you're flashing CM12. If you're flashing another Lollipop ROM you do need to flash it though.
Transmitted via Bacon
Click to expand...
Click to collapse
My OPO is 05Q.how to update it to CM12
timmaaa said:
[/COLOR]
If you want to go back to KitKat from Lollipop you need to flash these:
Firmware:
https://docs.google.com/file/d/0B98G0KTJwnBFM09OTEZ2NnVfekE/edit?usp=docslist_api
Modem:
https://docs.google.com/file/d/0B98G0KTJwnBFS3J3SUFhczhnN2s/edit?usp=docslist_api (44S)
Or
https://docs.google.com/file/d/0B98G0KTJwnBFVWdNcFBwNzdxenc/edit?usp=docslist_api (05Q)
Transmitted via Bacon
Click to expand...
Click to collapse
HI Timmaaa,
Just a doubt, as you said we need to install modem and firmware before downgrading to CM11s,
I just want to know that in what sequence do we install firmware, modem and cm11 and when and
what do we need to wipe in recovery.
One more question do we need to unlock the bootloader and root once again.
Plz help me out
ThnX
coolsumit007 said:
HI Timmaaa,
Just a doubt, as you said we need to install modem and firmware before downgrading to CM11s,
I just want to know that in what sequence do we install firmware, modem and cm11 and when and
what do we need to wipe in recovery.
One more question do we need to unlock the bootloader and root once again.
Plz help me out
ThnX
Click to expand...
Click to collapse
Boot into TWRP, full wipe (system, data, cache, dalvik cache), flash firmware and modem, reboot back to recovery, flash CM11, reboot into ROM. You don't need to unlock your bootloader, that remains unlocked unless you specifically lock it again via fastboot. Each time you flash a new ROM you need to flash SuperSU again to get root, unless the ROM is pre-rooted.
Transmitted via Bacon
timmaaa said:
Boot into TWRP, full wipe (system, data, cache, dalvik cache), flash firmware and modem, reboot back to recovery, flash CM11, reboot into ROM. You don't need to unlock your bootloader, that remains unlocked unless you specifically lock it again via fastboot. Each time you flash a new ROM you need to flash SuperSU again to get root, unless the ROM is pre-rooted.
Transmitted via Bacon
Click to expand...
Click to collapse
Hi Timmaaa,
Thnks for your help. Just one last question, do I need to install TWRP again after flashing CM11s.
ThnX

TWRP Install S7 Edge Android 7.0

What About no-verity-opt-encrypt ???
What exactly are you asking?
Tareq.tfn said:
What About no-verity-opt-encrypt ???
Click to expand...
Click to collapse
I believe some custom roms require flashing that, but I just rooted and installed twrp.
If flashing SupermanRom, then you need to install no_verity_opt_encrypt before flashing ROM.
Bjaped said:
I believe some custom roms require flashing that, but I just rooted and installed twrp.
If flashing SupermanRom, then you need to install no_verity_opt_encrypt before flashing ROM.
Click to expand...
Click to collapse
Thank's
I want to install Offical Android 7 then Install TWRP so i ask about (no_verity_opt_encrypt)
Bjaped said:
I believe some custom roms require flashing that, but I just rooted and installed twrp.
If flashing SupermanRom, then you need to install no_verity_opt_encrypt before flashing ROM.
Click to expand...
Click to collapse
Not really. It was just required for kernels with non disabled encryption but eventually it was integrated into SuperSU and now with sources we have non encrypted kernels. And why before flashing the rom?
Tareq.tfn said:
Thank's
I want to install Offical Android 7 then Install TWRP so i ask about (no_verity_opt_encrypt)
Click to expand...
Click to collapse
You don't need it anymore, as we have kernel sources and You can download any rom and it will be working without encryption.
Tareq.tfn said:
Thank's
I want to install Offical Android 7 then Install TWRP so i ask about (no_verity_opt_encrypt)
Click to expand...
Click to collapse
If it's not a custom rom then yes you will need to flash no verity zip unless you plan to root in which you can flash supersu which includes no verity.

Not Able To Flash Stock Firmware Help

Yesterday I flashed elemental x kernel on the Build No. NPJ25.93-14 and now i am not able to flash stock firmware
prajwal2001 said:
Yesterday I flashed elemental x kernel on the Build No. NPJ25.93-14 and now i am not able to flash stock firmware
Click to expand...
Click to collapse
Try booting to bootloader and flash TWRP. Wipe system and data partitions (I'd recommend wiping the internal storage too), cache and dalvik cache. Reboot to bootloader, and try flashing stock from there. Tell me if this works.
linkinscreamer said:
Try booting to bootloader and flash TWRP. Wipe system and data partitions (I'd recommend wiping the internal storage too), cache and dalvik cache. Reboot to bootloader, and try flashing stock from there. Tell me if this works.
Click to expand...
Click to collapse
Tried that didn't worked it says something like bootloader security downgrade then it says failed
Maybe the bootloader is updated with the OTA update that's why it isn't flashing
prajwal2001 said:
Yesterday I flashed elemental x kernel on the Build No. NPJ25.93-14 and now i am not able to flash stock firmware
Click to expand...
Click to collapse
you will need to restore stock kernel and recovery if you want to flash stock firmware.
I did that but then I wasn't getting OTA the latest OTA update
prajwal2001 said:
I did that but then I wasn't getting OTA the latest OTA update
Click to expand...
Click to collapse
There is a separate thread for downgrading to Marshmallow.
https://forum.xda-developers.com/moto-g4-plus/how-to/how-to-downgrade-nougat-to-marshmallow-t3487201
Use the firmware from the same thread.
---------- Post added at 04:07 PM ---------- Previous post was at 04:05 PM ----------
srgudhka said:
you will need to restore stock kernel and recovery if you want to flash stock firmware.
Click to expand...
Click to collapse
I flashed stock from a custom ROM, without restoring stock kernel and recovery. Worked fine for me.
linkinscreamer said:
There is a separate thread for downgrading to Marshmallow.
https://forum.xda-developers.com/moto-g4-plus/how-to/how-to-downgrade-nougat-to-marshmallow-t3487201
Use the firmware from the same thread.
---------- Post added at 04:07 PM ---------- Previous post was at 04:05 PM ----------
I flashed stock from a custom ROM, without restoring stock kernel and recovery. Worked fine for me.
Click to expand...
Click to collapse
I am not downgrading to marshmallow I was flashing the stock nougat firmware
prajwal2001 said:
I am not downgrading to marshmallow I was flashing the stock nougat firmware
Click to expand...
Click to collapse
Oh! Can you try downgrading to MM and following the official OTA to N? I did that and it worked for me. I was using a custom ROM, with quark kernel, and all i had to do is wipe everything, and I could flash MM. I then got the system update. I installed the update and there were no problems.
linkinscreamer said:
Oh! Can you try downgrading to MM and following the official OTA to N? I did that and it worked for me. I was using a custom ROM, with quark kernel, and all i had to do is wipe everything, and I could flash MM. I then got the system update. I installed the update and there were no problems.
Click to expand...
Click to collapse
OK I'll try that
prajwal2001 said:
OK I'll try that
Click to expand...
Click to collapse
Be aware to avoid flashing gpt or bootloader if you're going to downgrade to MM. Credit: https://forum.xda-developers.com/showpost.php?p=69296815&postcount=2
linkinscreamer said:
Oh! Can you try downgrading to MM and following the official OTA to N? I did that and it worked for me. I was using a custom ROM, with quark kernel, and all i had to do is wipe everything, and I could flash MM. I then got the system update. I installed the update and there were no problems.
Click to expand...
Click to collapse
it worked i got the ota update but i can't relock the bootloader now cause with the latest update the bootloader got updated
prajwal2001 said:
it worked i got the ota update but i can't relock the bootloader now cause with the latest update the bootloader got updated
Click to expand...
Click to collapse
I haven't tried locking the bootloader, so I cannot help with that. Sorry! You said you were on Nougat before downgrading to MM? Did you flash gpt and bootloader files? Could you downgrade your bootloader too?
linkinscreamer said:
I haven't tried locking the bootloader, so I cannot help with that. Sorry! You said you were on Nougat before downgrading to MM? Did you flash gpt and bootloader files? Could you downgrade your bootloader too?
Click to expand...
Click to collapse
Bootloader can't be downgraded if you try it will give failed message
prajwal2001 said:
Bootloader can't be downgraded if you try it will give failed message
Click to expand...
Click to collapse
I was just curious because the custom ROM I was talking about was built on CM 14.1, and I didn't flash the soak test before flashing the custom ROM. I could flash the MM stock firmware, including the bootloader, without problems. I was curious as to whether the custom ROM upgraded the bootloader or not. I guess it did not. Anyway, after the system update, I think my bootloader has been upgraded.
If you don't flash stock nougat you can flash mm bootloader
prajwal2001 said:
If you don't flash stock nougat you can flash mm bootloader
Click to expand...
Click to collapse
Way past that now. I've updated using the system update, so my bootloader is also upgraded. I've already taken a backup of stock nougat immediately after the update, so I won't be needing the MM stock anymore.
linkinscreamer said:
Way past that now. I've updated using the system update, so my bootloader is also upgraded. I've already taken a backup of stock nougat immediately after the update, so I won't be needing the MM stock anymore.
Click to expand...
Click to collapse
There is a stock nougat firmware which can be flashed by fastboot but after the latest update you can't relock your bootloader you have to wait for the latest firmware which is flashable through fastboot
you need to make clean install for this . it will surely work .
or you have to flash stock bootloader if havent made changes to system
Sent from my Moto G (4) using Tapatalk
prajwal2001 said:
There is a stock nougat firmware which can be flashed by fastboot but after the latest update you can't relock your bootloader you have to wait for the latest firmware which is flashable through fastboot
Click to expand...
Click to collapse
AFAIK, the stock fastboot flashable firmware file available here has a bootloader that can be locked.

Does VBMETA have to be applied with each rom?

Or is doing this simply a one off if you are coming from a MIUI rom? I am technically adept and have been flashing roms for many years and things are always changing. So I just want to be sure.
Flash it only when you go to custom rom coming from miui stock rom, other than that you don't have to flash it or the vendor when you jump between the other custom roms
AbboodSY said:
Flash it only when you go to custom rom coming from miui stock rom, other than that you don't have to flash it or the vendor when you jump between the other custom roms
Click to expand...
Click to collapse
So it's kind of like a condom. :good: Thank you!
LOL
Why some custom roms don't need to flash VBMETA ? Even if coming from MIUI ?
you will most likely still need to flash vbmeta after updating your firmware manually.
NightRaven49 said:
you will most likely still need to flash vbmeta after updating your firmware manually.
Click to expand...
Click to collapse
Ok thx. This coming from MIUI. So I suppose that going back to MIUI' based rom, I need to reflash VBMETA.IMG, right? I take it in the rom ZIP of the MIUI rom, right?
ok to clear this up, vbmeta is only required when going from miui based roms to other custom roms. if u are going to flash a miui based rom, such as .eu, u do not require vbmeta. in fact, since u are going to flash a miui or miui based rom u might as well flash stock miui through fastboot, so there would be no confusion and no additional flashing.
when i was referring to updating firmware manually i meant flashing the firmware packages from xiaomifirmwareupdater.com rather than extracting from the miui recovery rom.
NightRaven49 said:
ok to clear this up, vbmeta is only required when going from miui based roms to other custom roms.
Click to expand...
Click to collapse
Not every custom rom. Don't need to flash vbmeta e.g. for thelazyindian's LOS, Syberia Project, AEX.

Do Xiaomi.eu roms have anti-rollback?

I wanna know xiaomi.eu roms have anti-rollback or not. Because I'm going to flash AOSP roms and even if I wanted to go back to MIUI, I'll only flash xiaomi.eu stables. So pls
Zeyar Moe Lwin said:
I wanna know xiaomi.eu roms have anti-rollback or not. Because I'm going to flash AOSP roms and even if I wanted to go back to MIUI, I'll only flash xiaomi.eu stables. So pls
Click to expand...
Click to collapse
It'll help a lot to me
Zeyar Moe Lwin said:
It'll help a lot to me
Click to expand...
Click to collapse
As far as I know ARB is in the fastboot versions, there is ARB=0 in those ROMs, checked, If you have ARB>0 you'll not be able to flash by MiFlash. However you can flash by TWRP but only upgrade, downgrading in TWRP means you can brick in any time. Of course every single ROM flashing in TWRP require to disable Dm-Verity/ForceEncrypt, to avoid bootloops and problems with encryption after unlocking bootloader.

Categories

Resources