yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 4i] omerjerk:
Release 2.1

Download : http://www.mediafire.com/download/vsprio1573t5gv8/cm-13.0-20160108-UNOFFICIAL-ferrari.zip

Instructions:

1. In case, you're on my CM13 build already, a data wipe isn't required. Else it is.

2. Install the zip.

3. Install open-gapps.

4. Reboot to System.

5. Just after booting, you'll be seeing a crash dialog box. Just close it and go to file manager and delete qti-telephony-common.jar inside /system/framework. (Really sorry for this issue :( )

This basically contains updated CM sources.

Some of the changes are -

Sounds Settings crash fixed

A lot of changes in SIM card settings

Sim disabling completely removed (more on this in this later)

Browser crashes fixed

Busybox removed - they included toybox in place of this. Some root apps may crash. Blame CM.

A lot of internal changes which I'm not aware of as of yet.

As for the not able to disable SIM bug, I sent a patch to CM to start fixing it, but they want to just remove this feature at all. The trade off for efforts required versus the feature are not worth it according to them. Link to patch - http://review.cyanogenmod.org/#/c/126952/
[Xiaomi Mi 4i] Rajat Naik:
Unable to detect sim cards. Getting the crash message all the time.

Tried to delete qti-telephony-common.jar through file manager but getting message "operation failed" :(
[Xiaomi Mi 4i] ƒεηιx:
goto devloper setting and enable root access then then change the access mode in file manager safe to root access mode and then delete the qti-telephony-common.jar
[Xiaomi Mi 4i] Rajat Naik:
It worked.

Thanksss:)
[Xiaomi Mi 4i] ajaxcbcb:
Has anyone tried xposed? New build seems to overheat alittle
[Xiaomi Mi 4i] candiesdoodle:
eager to try the new build!!

any feedback on location causing reboots..?
[Xiaomi Mi 4i] ajaxcbcb:
Location is good since the previous build.
[Xiaomi Mi 4i] Rajat Naik:
One of the bugs i have found is that sometimes i get heads-up notifications even though i have disabled it.

And battery life is poor:(

Also when i try to set a picture in the gallery as the wallpaper, trebuchet crashes.
[Xiaomi Mi 4i] jelennn:
Location problem still exist.
[Xiaomi Mi 4i] guardiolija:
hi. would be added snapdragoncam (Snapcam)? with more options like slow motion ... etc ... in the MI4C the CM13 ROM are added up and running perfect. thanks guys
[Xiaomi Mi 4i] ak980:
Feature requests :

Snapdragon camera

Home screen animation

The fix of flashlight

Notification of ur update in settings<cyanogen mod updates

Option to remove su icon on status bar

Option to show headset icon on status bar

And can u pls make the front camera brighter I don't see any diff in exposure of +1 and +2

And why is the video mode also dark

Please fix these

Thanks in Advance :good:
[Xiaomi Mi 4i] guardiolija:
good guys days. I leave the link to the apk Snapcam ... and I've had in mi4i and funcionana perfectly ... is a flashable zip. enjoy it!

https://mega.nz/#!Zt5S2bwA!TNmwuRXWFzNomPfrcrneVdB0Uy8YdJf0tNmr7YiQ-Y0
[Xiaomi Mi 4i] faizauthar12:
request to cyanogen to add it to cyanogenmod rom

don't repeat ,and repeat problem bro

it's bothering

home screen animation

what??

it's marshmallow ,ask to cyanogen mod team :p
[Xiaomi Mi 4i] ak980:
U don't know what home screen animation is??
[Xiaomi Mi 4i] faizauthar12:
It's related to cyanogen team dude
[Xiaomi Mi 4i] ak980:
Nice camera

But closes when trying to take a video

Any fix for that
[Xiaomi Mi 4i] guardiolija:
you are right, when you're recording video exits. I am not a developer, I've only taken the apk mi4c ROM. the developers of this rom the look and tinkering please. thank you
[Xiaomi Mi 4i] Gengstar:
Oh

I'm not able to delete qti-telephony.jar using ES Explorer , granted root access too.
[Xiaomi Mi 4i] Rajat Naik:
Try using the stock file manager.

It worked for me.
[Xiaomi Mi 4i] ak980:
Its maybe because You didn't enable root explorer on ES
[Xiaomi Mi 4i] guardiolija:
good morning. I'm using facebook v.30 and crash. some solution please? and the latest release 2.1 is in tar format. as installed? I expected a zip to flash for recovery. thanks.
[Xiaomi Mi 4i] Gengstar:
Snapchat

hey , can you please fix the snapchat application , it just crashes as we open it and the phone starts to reboot .

I loved your ROM , Battery life is perfect not one random reboot in 12 hours besides whenever I try to open snapchat , please fix it when you get some free time. Or can anyone provide a solution ?
[Xiaomi Mi 4i] Rajat Naik:
Can anyone give me a download link of gapps other than opengapps if anybody is using and that works fine with this rom.
[Xiaomi Mi 4i] haikalizz:
go to /data/data/com.facebook.katana/lib-xyz/libssl.so <- Delete this...

also tar is a type of zip format, you can flash it normally...
[Xiaomi Mi 4i] Gengstar:
Go to http://opengapps.org/ and choose ARM64

Android 6.0 and any of the packs you wish to

micro and mini both did the work for me , had almost everything .
[Xiaomi Mi 4i] faizauthar12:
[MENTION=4832023]omerjerk[/MENTION]

this seems good : patches to RIL

take a look,maybe it will works at ferrari
[Xiaomi Mi 4i] guardiolija:
Thanks crack. facebook works fine now. but I changed the tar Release by zip and I flashed and now I get this and not even let me get the pin code. thank you
[Xiaomi Mi 4i] anbuchelva:
Slim gapps

I'm using Slim zero gapps.. You may try from here http://104.236.22.120/gapps/marshmallow/6.0/
[Xiaomi Mi 4i] omerjerk:
Our issue with RIL is pretty huge. That patch is for something else.
[Xiaomi Mi 4i] guardiolija:
Video in this version work good.

Snapgradon cam v2 https://mega.nz/#!d5QGkbTY!1WKXFDwUc9xOJzZMg_Zg_rSmiAB95rUUBVSQfXcPkt8

No work panoramic photografh.
[Xiaomi Mi 4i] ƒεηιx:
goto devloper setting and enable root access then then change the access mode in file manager safe to root access mode and then delete the qti-telephony-common.jar inside /system/framework .
[Xiaomi Mi 4i] dreamedofworld:
Hey, I had this issue of fire855's ROM. Fixed it by using version 9.18.0.0 Beta from apkmirror.

It still crashes if you try to livechat, though.
[Xiaomi Mi 4i] Gengstar:
Dint help me, Not even with stories or just opening the camera , immidietly crashes when it opens
[Xiaomi Mi 4i] anbuchelva:
Reboot while using maps

Hi,

I am facing reboot issue while using google maps > navigation. Can someone pls suggest a fix?
[Xiaomi Mi 4i] angrybambr:
Hello,

I faced with a great power consumption caused by Bluetooth (using it for connecting with Mi Band).

I see this on two last January versions of firmware (it was fine on December build).

Has anyone saw such issue?

PS. Restart (both soft/full) didn't help. Haven't tried factory reset yet (because I hate to configure everything from the very begin :) ).

Also.. is there any way to prohibit access to the location for a Camera app?

Thanks
[Xiaomi Mi 4i] haikalizz:
Devs could you brief me how to build a zip package? should I run make otapackage? Successfully build AOSP 6.0.1 in img form...
[Xiaomi Mi 4i] Toruk.Makto:
It's for CM11, 2nd last topic : Here

Please pardon me if you know already. I'm just trying to help. :)
[Xiaomi Mi 4i] faizauthar12:
Yep otapackage

If u type make ,it will not make flashable ...
[Xiaomi Mi 4i] ƒεηιx:
On server we used make bootimage -j8 for kernel img and for rom zip we used nake bacon -j8 Don't know about home build.
[Xiaomi Mi 4i] faizauthar12:
Make bacon is not supported on aosp source

Brunch is not available too

So u need to lunch device

And make otapackage
[Xiaomi Mi 4i] haikalizz:
alright thanks.. also I'm getting problems building libpac... an Unknown ELFCLASS error... Anybody faced this before?
[Xiaomi Mi 4i] faizauthar12:
Anyway ,u need to adapt cm device tree to aosp,some config at boardconfig is different

Which kernel u used?
[Xiaomi Mi 4i] haikalizz:
already did adapted the device tree to aosp... Upload on my gitlab here : http://gitlab.com/webhaikal/android_device_xiaomi_ferrari
[Xiaomi Mi 4i] ak980:
Ya I have the same issue when my phone was connected to my YU band via Bluetooth it took 20℅ battery in just 5 mins

---------- Post added at 11:50 AM ---------- Previous post was at 11:48 AM ----------

I have encountered another issue when the phones charged to a 100% the green light is always on even after plugging the cable out it still shows charging and after I rebooted the phone I had only 20% left

Very strange :(
[Xiaomi Mi 4i] Rajat Naik:
Does anyone know how to get the ambient display working properly:what:
[Xiaomi Mi 4i] Xornop:
Little bit off topic, but please, can anybody explain what is happening to my phone?

After flashing a different kernel a while back, every time I install a non-stock ROM my battery does something really weird, usually after about 3 days. It charges to 65%, and then (still plugged in) discharges all the way, my phone shuts off, I have to wait about 2 hours, (probably to drain my battery to a real 0% charge. Only after this, I can recharge it, and it will happen again about 3 days later.

Fun part is, however, as soon as I reflash the stock ROM everything is fine and working again, as it should.

I have this problem with literally all ROMs for the Mi4i, and yes I've tried almost all of them.

Somebody explain me how this is possible, because I really don't know. I mean it can't be a battery problem because then I would have the same issue on stock ROM.

I know this thread (and forum) is filled with smart people who know more than me about ROMs, please help me!? Indeed I am desperate...
[Xiaomi Mi 4i] Rajat Naik:
Don't know how you are flashing back the stock rom but you can try flashing the stock miui rom by fastboot using flash_all.bat which will clear all user data and internal storage. This will give you a fresh new start and the bug you have may also get cleared.
[Xiaomi Mi 4i] anbuchelva:
Have you flashed crayon tweaks? If yes, that may be the reason. It's a facility who always plug the phone into charger. Pls see the screenshot.
[Xiaomi Mi 4i] Xornop:
I have once flashed his a while back, but after restoring stock rom this should be gone, right? Also I am not sure how you relate my problem to this? I do not always have my phone plugged in, and charging doesn't start below 20 when the problem occurs, it just drains the battery, even quicker when plugged in.
[Xiaomi Mi 4i] anbuchelva:
You are right, after flashing stock os it should be gone. Please try flashing only the ROM (CM or other custom firmware), don't flash any custom kernel and see the problem persists.
[Xiaomi Mi 4i] Xornop:
Thats exactly what I tried several times... That's why I'm here. My phone simply does not seem to support anything other than stock miui6/7. Maybe it has something to do with the stock 6.6.6.0/6.6.10.0 every rom dev wants us to flash beforehand
[Xiaomi Mi 4i] Ramabi77:
After delete this, i can't make a phone call, any suggestions?
[Xiaomi Mi 4i] Rajat Naik:
Try again after rebooting your phone
[Xiaomi Mi 4i] Ramabi77:
i've been reboot it several times but no changes. i'm not using any custom kernel or crayon.

i really love this rom, but can't make a phone call, i can't recommend it for daily usage. are you or anyone else facing this issue?

Edit : after flashing 6.6.10 via fastboot, and then CM13+gapps, delete qti-telephony-common.jar, reboot once, still can't. reboot twice and everything's works fine.

thanks, now it's the best CM for mi4i, and second best custom rom after ressurection remix (IMO)
[Xiaomi Mi 4i] angrybambr:
Hi guys,

Any thoughts about high power comsumption caused by BT(I wrote about it few days ago)?

At least 2 people confirmed they has the same issue.

Thank you.
[Xiaomi Mi 4i] dark_dayZ9:
Guys fed up with this random reboot , does anyone know a fix on this :crying:
[Xiaomi Mi 4i] sesdave:
Try fire855 v6.0.1 - I installed miui 5.8.11 wipe then this rom and gapps . Runs very nicely for me as a daily driver. No reboots so far.
[Xiaomi Mi 4i] c2b2:
I installed this ROM and then gapps (open_gapps-arm64-6.0-nano-20160123). When I rebooted the phone, it started giving the popup "Setup Wizard has stopped working". When I would press OK, the popup would reappear thereby going in a loop.

I implemented the solution mentioned in the link:

http://forum.cyanogenmod.org/topic/118479-cm13-setup-wizard-has-stopped-working/

The popups about setup wizard and google play services not working still appear many times but disappear in less than a second.

Has anyone faced this? And is there a permanent fix to this?
[Xiaomi Mi 4i] Bitti09:
Tried to flash gapps again directly after cm flashing?
[Xiaomi Mi 4i] c2b2:
The steps were as follows:

1. Flashed CM

2. System reboot

3. Flashed wrong version of gapps (I had erroneously flashed x86 version)

3. System reboot

4. Flashed correct version of gapps

5. System reboot
[Xiaomi Mi 4i] Bitti09:
1. Reboot to recovery

2. Flash cm

3. Flash gapps

4. Wipe cache

5. Reboot to system
[Xiaomi Mi 4i] c2b2:
Thanks, just 1 query. Will doing this wipe all my installed apps and data? After installing gapps I've installed tons of apps.

Also, might be off-topic, but is there any good free app to backup all apps and corresponding user data?

---------- Post added at 07:26 PM ---------- Previous post was at 07:24 PM ----------

I noticed that Contacts does not appear under Accounts > Google (I had installed the nano version of gapps). How do I get it to appear under accounts...?
[Xiaomi Mi 4i] c2b2:
Did this. The apps and user data were retained, but Google Play services popup kept on coming.

Then I changed permissions of Google Play Services and gave it all possible permissions. This has reduced the appearance of the popup a bit, but the popups are still irritatingly frequent.

I managed to get contacts to appear under accounts>Google by doing the following:

- go to settings -> apps

- three dots

- show system

- google contacts sync

- permissions

- allow Contacts

- reboot phone
[Xiaomi Mi 4i] c2b2:
"Google play services has stopped working" error keeps on popping up very frequently. Also, Google related services like google now cards, google play store etc. do breakdown quite frequently :confused:
[Xiaomi Mi 4i] ak980:
I'm waiting for the next build
[Xiaomi Mi 4i] Ramabi77:
I got soooooo many random reboots in last few hours, the first reboot happen when i receive a phone call while my phone connected to PC, and it happen again and again at least 20 times in last 4 hours, will reflashing fix this?
[Xiaomi Mi 4i] ajaxcbcb:
did u install xposed? is ur tuning not accurate?
[Xiaomi Mi 4i] Ramabi77:
I'm just installed sensei kernel, with gaming tuned, until yesterday i have no problem at all, then the random reboots happen, i've been using this rom+sensei for more than 5 days if i'm not wrong
[Xiaomi Mi 4i] dreamedofworld:
I'm using the miband + the Bluetooth in my car. The battery settings/stats show very high consumption for Bluetooth but that's not accurate at all. It's a big with battery reporting and not with the Bluetooth itself.

PS, I'm using fire855's ROM.
[Xiaomi Mi 4i] angrybambr:
Im pretty sure that its not only battery statistic bug. With BT enabled Im loosing abot 20% of battery per hour in non active mode. Its not good I think

PS. Im on Omerjek's latest build now
[Xiaomi Mi 4i] jelennn:
Hello :)

I'm writing to you with question about Xiaomi Mi4i support. Do you know something about future software support? Xda developers forum for Mi4i died. Nothing is going on.

@dh.herald doesn't write anything, [MENTION=4832023]omerjerk[/MENTION] doesn't log to forum, [MENTION=4869275]thewisenerd[/MENTION] doesn't reply for messages. Do you know anything about this topics? Do you know anything about future support? Is it possible? I'm very dissapointed. We have very interesting and unbelievable phone, but absolutely without support and good software. Lollipop and also Marshmallow...

Sorry for trouble.

Have a nice day! :)
[Xiaomi Mi 4i] davtse:
check their github to see if there are any updates. its in the first/second post for every rom
[Xiaomi Mi 4i] BMW1000RR:
Do we flash this ROM using TWRP recovery ?

I flash the firmware "firmware-lp-6.6.10.0" from TWRP ...Reboot to recovery

Wipe > Dalvik Cache > System > Cache

Install > ROM ....and I get this error "E: Error executing updater binary in Zip'/sdcard/cm-13.0-20160108-UNOFFICIAL-ferrari.zip"

"Error flashing zip '/sdcard/cm-13.0-20160108-UNOFFICIAL-ferrari.zip"

Please help , It will be great if someone can post a small video or clear step by step instruction inducing detailed step by step Instructions for newbie like me.
[Xiaomi Mi 4i] jelennn:
I know that, but on github nothing is going on. Therefore my questions...
[Xiaomi Mi 4i] davtse:
if that be the case then there's no progress on the rom.. it's the fate of those who choose a phone that is unpopular with developers and unsupportive OEMs. unfortunate for us but yea.
[Xiaomi Mi 4i] BMW1000RR:
Any HELP on this will be much appreciated, What am i doing wrong ? I am unable to flash this ROM

1. FastBoot flashed "ferrari_global_images_5.6.11_20150521.0000.3_5.0_global_524d0b4c47"

2. ROOTED

3. Flashed TWRP Custom recovery

4. Flashed SUPERUSER

5. Flashed this "firmware-lp-6.6.10.0" from TWRP

6. Flashed "cm-13.0-20160108-UNOFFICIAL-ferrari"

But I keep getting "E: Error executing updater binary in Zip'/sdcard/cm-13.0-20160108-UNOFFICIAL-ferrari.zip"

"Error flashing zip '/sdcard/cm-13.0-20160108-UNOFFICIAL-ferrari.zip"

:(:(:(:(:(:(

Anybody out there who can shed some light on this, Thank you.
[Xiaomi Mi 4i] Rajat Naik:
Why would you flash superuser.

Use the mi4i toolkit to root the device and then flash twrp 2.8.7

And skip your step 4 and 5.
[Xiaomi Mi 4i] faizauthar12:
I will told you , android development it's for hobbies ,not a primary job :p
[Xiaomi Mi 4i] BMW1000RR:
I am using Mi4i ToolKit by Magdag one tool with all options like ROOT, Flash TWRP, Backup , Restore ....etc in which there is TWRP with 2.8.6.0 so if say TWRP 2.8.7.0 where to find this version and it will be great if you could refer some web links.

Thank You.
[Xiaomi Mi 4i] faizauthar12:
Xda rules

Search before asking

Use fastboot method ,
[Xiaomi Mi 4i] Rajat Naik:
There is a thread in android development section on twrp 2.8.7 by dh.harald

http://xdaforums.com/showthread.php?t=3204594
[Xiaomi Mi 4i] BMW1000RR:
Thank you. You have been very helpful

---------- Post added at 07:32 AM ---------- Previous post was at 07:31 AM ----------

Thank you Rajat, appreciate your time.
[Xiaomi Mi 4i] ichsan_indo:
Line messanger force stop

Any install LINE MESSANGER in this rom? How to fix for not FC again and again ???
[Xiaomi Mi 4i] GaTTo0:
please, can some one explain to me way we have tow CyanogenMod 13 threads?

I think it will be more efficient to have only one and focus the effort on one release

Thanks
[Xiaomi Mi 4i] ZubairA_786:
Can you install Zenfone's camera on this ROM (Like the pixelmaster app) or it is totally incompatible with Mi4i?
[Xiaomi Mi 4i] omerjerk:
Hey.

I've a bad news.

I won't be able to continue the development. I think [MENTION=4761533]fire855[/MENTION]'s ROM is pretty much good anyways. Also, [MENTION=4869275]thewisenerd[/MENTION] will continue maintaining CM12.1 I guess.

I moving to Moto G Turbo.
[Xiaomi Mi 4i] D4rkCyb3r:
it is a big blow to mi4i community :( but still appreciated all your work man.
[Xiaomi Mi 4i] kanishk @Mi4i:
well this had to happen . I mean such a bad phone and guys at xioami call it a flagship . nice to hear you are switching to turbo but aint it having the same 615 soc !
[Xiaomi Mi 4i] davtse:
Not really.. The mi4i was never meant to be a flagship. The flagship range for xiaomi is the mi note range. The 615 is not a bad soc. Its just how its implemented.
[Xiaomi Mi 4i] bcsmithun:
when will we get new update of it Friends....!
[Xiaomi Mi 4i] angrybambr:
I think never. Omerjek left to work on firmware for another device. Try Fire's build or Resurection Remix build
[Xiaomi Mi 4i] sik619:
fb n messenger problem

fb and messenger are not working.. please tell the solution for it.
[Xiaomi Mi 4i] zerocool420:
does it supports VoLTE???
[Xiaomi Mi 4i] Arif Yeeha:
Ask

Is there any way for me to use mi cloud on CM13 [6.0.1]?

Coz I already backed up my photos and videos on mi cloud with sync it from my phone.

Anybody can help me? :)
[Xiaomi Mi 4i] k2wl:
this is incomplete log.

can you post it from the start. (from boot up)
[Xiaomi Mi 4i] omerjerk:
But this is what is crashing.

No point in the log from boot up.

We either need to write a wrapper or replace this with some other file which works perfectly,
[Xiaomi Mi 4i] 99.hemanth:
Appreciate your efforts dude !!! :fingers-crossed:
[Xiaomi Mi 4i] dh.harald:
Like [MENTION=943196]k2wl[/MENTION] said, look at the radio log... That's the real reason, why rild crash.
[Xiaomi Mi 4i] omerjerk:
Okay. I'll have a look at that.

But still I think using tools like gdb and strace will prove more helpful since this is a segfault inside the .so file.
[Xiaomi Mi 4i] 99.hemanth:
[MENTION=4832023]omerjerk[/MENTION] - Any update on releasing the CM 13 friend :o
[Xiaomi Mi 4i] hashroot:
don't ask for ETA, follow XDA's rules

P.S don't spam development thread
[Xiaomi Mi 4i] Toruk.Makto:
Instead of putting it into every thread, You can create your own.

It's just a suggestion, rest is up to you. Piece :)
[Xiaomi Mi 4i] omerjerk:
Sorry guys for not posting any updates. :(

I'm having my exams until 3rd of December. Will resume my work after that.
[Xiaomi Mi 4i] blazesachdeva:
All the best for ur exams ;)
[Xiaomi Mi 4i] dh.harald:
Hi

Here's my new radio logcat... one step further...
[Xiaomi Mi 4i] shyamk:
12-03 11:13:12.599 304 407 E RILQ : (0/304): RIL[0][main] qcril_qmi_init_core_client_handles: qcril_qmi_presence_init returned failure(-3)

12-03 11:13:12.879 369 490 E RILQ : (1/369): RIL[1][main] qcril_qmi_init_core_client_handles: qcril_qmi_presence_init returned failure(-3)

12-03 11:13:13.129 304 407 E RILQ : (0/304): RIL[0][main] qcril_qmi_nas_init: QCRIL_OPERATOR_NAME is persist.env.spec, property_name is persist.env.spec. Failed to get operator name

Looks like qmi ril did not load properly

Shyam
[Xiaomi Mi 4i] k2wl:
what is output of

and we need to fix

E RILQ : log to /data/misc/radio/ril_log for QCRIL logging is not enabled
E RILQ : (0/304): RIL[0][rild] qmi_ril_peripheral_mng_init: Failed to register for modem
I RILQ : (0/304):RIL[0][rild] qmi_ril_qmi_client_pre_initialization_acquire: entry
I RILQ : (0/304):RIL[0][rild] qmi_ril_qmi_client_pre_initialization_acquire: exit
[Xiaomi Mi 4i] dh.harald:
if i'm starting rild manually, it's exited with 255, because rild socket is missing... If I start it via svc (start ril-daemon) it runs fine.

(permission denied for /dev/diag etc, but if I fix the permissions, the results are same)

I've tried a lot of debugging stuffz, strace, but i think, the problem is in telephony, not in rild...

I'm using this rild on 5.1.1 for a couple days without issues... (i didn't tried to 3G/4G, only for voice calls/texts)

I'm trying to bring up my kernel, maybe the problem is in the kernel, i'm done with selinux, zmalloc/zram, binder is next...

if you check your device's start in L, you can see same error messages:

E/RILQ ( 406): (0/406): RIL[0][rild] qmi_ril_peripheral_mng_init: Failed to register for modem
I/RILQ ( 406): (1/406):RIL[1][rild] qmi_ril_qmi_client_pre_initialization_acquire: entry
I/RILQ ( 406): (1/406):RIL[1][rild] qmi_ril_qmi_client_pre_initialization_acquire: exit
D/RILD ( 406): RIL_Init rilInit completed

So I think, that's not the problem
[Xiaomi Mi 4i] haikalizz:
So manually starting rild allows the phone to detect sim and make phone calls/text? If it's the kernels fault, I might look into it if I can get the kernel boot past "Starting Apps"...
[Xiaomi Mi 4i] dh.harald:
No, you can't... Thats the problem, it looks everything almost like L, but it's not working...

Same ril in L looks working
[Xiaomi Mi 4i] haikalizz:
Seems that Yureka got sim working, it has the same board and everything right? Couldn't it be based on that? Maybe start a scratch device tree and then work your way up, maybe a commit in cm12.1 broke it?
[Xiaomi Mi 4i] fire855:
Yureka has 5.1 RIL blobs. RIL was working there after applying some patches from gerrit.

[MENTION=2591365]dh.harald[/MENTION]

How did you fix the vendor ril blob crash?