yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 5s Guides, News, & Discussion] Bryan5151:
Flash this: https://drive.google.com/file/d/0B8XXaDwk93frdi00eUlrS0RqbzA/view?usp=drivesdk

Basically is in this order: (from a clean install)

1. Install 7.525

2. Reboot and run miui setup

3. Reboot to recovery

4. Flash gapps nano 7.0

5. Flash zip provided in link above (it contains Google Android Web View)

6. Reboot and enjoy.

---------- Post added at 06:14 PM ---------- Previous post was at 06:03 PM ----------

Check the last reply to this thread.
[Xiaomi Mi 5s Guides, News, & Discussion] marcel112:
did the whole riddle... incl webview zip...

after flash and reboot i only tried playstore

( google playstore has stopped)

cant add screenshots
[Xiaomi Mi 5s Guides, News, & Discussion] Bryan5151:
Is Android System WebView under installed apps?

If not try re flashing it (only the zip) again.

I wiped my phone several times just for the sake of being sure.

edit: tried again, success, upon second reboot playstore crashed once, re opened and worked without problem.
[Xiaomi Mi 5s Guides, News, & Discussion] kidstronger:
still FC google play service, no solution
[Xiaomi Mi 5s Guides, News, & Discussion] Gabri98:
Same for me problem not solved :/
[Xiaomi Mi 5s Guides, News, & Discussion] Bryan5151:
Can you tap in "view summary" on the force close windows and copy the crash log there to here?
[Xiaomi Mi 5s Guides, News, & Discussion] bahuy2003:
I flash exactly, but Google play doesn't work for me.
[Xiaomi Mi 5s Guides, News, & Discussion] Bryan5151:
So, am I the only one who got it working both on dirty flash and clean install?
[Xiaomi Mi 5s Guides, News, & Discussion] marcel112:
Looks like it
[Xiaomi Mi 5s Guides, News, & Discussion] Bryan5151:
I guess I'm special
[Xiaomi Mi 5s Guides, News, & Discussion] xUmaRix:
Does anyone experience low sound volume even the indicator set to max?

I am on MIUI 8 7.5.25 and the ringer volume is terrible
[Xiaomi Mi 5s Guides, News, & Discussion] bahuy2003:
I flashed this rom. Everything works well for me! Thank you very much!
[Xiaomi Mi 5s Guides, News, & Discussion] Bryan5151:
****ONLY FOR 7.5.25****

New patch, this one should get it working.. same instructions using this patch instead.

https://drive.google.com/file/d/0B8XXaDwk93frTDlzNFVRLWhSQjA/view?usp=drivesdk

---------- Post added at 08:46 PM ---------- Previous post was at 08:28 PM ----------

This one should work, try only if you want to.
[Xiaomi Mi 5s Guides, News, & Discussion] marcel112:
Thnx, i will looktomorrownight
[Xiaomi Mi 5s Guides, News, & Discussion] marcel112:
I wiped full, but when i try to flash on TWRP 3.1.1.0 i get error

TWRP says there's no OS installed!

edit: reflashed twrp 3.0.2.0 and it boots again... update will come later

I downloaded the file again with same outcome :crying:

Edit 2: its booting, flashing..

When i choose to add an account it goes all well, but when i choose latest next i get error: com.... persist..

But, after the error it seams to work correct :D:D:D:D
[Xiaomi Mi 5s Guides, News, & Discussion] Bryan5151:
-deleted-
[Xiaomi Mi 5s Guides, News, & Discussion] marcel112:
look at my edited post back up :silly:

Edit: google play has stopped keeps popping up
[Xiaomi Mi 5s Guides, News, & Discussion] Bryan5151:
Lol, so you got it all set up and working right?

---------- Post added at 11:36 PM ---------- Previous post was at 11:22 PM ----------

It sounds normal to me.

---------- Post added 01-06-2017 at 12:09 AM ---------- Previous post was 31-05-2017 at 11:36 PM ----------

Uh? What the error report says?

And you are using 7.5.25 right?
[Xiaomi Mi 5s Guides, News, & Discussion] j1505243:
Please read pm :) I really wish to contribute with you, so if something has changed, then tell me

(sorry for offtop)
[Xiaomi Mi 5s Guides, News, & Discussion] bakatan:
Is Google camera with HDR working with miui 8 based on 7.0?
[Xiaomi Mi 5s Guides, News, & Discussion] dabyd64:
I got it working finally! :D

First, don't install 7.0 zip if you are on 6.0. It will freeze at logo!

I tried everything and never could get it going past the logo.

First, flash fastboot 7.5.15 rom!

Then apply twrp. I had problems with the latest one, tried with the older "Alien" and went perfect.

Flash 7.5.25 zip

Flash OpenGapps pico/nano/stock... Whatever you like but must be 7.0 arm64!

Flash Webview:

Flash framework patch:

Now you can also flash supersu 2.79 SR3 for rooting, or anything else you want :D

Flashing only one of these patches would always give FC for me, couldn't log into google play or anything.

This way I get few framework FCs from time to time, but it works! :laugh:

If you get stuck at the loading Android screen, enter twrp, go to wipe options and select format internal storage (The one that tells "this option removes encryption..."). Worked like a charm!

However I noticed that the battery is draining fast, and the phone becomes pretty hot when browsing.

I will go back to the global 6.0 7.5.25!
[Xiaomi Mi 5s Guides, News, & Discussion] Bryan5151:
The first zip is not working at all because of error in the update binary.

The second one however is working. In that one I included the framework patch as well as webview.

If you are having framework fc problems you can just delete the system/framework folder from the zip and flash only webview.

Finally, I use magisk for root, and it heats the phone and drains battery. However if I unroot/uninstall magisk with magisk uninstaller zip. I notice battery improvements.
[Xiaomi Mi 5s Guides, News, & Discussion] doghot27041998@gmail.com:
Miui 8 7.6.5 available, you can leak it ? ==
[Xiaomi Mi 5s Guides, News, & Discussion] Man1zZz:
Closed alpha / beta update starts from 6th June, 2017.
[Xiaomi Mi 5s Guides, News, & Discussion] doghot27041998@gmail.com:
https://www.youtube.com/watch?v=IPXKjescvfU

splitscreen mi 5, 7.6.5 :P
[Xiaomi Mi 5s Guides, News, & Discussion] Man1zZz:
interesting, i think, this is very deep and closed beta...
[Xiaomi Mi 5s Guides, News, & Discussion] kimyeungg:
i've updated 7.6.6 beta N.
[Xiaomi Mi 5s Guides, News, & Discussion] kimyeungg:
split screen should be delivered around July (MIUI9)
[Xiaomi Mi 5s Guides, News, & Discussion] Bryan5151:
Many thanks!! Much better version, on 7.5.25 my phone always ran so hot now is cool.
[Xiaomi Mi 5s Guides, News, & Discussion] danmar90:
Does version 7.6.6 fixed the noisy camera?
[Xiaomi Mi 5s Guides, News, & Discussion] frozenline:
can i install 7.6.6 with original 7.5.25 system update app or i need twrp ?
[Xiaomi Mi 5s Guides, News, & Discussion] danmar90:
how to install 7.6.6 from 7.5.15 china developer rom?
[Xiaomi Mi 5s Guides, News, & Discussion] fougilang2:
So can we use this if we don't have the xiaomi beta access account?
[Xiaomi Mi 5s Guides, News, & Discussion] danmar90:
I can't also use this, says need beta account
[Xiaomi Mi 5s Guides, News, & Discussion] Hank.Moody:
thank you
[Xiaomi Mi 5s Guides, News, & Discussion] bahuy2003:
Flash over recovery twrp 3.02.
[Xiaomi Mi 5s Guides, News, & Discussion] danmar90:
Always got stuck up at boot whenever I flash the 7.6.6
[Xiaomi Mi 5s Guides, News, & Discussion] frozenline:
i install 7.6.6 its good but 2problem....first is gapps it dosent ... second is fingerprint sensor stop working was good at beginning now dosent work at all
[Xiaomi Mi 5s Guides, News, & Discussion] :
Its MIUI 8 right ?
[Xiaomi Mi 5s Guides, News, & Discussion] j1505243:
Beware... (TWRP has some really weird difficulties when restoring data)
[Xiaomi Mi 5s Guides, News, & Discussion] danmar90:
fastboot file for 7.5.25 or 7.6.6 please
[Xiaomi Mi 5s Guides, News, & Discussion] Man1zZz:
Mi5s Plus already has 7.6.8 today )
[Xiaomi Mi 5s Guides, News, & Discussion] pr0x2:
Can anyone tell me if they fixed the FP reader? I am still on stable 8.0.3 and it works about 50% of the time. It's really frustrating.
[Xiaomi Mi 5s Guides, News, & Discussion] dabyd64:
Xiaomi.eu has just released 7.6.8 Nougat for Mi 5S :)
[Xiaomi Mi 5s Guides, News, & Discussion] freddy5:
how can i change the icons grid layout without xposed???

best regards
[Xiaomi Mi 5s Guides, News, & Discussion] majo_scigo:
Where did you get Nougat from?. My 7.6.8 still shows as 6.0.1
[Xiaomi Mi 5s Guides, News, & Discussion] kimyeungg:
Flash back to miui kernel based TWRP such as ZCX the alien one.
[Xiaomi Mi 5s Guides, News, & Discussion] dabyd64:
Direct link taken from xiaomi.eu:

https://www.androidfilehost.com/?w=files&flid=187945

You can clearly see that it's 7.0 :)
[Xiaomi Mi 5s Guides, News, & Discussion] kimyeungg:
7.6.12 has been uploaded into my google drive.
[Xiaomi Mi 5s Guides, News, & Discussion] danmar90:
Useless, can't use without MI account that has a beta access
[Xiaomi Mi 5s Guides, News, & Discussion] pr0x2:
Xiaomi.eu rom will use it ;)
[Xiaomi Mi 5s Guides, News, & Discussion] j1505243:
Too bad that I tried this before, the result is the same.
[Xiaomi Mi 5s Guides, News, & Discussion] B!GBOY:
any of you guys on china dev Nougat have this problem:
[Xiaomi Mi 5s Guides, News, & Discussion] dabyd64:
Yes, it happened to me yesterday, althought I blamed the app instead ! :D

Audio breaks totally, have to reboot...
[Xiaomi Mi 5s Guides, News, & Discussion] B!GBOY:
ok I think I found the problem, its hw libs

audio.primary.default.so

audio.primary.msm8996.so

in system/lib/hw

and

system/lib64/hw

It's working with old libs from mm.

i've attached them in case anyone else also has this problem.

just extract and replace the files using any root file explorer
[Xiaomi Mi 5s Guides, News, & Discussion] kimyeungg:
7.6.15 has been uploaded into my google drive.

and i've integrated all version into one folder, check my thread :)
[Xiaomi Mi 5s Guides, News, & Discussion] danmar90:
Did you use 7.6.8? After using that in my xiaoim mi 5s my fingerprint scanner won't work anymore
[Xiaomi Mi 5s Guides, News, & Discussion] By.TRabZonLu™:
Global beta Nougat 7.6.15 download link?
[Xiaomi Mi 5s Guides, News, & Discussion] krzysiekb92:
After I flashed it I lost TWRP.
[Xiaomi Mi 5s Guides, News, & Discussion] rhp_engcoy:
Anyone using 7.6.15? Did you encountered play store bug? Coz can't install neither update apps.
[Xiaomi Mi 5s Guides, News, & Discussion] mesziman:
guys!

Can you flash Magisk on the latest? It failed to me

edit: nevermind it worked :9
[Xiaomi Mi 5s Guides, News, & Discussion] G-Forces:
They said they made it better on 7.5.25 global dev, but it's still not good enough. No difference for me from 7.5.25 in this build. So no, it is not fixed entirely.
[Xiaomi Mi 5s Guides, News, & Discussion] Eliam77:
no pb for me
[Xiaomi Mi 5s Guides, News, & Discussion] rhp_engcoy:
Thanks for your reply. I was using multirom before, now it's working well in xiaomi eu.
[Xiaomi Mi 5s Guides, News, & Discussion] scorpionredblack:
Hi Is version global?

---------- Post added at 08:13 PM ---------- Previous post was at 07:20 PM ----------

Have you link for version global?
[Xiaomi Mi 5s Guides, News, & Discussion] seledrimerdeka:
i came from LOS, can i just flash this using TWRP?
[Xiaomi Mi 5s Guides, News, & Discussion] mesziman:
I installed 7.6.15 now ( I had 8.5 stable) . FP is significantly better and faster.
[Xiaomi Mi 5s Guides, News, & Discussion] G-Forces:
It's not significantly better for me, I still have issues with:

- sometimes not recognizing the finger, need to try it for 3 times and then it works good again

- finger needs to be in same orientation as initial scan

It's better, but there is still a lot to be improved in my opinion.
[Xiaomi Mi 5s Guides, News, & Discussion] mesziman:
try scanning a few more times with add fingerprint :)
[Xiaomi Mi 5s Guides, News, & Discussion] pr0x2:
I had the same. But the new EU rom fixed most of it. It feels pretty great now!
[Xiaomi Mi 5s Guides, News, & Discussion] endera:
miui9 ?
[Xiaomi Mi 5s Guides, News, & Discussion] endera:
http://en.miui.com/thread-727744-1-1.html

today.. waitt
[Xiaomi Mi 5s Guides, News, & Discussion] endera:
[7.0] MIUI 9 -Test version-7.7.28

ROM : https://www.androidfilehost.com/?fid=745425885120753904

global: https://www.androidfilehost.com/?fid=889764386195921310 (set_global-Miui9-7.7.28_epic_capricorn.zip)
[Xiaomi Mi 5s Guides, News, & Discussion] jigs4wkiller:
Works great :good:
[Xiaomi Mi 5s Guides, News, & Discussion] fopoku2k2:
Does everything work well? Any bugs? Google play works?
[Xiaomi Mi 5s Guides, News, & Discussion] jigs4wkiller:
Everything works well except the camera. The camera quality is not as good as in MIUI8 at the moment. Google play service crash a few times at the setup but when you give it all premisons after the setup it works well.
[Xiaomi Mi 5s Guides, News, & Discussion] fopoku2k2:
can i flash from TWRP??
[Xiaomi Mi 5s Guides, News, & Discussion] KnarrePete:
more local adds more languages ??? or there any other solutions ?
[Xiaomi Mi 5s Guides, News, & Discussion] dabyd64:
root and use morelocale2 from play store.

All downloaded apps will use that language, and somr system apps too, except those only have english/chinese

For me it's being crazy fast! :D
[Xiaomi Mi 5s Guides, News, & Discussion] Gabri98:
I have force closed message any solution?

And brightness bar bug
[Xiaomi Mi 5s Guides, News, & Discussion] James Blode:
There's updated version 7.8.14 on androidfilehost, in pocarropa's profile page....and it's written beta not testing....
[Xiaomi Mi 5s Guides, News, & Discussion] kimyeungg:
Hi guys

I've just updated thread with a new version - China MIUI 9 7.8.17.

http://bigota.d.miui.com/7.8.17/miui_MI5S_7.8.17_5417105a71_7.0.zip
[Xiaomi Mi 5s Guides, News, & Discussion] fopoku2k2:
I have china Dev. 7.8.14. Can I just flash your 7.8.17 from recovery to keep all my files and settings intact?
[Xiaomi Mi 5s Guides, News, & Discussion] kimyeungg:
sure :)

but make sure u did a full backup before flashing any other rom
[Xiaomi Mi 5s Guides, News, & Discussion] danmar90:
Bootloop after flashing the latest, I thought we could use it :(
[Xiaomi Mi 5s Guides, News, & Discussion] fopoku2k2:
Tried this but its not allowing me because I'm not a beta tester. Bummer!!! [emoji35] [emoji35] [emoji35]
[Xiaomi Mi 5s Guides, News, & Discussion] rhp_engcoy:
Does anyone knows how to install the Gcam with hdr+ on miui9 xiaomi eu?
[Xiaomi Mi 5s Guides, News, & Discussion] Jimmy_78:
Try this:

https://xdaforums.com/mi-5s/themes/flashabel-google-camera-camera-api2-fix-t3655211
[Xiaomi Mi 5s Guides, News, & Discussion] rhp_engcoy:
I'm talking about this one. I tried this but got bootloop.

I used the latest one.
[Xiaomi Mi 5s Guides, News, & Discussion] GamerzBros:
Guys i am using an old xiaomi.eu build, with android 7. How can i upgrade to this? only by flashing the rom trough the recovery?
[Xiaomi Mi 5s Guides, News, & Discussion] Tomi_Ohl:
Why don't you update to the new xiaomi.eu build?
[Xiaomi Mi 5s Guides, News, & Discussion] endera:
Mi 5s Android 7.0 Miui 9 - Global 7.8.22

http://bigota.d.miui.com/7.8.22/miui_MI5SGlobal_7.8.22_2175ad60a9_7.0.zip
[Xiaomi Mi 5s Guides, News, & Discussion] anang1979:
Any body knows how to fix whatsapp no sound? I am with 7.8.24 atm. Whatsapp notif only works with default notif, but not in custom sound
[Xiaomi Mi 5s Guides, News, & Discussion] fopoku2k2:
Same here. Did you finally figure this out?
[Xiaomi Mi 5s Guides, News, & Discussion] anang1979:
Nope, i did factory reset but still can not set custom notif for whatsapp. Looks like related to permission for whatsapp. Still figuring out how to set custom sound.
[Android Q&A, Help & Troubleshooting] amjadkhankk222:
i have a phone who is show disable networl i flashed with lastest fimware but stll

nothing has work for me does any one can hlep me :rolleyes:
[Miscellaneous Android Development] nathanchance:
Introduction

Hello everyone, these are some arm and arm64 toolchains I have compiled using a script created by [MENTION=5501864]USBhost[/MENTION] and modified by [MENTION=5051294]frap129[/MENTION] and me. I know the concept of toolchains is not a new one, as there have been many specialized/optimized variants. However, some people may want a pure/unaltered toolchain for certain projects. That's what this will be, a generic/simple toolchain configuration. These will be done on a semi-nightly basis. They have been tested on up to date Arch Linux and Ubuntu 17.04 systems. If you know how to use scripts or cross compile, feel free to skip straight to the downloads!

Configuration

The GNU (standard or unlabeled) toolchains are built from GNU's latest gcc-7-branch. The Linaro toolchains are compiled from the linaro-local/gcc-7-integration-branch branch.

These are the additional components:

binutils 2.29.1
gmp 6.1.2
mpfr 3.1.5
mpc 1.0.3
isl 0.18
bionic r15c
Latest Linux Kernel headers (7318413077a5141a50a753b1fab687b7907eef16)

These toolchains are statically linked so they should work on any 64-bit Linux system; let me know if there are any issues with this.

Build script

These were compiled with crosstool-NG, which is extremely versatile but a little complex for the average user. Instead, I offer a build script in this repo to compile very similar toolchains (they will not be statically linked but that's no issue if you are only compiling on your machine and they won't have bionic). It has been modified heavily from the original repo to support two different architecture configurations (more can easily be added upon request).

To learn more about the script, give the README a glance, as it will be more up to date than the thread.

Using the toolchains

Please see the README.

Issues?

If you run into any issues with either using or compiling these toolchains, please do one of the following:

Open an issue on Github. Use the toolchains repo for issues with using, use the script repo for issues with compiling.

Make a post on here.

In both cases, I will require a detailed explanation of your system configuration, what you are compiling, and a FULL terminal output; without these, your problem will be ignored.

Credits

[MENTION=5501864]USBhost[/MENTION]: For the initial script and permission to make this thread

[MENTION=5051294]frap129[/MENTION]: For his modifications to the script

[MENTION=6552280]MSF Jarvis[/MENTION]: For testing the arm option

[MENTION=3306843]kantjer[/MENTION]: For testing the Ubuntu versions on Linux Mint
[Miscellaneous Android Development] nathanchance:
Reserved
[Miscellaneous Android Development] akhilnarang:
Great stuff :D
[Miscellaneous Android Development] Sands207:
nice, thank you ?
[Miscellaneous Android Development] frap129:
Dude it took me days to get arm to build because of weird errors and you just added a flag that builds it? :eek:
[Miscellaneous Android Development] nathanchance:
:eek:

Yeah, all I did was target arm-linux-gnueabi and build the arm Linux headers and everything compiled just fine.
[Miscellaneous Android Development] neobuddy89:
So linaro or standard, what's recommended?

And what flags do you suggest to use for ROM and kernel?
[Miscellaneous Android Development] zainifame:
Any support for x86/x86_64 platform?
[Miscellaneous Android Development] nathanchance:
I personally use Linaro given all the work they do for the arm architecture. These are the flag I use for my kernel. I'd love to claim credit for them but [MENTION=5284595]kwoktopus[/MENTION] helped me with most of them :p

I do not currently plan on it but if there is enough demand I can consider it.
[Miscellaneous Android Development] zainifame:
Hope u support the x86/x86_64 platform :)
[Miscellaneous Android Development] USBhost:
X86_64 is theoretically already supported.

All you need to do is Target x86_64 and choose what version then done.

Like what was done for arm
[Miscellaneous Android Development] nathanchance:
True, I can add an option to the script. I assumed he was referring to the prebuilts :p
[Miscellaneous Android Development] Nikit:
what's recommended? btw great stuff :)
[Miscellaneous Android Development] nathanchance:
I don't really recommend anything other than trying both variants and seeing which one you like.
[Miscellaneous Android Development] dev_harsh1998:
Great stuff on XDA after a long time good work :)
[Miscellaneous Android Development] zibiksior:
Hi, can I use it to compile my rom based on LineageOS 14.1? I started to develop my own rom recently and now I wanted to try changing the toolchain. :)
[Miscellaneous Android Development] nathanchance:
Mostly will not be able to compile a ROM with this but give it a try. It for sure can compile the inline kernel.

Just a brief update, the build script still works perfectly fine but I will start compiling the provided toolchains with crosstool-NG as I can make the toolchains statically linked, meaning that they should work with all versions of Linux. It will also be easier for me to manage and tarballs will be smaller. I will try to have this done tomorrow, given Linaro just released their updated snapshot source :)
[Miscellaneous Android Development] zibiksior:
Ok, I undertstand can you instead point me some link with prebuild toolchains which I can use to compile my rom? I connot find any... Or meybe some manual how to compile appropriate version of toolchain?
[Miscellaneous Android Development] nathanchance:
20170520 toolchains are now uploaded!

As I mentioned before, they are compiled with crosstool-NG so that it's easier for me to update. Furthermore, the toolchains are much smaller now so they're easier to download and they're statically linked so they *should* work when any updated form of Linux. Let me know of any issues and enjoy! :)
[Miscellaneous Android Development] kykint:
Nice stuff indeed, thanks :D

Btw i've once been told that gnueabi and androideabi are slightly different, would it be okay to compile android kernels with gnueabi?
[Miscellaneous Android Development] nathanchance:
Yes.
[Miscellaneous Android Development] juginkrebs:
hey mate thx for guide but i need a Toolchain for Rom thats Build Rom+Kernel
[Miscellaneous Android Development] nathanchance:
I'm going to be uploading new toolchains tonight that may work with compiling a ROM but I never got any confirmation. These are primarily for kernels though.
[Miscellaneous Android Development] nathanchance:
My apologies for the delay, real life and all :p I'll be uploading 6.x and 7.x toolchains today, in both Linaro and GNU variants for both ARM and ARM64.

This patch will allow Android kernels to boot with GCC 7.x and above (I won't be releasing 8.x toolchains as there is not enough differences between it and 7.x at the moment, plus I hate building from any master branch when stable is available and usable).

These will most likely not work with ROMs as they are built with glibc versus bionic. crosstool-ng has preliminary bionic support but it gave me some issues while compiling and I am not interested in hacking these to work with ROMs. I'm primarily a kernel developer so that's all I care about.

I will be uploading a crosstool-ng how to within the next week or so, there's a fair amount of info and options to go into.
[Miscellaneous Android Development] ashyx:
Does anyone have a recommendation for compiling Samsung arm64 nougat kernels? Samsung recommend 4.9 versions, but they are old.
[Miscellaneous Android Development] nathanchance:
Toolchains have been updated!

I am only doing GCC 7.x toolchains now, as it is the latest stable release. I have updated some info in the thread regarding what you need in your kernel source to avoid any issues. I have also made each toolchain have its own branch. Since there will be full history, I recommend doing a shallow clone so you don't pull down too much history.

Let me know if you have any issues!
[Miscellaneous Android Development] nathanchance:
Wow so sorry I forgot to reply to this! 4.9 is stable, which is why most if not all OEMs will recommend using it. I personally use the latest (which is what this thread will always offer), given that it is still stable and will often reveal poorly written code that can be improved upon/cleaned up.
[Miscellaneous Android Development] LordArcadius:
Wew! Thug *_*