Questions about installing first rom on Global version - Xiaomi Redmi Note 5 Pro Questions & Answers

I have the 3GB Global version and have a MIUI version of MIUI Global 9.5 | stable 9.5.6.0 (OEIMIFA).
I have already unlocked the bootloader and from what I can tell fastboot getvar anti says im on anti 3
I was wondering what all I have to do to get lineageos on my device? Ive seen mentioned in guides to update the firmware and in others including the lineageos wiki its not mentioned. Ive also seen mentions of lazyflasher to keep twrp but its not in that wiki either.
Do I need to update my firmware? Do I need to use lazyflasher or is "fastboot flash recovery twrp-x.x.x-x-whyred.img" enough?

soggypancakes said:
I have the 3GB Global version and have a MIUI version of MIUI Global 9.5 | stable 9.5.6.0 (OEIMIFA).
I have already unlocked the bootloader and from what I can tell fastboot getvar anti says im on anti 3
I was wondering what all I have to do to get lineageos on my device? Ive seen mentioned in guides to update the firmware and in others including the lineageos wiki its not mentioned. Ive also seen mentions of lazyflasher to keep twrp but its not in that wiki either.
Do I need to update my firmware? Do I need to use lazyflasher or is "fastboot flash recovery twrp-x.x.x-x-whyred.img" enough?
Click to expand...
Click to collapse
To install lineageos 15.1, you need to have at least firmware version 8.7.5 and an encrypted device.
Assuming you still have miui 9.5.6.0 installed in your device and not updated to newer version of miui, you have to install firmware version 8.7.5.
As you still have anti 3 on your device it is highly recommended not to update your firmware any higher then 8.7.5, as it is the last firmware with anti 3.
If you already updated your device to a newer miui firmware with anti 4, DO NOT INSTALL ANY FIRMWARE. YOUR PHONE WILL BE HARD-BRICKED.
Instruction to install lineageos -
go to fastboot of your device
connect to pc and run fastboot commend "fastboot getvar anti"
if it shows anti version 3 - flash firmware version 8.7.5
if it shows anti version 4 - DO NOT FLASH ANY FIRMWARE. YOUR PHONE WILL BE HARD-BRICKED.
(assuming you already unlocked your device and installed proper recovery)
Go to recovery
select wipe > advance > select everything (data, system, cache, dalvik, internal, vendor) and swipe right.
do not touch the format data option at all or it will decrypt your device and you have to install full miui again via fastboot to encrypt the device again.
Now go to reboot menu and reboot to recovery.
after it boots back to recovery transfer the ROM and other files (ROM, gapps, magisk etc.).
Flash the rom, gapps etc.
here and here - more information about anti rollback.

Related

Basic Answers to Flashing procedure

Hey guys, I am new to whyred , flashed alot on other phones tho. Got some questions regarding the process of things I have to do to not mess up. I would do it like this:
0. I am on 9.5.19. miui global stable.
1. Unlock bootloader after 360 hours (hopefully)
2. Boot into Fastboot, boot up twrp image via command and then flash twrp via twrp.
3. Do I have to flash lazyflasher when I flash magisk? Which version of magisk is recommended atm? 1600?
4. After flashing one (or both, I don't know) I would go with flashing aosip or havoc (which is better on battery, features and over all performance?).
5. Do I have to flash some firmware or anything?
6. Since I am on Anti 4 (probably, didn't check yet but I am quite sure since I updated on 9.5.19) do I have to be aware of something else important?
Thank you guys for every help. If my answers will get answered and everything runs smooth sailing I will write a noob/starting guide to focus the knowledge a bit more. It seems really clustered in this forum
Do not flash any firmware for now. Since your are in 9.5.19 it has anti 4 enabled.. flashing firmware over anti 4 will brick your device.
Unlock bootloader
Boot to twrp and flash twrp
Wipe system cache dataa and flash custom ROM and gapps
Reboot to system
Reboot to twrp and flash magisk
SunilSuni said:
Do not flash any firmware for now. Since your are in 9.5.19 it has anti 4 enabled.. flashing firmware over anti 4 will brick your device.
Unlock bootloader
Boot to twrp and flash twrp
Wipe system cache dataa and flash custom ROM and gapps
Reboot to system
Reboot to twrp and flash magisk
Click to expand...
Click to collapse
I still at 9.2.13 didn't update to 9.5.19 in that case I can flash and roll back to any firmware below antilock right?
Username.php said:
I still at 9.2.13 didn't update to 9.5.19 in that case I can flash and roll back to any firmware below antilock right?
Click to expand...
Click to collapse
Yes. If you are in 9.2.13 build then you have to flash firmware along with custom ROM.
But if you are running 9.5.19 build do not flash any firmware. Just ROM and gapps is enough
SunilSuni said:
Yes. If you are in 9.2.13 build then you have to flash firmware along with custom ROM.
But if you are running 9.5.19 build do not flash any firmware. Just ROM and gapps is enough
Click to expand...
Click to collapse
Which firmware are you referring to? You mean I can roll back or do I have update to certain firmware to flash custom Roms?
Username.php said:
Which firmware are you referring to? You mean I can roll back or do I have update to certain firmware to flash custom Roms?
Click to expand...
Click to collapse
Yes you have to flash firmware file recommended by custom rom developer to avoid problems while using custom ROM. And its not related to anti rollback protection.
All the firmware recommended by developers doesnt have anti rollback protection but you shouldn't flash firmware file if you are using 9.5.19 stable build or 8.7.12 beta build because these build contains ARP and flashing firmware in ARP enabled device will brick your mobile
SunilSuni said:
Yes you have to flash firmware file recommended by custom rom developer to avoid problems while using custom ROM. And its not related to anti rollback protection.
All the firmware recommended by developers doesnt have anti rollback protection but you shouldn't flash firmware file if you are using 9.5.19 stable build or 8.7.12 beta build because these build contains ARP and flashing firmware in ARP enabled device will brick your mobile
Click to expand...
Click to collapse
I'm a bit confused here. I have always been under the impression that firmware = ROM (with other phone brands) and they seem to be discussed interchangeably. Now with my Xiaomi Note 5 Pro, I hear about these as separate items a lot. What is the difference between firmware and the custom ROM, at least in the Xiaomi world? How do I know when I am dealing with one or the other?
TIA,
eisenbergw said:
I'm a bit confused here. I have always been under the impression that firmware = ROM (with other phone brands) and they seem to be discussed interchangeably. Now with my Xiaomi Note 5 Pro, I hear about these as separate items a lot. What is the difference between firmware and the custom ROM, at least in the Xiaomi world? How do I know when I am dealing with one or the other?
TIA,
Click to expand...
Click to collapse
Your understanding is correct firmware is nothing but a ROM, but in custom ROM, developers dont include bootloader (In custom ROM world firmware contains bootloader related stuffs) in their OS because they will make use of bootloader from stock ROM thats why developer recommended firmware files so that their ROM works perfectly without any problem.
I might be wrong but this is how things work here. If you are on lastest global MIUI beta ROM then you dont have to flash recommended firmware file by custom ROM developer
SunilSuni said:
Your understanding is correct firmware is nothing but a ROM, but in custom ROM, developers dont include bootloader (In custom ROM world firmware contains bootloader related stuffs) in their OS because they will make use of bootloader from stock ROM thats why developer recommended firmware files so that their ROM works perfectly without any problem.
I might be wrong but this is how things work here. If you are on lastest global MIUI beta ROM then you dont have to flash recommended firmware file by custom ROM developer
Click to expand...
Click to collapse
So when people talk about flashing firmware, they're really saying to flash/change the bootloader? Does the bootloader have a name, version number we would reference, or it's just 'the bootloader for MIUI Global 9..5.19.0'?
If I understand you correctly, if someone offers a ROM with and without firmware, you could install the ROM without firmware and it would work ok, but installing with the firmware (changing the bootloader) would make the ROM work better? Or just do the ROM with firmware if you have problems with the version that didn't install the firmware/bootloader?
I'm on MIUI Global 9.5.19.0. (just normal ROM), but with unlocked bootloader, twrp, Magisk installed (I can't work without my Titanium Backup Pro!)
eisenbergw said:
So when people talk about flashing firmware, they're really saying to flash/change the bootloader? Does the bootloader have a name, version number we would reference, or it's just 'the bootloader for MIUI Global 9..5.19.0'?
If I understand you correctly, if someone offers a ROM with and without firmware, you could install the ROM without firmware and it would work ok, but installing with the firmware (changing the bootloader) would make the ROM work better? Or just do the ROM with firmware if you have problems with the version that didn't install the firmware/bootloader?
I'm on MIUI Global 9.5.19.0. (just normal ROM), but with unlocked bootloader, twrp, Magisk installed (I can't work without my Titanium Backup Pro!)
Click to expand...
Click to collapse
Most of the firmware recommended by developers contains older bootloader (Antirollback protection version 3)
Since you are in 9.5.19 your bootloader has Antirollback protection (ARP 4) so if you try to flash older firmware then your mobile will get bricked so avoid flashing any firmware recommended by developer because you already have latest bootloader
Firmware name will be based on global beta ROM version

Anti roll back

My whyred is russian global stable 9.5.27
And its ready unlocked n twrp installed
Can i installed any custom rom miui based like sMIUI,Miui pro,etc?so what version should be installed?
Can i restore my rom backup via twrp?thank to all member
Johnpaularvan said:
My whyred is russian global stable 9.5.27
And its ready unlocked n twrp installed
Can i installed any custom rom miui based like sMIUI,Miui pro,etc?so what version should be installed?
Can i restore my rom backup via twrp?thank to all member
Click to expand...
Click to collapse
First of all, you should first check what anti you are on. You do that by launching CMD from ADB tools and typing command "fastboot getvar anti". If it shows 3 then ARP protection is not turned on. But if it shows 4, then it is turned on, and that means that you can't flash any rom containing firmware of anti 3 because your device will be bricked. If your anti is 3 then you can flash any rom you want whether it is anti 3 or 4, but you should really be careful with the ROMs you flash(especially miui based) so you don't enable ARP. Your ROMs should not include firmware files. Masik for example doesn't, so it's safe. For the other ROMs you should search and ask to find out whether they are safe or not.
ok sir ... it means that i can install miui custom rom without the firmware inside, with the note that the above version might be like that?

Need some advices please

Hi all,
I'm trying to flash the global ROM on my Whyred. However, it's currently already on the latest MIUI 10.0.0.1 (OEICNFH). I've confirmed it has anti rollback (4) enabled already.
What's my best move right now? Do I unlock the bootloader and then... ?
Or do I wait for the latest global 10.0.0.1 and flash that via fastboot? Not too sure what to do now.
Or can I simply flash the latest MIUI 10 8.8.30 beta via MIUI recovery - http://bigota.d.miui.com/8.8.30/miui_HMNote5HMNote5ProGlobal_8.8.30_4996e76420_8.1.zip
You. Cannot flash global ROM using updater app but you can flash miui10 global beta using fastboot method
Before flashing miui10 global beta just confirm antirollback version in miui10.0.0.1
If it is anti: 4 then you can flash all ROMs (including stable) which has anti version 4
Thanks for your reply! I'm on anti 4 atm.
I need to unlock bootloader before I can flash using fastboot right?
And looks like you can use fastboot flash commands in CMD, or use MiFlash (which also uses the fastboot ROM). I presume both requires an unlocked bootloader either way?
Yes you have to unlock bootloader to flash fastboot ROM
Thanks, I know how to do that
Just to confirm, even though the MIUI 10 Global beta is v8.8.30, which is a lower version than the MIUI 10 Chinese Stable 10.0.0.1, it's still OK to flash? They both came out on August 30th, so I'm assuming it's OK to flash from one to another and vice versa, without getting the phone bricked?
https://www.theandroidsoul.com/xiaomi-redmi-note-5-pro-update/
enter this commands
fastboot getvar anti
to know the antirollabck version, if it is anti 4 in MIUI10.0.0.1 then you can flash MIUI 8.8.30
Yup it's anti 4.
I thought the anti rollback prevents you from "downgrading" to a lower firmware? I'm a bit confused why stable 10.0.0.1 can be upgraded to 8.8.30 beta, even though the version seems to be lower. I guess it's just a naming convention difference for the stable and beta firmwares?
Then you can switch between any anti 4 ROMs
Yes beta ROM naming convention follows present date month year format
8.8.30 indicates
2018/08/30
Next beta update name will be 8.9.6
And yes antirollback prevents you from downgrading to older version of bootloader
9.5.17 ROM and previous ROM has anti3 so you cannot rollback to those version
For China stable it is 9.5.21 and you cannot rollback to 8.5.6 beta ROM these ROM
So be careful while flashing older version this may brick your device and no problem while downgrading anti4 enabled ROM
Perfect, that makes a lot of sense now.
Thank you very much!

Go back to MIUI Redmi Note 5?

Hello, I have installed some days ago HavocOS, but I'm experiencing some crashes on apps I do use regularly, so I want to go back to MIUI, but I'm scared to brick my device because the antirollback, I do know my last MIUI version installed was something like 10.0.6.0, but I dont know if it's exactly the same that is in Xiaomi official download page. What should I do to not brick my device? Can I install the developer ROM with no issues? Or how could I know what ROM exactly I had before? I have no backup of MIUI whatsoever and my anti-rollback code is 4.. Thanks in advance.
Boot phone to fastboot and check your ARB version with this command:
fastboot getvar anti
I think you will have ARB 4 version.
You can only brick your phone when you will downgrade ARB 4 -> ARB 3.
Then download latest MIUI stable (1.0.0.6) from xiaomi website (fastboot version) and flash it with miflash.
Visit en.miui.com/a-234.html
Download fastboot rom and flash it using miflash
What about twrp backup of miui 10?? Will restoreing it brick my phone??
install latest pitchblack recoveryfrom here then install any miui recovery rom you want

Question about ARB

Hi I just got my Mi Max 3 (I ordered the blue 128gb CN version But I got the black 128gb CN version but thats another story) Ofcoruse the supplier had unlocked the bootloader and flashed Gobal version of miui 10.1 and that version I suppose should have enabled the anti rollback on the phone
The first thing I did was to flash twrp with treble support with fastboot flash recovery twrp.img then downloaded xiaomi.eu miui 10.2 rom and removed the ARB files from the zip file (only kept 3 firmware files) and flashed it successfully. I have read that if you have anti rollback enabled you need to flash the twrp.img from the booted twrp recovery but I never needed to do that so my question is therea way to check anti rollback status on phone? I know that the fastboot command fastboot getvar anti does not work on mi max 3.
I know that I can check the roms you dowload but I want to check my phones status? Any adb commands I can use?
I want to know if the supplier flashed the global rom miui 10.1 rom without the ARB files

Categories

Resources