yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 9 Questions & Answers] robotzki:
I might be doing something wrong here, cause no matter what I tried I ended up in a bootloop trying to flash latest flokorom.

Here is what I tried:

Flashed latest global eaa through miflash (bootloader unlocked intact)

Booted device

Flashed latest twrp from LR team

Format data to remove encryption

Flash latest system img for flokorom

Reboot to recovery - resize system

Flash latest open gapps nano

Flash magisk 19.1

Above gave me bootloop

Also tried to flash vbmeta before system :

fastboot flash vbmeta vbmeta.img

Tried without gapps

Tried without magisk

Could anyone make a comprehensive flashing guide for dummies? ?
[Xiaomi Mi 9 Questions & Answers] Philomene:
what i have done :

flash Cepheus global v10.2.9.00 with Miflash

reboot

mode fastboot flash vbmeta see https://github.com/phhusson/treble_experimentations/wiki/Xiaomi-Mi-9

mode fastboot flash Flokorom 11 05

mode fastboot flash recovery b9.img

reboot recovery (stop+vol+)

in recovery wipe data yes to remove encryption

reboot recovery

change file system to install open gapps

install open gapps mini

wipe factory reset

reboot system

then in recovery install Magisk

then in magisk install patch Mi9 v5

voila

sorry for my bad english. i hope it is comprehensive
[Xiaomi Mi 9 Questions & Answers] Fechinator:
has anyone figured out how to enable VoLTE on Flokorom?
[Xiaomi Mi 9 Questions & Answers] robotzki:
When you say "change file system", do you mean :

Wipe - advanced wipe - select system & repair/resize - resize system?
[Xiaomi Mi 9 Questions & Answers] Philomene:
yes exactly
[Xiaomi Mi 9 Questions & Answers] Inkku:
I can't seem to get Swift Installer to work on FlokoROM, everything else is working great though.

I get either a bus error or a segmentation fault when trying to install overlays.
[Xiaomi Mi 9 Questions & Answers] baggino:
how is the battery life?
[Xiaomi Mi 9 Questions & Answers] Ducter:
Can anyone confirm connection issues with TMobile US? I had to go back to a stock based rom because I could only obtain edge. When I attempted to change between LTE, GSM etc I get garbled text fields. When adding a new apn, I could get LTE but it would constantly reset the connection every few seconds. I'll have to install it again when I get more time to test but wanted to see if I was the only one with those issues. My phone is the global version and was running the latest global before installing this. Also, I don't know if it makes a difference but I use 2 TMobile sims.

Edit- on floko.
[Xiaomi Mi 9 Questions & Answers] lightcao:
Could be the fact that you used 2 T-mobile sims. There's an option for dual data or something. I don't quite remember but it could also be that. I don't have any way to test it on my end. I had my T-Mobile on slot 1 and was on Floko a month ago or so but I didn't have any issues with LTE. Could also be the current build. Ultimately, I went to ROS for VoLTE + WiFi Calling.
[Xiaomi Mi 9 Questions & Answers] Ducter:
You could be on to it. I did enable dual SIM 4g or whatever it was called. I'm on ros now as well, I'm a bit concerned over privacy running a stock based rom but need the phone working properly while issues get sorted.
[Xiaomi Mi 9 Questions & Answers] QAM:
Hola

Same issue on my FlokoROM install. I switched over to Substratum Theme Engine and now overlays work without any issue... but I really prefer Swift Installer. I did forward my SM Bus error to their support but I have not heard back anything.

---------- Post added at 03:13 PM ---------- Previous post was at 03:08 PM ----------

There is a Magisk module I used named VoLTE Enabler. I see that it is no longer available in the Downloads section of Magisk (the template for the mods changed recently), but someone did create a Magisk v19.x compatible mod...

https://xdaforums.com/showpost.php?p=79428892&postcount=363
[Xiaomi Mi 9 Questions & Answers] doggydog2:
either you mean status bar text is cut too much, User Interface\Rounded corners\Statusbar extra padding set 8. Or you don't like notch cutting, customize in User interface\Display cutout.

Why ever use a call recording app on a rooted device? Go to dialer settings, Sounds and vibration and turn on Auto call recording. If not there, simply slap XCallRecording xposed plugin in. No memory app will run in memory, fully integrated solution with recording progress visible on the call screen, and of course your records are playable directly from the dialer history. How does that compare to an app:)
[Xiaomi Mi 9 Questions & Answers] Inkku:
The battery life is good enough for me, a bit worse than stock I think.
[Xiaomi Mi 9 Questions & Answers] :
With stock rom battery is just terrible!
[Xiaomi Mi 9 Questions & Answers] Ducter:
Anyone with TMobile US test the lastest floko build in regards to sms LTE/GSM issues? I also had dual SIM issues where every couple seconds connection was dropped when utilizing LTE, if anyone else has dual TMobile SIMs could they report?
[Xiaomi Mi 9 Questions & Answers] robotzki:
So I dirty flashed new 05.18 floko system image and wanted to install micro opengapps. Resize system partition and mount system, but get insufficient storage error every time.

Is data format necessary or is there a workaround?

Using twrp LR.team from 05.17
[Xiaomi Mi 9 Questions & Answers] baggino:
I tried the last gsi Aosip and the battery is good
[Xiaomi Mi 9 Questions & Answers] QAM:
Hola

I use mindthegapps package and it works well. I believe others have said that there are issues with opengapps though I don't understand the core problem.
[Xiaomi Mi 9 Questions & Answers] robotzki:
Do you have face unlock working with mindthegapps?

I ended up installing Pico opengapps and found a Magisk module that adds the files required for face unlock ??
[Xiaomi Mi 9 Questions & Answers] :
Name if magisk module? And could you give us the download link?
[Xiaomi Mi 9 Questions & Answers] doggydog2:
tested flokoROM 20190518. scared to load 20190519 as the file there says FOD not working. Test OK and recommended as the best ROM for Mi 9.

[IMG="award"]https://proxy.duckduckgo.com/iu/?u=https%3A%2F%2Fforwardstride.org%2Fwp-content%2Fuploads%2F2017%2F04%2FIcons-Programs-Forward-Stride-Website_Carriage-Driving-Blue-150x150.png&f=1[/IMG][ Daily Driver award ][IMG="award"]https://owsd.net/sites/default/files/04-award-icon.png[/IMG] [ Best ROM Award ]

can't see nothing new except some extra stock keyboard settings.

same glitches - lame notch cut implementation, USB flash not working (changelist contains a related entry but no luck), FOD stays after kbd login, AOD doze actions poor.

tested AOD pickup function and it's total rubbish - in 6 hours it made screen 2.5hr on, with lot of wakelocks and battery drain while the phone was in the pocket!

but it's overall very nice daily driver as there's no serious issue. it's a safe haven for MIUI survivors.

[crDroid] i'd like new battery icon, something visible like on MIUI (one of very few advantages). would like to make data saver icon invisible (glad to have alarm icon invisible).

---------- Post added at 04:30 PM ---------- Previous post was at 03:44 PM ----------

here we go: tested flokoROM 20190519 (2nd release, tested 1min after publishing). Test OK.

again hard to find changes (walking through all UI) but:

- fp is working as GSI-usual and circle is turned off AFTER kbd login. Nice fix.

- fp on AOD works with pickup gesture :o that's first time we have AOD fp login haha. since this doze effect is waking up the phone upon slight movement (but not on real pick up movement - lol), it's very possible you can have it working most of the time when phone in hand (not on desk). well, the price is high as tested in previous post, so i will pass.

of course fp has still other GSI glitches like from the beginning: fp circle on during other login method, overdrawing keyboard (you need to use gestures to reach some letters) and generally fp not working on AOD.
[Xiaomi Mi 9 Questions & Answers] robotzki:
Google " [MAGISK]Face-Unlock-9-Pie.zip "
[Xiaomi Mi 9 Questions & Answers] doggydog2:
all versions: https://androidfilehost.com/?w=files&flid=289256

another product: https://xdaforums.com/android/software-hacking/mod-fix-gapps-unlock-t3863509

try yourself.. i don't want this unsafe method at all, it logged me in with dark glasses, you can put picture against phone etc... if i go low and accept this unlock method then i don't need encryption at all. bleh. i actually disable Find my mobile and Smart Lock backdoors completely. i'd tolerate fp + face + iris method (altogether) from vendor only:)
[Xiaomi Mi 9 Questions & Answers] :
Nah not working here with pictures. It also won't unlock with closed eyes! I tried it a few times. It's not unsafe like you said. My personal experience.:D

Im not saying you talking sh!t. Don't get me wrong, haha.
[Xiaomi Mi 9 Questions & Answers] QAM:
Hola [MENTION=526216]doggydog2[/MENTION]

A few questions if you don't mind:

1. With the new weekly update from AndroPlus do we still have to install the Magisk v5 patch?

2. Do we have to reinstall the GApps package?

3. Are you using any custom kernel with this ROM? If so which one have you settled on using?

Thanks for superb updates as usual.
[Xiaomi Mi 9 Questions & Answers] djtechno98:
Xiaomi Mi9

Successfully flashed on my Mi 9, v113, all works fine but instead to have 4g on SIM1, i have 3g, i'm not use dual sim...why? Anyone else had this issue?
[Xiaomi Mi 9 Questions & Answers] robotzki:
There is a tile for LTE in the quick settings, that can be used to turn lte/4g on and off
[Xiaomi Mi 9 Questions & Answers] staffordniko:
I follow this guide here, but it wont let me boot to recovery after I flashed the system.img. It immediately reboots back to fastboot. Any help?

Also , when I use the command given: "fastboot --disable-verify --disable-verification flash vbmeta vbmeta.img", I get the error "fastboot: unknown option -- disable-verify". So I just used "fastboot flash vbmeta vbmeta.img". I that the problem?
[Xiaomi Mi 9 Questions & Answers] doggydog2:
1. normally yes, but one day i found fp working well even without the patch. but since dev is still making note about the patch and is updating it, i'd keep it. anyway it stays there after ROM update..

2. yes you always need to install GApps with any AOSP ROM which doesn't incorporate Gapps (most) and do it before reboot. Otherwise you will experience forceclose festival and unresolvable problems. It's not even really possible to switch to another Gapps suite without problems.

3. i was using all kernels (stock, randomblame, extremekernel and androplus). The later two are not updated often and didn't bring satisfaction (EK is overclocking which is opposite what i want, Androplus brings wakelocking but didn't help battery). I settled with randomblame kernel because i cannot switch back (!) however i got good results with it so i'm fine:) I just got a day with 25% usage by the end of day, that means 3g / wifi, moving around, navigation, some SOT.. This stands strong against stock or OnePluses.. flokoRom + randomblame kernel + chinese recovery + magisk 19.2 + exposed = great cocktail.

---------- Post added at 07:41 PM ---------- Previous post was at 07:33 PM ----------

did you press the buttons or you try to reboot with fastboot command (which does not work)? my command line history shows --disable-verity, trust me, it's working, don't follow typos blindly:) (tbh i don't perform vbmeta or dtbo steps, as it didn't make any difference, ever)
[Xiaomi Mi 9 Questions & Answers] djtechno98:
i know, but i have data connection in 3g and not in 4g, the connection is slow, 4g is more fast, but i can't activate that
[Xiaomi Mi 9 Questions & Answers] staffordniko:
That was it... I just blindly copied the text. Thank you!
[Xiaomi Mi 9 Questions & Answers] robotzki:
Works fine here with dual sim. Just tested speed and got 50/25 mbs download/upload through lte...
[Xiaomi Mi 9 Questions & Answers] cd993:
I really appreciate your detailed updates, keeping a close eye on them!
[Xiaomi Mi 9 Questions & Answers] Ducter:
Tried latest phh, global phone, tmobile US dual sims. As stated by [MENTION=5971573]djtechno98[/MENTION] only getting 3g option. When attempting to network & internet> Mobile network> Advanced> Preferred network type results in forceclose. Cant change it from WCDMA in order to set it to LTE. Anyone know a solution?

edit- tried [MENTION=5169444]AndroPlus[/MENTION] again and getting garbled text when trying to select network type. It doesnt forceclose like phh's but damned if I can tell which one I need to select. Can anyone confirm the same results?
[Xiaomi Mi 9 Questions & Answers] xephyris:
Try using the dialer code *#*#4636#*#* and setting it from that settings menu.
[Xiaomi Mi 9 Questions & Answers] djtechno98:
Thanks! it works!
[Xiaomi Mi 9 Questions & Answers] robotzki:
Can you still receive text messages after changing this? I had issues with sms afterwards, so changed back to standard settings and just used the LTE tile under quick settings
[Xiaomi Mi 9 Questions & Answers] djtechno98:
Yes i receive SMS and MMS...
[Xiaomi Mi 9 Questions & Answers] fuarkgl3:
I installed aosip GSI today and im amazed, i thought it was going to be a mess but everything is working fine, i have LTE, receive calls, sms, GPS, Bluetooth, fingerprint, ambient display...
[Xiaomi Mi 9 Questions & Answers] sdevaux:
Nice, wich version of aosip did you use and gapps pls
[Xiaomi Mi 9 Questions & Answers] staffordniko:
How did you get that to work? Even with the magisk module, trusted face in smart lock crashes when setting it up. Using FolokoROM.
[Xiaomi Mi 9 Questions & Answers] robotzki:
Do you have a gapps package installed?
[Xiaomi Mi 9 Questions & Answers] staffordniko:
Yes, the nano package. Do I need another one?
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
Successfully installed latest FlokoRom + nano opengapps + Magisk following these steps. Thank you (Merci ?)

Feedback so far :

+ Ahhh AOSP ❤ ...

+ Smooth experience

+ Really great customization, remembers me the good old days

Issues :

- Camera is zoomed in on apps using it (Snapchat, WhatsApp, Instagram...), I guess because they're using the wrong lense.

- Camera Video Recording FC on Gcam, on the stock one maximum 720p is working.

- Fingerprint doesn't really work on Always On Display

Regarding battery life, I couldn't really test it for now.

I'm really sad that the camera's not working well at the moment, it's the only thing that really annoys me ? I dont want to waste the device's camera..

But anyway, it's still pretty early, I think we will get better roms for this phone soon.

What MIUI based Rom would you recommend at the moment, RevolutionOS? Xiaomi.eu ? Or maybe another AOSP based Rom?
[Xiaomi Mi 9 Questions & Answers] vtec303:
Thanks for the feedback, have you tried any other camera apps like snapdragon camera or open camera or any others, In my opinion ROS is better, cheers.
[Xiaomi Mi 9 Questions & Answers] Abaddon:
is the MI9 a only or ab?
[Xiaomi Mi 9 Questions & Answers] Mohammed779:
You install AB GSIs on Mi9.
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
I will try and see. The problem is that in app camera can't be influenced that way. Does anyone now if you can change the camera used by apps ?

Do you have a link for a working snapdragon camera on this device? I found one and it didn't install.

Also, can someone tell me the steps to switch from a GSI to MIUI based rom like ROS for example? Thank you.

Edit : according to phhusson AOSP 9.0 v113 Github :

Isn't this possible on FlokoRom ?
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
According to phhusson's treble_experimentations GitHub for Mi 9 (link):
[Xiaomi Mi 9 Questions & Answers] Philomene:
same to me on AOSIP. Cannot unlock with faceunlock in Smart Lock
[Xiaomi Mi 9 Questions & Answers] Fechinator:
same here
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
Video Recording in OpenCamera works, but in normal picture mode it's also zoomed in (wrong lense used). Unfortunately, I think I'll stick to RevolutionOS as long as this issue remains..
[Xiaomi Mi 9 Questions & Answers] vtec303:
you mean zoomed in when using camera on its own or camera in an app like snapchat or whatsapp ?, cheers.
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
zoomed in apps. Even in open Camera it is, only in modded gcam it's not
[Xiaomi Mi 9 Questions & Answers] doggydog2:
why not use other gapps? i remember trying those plugins when i had minthegapps and they didn't work. then faceunlock worked with gapps micro+. used it temporarily when fingerprint had issues. now i don't use it as it unlocked me with dark glasses, it is less safe than PIN code.
[Xiaomi Mi 9 Questions & Answers] oldgamer-72:
Hi, I had the same problem as you, you have to recover the latest platform tool and the vbmeta command will flash without any problem: https: //developer.android.com/studio/releases/platform-tools
[Xiaomi Mi 9 Questions & Answers] AhmadNaimHebat:
Hi, this is my first time flashing GSI rom. Im currently on xiaomi.eu with magisk and want to try Havoc-OS gsi .

So do I just need to flash vbmeta and system using fastboot and then flash gapps and magisk using twrp?

Does flashing vbmeta and system using fastboot still keep the installed twrp?

Do I need to factory reset before or after flashing system?
[Xiaomi Mi 9 Questions & Answers] shaneel1491:
I tried havoc and the aux cameras didn't work, so I suggest using something else if that's important to you!

Your process of flashing is right! But factory reset before system
[Xiaomi Mi 9 Questions & Answers] jerzyd:
I would like to use two Whatsapp accounts at the same time. Is it possible on any GSI rom for Mi9?

Wysłane z mojego MI 9 przy użyciu Tapatalka
[Xiaomi Mi 9 Questions & Answers] vtec303:
Google "GB whatsapp", cheers.
[Xiaomi Mi 9 Questions & Answers] superior8888:
Which gsi is the best for now? Can it be used for daily?

Skickat från min MI 9 via Tapatalk
[Xiaomi Mi 9 Questions & Answers] baggino:
Aosip and Floko
[Xiaomi Mi 9 Questions & Answers] vtec303:
can I install gsi system image through twrp selecting system? or it has to be fastboot? cheers.
[Xiaomi Mi 9 Questions & Answers] AhmadNaimHebat:
I tried to flash gapps on twrp by mauronofrio, gapps mini 9.0 arm64

twrp failed to flash. error said wrong architecture need arm version.

changed to twrp by randomblame, insufficient storage even after repair/resize system partition.
[Xiaomi Mi 9 Questions & Answers] :
Yes you can flash it with TWRP. I didnt try it, but it should be possible.
[Xiaomi Mi 9 Questions & Answers] vtec303:
I think after resizing you have to mount system and then flash gapps, cheers

---------- Post added at 08:29 AM ---------- Previous post was at 08:27 AM ----------

ok cool, thanks buddy. Since the time you have been on gsi have you tried going back to miui? cheers
[Xiaomi Mi 9 Questions & Answers] AhmadNaimHebat:
that what i do. i follow androplus guide from the first page.

before resize system has less than 100mb free space. after resize around 1gb free space. i mount system and then flash gapps i get insufficient storage.
[Xiaomi Mi 9 Questions & Answers] vtec303:
hh ok, so are you running gsi without gapps than ? or gone back to miui ?, yoyu can try this recovery :

https://xdaforums.com/Mi-9/development/twrp-3-3-0-arm64-gapps-support-t3925728
[Xiaomi Mi 9 Questions & Answers] AhmadNaimHebat:
im back on miui. i already tried randomblame twrp.
[Xiaomi Mi 9 Questions & Answers] vtec303:
can you tell us how to get back to miui from gsi? cheers
[Xiaomi Mi 9 Questions & Answers] Desafas:
Flash miui EU in twrp

OR

Use fastboot file from miui.en and Flash it with xiaomiflash program on your PC
[Xiaomi Mi 9 Questions & Answers] doggydog2:
flokoROM 20190526 test OK.

nothing to write home about.. some annyances can be reproduced again, even notifications can disappear after some time but it's rare. if a look at the progress last month, i have to say there's no change - 20190421 is still the version to keep along with patch 5, 20190429-20190506 were unusable, and the following versions didn't bring much.
[Xiaomi Mi 9 Questions & Answers] staffordniko:
on FlokoROM 20190519_1, you said the fp circle is turned off AFTER kbd login. I'm still seeing the circle until I press it when I use pincode login though.
[Xiaomi Mi 9 Questions & Answers] doggydog2:
unfortunately you're right... it's still a glitch but not all of the time. i updated the test log. one of low priority annoyances, bringing some doubts what has improved in May but i collected 3 reasons to keep new versions:

- charging LED notification

- new notch cutout

- full screen apps can be selected

Regarding of high priority issues, we're fine, what we have is double tap to wake with fingerprint working in first pass. The notifications working although i even reproduced this ugly glitch once (in long time). Lockdown works, systemui restart doesn't loop. It's not bad!
[Xiaomi Mi 9 Questions & Answers] AhmadNaimHebat:
flashing stock miui fastboot rom with mi flash.
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
Yes and after that you can follow the usual steps to install a MIUI Custom Rom if you want to.

Just a question: Is it normal that everytime I flash with the Mi Flash Tool, my bootloader is locked again ? The first time I saw this i was scared and thought I would no longer be able to unlock the phone, or that I would need to wait for the unlock period again, but no, I can just unlock it with the mi unlock tool like usual, without waiting. It has happened twice now, first when I installed Floko, and the second time when i went back to MIUI and installed Revolution OS (current daily driver)

I'm asking because I found it strange that nobody talks about this in installations steps.
[Xiaomi Mi 9 Questions & Answers] Desafas:
You have the option to clean and lock (that is what you did) or you can just clean. It is the first option at the bottom right side

---------- Post added at 11:08 AM ---------- Previous post was at 11:08 AM ----------

And yes you can just unlock it, without the waiting period
[Xiaomi Mi 9 Questions & Answers] KaiseRRUby:
There are a lot more ROM available then listed here on XDA which is kind of disappointing. In one hour i will flash the Resurrection Remix 7 GSI ROM for Mi 9. Will keep you posted about the results.
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
Oh I didn't see there was an option like that. I will pay attention next time I need to use the Mi Flash Tool, thanks :good:

---------- Post added at 01:18 PM ---------- Previous post was at 01:14 PM ----------

Interesting, looking forward to your feedback, thanks.

I also think we should post more stuff on here
[Xiaomi Mi 9 Questions & Answers] KaiseRRUby:
Well, i tried to flash RR7 but no luck. Absolutely no idea what i'm doing wrong. Tried it within TWPR and via Fastboot. Keeps rebooting to fastboot.

Maybe someone can explain me what i'm doing wrong .

I'm on global dev. I keep reverting back to this ROM because it always works.

Then: USB Debugging on etc

- Fastboot

- Flash recovery

- Boot into twrp recovery

- Wipe

- Flash the GSI from RR7 or the GSI rom from pff-Treble.

No luck after that. Rebooting removes my Custom Recovery and i only have fastboot left. Then the only way is to revert back to Global Dev.

I tried a lot of different things to fix this problem but i have no idea what i'm doing wrong.

Do i need to flash the pff Treble ROM first and the dirty flash the RR7 rom over it?
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
Did you flash other GSIs before ? you need to follow some extra steps, like flashing an official rom and vbmeta before, as described here for example :
[Xiaomi Mi 9 Questions & Answers] brentett:
Need help

Can anyone post the most recent img for Flokorom or the link to do so? I am not sure where to find the one specific to the mi 9
[Xiaomi Mi 9 Questions & Answers] Chrisgia:
It's a GSI, which means it's not device specific. But you need to be sure to download the one for the correct architecture though, which is ARM64 A/B for the Mi9.

So go on the FlokoRom GSI download page (treble.andro.plus), click on download, pick the latest folder, and download the arm64-ab img file. ;)
[Xiaomi Mi 9 Questions & Answers] Abaddon:
so does floko still has green as the fod icon? can we change it?