yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 9 Questions & Answers] doggydog2:
:confused:this is mentioned for phh rom.. not for foloko. let's ask [MENTION=1915408]phhusson[/MENTION] what vbmeta command aims to do on mi9.. GPS works. interesting steps anyway. i had to automate this hell of a process (hate GApps installation style, and the need to reflash stockware for ANY type of ROM), i keep flashing with modified flash_all_except_storage.bat, i replaced the last line with:

fastboot reboot bootloader || @echo "Reboot error" && exit /B 1
sleep 5
fastboot flash recovery "\\XDA\Xiaomi Mi 9\Recovery\recovery-mi9-3.2.3.img" || @echo "Flash recovery error" && exit /B 1
fastboot flash system "\\XDA\Xiaomi Mi 9\Firmware\system-arm64-ab-vanilla-nosu.img" || @echo "Flash system error" && exit /B 1
pause Press Power&Vol+
::this command never works: fastboot %* reboot recovery || @echo "Reboot error" && exit /B 1

then i have to do manual stuff, can i automate sideloading too? I'm on chinese TWPR, it's unbeatable, so feature rich.

human step 1: press power&vol+
human step 2: resize System partition :eek:
human step 3: if (System.busy) then reboot to recovery; flash mindthegapps-9.0.0-arm64-20190216_211116.zip
human step 4: wipe dalvik&cache always before kernel
human step 5: if (CustomKernel.Mood) then flash androplus.v02.zip - this will give me WARNING on each SIM card login:crying:
human step 6: flash magisk-v19.0.zip
human step 7: reboot to system
[Xiaomi Mi 9 Questions & Answers] doggydog2:
back to FlokoROM after retrying miglobe, xiaomieu and revolutOS.. besides fingerprint and few minor things like {battery icon,local backup,charging animation}, there's nothing to love. Check my test log #122. We got the 6T notch, led light for everything. Better fingerprint will be final nail in the MIUI coffin.
[Xiaomi Mi 9 Questions & Answers] FaserF:
Running foloko 29th version:

My system UI hangs quite often, I can still use the phone but unable to change any quick toggle and the notification s are freezing too, a system UI restart fixes it, but it is quite annoying.

Any fix for this?

And my battery is really bad, seems my phone does no deep sleep at all.
[Xiaomi Mi 9 Questions & Answers] cd993:
Thanks guys, I appreciate these revires/updates of your experiences, I'm keeping an eye on the gsi progress!
[Xiaomi Mi 9 Questions & Answers] Alpha N:
Did u flash v5 fix?
[Xiaomi Mi 9 Questions & Answers] doggydog2:
good to know notification problem is not isolated to me. i'm running 20190501 + patch5. rolled back to 20190427.

battery is nice but not excellent. it is deep dozin' all of the time w/out naptime. when i did my standard test standby_home_wifi, GSam said 143hr (6d) left. Still giving nice numbers all day. But drainage is ~1.5%/hr (on ROS_xiaomieu 1.0%/hr) which is high for such sweet conditions (home wifi=battery saver). So i continued with more 1.5hr long tests:

1) stock pocket detection OFF (in Display not in Floko settings) made zero difference. that's cool, updating #122. No sm2p-sleepstate wakelocks or something. Actually why would this check create drainage if the OS should just trigger pocket proximity before rare screen_on and not all of the time... This check should be fine unlike handwave / raise gestures which need to be running nonstop and create wakelocks.

2) naptime and servicely ON actually slightly worsened battery. They don't help this kernel+ROM somehow

3) another test with Magisk Hide OFF and Gms doze OFF, debug logs OFF, gms sns_smd sensor OFF - no difference

4) cnss-diag killed (it's still eating cpu even when not writing logs), mi9 patch OFF, sysconfig patcher replacement - signifficant drain increase to 2.0%/hr

oops... can't improve. battery dead after 28hours with 3.75hr SOT. 3g standby is horrid -4%/hr.

Wakelocks look very good. PowerManager wakelocks are down, now NETLINK-hvdcp_opti and NETLINK-healthd lead which is unusual.

What is crazy is the amount of debug shyte running:

- charging logging [qualcomm stuff, according to forums creates drainage when something is connected to USB-C]

- cnss_diag logging [xiaomis forgetting to turn this off, creates xMB files in /data/vendor/wlan_logs]

- tcpdump [who the hell triggers this, also goes to /data/vendor/wlan_logs]

- several logcats [spotted when "ps-ef|grep logc" but gone, could be some temporary crash collection]

this could be vendor globaldev stuff. but tcpdumping all traffic nonstop, are you kidding me? so i "touch /data/vendor/wlan_logs"; and chmodded it and it's gone. you could also rename /vendor/bin/cnss-diag in TWRP (oops it doesn't help, need to kill the process) if you haven't got any result from "ps -ef|grep tcpd". Writing from memory, names could be slightly different.
[Xiaomi Mi 9 Questions & Answers] :
dirty flash worked for you? im now on 05/01 but notifications dont work:( wanna roll back too.

damn it feels so good to be on custom rom!!

EDIT: found the reason for no notifications... its the DARK UI THEME!

EDIT: it's not the dark UI theme. Notifications aren't working again.
[Xiaomi Mi 9 Questions & Answers] doggydog2:
it's messed up hard, notifications but also login, the ROM disables all logins at some point and you have to reboot.. never imagine i'd need to roll back. sadly, no new build this weekend!

dirty flash worked but had to borrow randomblame's twrp to flash opengapps but only her UNOFFICIAL package.. it's sickening how specific the steps are. also post flashing procedures are annoying. used her upstream kernel now battery on standby is sickening -4%/hr. it's crazy every custom kernel drains battery, while i'm hoping for opposite.
[Xiaomi Mi 9 Questions & Answers] :
Strange behavior... Went back to ROS for now. I can't live without notifications.
[Xiaomi Mi 9 Questions & Answers] Alpha N:
there's new update for flokoRom 190506
[Xiaomi Mi 9 Questions & Answers] FaserF:
Anybody who can answer me this?
[Xiaomi Mi 9 Questions & Answers] Alpha N:
Yes u can, i flashed new build over old one, u need to flash gapps again. But clean install is recommended :)
[Xiaomi Mi 9 Questions & Answers] :
What about notifications? Working great now?
[Xiaomi Mi 9 Questions & Answers] Asapakyou01:
How to flash flokorom? I dont know how to flash a treble twrp. Im just using a normal twrp for my mi 9
[Xiaomi Mi 9 Questions & Answers] baggino:
I tried floko but it consumes too much battery, I suggest you install Aosip with the bluetooth patch
[Xiaomi Mi 9 Questions & Answers] Alpha N:
I don't have notification issue with build 190501 :)

With 190506 my notifications still working
[Xiaomi Mi 9 Questions & Answers] Asapakyou01:
bro can u tell me how to flash an GSI rom. i dont know where to start and cant fully understand the treble
[Xiaomi Mi 9 Questions & Answers] :
Strange... It was working too, but after some minutes they are just invisible.

---------- Post added at 04:51 PM ---------- Previous post was at 04:49 PM ----------

Download the system image and follow the instructions on https://treble.andro.plus.

This is how I flashed floko.
[Xiaomi Mi 9 Questions & Answers] baggino:
you have the bootloader unlocked
[Xiaomi Mi 9 Questions & Answers] robotzki:
Where would you find that and what's your verdict so far?
[Xiaomi Mi 9 Questions & Answers] baggino:
try it here

https://get.aosip.dev/GSI/
[Xiaomi Mi 9 Questions & Answers] robotzki:
Cheers, good as a daily driver yet?
[Xiaomi Mi 9 Questions & Answers] doggydog2:
any more info besides 'i found a rom' e.g. mi9 related stuff like fingerprint.

---------- Post added at 11:56 PM ---------- Previous post was at 10:59 PM ----------

flokoRom 20190506:

- USB flash still not working, dialog to change control betweet device and 'this computer' broken, no notification of drive assigned, also doesn't appear in file manager

-

fingerprint needs 2 touches again

(we're back to the old system) w/patch

- login system: less mess, well fp circle stays sometimes, but lockdown is safe to do

- ambient doze effects still bad, overreacting but at least AOD screen turns off after few seconds. still u will have screen turning on nonstop when moving

- automatic brightness doesn't work at all, prepare for shocks outside as you won't see anything and won't be able to find brightness toggle

- Privacy Guard advanced view crashing, not sure if it's linked to the ROM

- User Interface Style settings still produce systemui restart loops, notch cutout lazy solution is corrupting notification bar

-

Notifications work

- low priority bug, Power Menu\Lockdown=Off when enabled

- NEW: lockscreen shortcut, old feature is back, icons are too small to see but it's nice to have

- lockscreen weather doesn't show weather, it took days last time to catch up.. then again off. does it try to get gps indoors or what

- default apps - no camera there
[Xiaomi Mi 9 Questions & Answers] Potato997:
A GSI update is out (v113)

https://github.com/phhusson/treble_experimentations/releases/tag/v113

I dirty flashed system from fastboot and rebooted, everything looks fine

FP seems a little better in low light but will test more.

Edit: fp is the same, no changes at all

FP on AOD is still now working.

I don't know if the issues with video recording is fixed without needs to touch media_profiles but I won't try for the moment synce I would need to go back to stock and flashing back again GSI, so if any of you tried let us know.

If I will find more I will update here.

Also, if you want to join our Telegram group, pm me :)
[Xiaomi Mi 9 Questions & Answers] mohitgalaxy3:
Has anyone tried android Q beta 3 for Xiaomi MI 9
[Xiaomi Mi 9 Questions & Answers] Desafas:
I am trying it out now. Fingerprint doesn't work and Firefox crashes, Whatsapp cant restore backup that's the issues i have had in the last couple of hours
[Xiaomi Mi 9 Questions & Answers] mohitgalaxy3:
Ohk definitely not usable then, thanks for your feedback though.
[Xiaomi Mi 9 Questions & Answers] LJY-JH:
dark mode not working on setting

flash v113 just now , dark mode not working on setting menu .

[IMG="1"]https://i.loli.net/2019/05/08/5cd2cd0a409b3.png[/IMG] [IMG="2"]https://i.loli.net/2019/05/08/5cd2cd0a45aa4.png[/IMG] [IMG="3"]https://i.loli.net/2019/05/08/5cd2cd0ae3b62.png[/IMG]
[Xiaomi Mi 9 Questions & Answers] Potato997:
Check if /vendor/overlay/SysuiDarkTheme/SysuiDarkThemeOverlay.apk is present with a root explorer.

If it's there, delete the folder SysuiDarkTheme including the apk.
[Xiaomi Mi 9 Questions & Answers] dxdiag:
I have some questions about GSI ROMs:

- did I get future OTA updates on this GSI ROM?

- did the in display fingerprint reader works good?

- is the GSI ROM mentioned in the last answers stable?

I don´t need a buggy ROM. Currently I have Xiaomi.EU installed, but I would like have a Stock ROM like Pixel Experience!
[Xiaomi Mi 9 Questions & Answers] doggydog2:
rolling back floko 20190506 as well, as the notifications are broken again, fingerprint stopped working completely, password login doesn't work. Phone is usable only thanks to faceunlock. Xposed is burning battery too, so i installed new xposed .4 and it improved battery life. However when i turned it off or even set airplane mode, the minimum standby_home_wifi was 1.0%/hr. that is 8% overnight in these fantastic conditions, that's just bad. The positive peak was with 20190421, had also one great battery result. It's a steady downhill since then.
[Xiaomi Mi 9 Questions & Answers] Mohammed779:
1. You download the update and install it manually. Updates are monthly only with security patches.

2. Works. You need screen to be turned on though. It does not work on always-on display. Also AOD keeps phone from going to deep sleep.

3. Phhusson's AOSP is the base for almost all GSIs. It is stable. I personally use AOSiP GSI.

GSIs may not meet your expectations but they're very good for daily use in my experience. Use unofficial GApps from randomblame's thread in Dev section if you want face unlock.
[Xiaomi Mi 9 Questions & Answers] nurgast:
I'running latest ressurection remix gsi.

Problems.so far:

No fingerprint

Automatic brightness not working

No faceunlock (using MindtheGapps)

Had to manually insert APN (german carrier)

Phone in second sim does not work

High drain. SoT some 3h

Random reboots when watching videos in Browser

Only right speaker working. No sound in left one

Button in the left side does not work

All minor problems. I'll stick with it. At least until twrp can read encrypted partitions :)
[Xiaomi Mi 9 Questions & Answers] :
There is only one speaker on the right side
[Xiaomi Mi 9 Questions & Answers] doggydog2:
nice "minor" problems [MENTION=9918055]nurgast[/MENTION] :)) you have a lot of patience. while i can't stand pressing fingerprint twice (fixed) :) from the list, i'd least likely to choose RR at this moment. floko is far superior, i rolled back to 20190421 due to recent bugs, and had none of the issues listed. my minor problem would be led light not working when charging. Pure SOT is 8-12hours on any ROM, standby is my major concern on AOSP (4%/hr on 3g, 1.2%/hr on wifi w/LSpeed).
[Xiaomi Mi 9 Questions & Answers] pimpmaneaton:
Has anyone had an issue that it you change to LTE/UTMS auto in *#*#4636#*## menu and get LTE working, but cannot receive text messages. If I go back to global auto or wcdma and have 3g only, can then receive texts.
[Xiaomi Mi 9 Questions & Answers] Arlenio Paiva:
is it possible to install a custom kernel in a GSI ROM?

And is it better to install a custom kernel specific to your device or a GSI ROM?
[Xiaomi Mi 9 Questions & Answers] Hot-Proton:
I am on latest xiaomi.eu, can i switch to GSI without format data?
[Xiaomi Mi 9 Questions & Answers] doggydog2:
yes and no. With custom kernel (tested all), didn't get any advantage only higher battery drain and login "There's an internal problem with your device. Contact your manufacturer for details" error.

to switch from that ROM you need to flash global first, and then delete your data.

flokoRom 20190511 is out. who tested? i'm very happy with the old one. but the changelist is very very long this time.
[Xiaomi Mi 9 Questions & Answers] doggydog2:
floko 20190511 tested OK
[Xiaomi Mi 9 Questions & Answers] aizn_void:
Planning to try this GSI as well, care to elaborate? Thank you
[Xiaomi Mi 9 Questions & Answers] :
GSI Hero!:good::D
[Xiaomi Mi 9 Questions & Answers] baggino:
better Aosip, better battery
[Xiaomi Mi 9 Questions & Answers] Desafas:
Where can I find Aosip?
[Xiaomi Mi 9 Questions & Answers] :
You should look 2 pages back. There is the link.

https://get.aosip.dev/GSI/
[Xiaomi Mi 9 Questions & Answers] vtec303:
any suggestions which one is the best one of all the gsi roms, phh, aosip, rr ?, cheers
[Xiaomi Mi 9 Questions & Answers] Bn Waheed:
noob here. may i know what is GSI rom?
[Xiaomi Mi 9 Questions & Answers] Alpha N:
For me its aosip :)
[Xiaomi Mi 9 Questions & Answers] Ducter:
You can do a search for it, you'll find more info but it means generic system image. Basically stock aosp builds, not deeply optimized for any single device but in general, the basics will work on any Google certified device starting with Android version 8.
[Xiaomi Mi 9 Questions & Answers] vtec303:
okay cool, can you please tell us which of the things are not working? and is magisk 19.1 working well with aosip, thanks in advance, cheers
[Xiaomi Mi 9 Questions & Answers] doggydog2:
if you're asking for details, actually there was link to the test log (<- this is clickable) above. all FINE, daily driver for real. just skip builds 20190429-20190506.

got first standby_home_wifi battery result of 0.55%/hr, half of ROS "the battery friendly MIUI"...not sure if i will now reproduce it every day but nice. battery still sucks outside on 3g, however i always come back home after mixed 3g/wifi/gps day at evening with 2/3 battery left - is that a crime? it's just fine! and SOT is insane, got 9 hours on heavy install day yesterday, 2 hours left.. while i recorded all time max 10.5hr, 12hr is defly possible by any estimate. And i'm talking about max-out config, gps location tracking, gps sharing, vpn and all battery eaters you can imagine run nonstop.

and it's AOSP, not AOSiP, stop it:silly:

Config: flokoROM 20190511, chinese TWRP beta 8, randomblame kernel 116, Magisk 19.1 or 19.2, Xposed (beware v.4xx causes some reboots), Magisk modulez: Mi9 GSI fix 5, QuickSwitch, Riru 19, EdXposed 0.3xx, Savitar_GCam_Patch, Universal GMS doze, YouTube Vanced, Xposed modulez: XPrivacy, XEdge, XCallRecording oh and i replaced Servicely and Naptime with LSpeed that helped a lot (while i defly love the former, they bring magic to 6T thou not working on Mi9)
[Xiaomi Mi 9 Questions & Answers] QAM:
Hola

Damn bro, you're surely into the customization game - VERY IMPRESSIVE. I also want to say thank you for keeping the rest of us informed of the many bugs found, but also saying when a number of these issues have been rectified with newer builds. Keep up the good work! :highfive:

Because of your feedback, I'll jump on flokoROM this evening if time permit.
[Xiaomi Mi 9 Questions & Answers] Bidalos:
Gonna jump into FLokoROM too!
[Xiaomi Mi 9 Questions & Answers] Desafas:
How is fingerprint reader? And auto brightness?
[Xiaomi Mi 9 Questions & Answers] staffordniko:
I am looking at this phone for my next, and would like to install GSI directly when I receive it (after the wait time). Does gsi work with twrp and magisk? And can I just install a g-apps package on this ?
[Xiaomi Mi 9 Questions & Answers] vtec303:
you need to read post 175, and yes gapps is essential for all Google services, cheers
[Galaxy Tab S Q&A, Help & Troubleshooting] thompsd:
It started about 8 months ago, in retrospect, after an OTA update. I'd be looking at some app when the screen would flicker and shortly after it would either go blank, reboot or simply turn off, it was maddening and I thought the end of my little tablet. I tried a couple of different things, thinking that somehow the bootloader got corrupted I reflashed that, didn't work. I then flashed the previous version of the bootloader, that really didn't work so flashed back. I'd always kept the tablet with the stock Samsung ROM so flashed the latest Lineage ROM (great piece of work) but that didn't help and actually made it worse, when I would reboot it seemed like it would immediately flicker when things were updating, it wouldn't stay on for more than a minute. I read about the potential for cracked battery leads so changed the battery and reflowed the solder around the terminals, that didn't solve the problem either. After that I started to suspect some kind of memory/software issue so in desperation I flashed it back to the beginning of time, the original Samsung ROM and that worked. I have the TAR if anyone needs it just let me know. After you do this your back to Android 5 and you'll notice that it will notify you of OTA updates, I updated BUT I found that past the 4th update the flicker came back, this might just be an issue with my tab but just be aware. I only use this now to read the news or my Kindle books, I did notice that some apps would trigger the flicker like My Radar or Zillow so I uninstalled them.

Hope this helps.
[Advantage X7500, MDA Ameo ROM Development] bob_beringer:
All,

Can anyone provide me the tweak or registry key to allow for me to continue typing on the thumb board while on a phone call? (Presently while talking, the system defaults to the number pad while talking)

Any help would be appreciated. I have seen a couple threads about changing the default keyboard config, but not for this one directly.

Thanks,

Bob
[Advantage X7500, MDA Ameo ROM Development] irus:
what rom r u using
[Advantage X7500, MDA Ameo ROM Development] bob_beringer:
Using AP4, had the same issue with AP 3.0 as well. I assume that they would be different registry keys, but any help would be appreciated...
[Advantage X7500, MDA Ameo ROM Development] irus:
i will look into the reg for you cause on my rom it does not do that
[Advantage X7500, MDA Ameo ROM Development] bob_beringer:
Interesting, so when you are in a call and you type an SMS or email at the same time, the "Y U I H J K B M N ." keys don't type numbers in their place? I would love to have the letters instead of only numbers. The numbers are a help in 2% of the cases, but for the most part, I want to type notes about phone calls and without having the thumb board working, I am stuck with the touchscreen and it is much slower for me.

Either way, I appreaciate your help :-)

v/r

Bob
[Advantage X7500, MDA Ameo ROM Development] irus:
i just tested to confirm and yes that is correct. i was on a call and i hit notes and started typing and it types letters not numbers. i am looking at the reg files now ;)
[Advantage X7500, MDA Ameo ROM Development] irus:
i used windiff to see if i could find a difference but there were sooooo many i could not find it sorry.
[Advantage X7500, MDA Ameo ROM Development] bob_beringer:
Thank you :-)

Does anyone else have any ideas on how to set the keyboard mode while talking on the phone?

Thanks,

Bob
[Advantage X7500, MDA Ameo ROM Development] mikerff:
I'm using original spanish ROM WM6 and I have the same problem.
[Advantage X7500, MDA Ameo ROM Development] Janis:
Me too

Let's bump this thread up the date sort:

AP 3.0, still. I can't get letters with the kbd at all when in a call, so I end up using an on-screen, or translating whatever I typed after the call. It sucks. I thought the active prg would dictate what happens with the keys. ???

I must admit the convenience of the automatic switch when in the phone app is nice.

I'm not getting why some units do this and some don't, or if it might be that people aren't using thier keyboards during a call in a different app.

Reg key? Any better ideas?
[Advantage X7500, MDA Ameo ROM Development] galt:
On screen keyboard or hardware keyboard? On screen works fine, hardware not since WM6.
[Advantage X7500, MDA Ameo ROM Development] Rabia:
its important to me, i would love to type using thumb keyboard while talking, i can confirm that vanilla version of 6.1 does that too but its a beta rom and i like AP4, maybe the athena project people can inlight us about this matter and creat a patch for us to use
[Advantage X7500, MDA Ameo ROM Development] Rabia:
for importancy am trying to keep this up, guys its doable, someone is required to just lead us, at least someone post me a clean (hard reseted) registery from a rom that works during call normally, and i will install it on my mobile (which doesn't type letters during call) if it works then at leaset we know its defenatly registry and there for i dedicate my life for it. any clean registry anyone can supply

PS am willing to Hard reset but not willing to reflash another rom am very tried from that business
[Advantage X7500, MDA Ameo ROM Development] Sogarth:
If this drives you that nuts, then maybe you wouldn't mind doing a bit of investigation and sharing that with us?

Take a look at this registry key: HKLM\Software\HTC\SmartDialing\KeyboardMapping

There are some subkeys there, ToNum and ToSD. I'm guessing that those are responsible for the letter remapping. Would you mind taking a look and letting us know? Thanks!
[Advantage X7500, MDA Ameo ROM Development] Tadeusz:
Dialer/Dialer skine deppendent

It also could be that it is deppendent on dialer used in your system. Some dialers can switch keybaord to numbers and some can not. It would be nice if those who can write letters during a call could tell us which dialer is in their system.
[Advantage X7500, MDA Ameo ROM Development] bob_beringer:
Possible Path?

HKLM\Security\Phone\PhoneKeyMatch

Looks like this could be the ticket, will try to mess around with it and see if it makes any difference :-)

v/r

Bob
[Advantage X7500, MDA Ameo ROM Development] Rabia:
tried that untill deleting the whole string, no apparent effect, am trying the other syggestion now
[Advantage X7500, MDA Ameo ROM Development] Rabia:
no still doesn't make a differnce too, any other suggestions
[Advantage X7500, MDA Ameo ROM Development] bob_beringer:
check out this thread, shows that it is really difficult to get the phone to accept changes, but that others are happy with the edits:

http://xdaforums.com/archive/index.php/t-296857.html

Let me know if anyone can apply the fix and solve this problem...

v/r

Bob
[Advantage X7500, MDA Ameo ROM Development] Rabia:
it didn't work for me :(