How I update vendor firmware on LineageOS 16 - Xiaomi Mi 5s Plus Guides, News, & Discussion

This is how I update my vendor firmware on Natrium LOS16 without losing all my data and retaining previous phone condition.
Prerequisite files that I downloaded on my phone before update=
*lineage-16.0-20191118-nightly-natrium-signed.zip
*twrp-3.1.1-0-natrium.img
*miui_MI5SPlusGlobal_V10.2.4.0.OBGMIXM_d3a51ce7d3_8.0.zip
IMPORTANT : I don't reboot phone until the end.
0.UPDATE PHONE TO CURRENT LOS16.0-20191118 in system update
1.BOOT IN TWRP
2.BACKUP ALL (BOOT/CACHE/RECOVERY/SYSTEM/...)
3.FLASH XIAOMI ROM MI5SPlusGlobal_V10.2.4.0 (DON'T REBOOT SYSTEM)
4.INSTALL IMAGE TWRP TO RECOVERY
5.CLEAN WIPE ( ADVANCE WIPE DALVIK/CACHE/SYSTEM/DATA)
6.FLASH LINEAGEOS 16.0-20191118
7.RESTORE JUST SYSTEM & DATA
8.REBOOT PHONE
My questions Is there an easier way to just update vendor firmware files?
Can I just extra the firmware from Stock ROM and flash it in Vendor partition?

Just flash latest firmware zip according to your preferences (stable,/weekly, China/global)
https://xiaomifirmwareupdater.com/firmware/natrium/

Related

How to: Go from Lolipop based rom to Marshmallow based Rom

I currently have blisspop 4.03 which is based upon lolipop. I want to switch to a marshmallow rom. Do i need to update my firmware, modem, or recovery (TWRPv2.8.7) before flashing a marshmallow rom
Wipe everything.
Install a newer TWRP compatible with Lolipop environment first : https://dl.twrp.me/oneplus2/twrp-3.0.2-0-oneplus2.img.html (install > images > recovery ...)
Install OOS 3.0.2 which changes the bootloader and modem : http://downloads.oneplus.net/oneplus-2/oneplus_2_oxygenos_3.0.2/
DO NOT BOOT (stay in recovery)
Install TWRP compatible with MM environment : https://dl.twrp.me/oneplus2/twrp-3.0.2-2-oneplus2.img.html (install > images > recovery ...)
Reboot to recovery (Reboot > Recovery)
If it's a custom rom that you want : Wipe everything then install it (ZIP)
If you want OOS 3.0.2 then I recommand to Wipe everything again and reinstall OOS 3.0.2
PS : If TWRP ask for allowing modification i recommand to swipe to allow.
xWris3 said:
Wipe everything.
Install a newer TWRP compatible with Lolipop environment first : https://dl.twrp.me/oneplus2/twrp-3.0.2-0-oneplus2.img.html (install > images > recovery ...)
Install OOS 3.0.2 which changes the bootloader and modem : http://downloads.oneplus.net/oneplus-2/oneplus_2_oxygenos_3.0.2/
DO NOT BOOT (stay in recovery)
Install TWRP compatible with MM environment : https://dl.twrp.me/oneplus2/twrp-3.0.2-2-oneplus2.img.html (install > images > recovery ...)
Reboot to recovery (Reboot > Recovery)
If it's a custom rom that you want : Wipe everything then install it (ZIP)
If you want OOS 3.0.2 then I recommand to Wipe everything again and reinstall OOS 3.0.2
PS : If TWRP ask for allowing modification i recommand to swipe to allow.
Click to expand...
Click to collapse
Thank you appreciate it

please help me

I've installed twrp 3.3.0.0 on my poco f1.My phone is running MIUI 10.3.7.0.How can I flash the latest PE plus rom?do I have to flash the current firmware 1st or can I directly flash the PE rom
You can directly flash PE.
----Taken from PE thread----
[*]Clean Flash instuctions
Entire data vanishes in step number 4, so take backup.
1) Wipe dalvik, cache, system, data in TWRP
2) Since 23rd march '20 build, the Firmware is shipped together with the ROM so u dont need to flash firmware (if u r installing older versions, u need to flash firmware)
3) Flash the PE / Plus ROM through TWRP
4) Factory reset through TWRP-where u hv to type "yes". (just to be safe)
5) Restart
6) Successful boot means u can flash magisk

[Recovery] [Unofficial] [Testing] OrangeFox Recovery

OrangeFox Recovery​
I have compiled a version of OrangeFox recovery. It works the same way twrp does.
This is for testing purposes only.
At the moment the image is too big to flash and can only be booted to. If you know a way of making the image smaller let me know.
Currently it's using the pre-built kernel from the official twrp to compile the recovery image.
Bugs
Can only boot to recovery
Mounting persist or firmware causes freezing
After formatting data when encrypted it hangs on updating partition details. Just manually restart back to recovery.
Works
Mounting system data cache
Decryption of data partition when phone is encrypted
App Manager
MTP
ADB
Wipe system data cache
Decryption of data partition when phone is encrypted
Need testing
Flashing a rom
Flashing other zip eg gapps & magisk
Backup & Restore partitions
Any other feature
How to install
recovery.img.zip is the full version of OrangeFox recovery. Download and upzip.
Or download OrangeFox-Unofficial-cedric.img which is a reduced sized version which has some fonts etc excluded to make the image smaller but it's still too big to flash permanently. Rename to recovery.img
Code:
fastboot boot recovery.img
Each time you want to enter OrangeFox Recovery you need to do the above until such time the image is small enough to install
Sorce Code
OrangeFox Recovery · GitLab
OrangeFox Recovery | OFR
gitlab.com

ROM Updating question (DotOS)

Hi !
My Mi note 10 Lite is running on DotOS 5.1.1 (Official) and I want to update to 5.1.3. The updated has been released on the official servers but the internal updater don't work. It says that my phone is incompatible with this version, but on the website, the rom is avaliable.
My question is : Is it possible to flash the rom without losing any data ? If yes, is it "safe" ? Which version should I flash for the update ? The vanilla or Gapple one ?
Thanks !
I think you can dirty flash like it is explained on the rom's thread :
DIRTY FLASH
1. Download the latest dotOS for toco
2. Reboot to Android 11 Vendor TWRP or OrangeFox recovery
3. Flash Rom
4. Wipe Cache & Dalvik Cache
5. Reboot
Backup your data in any case to be safe

How install new builds without A11 firmware, fix troubles later FBEv2 or Dyn parts

This post is an experiment to compare the work on top of MIUI 12 instead of 12.5. In theory, this should improve encryption work and fix troubles with recovery later installing FBEv2 or dynamic parts.
1. Flash Ofox FBEv1. link
2. Format data. Wipes System, Vendor, Cache, Data. Reboot to recovery.
If stuck on fastboot, need flash vbmeta
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
3. Open Ofox -> Settings -> Install addon reset to defaults
Open OTA & ROM, off Aggresive stock recovery deactivation
4. Flash MIUI 12.0.2.0 CN. link
5. Flash Ofox FBEv1.
6. Install MiRoom 12. link
Format Data and reboot
If all work can continue, reboot to Ofox
7. Instal LOS 19 by Abhishek. link
8. Now can install ur ROM without firmware A11

Categories

Resources