Questions regarding Unlocked Bootloader/Wiping before Flashing - Xiaomi Mi Mix 2S Questions & Answers

Hello,
recently i got a Mi Mix 2S and i immdiately started the unlock bootloader process. (I guess i was lucky with only 72 hours wait time)
i plan to try out several rom's. Also xiaomi.eu.
- i'm somewhat confused regarding wiping before flashing because of different instruction here on xda and on xiaomi.eu. On xiaomi.eu they write 'NEVER wipe system and persist' and on xda (at least for the aosp based rom's) always install stock miui AND wipe also system afterwards. Doesn't wiping system removes stock miui anyway?
- what does this 'vendor' on flashing stock miui (firmware + VENDOR) mean? Or can i just take the suitable rom package for miMix2S from miui.com and flash it in TWRP?
(my MiMix2s is original with global rom)
- after the bootloader is unlocked, is the information stored in the bootloader ? because i assume that aosp rom's doesn't have a xiaomi/Mi Account login section (unlike xiaomi.eu rom), so there after unlocking there is no need to have xiaomi account informations in the system?
Thanks in advance. Great community here!

First of all, you need to go in Wipe and Format Data before you flash anything cause data is encrypted on mix 2s (THIS WILL WIPE ALL THE INTERNAL STORAGE AS WELL, SO MUSIC, PICTURES AND VIDEO ARE DELETED, IF YOU DON'T HAVE AN EXTERNAL DRIVE TO STORE THIS DATA IT WILL BE DELETED, YOU CAN ALWAYS TRY LAZY FLASHER WHEN YOU INSTALL A NEW ROM TO DISABLE ENCRYPTION)
To flash VENDOR+FIRMWARE since I use MIUI chinese version I don't need to do it but normally you go to https://firmwarefile.com/ to download the last firmware and flash it (I forget if it's through recovery or fastboot but it's probably fastboot)
The information it's store, so going from custom rom to another it's pretty easy, however if you decide to go back to miui like I did you will need to reflash twrp through fastboot after flashing the rom and it will ask you your mi account password to start using the rom.
Hope it was helpful and readable cause my english it's far from perfect.

Related

Ultimate where to get started info after purchase

I would firstly like to apologise in advance to all the members in here that are gurus. (I get paranoid when it comes to things that I describe bellow)
So I have just bought and received my mi4c, but as I am sure a great deal of people in this forum, I am experiencing certain things I do not like. What am I referring to you may ask? Primarily the massive amount of Chinese bloatware + unstable google services.
I have done a bit of my homework but I got stuck and came here. So here is the list of things that I am trying to do:
Install international rom (http://xiaomi.eu/community/threads/5-10-8.28692/) for gapps and removal of bloat
root
custom recovery (twrp)
So here is the challenge.. I do not know in what order to do them. I also found this thread here (http://forum.xda-developers.com/mi-4c/development/flash-twrp-using-flashify-app-pc-dev-rom-t3230355) which is basically root + recovery but it asks you to use a developer rom, wouldn't that be pointless if I am going to flash the international one?
Can someone please point me in the correct direction
Thanks in advance.
The rom from xiaomi.eu has to be flashed with TWRP - so you have two choices:
1. boot or flash TWRP via fastboot and after that flash the Rom from Xiaomi.eu
or if you do not want to mess with drivers and computer and fastboot:
2. use the built in updater app to change to the chinese/english stock developer! rom found here (dev version has root built in) - after that flash TWRP via an app like flashify (play store) - flash Xiaomi.eu within TWRP
i chose the 1. Variant and did only BOOT TWRP (fastboot boot .....) and did not permanently flash it at this time - so i could make a nandroid backup of the complete stock ROM - including the stock recovery first ! If you go this way too - do a backup of the ESF partition too because this one contains your IMEI and MAC Adress infos - can help to have this backup in the hand if something fails. If you have an OTG cable you can directly backup to an external USB Stick (must be FAT32 formatted !). I found this was the best solution for me before permanently flashing any other ROM.
Be aware that if you boot TWRP (temporarily or permanent flashed version) the touch sometimes simply does not work (in a few cases the power button did not work too). Solution: wait two or three minutes until the touch begins to work.... i used the TWRP (DEV Variant of the recovery) found here. Because the touch begins to work a little faster (sometimes it works instant).
since the last 2 weeks i stick with the sMIUI ROM (its a "slimmed" Xiaomi.eu ROM) you can cook your individual slimmed variant here. And you can read a little about it here.
Hope this helps you....
Andiii said:
The rom from xiaomi.eu has to be flashed with TWRP - so you have two choices:
1. boot or flash TWRP via fastboot and after that flash the Rom from Xiaomi.eu
or if you do not want to mess with drivers and computer and fastboot:
2. use the built in updater app to change to the chinese/english stock developer! rom found here (dev version has root built in) - after that flash TWRP via an app like flashify (play store) - flash Xiaomi.eu within TWRP
i chose the 1. Variant and did only BOOT TWRP (fastboot boot .....) and did not permanently flash it at this time - so i could make a nandroid backup of the complete stock ROM - including the stock recovery first ! If you go this way too - do a backup of the ESF partition too because this one contains your IMEI and MAC Adress infos - can help to have this backup in the hand if something fails. If you have an OTG cable you can directly backup to an external USB Stick (must be FAT32 formatted !). I found this was the best solution for me before permanently flashing any other ROM.
Be aware that if you boot TWRP (temporarily or permanent flashed version) the touch sometimes simply does not work (in a few cases the power button did not work too). Solution: wait two or three minutes until the touch begins to work.... i used the TWRP (DEV Variant of the recovery) found here. Because the touch begins to work a little faster (sometimes it works instant).
since the last 2 weeks i stick with the sMIUI ROM (its a "slimmed" Xiaomi.eu ROM) you can cook your individual slimmed variant here. And you can read a little about it here.
Hope this helps you....
Click to expand...
Click to collapse
Thank you for your response just 1 thing I do not understand, is there a difference between the developer rom and the international 1 I mentioned? and when you say I can flash it using the the updater app to flash the dev rom (it sounds easier to me + safer) do you know how to do this? (is it this : "You can also use Mi PC Suite to flash the ROM "?)
YES the Rom you posted is a "Custom Rom" and is not officially (Xiaomi). Thats why the website says:
Unofficial International MIUI / Xiaomi Phone Support
the original (official) Xiaomi Rom - Stable and Developer - for Mi4c is only available in Chinese and english language and is translated by the community Xiaomi.eu and optimized (removed chinese apps that wouldn't work for you anyway)
How to install stock android 6.0 on Mi 4c?
I am getting an Mi4c, straight from China, but don't want the heavy MIUI lagging the performance. I would like to intstall the stock android. How can I do it? Also :-
1. Will the edge tap and other features work outside of MIUI?
2. Will Google play services be installed alongwith the stock android ROM?
I'm newbie to the rooting scene......please be little comprehensive in explanation :angel:
Cheers!!
drevankar said:
I am getting an Mi4c, straight from China, but don't want the heavy MIUI lagging the performance. I would like to intstall the stock android. How can I do it? Also :-
1. Will the edge tap and other features work outside of MIUI?
2. Will Google play services be installed alongwith the stock android ROM?
I'm newbie to the rooting scene......please be little comprehensive in explanation :angel:
Cheers!!
Click to expand...
Click to collapse
As far as i know there's no announcement for android marshmallow update for the Mi4c yet. Neither for Miui nor for CyanogenMod (CM).
... I guess CM is what you meant with "stock android".
There's just an unofficial build for CM and I guess as long it's not official there won't be edge tap support for the device.
And you have to flash google apps by yourself.
The reseller ROM they ship with 77.00.44 is total trash. I chose to keep the Chinese dev ROM as there are several Mi apps I like to use in conjunction with Gapps. It is playing very nice with my battery now.

[ROM][Stable] MIUI 10 xiaomi.eu

10.3.2.0
https://sourceforge.net/projects/xi..._MIMix2S_V10.3.2.0.PDGCNXM_v10-9.zip/download
https://androidfilehost.com/?fid=6006931924117882402
10.3.1.0
https://sourceforge.net/projects/xi..._MIMix2S_V10.3.1.0.PDGCNXM_v10-9.zip/download
https://androidfilehost.com/?fid=1395089523397934131
10.2.2.0
https://sourceforge.net/projects/xi..._MIMix2S_V10.2.2.0.PDGCNXM_v10-9.zip/download
https://androidfilehost.com/?fid=1395089523397908184
10.2.1.0
https://sourceforge.net/projects/xi..._MIMix2S_V10.2.1.0.PDGCNXM_v10-9.zip/download
https://androidfilehost.com/?fid=11410963190603887317
10.0.7.0
https://sourceforge.net/projects/xi..._MIMix2S_V10.0.7.0.PDGCNFH_v10-9.zip/download
https://androidfilehost.com/?fid=11410963190603845043
New links will be posted here.
10.0.4.0 bootloops for me
Coming from Pixel 3 Experience GSI ROM by EnesSastim. I can fastboot flash the official MIUI 10 Global which works but every time I flash this ROM via TWRP I just get bootloop.
Full wipe doesn't seem to help so I guess I'm sticking on the official Global ROM for now. Any ideas?
10.2.1.0 added in OP.
mike freegan said:
10.0.4.0 bootloops for me
Coming from Pixel 3 Experience GSI ROM by EnesSastim. I can fastboot flash the official MIUI 10 Global which works but every time I flash this ROM via TWRP I just get bootloop.
Full wipe doesn't seem to help so I guess I'm sticking on the official Global ROM for now. Any ideas?
Click to expand...
Click to collapse
Not sure if you ever figured it out but the instructions on EU's site are terrible and not very descriptive.
When they mean when they say "Wipe /Data" is to hit Wipe > Format Data > Type Yes (and swipe to confirm I believe) You will then have to copy over the zip to your phone and flash (That's why the instructions are written that way)
Keep in mind, that this will wipe your internal storage so make a back up. It also takes a long time to boot, longer than clean miui install.
is it possible to flash from one MIUI 10 rom to another? mine is on stock chinese 10 rom now, and can't see any files on the root folder of the phone under recovery. may need to use the rom's flash function.
Hello friends, I hope and can help me, it turns out I have the ROM installed but not let me have permissive the seLinux with the kernel stock, just let me if I put a modified kernel, the problem is that for me none of all the modified kernel gives me the autonomy that gives me and L kernel stock, I want to have the permissive ROM of seLinux with the kernel stock, someone knows how? Thank You for your help
10.2.2.0 added in OP.
Might sound like a silly question, but when the phone was first launched and people applied xiaomi.eu roms, some reported that installing magisk would brick their phones for whatever reason. Is this still the case? I just want to pass my safetynet
10.3.1.0 added in OP.
10.3.1.0 reuploaded: https://xiaomi.eu/community/threads/miui-10-0-10-1-10-2-10-3-stable-release.47170/post-480558
10.3.2.0 added in OP.
10.3.2.0 reuploaded.

[Q] do we need to flash base ROM if another custom ROM needs the exact same base ROM?

Hey OP6 users
i thought of something. that might have been obvious for some people but maybe not for everyone.
when doing a clean flash for a custom ROM it is often needed that we flash a required base. Either OOS stable or a OOS beta version.. which ever is needed by the custom ROM.
we don't need to flash the base again when we're just updating the custom ROM (unless the custom ROM needs a newer version of the base
knowing that, is it still needed to flash the base when changing to a custom ROM that needs the exact same base?
correct me if I'm wrong, but it would save some time for us to not have to flash the same required base for another custom ROM which needs the same one we previously flashed.
it would save: two OOS + TWRP flashes every time and two TWRP reboots, which would be pretty nice?
it would also be nice to save that time if we just wanted to re flash the current ROM I/you/we were using for any reason.
then a clean flash of a current custom ROM in use or changing to another ROM with the requirement of the same base would just be as simple/fast as
Format Data !!!!(optiona)!!!!
Flash Custom ROM + TWRP.zip
Reboot TWRP
Flash Custom ROM + TWRP.zip
Reboot TWRP
Flash GApps.zip + Magisk
Reboot System
In general you don't have to flash the base ROM again to change your custom ROM. Even if one base is 9.0.3 and the other is 9.0.4 it is normally not necessary. The base Rom is foremost used for it's vendor (and other partitions) which are not touched by Custom Roms.
But you have to pay attention to your security patch level before you switch between ROMs.
And of course (strongly recommended) to wipe cache, data and system before switching to another ROM (a complete format is only needed uf you are rolling back to an earlier security patch level)
At least this is my experience and (little) knowledge about how android etc works.
Allthough, If you run into problems, rebasing your phone is always a good option. Helped me out a few times.
How much time do you think you are wasting out of your life when you have to flash a base file (give me seconds and % of HP)? ROFL...?
If I am flashing a new ROM, usually I clean flash, test the ROM... IF I LIKE --> clean flash again, and set it up proper.
Feels good coming fresh out of the box, knowing everything is working optimized.
Anways, with xXx.NoLimits and how smooth OOS is, personally I don't really see any point on flashing custom ROMs anyways anymore.
castrum_doloris said:
In general you don't have to flash the base ROM again to change your custom ROM. Even if one base is 9.0.3 and the other is 9.0.4 it is normally not necessary. The base Rom is foremost used for it's vendor (and other partitions) which are not touched by Custom Roms.
But you have to pay attention to your security patch level before you switch between ROMs.
And of course (strongly recommended) to wipe cache, data and system before switching to another ROM (a complete format is only needed uf you are rolling back to an earlier security patch level)
At least this is my experience and (little) knowledge about how android etc works.
Allthough, If you run into problems, rebasing your phone is always a good option. Helped me out a few times.
Click to expand...
Click to collapse
Aight yeah it thougt so. Ofc I wipe data before flashing a new rom. But thanks for your input/confirmation feels good to have other opinions and experiences then there's also the fact you also have to wait until your rom supports the new base, so u don't flash a new base then switch to your custom Rom and stuff won't work correctly hehe
@castrum_doloris
or anyone else here on the forum
now that our oneplus 6 got an official update i want to ask something. is this okey/safe to do
currently having omnirom installed in both slots and to update base could this work? or will it give problems
1 have custom rom installed with 9.0.4 base
2 flash oxygenos (9.0.5) x2
3 flash custom rom x2
4 reboot twrp
5 flash gapps + magisk
6 reboot system
if i flash oxygenos over omnirom just to update the base and never reboot system to oxygenos will this still give me problems with data? or is it a safe way to update the base ? or is the only way to go to do factory reset?
kewinhw said:
@castrum_doloris
or anyone else here on the forum
now that our oneplus 6 got an official update i want to ask something. is this okey/safe to do
currently having omnirom installed in both slots and to update base could this work? or will it give problems
1 have custom rom installed with 9.0.4 base
2 flash oxygenos (9.0.5) x2
3 flash custom rom x2
4 reboot twrp
5 flash gapps + magisk
6 reboot system
if i flash oxygenos over omnirom just to update the base and never reboot system to oxygenos will this still give me problems with data? or is it a safe way to update the base ? or is the only way to go to do factory reset?
Click to expand...
Click to collapse
Don't do it.
First, it is unneccessary (and useless) and second the security patch of 9.0.5 is too old compared to omni. Even if you don't boot into OOS System your whole storage won't get decrypted anymore (so you have to format your complete internal storage)
You have to get away a bit from this thought of the "Rom base". If you install a custom rom, you install a completely new system. The need of installing OOS "as a base" is mainly the vendor (and some other) partitions. And as long as these don't get updated/changed, your exact "base rom" is irrelevant.
9.0.5 doesn't have any significant changes. And these few changes are only relevant for the system itself (which would get deleted by installing a custom rom)
castrum_doloris said:
Don't do it.
First, it is unneccessary (and useless) and second the security patch of 9.0.5 is too old compared to omni. Even if you don't boot into OOS System your whole storage won't get decrypted anymore (so you have to format your complete internal storage)
You have to get away a bit from this thought of the "Rom base". If you install a custom rom, you install a completely new system. The need of installing OOS "as a base" is mainly the vendor (and some other) partitions. And as long as these don't get updated/changed, your exact "base rom" is irrelevant.
9.0.5 doesn't have any significant changes. And these few changes are only relevant for the system itself (which would get deleted by installing a custom rom)
Click to expand...
Click to collapse
okey I'm using the disable dm-verity, forceencrypt script btw. but okey i see now hehe. thanks for your answer

Help making a Backup before installing magisk+twrp OP8 IN2015 - already unlocked bootloader.

Hello! I've been rooting and installing custom ROMs for years but it's been a long while since I last did it, I got a oneplus 8 global (IN2015) late last year, unlocked the bootloader as soon as I got it out of the box since I knew eventually I would want to flash some stuff. but I have kept it stock this long. Running latest Oxygen 11 android 11
Since I want to start flashing some kernels or roms I wanted to ask about making a backup since I've never had a phone without sd card slot where I would usually store backups.
Can I still use titanium backup to keep all of my apps/data/photos/videos and the state they are in, store it in my pc , then go about flashing a custom Rom and then bring my titanium backup back into the phone and restore everything?
since I'll be installing custom roms based on android 11 I believe it will be fine with no conflicts? or does it matter that my apps were installed in Oxygen OS?
that's what I used to do with older phones anyway. is there a way to flash a rom while having the titanium backup still in storage since most roms require full whipe when clean installing them?
Recently twrp added official support for OP8 and when I open the official app it recognizes my phone as instant noodle but when I click search for phone it says it can't connect to the server? should I flash official twrp from the app or via fastboot? which I'm also quite rusty with.
any tips for a step by step would be appreciated
Hello, I was in the same boat as you since I came to the OP 8 from a Galaxy S4. Titanium backup should work for what you want to do, as long as the custom rom is also based on A11 (disclaimer: I haven't tried it; I'm running rooted stock OOS 11 with a custom kernel). If the rom you want to install requires a data partition format, you can't keep the backups there during the flashing process. If it only needs a data wipe / factory reset, everything in the sdcard directory (also known as /data/media) should be preserved.
I'd say just flash TWRP in fastboot. Flash it to both recovery slots, and read up on how flashing works with A/B slot devices if you aren't familiar, since you'll need to know about it when flashing roms also. It's a big difference from what I was used to with older devices.
Thanks for the reply, yeah I was thinking of just going with a custom kernel since I have so much stuff going on the phone I find it really a chore to backup, but still might want to try it.
What kernel are you using and how are you liking it ?

Question Flashing LineageOS on X3 Pro. What do I do at recovery?

Hi y'all. I recently got an X3 Pro and will be installing LineageOS on it. I'm just currently waiting out the 1 week period before the Mi Unlock app allows me to unlock the bootloader. I read through the official installation instructions a few times and one of the first things it says is to ensure the phone is already running its stock Android 12 ROM, which mine is. Further down where it says to factory reset in the custom recovery, it only mentions erasing the data and cache partitions. Does this mean I'm supposed to flash LOS over MIUI or is it safe to erase system first then clean install LOS? It would be much appreciated if anyone could shed some light on this. If it helps, I also intend to use OrangeFox recovery.
EDIT: I found out about Xiaomi firmware flashing while doing some more research for this. Please let me know if I've got this right. I think the reason the instructions say to be on the latest stock ROM and don't say to erase system is because MIUI has a set of closed-source low-level drivers that are available for download separately but cannot be included as part of a custom ROM. Dirty flashing LOS will keep these drivers intact while removing MIUI. If this is correct, then this should mean it's safe to erase system as long as I download the latest firmware file and flash it before the ROM so that the drivers are there when the ROM is installed. Am I right about all this?

Categories

Resources