[newbie] Few questions before going full custom - Xiaomi Redmi Note 5 Pro Questions & Answers

Hello!
I currently have completely stock and BL locked M1803E7SG 3/32, on MIUI 10.3.1.0 Stable Pie.
Tomorrow is my big day, timer in MIUI unlocker will finaly allow me to completely mod my device.
I did some modding a long time ago on Xperia X10/Xperia Play (old 2.3.3 Gingerbread times), but many things changed nowadays, so I have few questions:
1) Firmware - is it something like low-level SoC driver pack included in official releases? Back in a day nothing like that was updated/changed. I have latest stable Pie so that point shouldn't be a problem beacuse I will flash Pie FW compatible ROM, just want to confirm my understanding there.
2) ARB - as far as I'm concerned, this thing has no meaning if I'll flash Pie AOSP ROM over stock Pie MIUI right?
3) Kernels - again, back in a day kernels were completely separate from ROMs itself, do modern ROMs require kernel flash when going from official MIUI to AOSP-based ROM? Or is AOSP-compatible kernel already included in ROM .zip?
I want to use this one:
https://forum.xda-developers.com/redmi-note-5-pro/development/rom-cosp-t3891988
Another thing about kernels, I want to use latest PureCAF, do i need to flash it before ROM .zip or after?
So my path should be like that:
Official MIUI Pie + stock kernel + locked BL
1. Unlock BL via official Xiaomi tool
2. Flash latest TWRP thru fastboot, boot into it, flash Lazyflasher thru TWRP
3. Perform a wipe (dalvik, system, cache, data)
4. Flash ROM .zip thru TWRP, flash Gapps.
5. Flash PureCaf .zip thru TWRP again
6. Reboot into clean&fast new phone?

Oxynium said:
Hello!
I currently have completely stock and BL locked M1803E7SG 3/32, on MIUI 10.3.1.0 Stable Pie.
Tomorrow is my big day, timer in MIUI unlocker will finaly allow me to completely mod my device.
I did some modding a long time ago on Xperia X10/Xperia Play (old 2.3.3 Gingerbread times), but many things changed nowadays, so I have few questions:
1) Firmware - is it something like low-level SoC driver pack included in official releases? Back in a day nothing like that was updated/changed. I have latest stable Pie so that point shouldn't be a problem beacuse I will flash Pie FW compatible ROM, just want to confirm my understanding there.
2) ARB - as far as I'm concerned, this thing has no meaning if I'll flash Pie AOSP ROM over stock Pie MIUI right?
3) Kernels - again, back in a day kernels were completely separate from ROMs itself, do modern ROMs require kernel flash when going from official MIUI to AOSP-based ROM? Or is AOSP-compatible kernel already included in ROM .zip?
I want to use this one:
https://forum.xda-developers.com/redmi-note-5-pro/development/rom-cosp-t3891988
Another thing about kernels, I want to use latest PureCAF, do i need to flash it before ROM .zip or after?
So my path should be like that:
Official MIUI Pie + stock kernel + locked BL
1. Unlock BL via official Xiaomi tool
2. Flash latest TWRP thru fastboot, boot into it, flash Lazyflasher thru TWRP
3. Perform a wipe (dalvik, system, cache, data)
4. Flash ROM .zip thru TWRP, flash Gapps.
5. Flash PureCaf .zip thru TWRP again
6. Reboot into clean&fast new phone?
Click to expand...
Click to collapse
1. Don't care about that driver, the only thing you need to pay attention is the rom based on oreo or pie fw. The other thing you need to know is if the custom recovery compatible with pie fw or not, i recommend latest OrangeFox R10 RC3.1 as it's unified for both oreo and pie fw.
2. ARB has almost no meaning now, old arb3 fw is just too outdated and not recommended to use as lots of roms now moving on to pie fw which makes this even more meaningless now.
3. No, compatible kernel is now included in the rom zip itself, although you can choose to flash another custom kernel based on your taste for better performance or battery backup, noted that some kernel only supports aosp, some only for miui, some for both and some only supports pie/oreo fw.
4. Your step is right, but you'll need to flash dummy.img (just google whyred dummy.img) before you can flash other in fastboot, Orangefox doesn't require lazyflasher, TWRP does. For Gapps, read careful if the rom already includes it or not (Pixel Experience for example), miui based like xiaomi.eu doesn't need it too, custom kernel is flashed after rom.

sushuguru said:
1. Don't care about that driver, the only thing you need to pay attention is the rom based on oreo or pie fw. The other thing you need to know is if the custom recovery compatible with pie fw or not, i recommend latest OrangeFox R10 RC3.1 as it's unified for both oreo and pie fw.
2. ARB has almost no meaning now, old arb3 fw is just too outdated and not recommended to use as lots of roms now moving on to pie fw which makes this even more meaningless now.
3. No, compatible kernel is now included in the rom zip itself, although you can choose to flash another custom kernel based on your taste for better performance or battery backup, noted that some kernel only supports aosp, some only for miui, some for both and some only supports pie/oreo fw.
4. Your step is right, but you'll need to flash dummy.img (just google whyred dummy.img) before you can flash other in fastboot, Orangefox doesn't require lazyflasher, TWRP does. For Gapps, read careful if the rom already includes it or not (Pixel Experience for example), miui based like xiaomi.eu doesn't need it too, custom kernel is flashed after rom.
Click to expand...
Click to collapse
Hi where can I download the RC10 version of orangefox? Looking in the development thread, the source forge page has RC9 as the latest.
Sent from my Redmi Note 5 using Tapatalk

gsmyth said:
Hi where can I download the RC10 version of orangefox? Looking in the development thread, the source forge page has RC9 as the latest.
Click to expand...
Click to collapse
https://files.orangefox.website/OrangeFox Beta/whyred/

sushuguru said:
https://files.orangefox.website/OrangeFox Beta/whyred/
Click to expand...
Click to collapse
Hi,
Can you please guide me as well? I'm on same boat as OP.
I have to unlock BL and install custom ROM. I'm on MIUI 10.0.6.0 Oreo (Indian whyred).
I can just follow this thread right?
https://forum.xda-developers.com/redmi-note-5-pro/how-to/one-xiaomi-redmi-note-5-whyred-unlock-t3778049
And I want to install Pixel Experience ROM. And what's about this fw-less ROM!
So, for PE Pie ROM, I just install the other recovery (Orangefox) instead of twrp. Everything else is same right.
1. Unlock BL from the main thread
2.Install Orangefox recovery
3.Flash ROM
Thanks

Related

How often do you get updates?

I am new to Mi 6 and I am thinking to root. But how frequent are the updates? I want to know so that I can decide whether to root now or not. And can you get updates after root?
One extra question is that you use odin for samsung phones to flash stock firmware, what you use for mi 6?
Thanks
Depends on ROM you are using. If it's DEV rom - updates are every week (thursday/friday). If it's global - updates are irregular, made in long intervals of time.
I, personally, am using xiaomi.eu dev rom (MIUI 9.1 v. 7.11.16), and I have rooted Mi6. After update you are losing root and you'll need to root again. So, answering your question - you can update safely even if you have root, but you will need to root again.
When I was switching from stock global to xiaomi.eu rom, I simply unlocked bootloader (if you have agreement from Xiaomi), flashed twrp, then flashed rom from zip. After that you have OTA updates so it's simple and easy.
If you want stock rom - I suggest using MiFlash tool.
MaX2oo said:
Depends on ROM you are using. If it's DEV rom - updates are every week (thursday/friday). If it's global - updates are irregular, made in long intervals of time.
I, personally, am using xiaomi.eu dev rom (MIUI 9.1 v. 7.11.16), and I have rooted Mi6. After update you are losing root and you'll need to root again. So, answering your question - you can update safely even if you have root, but you will need to root again.
When I was switching from stock global to xiaomi.eu rom, I simply unlocked bootloader (if you have agreement from Xiaomi), flashed twrp, then flashed rom from zip. After that you have OTA updates so it's simple and easy.
If you want stock rom - I suggest using MiFlash tool.
Click to expand...
Click to collapse
Hey thanks man. So even with root and twrp I will get OTA updates? I am on global rom
Sure, you have to unlock the bootloader of your phone before you can install TWRP and root.
Then you can install whatever you want... MIUI Weekly ROMs, Stable ROMs, custom ROMs .. etc.
zapperbyte said:
Sure, you have to unlock the bootloader of your phone before you can install TWRP and root.
Then you can install whatever you want... MIUI Weekly ROMs, Stable ROMs, custom ROMs .. etc.
Click to expand...
Click to collapse
where to find stable roms?
UnNaMeD__ said:
where to find stable roms?
Click to expand...
Click to collapse
http://en.miui.com/download-326.html those are official xiaomi's stable global ROMs
https://www.androidfilehost.com/?w=files&flid=36337 xiaomi.eu's (unofficial, fan-made) stable ROMs.
allweknowisa said:
http://en.miui.com/download-326.html those are official xiaomi's stable global ROMs
https://www.androidfilehost.com/?w=files&flid=36337 xiaomi.eu's (unofficial, fan-made) stable ROMs.
Click to expand...
Click to collapse
Thanks a lot man.

Need step by step guide to flash pixel experience rom

I am new to this device and I want to flash pixel experience rom,
Bootloader is not unlocked, I need step by step guide to flash pixel experience rom (if possible with links)
Dextor69 said:
I am new to this device and I want to flash pixel experience rom,
Bootloader is not unlocked, I need step by step guide to flash pixel experience rom (if possible with links)
Click to expand...
Click to collapse
I am trying to list the steps. I may have missed some, so wait for others to reply also.
Installing Chinese ZUI 3.5.xx and then OTA to latest build (for getting latest baseband)
https://forum.xda-developers.com/lenovo-zuk-z2/how-to/rom-zui-3-5-243st-z2-plus-z2-t3745636
Unlocking bootloader plus installing TWRP:- https://forum.xda-developers.com/lenovo-zuk-z2/how-to/z2-z2-plus-bootloader-unlock-twrp-t3615283
Treble ROM vs Non Treble ROM process (depending on ROM type you need to format your phone and TWRP selection)
https://forum.xda-developers.com/lenovo-zuk-z2/how-to/z2plus-treble-roms-flashing-reverting-t3778287
Pixel is a full treble ROM with latest release!!
Last, the easiest part, downloading the PE ROM flashing/installing via TWRP
NaXal said:
I am trying to list the steps. I may have missed some, so wait for others to reply also.
Installing Chinese ZUI 3.5.xx and then OTA to latest build (for getting latest baseband)
https://forum.xda-developers.com/lenovo-zuk-z2/how-to/rom-zui-3-5-243st-z2-plus-z2-t3745636
Unlocking bootloader plus installing TWRP:- https://forum.xda-developers.com/lenovo-zuk-z2/how-to/z2-z2-plus-bootloader-unlock-twrp-t3615283
Treble ROM vs Non Treble ROM process (depending on ROM type you need to format your phone and TWRP selection)
https://forum.xda-developers.com/lenovo-zuk-z2/how-to/z2plus-treble-roms-flashing-reverting-t3778287
Pixel is a full treble ROM with latest release!!
Last, the easiest part, downloading the PE ROM flashing/installing via TWRP
Click to expand...
Click to collapse
Somehow i managed to flash jaguar rom,will soon flash pixel exp after update

Update for Who wants to go to the 4.4 kernel ROMs you need? I have the answer to see

Zui 2.5 confirmed that it is necessary to install roms with kernel 4.4, it does not need zui 3.5 (in my case I had already installed zui 2.5 indiana as my rom and I decided to go for custom roms and today I use them with kernel 4.4 without having to install 3.5 zui per qpst)
I haven't unlocked my device yet.. but I'm planning to flash custom rom. currently I'm using zui 2.5 the official one. So you are saying that I can just 1)unlock my device 2) flash twrp and flash the latest version of aex (pie) without flashing zui 3.5/3.7 via qpst??.. I know your post says it but did you face any problem???.. (I'm new to this)..
Shrey2793 said:
I haven't unlocked my device yet.. but I'm planning to flash custom rom. currently I'm using zui 2.5 the official one. So you are saying that I can just 1)unlock my device 2) flash twrp and flash the latest version of aex (pie) without flashing zui 3.5/3.7 via qpst??.. I know your post says it but did you face any problem???.. (I'm new to this)..
Click to expand...
Click to collapse
Friend I just left the aex pie to na bootleggers. Yes you just need to unblock the bootloader and install twrp as a recovery, after that you need to do the following: First install the factory, then watch the twrp treble (reinstall back to twrp) and install rom and gapps and what you want
Shrey2793 said:
I haven't unlocked my device yet.. but I'm planning to flash custom rom. currently I'm using zui 2.5 the official one. So you are saying that I can just 1)unlock my device 2) flash twrp and flash the latest version of aex (pie) without flashing zui 3.5/3.7 via qpst??.. I know your post says it but did you face any problem???.. (I'm new to this)..
Click to expand...
Click to collapse
How many errors etc ... none so far. You have to have zui 2.5 Indian to do what I did!
I left aex pie because there is a bug in the download to download anything has to be completely on the page for example I want to download a game and I can not leave it in the background and I can not let the screen erase because the download pauses
If you want to install only nougat based custom roms, zui 2.5 indian baseband is fine. But if you want to use oreo or pie roms, you need to flash at least zui 3.5. I've used oreo roms on zui 2.5 baseband and it gives you Little glitches here and there and offline charging doesn't work.
brother_mouzone said:
If you want to install only nougat based custom roms, zui 2.5 indian baseband is fine. But if you want to use oreo or pie roms, you need to flash at least zui 3.5. I've used oreo roms on zui 2.5 baseband and it gives you Little glitches here and there and offline charging doesn't work.
Click to expand...
Click to collapse
Friend here works all up to offline loading (I'm using it on bootleggers Pie)

step-by-step how to install the MIUI 10 - PIE without losing the data?

Can anyone provide a step-by-step how to install the MIUI 10 - PIE without losing the data?
Each one I ask passes me different information and I can not come up with a solution.
I am using MIUI 8.1 and I have installed Recovery Oragen Fox 9.0.1. What do I have to do to install MIUI-PIE now?
If I want to go back to MIUI-OREO, what do I have to do?
Thank you.
Download xiaomi.eu rom, delete everything besides internal storage, flash xiaomi.eu zip, and boom miui Android 9
Also, if you want to go back you will have to flash global 10.2.2 via xiaomi flash tool
leonardobg7 said:
Can anyone provide a step-by-step how to install the MIUI 10 - PIE without losing the data?
Each one I ask passes me different information and I can not come up with a solution.
I am using MIUI 8.1 and I have installed Recovery Oragen Fox 9.0.1. What do I have to do to install MIUI-PIE now?
If I want to go back to MIUI-OREO, what do I have to do?
Thank you.
Click to expand...
Click to collapse
use a previous version of orangefox one for oreo. i beleive 9.0.1 has pie support. if you use this youll end up in fastboot screen.
so use oreo twrp not new ones that support miui pie..
follow rom installation then flash with oreo support twrp. when it boots. then install now orangefox with miui pie support. follow instructions and flash.
to go back you need a fastboot rom and mi flash.. as long as you use same ARB use masik xiaomi.eu they are firmware less.
raptorddd said:
use a previous version of orangefox one for oreo. i beleive 9.0.1 has pie support. if you use this youll end up in fastboot screen.
so use oreo twrp not new ones that support miui pie..
follow rom installation then flash with oreo support twrp. when it boots. then install now orangefox with miui pie support. follow instructions and flash.
to go back you need a fastboot rom and mi flash.. as long as you use same ARB use masik xiaomi.eu they are firmware less.
Click to expand...
Click to collapse
xiaomi.eu is not firmware less, they still have firmware with arb removed i think.
Sent from my Redmi Note 5 Pro using XDA Labs

Question Xiaomi EU to Official Miui

I am currently running Xiaomi Eu version 13.0.9 stable with twrp 3.6.2_12-pocof3_v6.3_a12.
I have issues with this build and I noticed lots of reports with latest Xiaomi EU updates having many bugs so don't really want to update.
Can I switch without data loss to official Miui? (my bank is annoying dont want to go through hassle of phoning them to re setup)
thanks in advance
mortmaru said:
I am currently running Xiaomi Eu version 13.0.9 stable with twrp 3.6.2_12-pocof3_v6.3_a12.
I have issues with this build and I noticed lots of reports with latest Xiaomi EU updates having many bugs so don't really want to update.
Can I switch without data loss to official Miui? (my bank is annoying dont want to go through hassle of phoning them to re setup)
thanks in advance
Click to expand...
Click to collapse
Only if you flash the same version or higher.
I just ran the latest weekly and it works like a charm , your twrp should be 3.7 skkkk and you can install miui 14 recovery global through twrp but I would suggest a format and not a dirty flash since your going from a china rom to a global have funnnn!
There are 2 TWRP(SKK):
1/twrp-3.7.0_12-v7.2_A12-alioth
2/twrp-3.7.0_12-v7.2_A13-alioth
His system is currently in A12, he can continue with version 3.6.2 12 or update it to 3.7.A12 and flash an A13 recovery rom.
Or use Miflash *** and lock the bootloader, which will avoid rooting + magisk to have the playstore certified.
***Erases your data and only if not K40.
NOSS8 said:
There are 2 TWRP(SKK):
1/twrp-3.7.0_12-v7.2_A12-alioth
2/twrp-3.7.0_12-v7.2_A13-alioth
His system is currently in A12, he can continue with version 3.6.2 12 or update it to 3.7.A12 and flash an A13 recovery rom.
Or use Miflash *** and lock the bootloader, which will avoid rooting + magisk to have the playstore certified.
***Erases your data and only if not K40.
Click to expand...
Click to collapse
Poco F3 is the phone I have.
Could you please post the links for the files i require and a guide (I prefer to not have any data loss and which ver miui do people suggest I will go with or latest one)
Xiaomi eu one has too many bugs and i noticed has issues with signal dropping.
thank you.
mortmaru said:
Poco F3 is the phone I have.
Could you please post the links for the files i require and a guide (I prefer to not have any data loss and which ver miui do people suggest I will go with or latest one)
Xiaomi eu one has too many bugs and i noticed has issues with signal dropping.
thank you.
Click to expand...
Click to collapse
1/Remove lock screen security and reboot
2/Update the TWRP twrp-3.7.0_12-v7.2_A12-alioth-skkk.img
Installation:
Phone in fastboot mode
Command:
fastboot boot twrp.img
powershell
./fastboot boot twrp.img
then in Twrp go to Advanced -> flash current TWRP
3/Download the ZIP
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Put it in internal storage
4/Twrp/install sever the zip
5/Twrp/Wipe/advanced Wipe/select Dalvik/art cache only
6/Twrp/reboot/System
I believe that you will loose your data unless if the same ROM with similar version number is installed.
Xiaomi eu ROM does not have any deep problem. I'm on one of the latest DEV releases for sometime.
It is rooted by magisk 25.2 and recovery is TWRP skkk v. 3.7
Here are links to posts for recovery and ROM (official, not eu).
Recovery:
[Recovery] [13] [12] TWRP & OrangeFox
Since recoveries play a crucial role in flashing firmwares, custom ROMs and offline updates, it is of importance to have access to them. This post is about sources and instructions to working versions of recoveries for Alioth. Platform Tools (aka...
forum.xda-developers.com
ROM:
[MIUI Updates Tracker] POCO F3 / Mi 11X / Redmi K40 (alioth)
MIUI Updates Tracker (POCO F3 / Redmi K40 / Mi 11X) What is MIUI Updates Tracker? An open-source project that automatically tracks Xiaomi MIUI ROM releases! MIUI Updates Tracker is a sibling project of Xiaomi Firmware Updater. Actually, XFU...
forum.xda-developers.com
NOSS8 said:
1/Remove lock screen security and reboot
2/Update the TWRP twrp-3.7.0_12-v7.2_A12-alioth-skkk.img
Installation:
Phone in fastboot mode
Command:
fastboot boot twrp.img
powershell
./fastboot boot twrp.img
then in Twrp go to Advanced -> flash current TWRP
3/Download the ZIP
Xiaomi Firmware Updater
The ultimate script that provides firmware packages for Xiaomi devices.
xiaomifirmwareupdater.com
Put it in internal storage
4/Twrp/install sever the zip
5/Twrp/Wipe/advanced Wipe/select Dalvik/art cache only
6/Twrp/reboot/System
Click to expand...
Click to collapse
thanks for that.
can twrp be updated within itself?
The recovery rom miui do not lock bootloader and install miui recovery i take it?
I was planning to install version below which twrp does this one require out of the 2 you mentioned
V14.0.4.0.TKHMIXM​
mortmaru said:
thanks for that.
can twrp be updated within itself?
The recovery rom miui do not lock bootloader and install miui recovery i take it?
I was planning to install version below which twrp does this one require out of the 2 you mentioned
V14.0.4.0.TKHMIXM​
Click to expand...
Click to collapse
Like you want.
Won't re-lock and you will need to install TWRP A13 after flash.
I'd reckon you try a fresh install on Xiaomi.EU's latest rom first before flashing to the Global version.
Most bugs and glitches are fixed with a fresh install of Xiaomi.EU.
By fresh install I mean use XiaoMiFlash (Fastboot) to the latest official China stable rom (14.0.5.0), then wipe all via TWRP and then Fastboot flash the latest Xiaomi.EU rom (14.0.5.0).
For me; Global rom is too bloat, has too many features missing and less smooth versus Xiaomi.EU's rom.
Nemix77 said:
I'd reckon you try a fresh install on Xiaomi.EU's latest rom first before flashing to the Global version.
Most bugs and glitches are fixed with a fresh install of Xiaomi.EU.
By fresh install I mean use XiaoMiFlash (Fastboot) to the latest official China stable rom (14.0.5.0), then wipe all via TWRP and then Fastboot flash the latest Xiaomi.EU rom (14.0.5.0).
For me; Global rom is too bloat, has too many features missing and less smooth versus Xiaomi.EU's rom.
Click to expand...
Click to collapse
Not much use since for a first installation you must format the data with the Twrp or use the first install.bat script included in the folder extracted from the zip.
Right, my bad. Clean install is the way to go though, Devs at Xiaomi.EU always recommended this to me versus dirty flash.
I clean flash with every major update, except from 12 to 12.5 (no Android change) with Xiaomi.EU's roms.
Nemix77 said:
Right, my bad. Clean install is the way to go though, Devs at Xiaomi.EU always recommended this to me versus dirty flash.
I clean flash with every major update, except from 12 to 12.5 (no Android change) with Xiaomi.EU's roms.
Click to expand...
Click to collapse
Yep, for the change of Miui or Android version, it is preferable to do a clean flash or mandatory in the event of a downgrade (weekly to stable).

Categories

Resources