yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4i] dh.harald:
I've tried the yureka ril blobs as well, but it's still not working.

Our ril blob is outdated for M, RIL_SAP_Init is missing. That's why I'm trying several ril blobs...

For example ril blobs from Archos 50 Diamond are working fine with 5.1.1 (at least voice/2g), but they aren't working on M.

(i can provide you logcat with Archos ril on 5.1.1, but I didn't see too much difference)
[Xiaomi Mi 4i] dh.harald:
Edit: Ooops
[Xiaomi Mi 4i] Krule:
is it usable for daily use? cant wait to to have fully working CM13 thanks :good:
[Xiaomi Mi 4i] Toruk.Makto:
Yes, it's up & running, Only one thing is missing i.e. Blades. Developers are busy to figure out how can they install blades in it, so it will actually start flying.

See if you can manage without that ?
[Xiaomi Mi 4i] ramprasad5394:
[MENTION=6071061]Krule[/MENTION], he means: not to spam dev thread and let them do their work at their own pace and you can always install and see if it's good enough for your daily use. all information needed is on the first post.. :)
[Xiaomi Mi 4i] fire855:
What was the problem? Is a other ril blob working?
[Xiaomi Mi 4i] sykomaniac:
Would also like to know how you solved this. I've been trying but gave up and was praying Xiaomi would update the base ROM to m
[Xiaomi Mi 4i] dh.harald:
Did you read #1?

Now, SIM is working (at least 2G: calls/texts)

We need to still fix audio (bluetooth, calls, headphone is working, only the speakers aren't), and sensors... These are the most important things...

So my answer is, not it's not for daily use...

---------- Post added at 01:36 PM ---------- Previous post was at 01:27 PM ----------

I've used ril from YU yureka (but I think, it could working with Diamond as well), and I needed some tweaks...

I'll focus to create proper repositories, after that, i'll push it into my github... Currently, my rom needs some manual work to make it starting :( But I'm on the right way...

We need to figure out, what Xiaomi changed in audio and libsensorservice... We can test it in 5.1.1, we don't need M for it... If we can drop the binary blobs, and we can produce them from source, we can compile it to M as well

Until that two things are solved, probably my repository will cleaned up and shared...

(my kernel repository is up-to-date)
[Xiaomi Mi 4i] dh.harald:
I've sorted my repositories, so everything's up-to-date:

https://github.com/dh-harald/android_device_xiaomi_ferrari

https://github.com/dh-harald/android_kernel_xiaomi_ferrari

https://github.com/dh-harald/android_vendor_xiaomi_ferrari

Here's an alpha rom:

cm-13.0-20151209-UNOFFICIAL-ferrari.zip - 378.19 MB

Changes from #1

- Telephony fixed (can somebody try mobile data? right now, i've no data subscription - almost sure, it's not working) calls are working

- initial FM radio support (i've no wired headset, can somebody try it?:)

- audio: bluetooth a2dp, (possible wired headset), calls are working, speakers aren't

+

- sensors are disabled to avoid 10s lags
[Xiaomi Mi 4i] haikalizz:
Mobile data doesn't work, only 2g available...

Wired headset doesn't work for audio playback, FM support partially working...
[Xiaomi Mi 4i] fire855:
I fixed audio. Will push my update later.

Now working on sensors.
[Xiaomi Mi 4i] dh.harald:
Did you fixed the source, or did you fixed loading the original blob?
[Xiaomi Mi 4i] fire855:
I fixed the stock audio blob. tinyalsa is incompatible. I'm using the libtinyalso from cm12.1 for now and audio is working fine. (Maybe later we can check which changes in tinyalsa breaks it but for now that don't have a high priority)

https://github.com/fire855/android_...mmit/ebabd2f0f16060bf2ddaaa0b87642fcba533a1d2

https://github.com/fire855/android_...mmit/4bd6582d42ed5908cb2dcb81eab47900d37b63e1

You maybe have any idea about libsensorservice? I don't understand why the source built lib isn't working...

I got 5.0 libsensorservice working on 6.0 but it needs some more work till sensors will work (too much 6.0 changes)
[Xiaomi Mi 4i] dh.harald:
It's better than nothing... So we're tied to original blob :( At least, it's working...

I've tried to use IDA to determine, what's the difference between the two blobs, but that tool is too strange for me... There's not too much difference between the libsensorservice, we need to figure out, what's changed in the source...
[Xiaomi Mi 4i] fire855:
Sensors are working fine now. But still with 5.0 libsensorservice. It was a easy fix to get the 5.0 blob working in 6.0 but building the lib from source would be much better. Also for future android versions.

Update: Data connection is working with your ril things [MENTION=2591365]dh.harald[/MENTION]. Android is crashing because the location. With disabled location data connection is working.

So last bug is Location.
[Xiaomi Mi 4i] dh.harald:
Good news... Can you make a patch update.zip with the changed blob? It could be the better scenario ;)

Thanks for your hard work...

Tapatalk-kal küldve az én MI 4i-el
[Xiaomi Mi 4i] fire855:
Yes, tomorrow I can do that. I will also upload my build tomorrow.

No problem. I need to say thanks for all your work.

I'm using the mi4i as my main phone. So I also want to have Android M ;). I will backup the apps and switch to 6.0 later. Think it's good for daily use (except location bug. But I tested it now 5 times and I got only one reboot/crash. All the other times location was starting with data connection.. I don't know why the crash happens...)
[Xiaomi Mi 4i] dh.harald:
If audio and sensors are working, I can switch to 6.0 as daily driver as well. Then we can sort the bugs...

Tapatalk-kal küldve az én MI 4i-el
[Xiaomi Mi 4i] jelennn:
So when will you @dh.herald upload the newest build?
[Xiaomi Mi 4i] fire855:
New build: https://www.androidfilehost.com/?fid=24269982087016618

Changelog:

- Fixed Audio

- Fixed Sensors
[Xiaomi Mi 4i] 99.hemanth:
Thanks a lot for your efforts guys !!!

I am using 6.0 now and found few bugs ...

1. Can't disable sim

2. Capacitive buttons vibration cant be disabled :(

3. Double tap to wake is not working

4. Can't change to 3G or 2G from LTE.:crying:

:rolleyes:
[Xiaomi Mi 4i] haikalizz:
Still no LTE... Don't know why...
[Xiaomi Mi 4i] ajaxcbcb:
somehow using sensei. the LTE strength kept dropping.
[Xiaomi Mi 4i] haikalizz:
I don't even have lte... checking back with stock
[Xiaomi Mi 4i] dh.harald:
That location bug is my fault. If you delete /system/etc/permissions/com.qualcomm.location.xml as well, location service will working
[Xiaomi Mi 4i] shailendra1993:
Update the status of the rom please.
[Xiaomi Mi 4i] sykomaniac:
Have to say guys really stable here
[Xiaomi Mi 4i] 99.hemanth:
What about Gapps??
[Xiaomi Mi 4i] sykomaniac:
Get them here http://opengapps.org/ select the x64 version for m then pick a size.
[Xiaomi Mi 4i] second_east:
I used OpenGapps without problem. Facebook force closes.
[Xiaomi Mi 4i] kuzu115:
bugreport

I made a bugreport.
[Xiaomi Mi 4i] kuzu115:
new bugreport

New bugreport with both sim cards
[Xiaomi Mi 4i] Harigovind:
Please provide an update on what's working and what's not
[Xiaomi Mi 4i] pramyhoga:
Facebook and Messenger FIX

Fix for Facebook and Messenger force closed :

With root explorer or es file explorer (with root access) find file libsslx.so on folder /data. You should find 2 files. Rename or Delete them. Facebook and Messenger should be OK now.

But maybe you cant doing voice or video call from them.

According to some googling.

---------- Post added at 04:17 AM ---------- Previous post was at 04:15 AM ----------

LTE is okay on my device. Havent found dropping signal.
[Xiaomi Mi 4i] sai.kumar071:
Download Link For the latest build.

I think almost all the MAJOR bugs are cleared and Thanks everyone for doing this... :)

Can anyone put a link of the latest build.
[Xiaomi Mi 4i] haikalizz:
One question though, I can't change frm GSM/2G to any other modes... Mobile data is there but can't go into 3G or LTE, stuck with 2G.
[Xiaomi Mi 4i] pramyhoga:
in build 11 Dec takes a long time to charge. is it only me facing this?
[Xiaomi Mi 4i] AriqRz:
+1
[Xiaomi Mi 4i] ƒεηιx:
[MENTION=4761533]fire855[/MENTION] [MENTION=2591365]dh.harald[/MENTION] if we use commit like this or similar like this https://github.com/armani-dev/andro...mmit/0b85571b9355c7d8963b5be0963838a27e0ae203 then i think we can fix the network changing issue correct me if i wrong.
[Xiaomi Mi 4i] fire855:
As far as I know it's only needed for devices without RIL_REQUEST_GET_RADIO_CAPABILITY support. That's working on our device because if it wouldn't work then 3G wouldn't work. Or are I wrong?
[Xiaomi Mi 4i] Toruk.Makto:
3G is working

[MENTION=4832023]omerjerk[/MENTION] , [MENTION=2591365]dh.harald[/MENTION] , [MENTION=4761533]fire855[/MENTION]

3G is working for me, I'm able to browse & download from play store. Using Airtel SIM (Bangaluru, India)

Build from here.

Will test it for few days & share my feedback. Good Job Developers. Thanks :)

Edit : Sorry My bad, It's not 3G but 4G which is working, I'm not able to switch network from 4G to 3G. I don't have 2G so can't confirm on that.
[Xiaomi Mi 4i] sykomaniac:
Wonder if it's a location thing I'm in the uk and the radio switches fine
[Xiaomi Mi 4i] hashroot:
H is 3G not 4G
[Xiaomi Mi 4i] Toruk.Makto:
Absolutely correct, But if you go to Mobile Network Settings & check Preferred Network Type : It says LTE (Which is 4G) and you can't select 3G from there. That's why I mentioned it. So I wasn't sure about that.
[Xiaomi Mi 4i] hashroot:
in your screenshot network is H
[Xiaomi Mi 4i] sykomaniac:
Ah so some confusion here. 3g is working you just can't set it to only use 3g via settings. Probably an overlay issue. There are a couple of issues similar to this eg double tap on status bar to lock is disabled in my settings but still works.
[Xiaomi Mi 4i] Toruk.Makto:
Moral of the story : 3G/4G is working, now developers can look for other things / bugs / improvements.

I'll be sharing my experience tomorrow or day after tomorrow, because it will be too early to say anything.
[Xiaomi Mi 4i] faizauthar12:
Calm down guys,about can't set to 3g well it's related to setting.apk ,same like grand duo's can't set CDMA but enabled by patches

Anyway ,already try *#*#..... (Sorry forget that command) at dialer? Go set to gsm or CDMA
[Xiaomi Mi 4i] haikalizz:
*#*#4636#*#*
[Xiaomi Mi 4i] davtse:
I don't suppose theres anyway to enable fast dormancy for cm? It wasn't working for cm12.1 as well, only works well on stock miui. Other than that, data us working well, have been able to use it quite stably without any major issues, maybe just that notification preferences don't seem to stick on reboot.
[Xiaomi Mi 4i] Glembozt:
This ROM is smooth, everything is work fine for me, lock 2G/3G/4G only work fine via dialer *#*#4636#*#*

For all, I have a problem when extracting this ROM to non .dat and rebuild to zip installation, the network and sensor does not work, maybe need the right updater-script, any suggest for that?
[Xiaomi Mi 4i] shyamk:
Download an app called "phone testing". That will solve the problem of dialling those numbers.

Shyam
[Xiaomi Mi 4i] Glembozt:
I have no problem with those dialing number

My problem is here >>
[Xiaomi Mi 4i] faizauthar12:
Btw Phone testing is already built in to the rom it self
[Xiaomi Mi 4i] Toruk.Makto:
"MY" Quick Review

Hello All,

Here is "my" quick review after 1 day of NORMAL use (No intensive gaming, no longer browsing). Hope Developers will like to hear what they have cooked from a noob user's prospective.

After reboot when on charging, always shows battery 100%, No matter what the actual charge is, be it 10%, 20 %, 30 %. Moreover, shows mobile is connected to charging point, though actually it's not.

Double Tap to Wake is not working

Vibration for "back & menu keys" is already disabled, but it has no impact.

Charging is fast (No Slow Charging Problem)

Skip music is not working, checked with handset keys itself as well as with hands-free

Can't increase / decrease volume with hands-free keys

CoC is Working Fine. Yeah :D :D

App opening time is noticeable fast

"Unfortunately, XXXXX has stopped". I experienced it with FM radio, Facebook. Same thing happens to "Settings" as well, when you go to : Settings > Notification > App Notification

Battery life seems Good (Can be better, after few tweaks). I personally feel like it will last more longer becuase it's very first cycle (consider in mind, All 1st time sync, app setup and bla bla)

Conclusion : I've decided to use it as daily driver, because I've not faced any challenging issue so far.

Thank You Devs for your hardwork. :)
[Xiaomi Mi 4i] arunsebstn:
Flashing

So should I flash MIUI ver 6.6.x.x before flashing this rom or can I flash directly from 7.0.3
[Xiaomi Mi 4i] sykomaniac:
Back to v6 first via fastboot flash
[Xiaomi Mi 4i] Toruk.Makto:
I'll suggest you to go for 5.6.11 first, because some Kernel Stuff matching with that. I did that and it's buttery smooth now without pain (except known).

You can go with 6.6.x.x as well, But not 7.0.3.0. Choice is your :).

All the Best & Happy Flashing
[Xiaomi Mi 4i] 99.hemanth:
---

I was not able to restore my apps using Titanium bckup ... not sure why TB was not detecting my backed up folder whatsoever ... could u suggest me any other methods to restore my backedup apps ....:mad:
[Xiaomi Mi 4i] davtse:
titanium backup works fine. you might need to redirect it to your back up folder in preferences. Something else to try is to switch to Supersu instead of privacy guard although both works fine for me
[Xiaomi Mi 4i] rohanchrome:
Daily Driver

I did not face any issues so far, except the camera can't be connected thing. Happens very rarely though. :)
[Xiaomi Mi 4i] valenrock:
Bugs :

1. edit tiles on quick setting panel

2. FC on app notification

3. Vibration soft key always on

4. SystemUI sometimes FC after switch bluetooth on.

5. Dt2w not working

6. ambient display not working

7. Notification sounds too small for me, i dont know with someone else.

Overall the rom run very smooth.

LTE work like a charm.

Signal good.

Good battery life.

Xposed framework working good.

Waiting for next awesome build.

Thanks dev, keep rockin..\m/

sent by my fingers
[Xiaomi Mi 4i] ak980:
Waiting for next build too
[Xiaomi Mi 4i] rohanchrome:
Can't change network

Can't change network from 2G to anything in the phone testing thing, and can't change it from LTE in settings. I'm only getting 2G networks.
[Xiaomi Mi 4i] anik.debnath:
Anyone please provide me with the Google Drive link of this ROM please. Eagerly want to try CM13, but I cant download from other hosts except Google Drive/Basket Build due to some limitations.
[Xiaomi Mi 4i] hashroot:
flashed this build everything was working than i flashed opgapps pico setupwizard fc

edit: flashed slimzero gapps everything works smooth af
[Xiaomi Mi 4i] valenrock:
I flashed opengapps pico after flash the rom,everything good...u have to flash gapps right after flash the rom,then reboot...

sent by my fingers
[Xiaomi Mi 4i] Toruk.Makto:
+1
[Xiaomi Mi 4i] ajaxcbcb:
is ur facebook still crashing after the fix you've recommended?
[Xiaomi Mi 4i] pramyhoga:
No, i am not facing any FC again on FB or Messenger.

And for anyone who want to activate DT2W just use script from Sensei Kernel's owner, thats worked.

This is the link :

http://xdaforums.com/showpost.php?p=62420527&postcount=2

Find last spoiler in "Enabling Features".
[Xiaomi Mi 4i] Toruk.Makto:
Could you please explain a bit, where to go and type that command to enable DT2W ???
[Xiaomi Mi 4i] pramyhoga:
I am editing file "wakeup_mode" on location

/sys/devices/soc.0/78b9000.i2c/i2c-5/5-004a/

The original file contain value "0". What i am doing is only change it to "1".

Turn of screen and try to double tap on screen.

FYI.

I tried that on Sensei Kernel. Idk if it will work on default kernel. But you may try your luck :)
[Xiaomi Mi 4i] haikalizz:
Settings -> Developer Settings -> Local Terminal

That will enable a terminal, find it in the apps drawer. Open it and type the command
[Xiaomi Mi 4i] pramyhoga:
Here is Detail temporary fix for FB and Messenger's FC (which i havent mention it earlier) :

First try open FB and Messenger and let them FCs.

Find file /data/data/com.facebook.katana/lib-xzs/libsslx.so,, rename or delete it.

Find file /data/data/com.facebook.orca/lib-xzs/libsslx.so, rename or delete it.

U can use es file explorer or root explorer to do this.
[Xiaomi Mi 4i] Toruk.Makto:
I'm doing something wrong ??? Sorry for being noob.
[Xiaomi Mi 4i] Toruk.Makto:
Duplicate
[Xiaomi Mi 4i] ajaxcbcb:
smooth initially. until i installed xposed, and then random reboot steps in.
[Xiaomi Mi 4i] valenrock:
Installed xposed also, but no random reboot at all. What module r u using rite now?

sent by my fingers
[Xiaomi Mi 4i] ajaxcbcb:
snappref, gravitybox
[Xiaomi Mi 4i] valenrock:
Try to uninstall the module,see if it solved the issue. As i know gravitybox not compatible with CM...

sent by my fingers
[Xiaomi Mi 4i] sykomaniac:
You need to type su first to run it as root user
[Xiaomi Mi 4i] Toruk.Makto:
still same. :(
[Xiaomi Mi 4i] valenrock:
Do it manually..find the path of the file,then change the vallue..

sent by my fingers
[Xiaomi Mi 4i] sykomaniac:
Did it prompt for root access?
[Xiaomi Mi 4i] Toruk.Makto:
Yes, and I allowed it.
[Xiaomi Mi 4i] sykomaniac:
Hmm works for me. Are you using stock kernel or sensi?
[Xiaomi Mi 4i] haikalizz:
you forgot to put "wakeup_mode" at the end of the command.
[Xiaomi Mi 4i] chongns:
echo 1 have been space between it
[Xiaomi Mi 4i] Toruk.Makto:
Will wait to get fixed in next build :p. I'm a Network Engineer, don't know coding stuff much.

But I really appreciate you guys for always being helpful & for your prompt responses. cheers :)
[Xiaomi Mi 4i] faizauthar12:
Well ._. Maybe u can read ril stuff?
[Xiaomi Mi 4i] Toruk.Makto:
Woah.. Not that. I mean Data Networking. Have you ever heard Cisco ???
[Xiaomi Mi 4i] candiesdoodle:
hey.. the location is still not working after deleting this.any other tricks? the rom works great with location off.
[Xiaomi Mi 4i] ajaxcbcb:
Logcat to snapchat fc.
[Xiaomi Mi 4i] Toruk.Makto:
Any one observed random signal drops or low signal strength???
[Xiaomi Mi 4i] arth_vish:
3G network H+ and OTG problem. I'm getting only H signal in my 3G network instead of H+. Tried changing setting in phone testing option, but no use. Also tried my OTG pendrive and it wasn't recognized!

Anyone facing these probs?
[Xiaomi Mi 4i] davtse:
its just a cosmetic defect... use gravity box and enable + sign for hspa and you'll see it
[Xiaomi Mi 4i] Bitti09:
are you sure?

The missing icon is already in cm13 source and its working on mi3w : http://review.cyanogenmod.org/#/c/123099/
[Xiaomi Mi 4i] fire855:
The commit was merged after I made my build.

If I find time I will do a new build in the next days.
[Xiaomi Mi 4i] zloymalefic:
Please, could you update the head of the theme after creating new build?

Thanks!
[Xiaomi Mi 4i] davtse:
Yes I'm sure. Check the network in status and see for yourself. I had to use gravity box to enable the + sign myself. Take note h+ will only be triggered when the network is active.
[Xiaomi Mi 4i] Bimalhort:
I have also OTG problem. my pendrive was also not recognized.
[Xiaomi Mi 4i] sykomaniac:
Can I check if your changes were merged into dh's repo?
[Xiaomi Mi 4i] pramyhoga:
OTG not work too on my devices. Tried some mods but not succeed :)

Maybe OTG is not fixed yet by dev. So we can wait dev fix this :)
[Xiaomi Mi 4i] Ramabi77:
Use es explorer
[Xiaomi Mi 4i] anik.debnath:
bump!!

Please anyone upload this build to google drive,,
[Xiaomi Mi 4i] Bimalhort:
Are you sure, OTG will work in es explorer.
[Xiaomi Mi 4i] Ramabi77:
yes, and it shows as USB, not OTG.

i will post some images later, i'm at work and didn't bring my OTG adapter
[Xiaomi Mi 4i] arth_vish:
Got USB folder in Es explorer. Thanks. Donno how to take screenshot
[Xiaomi Mi 4i] ƒεηιx:
Power+volume down button.
[Xiaomi Mi 4i] pramyhoga:
Thanks for the tips. It is working. Have been using es explorer since first day but i just dont know where

Usb otg menu :)
[Xiaomi Mi 4i] rohanchrome:
How is everyone able to use 3G? :eek:
[Xiaomi Mi 4i] ajaxcbcb:
Lte and 3g has no issue. Check ur apn
[Xiaomi Mi 4i] davtse:
and if you still have problems, go into select network and register on the correct one. i was stuck on 2g for a while until i managed to figure this out
[Xiaomi Mi 4i] Ramabi77:
i had this problem too.

like, in sim 1, i can't get 3G or LTE, but in sim 2 i only got LTE and can't change it to 3G nor 2G.
[Xiaomi Mi 4i] anik.debnath:
Awsome ROM

The ROM is butter smooth and transitions are a pleasure to watch. Found few already mentioned problems.

1. Facebook and Messnger FC-es even after deleting that libsslx.so thing from data. It opens fine and then fc-es after sometime. Upon checking, observed that the deleted files of libsslx.so are automatically regenerated.

2. Wifi is getting turned on automatically and wont turn off easily.

3. Any of the SIM can't be deactivated and Only option of LTE preferred, thus low browsing speed in 2G. Tried that *#*#4636#*#* thing, but it was unable to change WCDMA preferred mode, even after turning off radio.

4. FM radio is not working, FC-ing everytime.

5. Default camera is causing FC's, Usd google camera, all fine.

Ambient Display is partially working for me, partially because it works when I pick up the device, not when notifications arrive.
[Xiaomi Mi 4i] fuzaru:
sorry what the meaning of WIP?

is this rom can be used for daily use?
[Xiaomi Mi 4i] haikalizz:
WIP = Work in progress

yes it is ready for daily use but I would recommend reading through all posts in here to get fixes, what bugs are present and other stuff. Flashing instructions are just like all the roms here...
[Xiaomi Mi 4i] vijayr2002:
Is it necessary to Downgrade to 5.6.11 or is it fine to install CM13 over 6.6.10.0 (Stable)

Thank you.
[Xiaomi Mi 4i] faizauthar12:
yes,it's fine to install cm13 from 6.6.10.0 (including all rom too)
[Xiaomi Mi 4i] vijayr2002:
Thank you. :)
[Xiaomi Mi 4i] candiesdoodle:
Any update on location service?

Are you guys able to use location. I was getting reboots...
[Xiaomi Mi 4i] valenrock:
been using this rom for more than a week, no issue with location service, i dont know why ,but i was able to use location on my device without any reboots.

sent by my fingers
[Xiaomi Mi 4i] hashroot:
usb otg isn't working

stock kernel is battery sucker

sensi kernel ftw!
[Xiaomi Mi 4i] ajaxcbcb:
Is your location on high accuracy?
[Xiaomi Mi 4i] lineoxkun:
where is the latest build?
[Xiaomi Mi 4i] sayantandas:
Can you please update the first post with all the updates? As far as I can see the second build is working fine with occasional reboots and fcs for FB, camera and FM radio. Calls coming in fine on both sims and data is working. Battery backup is good with 3+ hours of music via Google play music. Lasts more than 14 hours for me .

Must add I can book Uber and Ola from this ROM. So location is working. Occasional reboots are there.
[Xiaomi Mi 4i] fire855:
I created now a new thread with my newest build from today. I fixed there the network selection and tap2wake. Also it includes all changes from the CM upstream so some crashes (for example in the settings app) are fixed.
[Xiaomi Mi 4i] hashroot:
https://www.androidfilehost.com/?fid=24269982087016618
[Xiaomi Mi 4i] anik.debnath:
Please anyone upload todays build in Google Drive..
[Xiaomi Mi 4i] ajaxcbcb:
i found a fix for gps. is due to agps issue.

flash the zip and pls credit the dev.

after flashing the zip. my gps is good to go again.

http://xdaforums.com/google-nexus-5/general/mod-gps-quick-fix-agps-ntp-global-t2645234
[Xiaomi Mi 4i] 99.hemanth:
Thanks !

Can u provide link to new thread pls

Edit: got the link !!
[Xiaomi Mi 4i] haahaaah:
No need flashing v6 viafastboot.

If u from latest stable miui rom, just....

- Install twrp.

- install xiaomi EU v6 firmware via twrp.

- flash this cm 13 rom.

- done.
[Xiaomi Mi 4i] Toruk.Makto:
and what is this ? From where I can get it ?
[Xiaomi Mi 4i] haahaaah:
Go here >> xiaomi.eu/community/threads/5-12-31.29247/

Choose: DOWNLOAD STABLE (W/O ROOT, NO WEEKLY UPDATES)

There two files, v7 and v6. Choose v6.

EDIT : the rom from xiaomi eu including gapps. No need gapps!!.