yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Mini Android Development] k2wl:
https://www.androidfilehost.com/?fid=24269982087020295

@	csendre

@ alexax66

@ kryptonic rocker

@ beclosetolovedale

all others

test above build of cm13. i have added some ril stuff

http://xdaforums.com/member.php?u=5416372
[Galaxy S 4 Mini Android Development] kryptonic rocker:
downloading it now!!!
[Galaxy S 4 Mini Android Development] csendre:
SIM not detected, baseband and IMEI not showing, SIM settings FC. Logcats coming

Update: logcats attached

Update 2: in build prop changed line ro.telephony.ril_class=SerranoRIL to ro.telephony.ril_class=SerranoDSRIL Now there is no FC on SIM activation but still no cell signal, however, baseband and IMEI are now showing

Update 3: logcat2.zip and radio2.zip are logcats with changed build.prop. Unfortunately I have to go to work now :(
[Galaxy S 4 Mini Android Development] k2wl:
@csendre work come first:D

use following build.prop. and take logcats again.
[Galaxy S 4 Mini Android Development] kryptonic rocker:
1. NO SIM CARD DETECTED

2. MTP doesnt work thus one cant transfer files from computer. it is recognized but the folder appears empty.
[Galaxy S 4 Mini Android Development] csendre:
Here you go.

Not sure if relevant, but IMEI is not showing up with this build.prop (baseband yes)
[Galaxy S 4 Mini Android Development] beclosetolovedale:
Same Here...

Logcat

View attachment logcat.zip

View attachment radio.zip
[Galaxy S 4 Mini Android Development] ppawan:
Good Job @ all the testers!! Thank you K2WL for keeping the device alive
[Galaxy S 4 Mini Android Development] k2wl:
one more build of cm13

https://www.androidfilehost.com/?fid=24269982087020710

logcat and radio logcat
[Galaxy S 4 Mini Android Development] csendre:
Just keep them coming :)

Still no SIM card, logs attached

Baseband and IMEI both show. Don't know if it is important but noticed that when trying to manually turn on SIM slots, there is a pop-up message for "SUB activating" but when it fails, the message states "Deactivation failed"
[Galaxy S 4 Mini Android Development] sumansur2008:
+1, have the same fate as u. Doesn't matter, keep going@k2wl.
[Galaxy S 4 Mini Android Development] rohan007:
I faced the same issue in moto e as well. The fix for this was to remove and reinsert the sim without restarting the phone, that did the trick and sim got recognized. Sadly, that's not possible with our phones :(
[Galaxy S 4 Mini Android Development] beclosetolovedale:
First official build of CM 13 is ready for 9190 & 9195.

http://xdaforums.com/galaxy-s4-mini...i9190-i9195-cyanogenmod-13-0-s4-mini-t3276141
[Galaxy S 4 Mini Android Development] csendre:
Maybe we can try the one for 9190, I'll give it a shot later
[Galaxy S 4 Mini Android Development] IamChapita:
Try to install CM13 on my gt-i9192 but build gt-i9190

As?

Easy to install the recovery of the gt-i9190 via Odin and download the appropriate version and install this model, but Sims did not appear the same way as with the CM13 to gt-i9192
[Galaxy S 4 Mini Android Development] csendre:
You don't have to flash a 9190 recovery to flash the ROM. All you have to do is delete the first line in the updater script so it does not check for device model

---------- Post added at 02:36 PM ---------- Previous post was at 01:38 PM ----------

Tried CM 13 for 9190 and same results as AICP 11, SIM is not recognized. I don't understand this, I thought all ROM's for the 3G model should be working on ours in a single SIM configuration ....
[Galaxy S 4 Mini Android Development] beclosetolovedale:
I also tried CM 13 for 9190 on 9192. Results are same. I think that we have to wait for k2wl, until he finds a fix for 9192.
[Galaxy S 4 Mini Android Development] IamChapita:
Unless CM13 gt-i9190 not recognize the sim
[Galaxy S 4 Mini Android Development] arsm74:
should we have to change the build.prop as well?maybe there are other referneces from RIL to build.prop file?
[Galaxy S 4 Mini Android Development] csendre:
Tried that too, used the suggestions k2wl made for the AICP 11 build. Didn't work here either.
[Galaxy S 4 Mini Android Development] thallyswb:
Update? :(
[Galaxy S 4 Mini Android Development] mielletseed:
It's considered as impolite to demand updates ...

Work on it for yourself or be quiet.
[Galaxy S 4 Mini Android Development] thallyswb:
Sorry , just asked about the updates , will not be repeated.
[Galaxy S 4 Mini Android Development] k2wl:
new build is coming up for cm13

https://github.com/k2wl/android_dev...mmit/aba1152fc0c7e0cd915340d1677419b5b4f09666

i hope above commit fixes the ril.

i will post the build soon.

i need logcats and radio logcat at boot from you guys when build is up
[Galaxy S 4 Mini Android Development] k2wl:
new build cm13

https://www.androidfilehost.com/?fid=24349802275800239

test and report back with

logcat at boot and radio logcat at boot
[Galaxy S 4 Mini Android Development] niklus101:
Just tested it. Sim still doesn't work. Imma get logcats up in a while.
[Galaxy S 4 Mini Android Development] beclosetolovedale:
Sims not detected. Force close in settings mobile networks, 1 imei is shown, sim card shows deactivation failed.

Logcats from my device.

Thanks

View attachment radio.zip

View attachment logcat.zip
[Galaxy S 4 Mini Android Development] arsm74:
cm13 latest build...sim card not detected.

had the same behaviour...
[Galaxy S 4 Mini Android Development] csendre:
Here is a second set of logs in case it's needed
[Galaxy S 4 Mini Android Development] k2wl:
https://www.androidfilehost.com/?fid=24351979186684376

one more build for cm13

changelog

updated ril configuration

disabled selinux
[Galaxy S 4 Mini Android Development] IamChapita:
SIM bug solved?
[Galaxy S 4 Mini Android Development] beclosetolovedale:
Tried flashing twice, stuck at boot logo.
[Galaxy S 4 Mini Android Development] csendre:
Could not install it, it is stuck on boot animation. Will try again and also pull a logcat if I can

Update; re-downloaded and tried to install again, same result. Logcat attached, waited about 5-8 minutes.

Btw. over 20 downloads already when I tried this, and nobody made a single comment. People out there should start contributing more and not just wait for others to do the work! Pretty sad.
[Galaxy S 4 Mini Android Development] alexax66:
I had the same result
[Galaxy S 4 Mini Android Development] arsm74:
Same behaviour..Just keep them coming [MENTION=943196]k2wl[/MENTION]...we are

here to test.
[Galaxy S 4 Mini Android Development] IamChapita:
Yes, had the same result
[Galaxy S 4 Mini Android Development] thallyswb:
csendre as it does for the logs ? I would like to help!
[Galaxy S 4 Mini Android Development] csendre:
Further tests

[MENTION=943196]k2wl[/MENTION] Not sure if this helps, but here is what I've done.:

- copied /system/bin/rild from the 12.31 build into the 12.30 build

- copied /system/lib: libril.so, libril_shim.so, libsec-ril.so, libsec-ril-dsds.so and libsecril-client.so from 12.31 build to 12.30 build

- installed modified 12.30 zip

Unfortunately still no SIM. Here are the logcats from this modified 12.30 build install.
[Galaxy S 4 Mini Android Development] k2wl:
just replace telephony-common from 31dec build to 30 dec build and pull logcats again
[Galaxy S 4 Mini Android Development] csendre:
HAPPY NEW YEAR!

Here are the logs. Just to make sure I did what you were asking; I copied /system/framework/telephony-common.jar from the 12.31 to the 12.30 build and I did this in addition to the other files I copied before.
[Galaxy S 4 Mini Android Development] IamChapita:
SIM Work or not? with the method of K2wl?

Sorry for my english
[Galaxy S 4 Mini Android Development] csendre:
Unfortunately not
[Galaxy S 4 Mini Android Development] k2wl:
HAPPY NEW YEAR TO ALL

I think ril socket is denied permission by selinux

i need to fix selinux first

UPDATE -

new year start with new build

https://www.androidfilehost.com/?fid=24352994023703112

changelog

change selinux to permissive

i think this will fix stuck at boot logo issue.

now you can put logs here
[Galaxy S 4 Mini Android Development] beclosetolovedale:
Happy New year. Downloading new build.
[Galaxy S 4 Mini Android Development] csendre:
Unfortunately same results, logcats attached.

Off to bed now, finally it is 2016 here as well.
[Galaxy S 4 Mini Android Development] beclosetolovedale:
Same Here. Unfortunately my office PC's are not allowing to take logcats.
[Galaxy S 4 Mini Android Development] k2wl:
can anyone put logcat during boot with following command for 1st jan cm13 build

and output of
[Galaxy S 4 Mini Android Development] beclosetolovedale:
View attachment logcat.zip
[Galaxy S 4 Mini Android Development] arsm74:
Same results here....please let me know if more logcats are needed.

Happy new year to all....
[Galaxy S 4 Mini Android Development] csendre:
Here is my logcat as well, I tried cellular network and SIM activation while running.

With regards to running the rild command on the phone, nothing seems to happen (see attached screenshot)

There is one thing bugging me in CM 13 from the beginning. Isn't the "cellular network" setting (see attached screenshot) interfering with our dual SIM device? We need SIM activation individually and this seems to be a global setting. Also, why do we get a "Deactivation failed" and not an "Activation failed" error message when trying to activate each SUB? Isn't this coming from an issue in the code? Maybe I am completely wrong, just a thought.
[Galaxy S 4 Mini Android Development] GioBasi:
not sure did I correctly logcat or not

plug phone to pc write "adb logcat *:W > logcat.txt" to cmd.exe than reboot phone and than write logcat.txt to cmd.exe and save ?

Happy New Year

And Thank you for supporting s4minids
[Galaxy S 4 Mini Android Development] alexax66:
I tested latest build CM13.1 and found next problem with ril:

root@serranodsdd:/storage/emulated/0 # rild
CANNOT LINK EXECUTABLE: cannot locate symbol "_ZN7android6Parcel13writeString16EPKtj" referenced by "/system/lib/libril.so"...
page record for 0xb6f7500c was not found (block_size=16)
root@serranodsdd:/storage/emulated/0 #

P.S.

I found solution for CANNOT LINK EXECUTABLE: cannot locate symbol "_ZN7android6Parcel13writeString16EPKtj" referenced by "/system/lib/libril.so"...:

http://xdaforums.com/showpost.php?p=63288490&postcount=2863

https://github.com/mickybart/androi...mmit/8e9d34326128ec2b39e543e016ec21342d1c3deb
[Galaxy S 4 Mini Android Development] k2wl:
but i think we already have libril shim lib which has _ZN7android6Parcel13writeString16EPKtj

https://github.com/CyanogenMod/andr...ano-common/blob/cm-13.0/libshims/ril_shim.cpp

anyway i will try the patches from @mickybart

will build right away!!

UPDATE

new build with patches suggested by @mickybart and [MENTION=5925090]alexax66[/MENTION]

https://www.androidfilehost.com/?fid=24352994023703797
[Galaxy S 4 Mini Android Development] alexax66:
Hm, the fault "cannot locate symbol "_ZN7android6Parcel13writeString16EPKtj" " disappeared after applying patches from @mickybart and rild works, but sim don't work :(

Full log:
[Galaxy S 4 Mini Android Development] beclosetolovedale:
No SIM. Logcats from my Device.
[Galaxy S 4 Mini Android Development] k2wl:
@ beclosetolovedale

i will look into it asap

UPDATE-

looks like our ril daemon2 is not starting up as expected

i have now changed configuration to ril-daemon1 but instead of making whole rom again. I like if anyone can pull boot.img from rom 2jan 2016 build. Unpack it . and replace init.carrier.rc with

https://raw.githubusercontent.com/k...01d3b32d419ef802650705432ea50/init.carrier.rc
[Galaxy S 4 Mini Android Development] alexax66:
OK! I will test it

P.S. Unsuccessfully, ril-daemon1 don't start

Full log and kernel with new init.carrier.rc:
[Galaxy S 4 Mini Android Development] beclosetolovedale:
I'm also trying.

Logcat from my device.
[Galaxy S 4 Mini Android Development] csendre:
This is not new, baseband and IMEI are detected for some time now
[Galaxy S 4 Mini Android Development] k2wl:
can anyone try following

to

in build.prop and reboot .

take logcats???
[Galaxy S 4 Mini Android Development] alexax66:
One moment

Done:
[Galaxy S 4 Mini Android Development] beclosetolovedale:
Logcat from my device.
[Galaxy S 4 Mini Android Development] csendre:
Here are my logcats if still needed. Looks like I am slow these days .... :)

Upd: Just noticed something. Under IMEI in CM 13 only one number shows up under Slot 1, and it seems to be the one that shows up under Slot 2 in CM 12.1. In CM 12.1 each slot has its own IMEI. See attached images.
[Galaxy S 4 Mini Android Development] GioBasi:
Hi, How I can get logcat like this radio.zip and ect
[Galaxy S 4 Mini Android Development] csendre:
Best is with ADB tools and there are many guides, but you'll have to search. It is too long to describe here and is off topic. Here is one guide from XDA
[Galaxy S 4 Mini Android Development] k2wl:
@csendre and others

add following to build.prop and reboot

and take logcat and radio logcat again
[Galaxy S 4 Mini Android Development] csendre:
Working on it

Update: still no SIM, same issue with IMEI as reported before. Logcats attached.
[Galaxy S 4 Mini Android Development] GioBasi:
cm-13.0-20160102-UNOFFICIAL-serranodsdd

Getting this by typeing radio.txt and logcat.txt in cmd. because I can't see logcats with adb logcat -b radio>radio.txt and adb logcat>logcat.txt
[Galaxy S 4 Mini Android Development] kryptonic rocker:
i almost jumped when i saw one image with working sim card
[Galaxy S 4 Mini Android Development] csendre:
Sorry :)
[Galaxy S 4 Mini Android Development] IamChapita:
you managed to work normally the SIM card 1.

If you did, you can pack my ROM with the SIM 1 function, at this point I do not mind the SIM 2.
[Galaxy S 4 Mini Android Development] k2wl:
i literally clueless about what to do for ril....but i am looking for methods to fix it..
[Galaxy S 4 Mini Android Development] csendre:
Please read my post SIM is not working, I was reporting on IMEI no.
[Galaxy S 4 Mini Android Development] arsm74:
Last Build for CM12.1

[MENTION=943196]k2wl[/MENTION]..would it be possible to build one last build for CM12.1 with all the changes from CM team upto Dec 21, 2015?

That can then be used for the last baseline for Lollipop and we can continue to help you fix the RIL issue for CM13 on i9192.

Thanks again for all your work and efforts for the I9192 CM ports.
[Galaxy S 4 Mini Android Development] beclosetolovedale:
I was doing some build prop edit & found the following.

rild.libpath=/system/lib/libsec-ril.so = SIM Slot 1 Shows Correct IMEI No. (IMEI of Slot 1)

rild.libpath=/system/lib/libsec-ril-dsds.so = SIM Slot 1 Shows (IMEI of Slot 2 in Slot 1)

in both cases SIM Slot 2 remains Blank.

Dont know if this helps in troubleshoot.
[Galaxy S 4 Mini Android Development] csendre:
Can you ask arco to pitch in? Maybe he would be willing to help if the request is coming from someone like you.
[Galaxy S 4 Mini Android Development] alexax66:
Arco doesn't deal with I9192, he works with I9190 and I9195 only.
[Galaxy S 4 Mini Android Development] ppawan:
I remember on 12.1 builds when it had Sim issue I opened the Sim tool the ril issue had got sorted and Sim was detected can that be tried on cm13 as well and log cat taken too anyone who is on cm13 please try
[Galaxy S 4 Mini Android Development] k2wl:
already building it.

will upload tonight.

i know this...i have observed form logctats...

no he owont i have already asked him during cm12

+1

are you taking about sim toolkit???
[Galaxy S 4 Mini Android Development] csendre:
Sorry to hear, I presumed more cooperation at this skill level. In the world of chemistry we help each other out by sharing ideas when needed, regardless of what one's particular area of research is. I am sure you can attest the same is true in medicine, sorry this is not the case here.
[Galaxy S 4 Mini Android Development] k2wl:
yes..but i hope we will fix it eventually......actually our half work is done already as baseband and imei is visible that means radio/modem is initialized but our software stalk is not accepting it....

BTW new version is up

OFF TOPIC:- anyone interested in cm 11???

i am building new build with new security fixes released 01/01/2016(thanks to cm team)
[Galaxy S 4 Mini Android Development] csendre:
Yes!. Not a daily driver anymore but still have a backup (which I keep updating) on my phone in case the 3G drain or roaming connectivity issues pop up with 12.1 while traveling. Last year I had to revert to CM11 twice, it is still the most bulletproof ROM.
[Galaxy S 4 Mini Android Development] Y@SH:
yes [MENTION=943196]k2wl[/MENTION] i wud like to use cm11.. it is surely osm :) thank u
[Galaxy S 4 Mini Android Development] arsm74:
[MENTION=943196]k2wl[/MENTION] Your CM11 build is a like a gold standard.. If you can deliver a new build, much appreciated as it is my backup always.
[Galaxy S 4 Mini Android Development] k2wl:
Add these lines to cm13 build.prop reboot and post results
[Galaxy S 4 Mini Android Development] csendre:
Can you please post a link to this app?
[Galaxy S 4 Mini Android Development] beclosetolovedale:
Cannot find any change. Logcat from My device.
[Galaxy S 4 Mini Android Development] csendre:
Still no SIM, just one IMEI but correct one shows up at slot 1 (baseband OK)
[Galaxy S 4 Mini Android Development] arsm74:
+1.. same situation.
[Galaxy S 4 Mini Android Development] azoga:
is there a solution for i9192

cm13 >>>
[Galaxy S 4 Mini Android Development] csendre:
How about reading the posts right above yours?
[Galaxy S 4 Mini Android Development] azoga:
I hope to help me because I was not the most important thing
[Galaxy S 4 Mini Android Development] arlaor:
I'm using version 11 due to battery problems due to incompatibility of hardware that has the version 12.1 drivers having no native version for i9192.

The version 11 of 06/01/2016 as the vesion 2015/12/30 generate the message "Unfortunately, Exchange Services has stopped" constantly.

2015/09/01 version has been the most stable.

Unfortunately these versions do not support screencast as if supported by version 12.1

Thanks [MENTION=943196]k2wl[/MENTION]
[Galaxy S 4 Mini Android Development] ppawan:
Yes [MENTION=943196]k2wl[/MENTION] talking about Sim toolkit
[Galaxy S 4 Mini Android Development] csendre:
Again, please post a link to this app or attach an apk file. I can't find this app in the play store or anywhere. The only app I found with this name is SIM Toolkit Plus and it is for the Philippines only. If you point me to the right app, I will try it
[Galaxy S 4 Mini Android Development] k2wl:
it is in the rom only
[Galaxy S 4 Mini Android Development] spinewrecker:
any new thread for cm13??

is there any new thread for cm13? and can we use cm13 for phone calls on single sim? for few months i went back to stock 4.4.4 and realised that battery life is a big issue in CM versions. is there any close kernels which address battery issues for any builds from cm12-13?
[Galaxy S 4 Mini Android Development] IamChapita:
No, Cm13 have a bug, Sims ( 2 ) doesnt work
[Galaxy S 4 Mini Android Development] arsm74:
[MENTION=943196]k2wl[/MENTION], [MENTION=5416372]csendre[/MENTION] et all

Saw this post on the official i9190/i9195 thread to fix a RIL issue on i9195. He indicates something about bootloader and baseband....maybe worrth investigating for i9192..

http://xdaforums.com/showpost.php?p=64713783&postcount=281
[Galaxy S 4 Mini Android Development] csendre:
Read it, but I don't know what to say. I can see a newer modem having an effect, but doubt that the bootloader could have an influence .... Maybe he had other issues that were corrected by flashing everything new.
[Galaxy S 4 Mini Android Development] k2wl:
new build of cm13 is up

https://www.androidfilehost.com/?fid=24367857647222870

changes:

try to use klte duos ril blobs

if ril does not work then in build.prop

change this

to this

put logcats for both modifications

...and i am sorry guys ..i dont have my phone with me right now that is why development is so slow.

anyways ...waiting for you guys for response:)

@arsm74

the solution you posted will not work..probably that guy just need full reset of phone...
[Galaxy S 4 Mini Android Development] csendre:
Unfortunately doesn't work. No baseband, no IMEI in either case. Also, "cellular network" option does not show up in settings anymore.

logcat_2 and radio_2 are for the modified build.prop
[Galaxy S 4 Mini Android Development] niklus101:
had the same result
[Galaxy S 4 Mini Android Development] csendre:
[MENTION=943196]k2wl[/MENTION] By looking at source codes for CM12.1 vs CM13 RIL blobs, would it be possible to figure out what changes were implemented to make them work in CM13? Are RIL source codes even available?
[Galaxy S 4 Mini Android Development] arsm74:
+1. Same result
[Galaxy S 4 Mini Android Development] k2wl:
no ril are vendor specific libs...and are not open source.

BTW what is a output of

Onemore thing

now we have ril daemon started which is exiting with our blobs that is a good sign

now we have to fix

missing symbol
[Galaxy S 4 Mini Android Development] csendre:
But then how did they change them for the CM13 3G/LTE and ICP 11 ROM? Whatever they have done with these ROMs t has to be more then just added code to make the original rils work, because I presume in this case their modifications would work for us too. However, I flashed today the latest CM13 3g nightly, then flashed our rils and not even the baseband is getting recognized this way

You have to help me with this. I don't know why, but whenever I run any shell commands, I do not get a feedback, just get the original command back in a second line. Do I have to set adb in a verbose mode somewhere? What am I doing wrong?
[Galaxy S 4 Mini Android Development] k2wl:
windows pc or linux pc you are using????

BTW i tried to search voice_ims_ext_get_service_object_internal_v01 in libs i got following results

so if we replace the

then we may have our ril started.

so those who have downloaded the latest cm13 build.

replace following attached file to vendor/lib in the cm13 zip.

reflash and take logcats
[Galaxy S 4 Mini Android Development] csendre:
I am using Windows 7 with the latest Android SDK. I attached a screenshot of what I am getting when running rild, which is nothing?

Logcats attached with klteRIL and SerranoSDRIL in build.prop
[Galaxy S 4 Mini Android Development] k2wl:
if you get no output that means..RILD is started correctly.

your screenshot confirms that
[Galaxy S 4 Mini Android Development] csendre:
Btw we have baseband and correct IMEI for slot 1, regardless of the ro.telephony.ril_class setting in build.prop
[Galaxy S 4 Mini Android Development] k2wl:
if we put new libqmiservices.so???? right???
[Galaxy S 4 Mini Android Development] csendre:
Correct. I had the file you attached in /vendor/lib
[Galaxy S 4 Mini Android Development] k2wl:
this error is gone now with replacing libqmiservices.so.

so now we have working sim imei, baseband and ril daemon starting correctly...

that is a good progress
[Galaxy S 4 Mini Android Development] Y@SH:
[MENTION=943196]k2wl[/MENTION] so like can we make calls now on the latest build 20160110?
[Galaxy S 4 Mini Android Development] csendre:
SIM is still reported missing, it is just the IMEI showing for slot 1 (slot 2 still shows up as "unknown"

---------- Post added at 02:12 PM ---------- Previous post was at 02:11 PM ----------

No, not yet
[Galaxy S 4 Mini Android Development] k2wl:
i am just saying that previously we only have sim imei and baseband.

now we have addition of ril daemon starting correctly...that is a good progress.
[Galaxy S 4 Mini Android Development] csendre:
Totally agree, just wanted to make sure you did not misunderstand me :)
[Galaxy S 4 Mini Android Development] arsm74:
[MENTION=943196]k2wl[/MENTION], [MENTION=5416372]csendre[/MENTION]..good progress indeed, I am.travelling this week and so not able to test and contribute for logcats....will join next week
[Galaxy S 4 Mini Android Development] csendre:
Just don't come North, winter has arrived :crying:
[Galaxy S 4 Mini Android Development] arsm74:
Stay warm.......my friend....
[Galaxy S 4 Mini Android Development] IamChapita:
Sim works one already? or not?
[Galaxy S 4 Mini Android Development] niklus101:
nope. not yet but [MENTION=943196]k2wl[/MENTION] is making progress