[APP][Rooted]Ril Control[4.4+][Oreo]

AlaskaLinuxUser

Senior Member
Oct 23, 2015
1,942
4,073
0
Fairbanks
thealaskalinuxuser.wordpress.com
I'm sure many of you are already using @kessaras great AOSCP Oreo Rom!

One small current issue is the ril-daemon sometimes needs to be stopped and started to make your sim card and cellular work properly. In the past, you could just reboot, or stop and start the daemon from the command line. But now you can just tap a button! That's right, just a simple, easy to use app that stops or starts the ril-daemon when you tap the buttons.

This app requires root permission!

This app is open source, licensed under the Apache 2.0, and you can check out the source code here:
https://github.com/alaskalinuxuser/app_ril_control

You can download the app here:
https://github.com/alaskalinuxuser/app_ril_control/blob/master/app/Ril_Control.apk

Get it on the Play Store!
https://play.google.com/store/apps/details?id=com.alaskalinuxuser.rilcontrol
 
Last edited:

tqwzUX6fn39GZMEzSnDF

Senior Member
Oct 31, 2015
225
50
48
  • Like
Reactions: AlaskaLinuxUser

aha360

Senior Member
Jan 10, 2014
577
409
0
This will surely save folks the hassle of using the Terminal to restart the Radio Interface Layer.

Muchos gracias @AlaskaLinuxUser

---------- Post added at 08:05 AM ---------- Previous post was at 08:05 AM ----------

This will surely save folks the hassle of using the Terminal to restart the Radio Interface Layer.

Muchos gracias @AlaskaLinuxUser
 
  • Like
Reactions: AlaskaLinuxUser
Sep 3, 2015
9
2
0
Hey it is possible to add a function like automatic restart the ril-daemon with different time settings?
Like restart it ervery 24 or 15 hours.
I have problems with my G4 on LOS 14 Roms the ril stop working after different hours.
 
  • Like
Reactions: AlaskaLinuxUser

FirebirdStud

Senior Member
Apr 23, 2011
84
33
0
Loveland
Hey @AlaskaLinuxUser I am curious, can this be used for newer ROMs? I am using LineageOS 15.1 and experience mobile data drop off all the time. I would like to use this app (Google Play pulled the app, I used your direct download link) to see if it would help.
Any issues doing this?
 
Last edited:
  • Like
Reactions: AlaskaLinuxUser

AlaskaLinuxUser

Senior Member
Oct 23, 2015
1,942
4,073
0
Fairbanks
thealaskalinuxuser.wordpress.com
Hey @AlaskaLinuxUser I am curious, can this be used for newer ROMs? I am using LineageOS 15.1 and experience mobile data drop off all the time. I would like to use this app (Google Play pulled the app, I used your direct download link) to see if it would help.
Any issues doing this?
Yes, I was using it on aoscp Oreo, so it should work on 15.1. :good:

Yes, Google Play is pulling a lot of my apps. Root apps and apps for 32 bit phones are harder to keep on the Play store.
 

FirebirdStud

Senior Member
Apr 23, 2011
84
33
0
Loveland
Yes, I was using it on aoscp Oreo, so it should work on 15.1. :good:

Yes, Google Play is pulling a lot of my apps. Root apps and apps for 32 bit phones are harder to keep on the Play store.
Thanks for the quick response! I am on a Samsung Note 4 with custom ROM based on Android 8.1, so I wasn't sure if this was specific to any make or operating system.
 
  • Like
Reactions: AlaskaLinuxUser

AlaskaLinuxUser

Senior Member
Oct 23, 2015
1,942
4,073
0
Fairbanks
thealaskalinuxuser.wordpress.com
Thanks for the quick response! I am on a Samsung Note 4 with custom ROM based on Android 8.1, so I wasn't sure if this was specific to any make or operating system.
It should work. It may need busybox or toybox installed, which were on the original ROM I built this for.... Of course, root is required.
Let me know how it turns out.
 

FirebirdStud

Senior Member
Apr 23, 2011
84
33
0
Loveland
It should work. It may need busybox or toybox installed, which were on the original ROM I built this for.... Of course, root is required.
Let me know how it turns out.
Hmm, I don't want to get in over my ski-tips here.

I am new to rooting. I was tired of an older phone with a poorly performing operating system, so I travelled down this road to revitalizing my phone - without spending over a thousand dollars for a new one.

I do not know what busybox or toybox is, or if it is incorporated into this LineageOS operating system v15.1 for the Samsung SM-N910V.

I do have root, managed by Magisk Manager v17.3, and use TWRP v1.21 build 34 for recovery.

I do not have a recent backup or anything like that, as I am a noob and use this phone as a daily driver. I don't want to really screw anything up by installing this app. Do you think there could be incompatibilities that could cause issues? I am trying to avoid continually backing up all of my data and files to my computer, as it takes forever. (yeah, I realize that developing new stuff is a gamble, but I am trying to find stable things already built :D)

The only issue with this ROM is RIL instability when switching towers, and going into buildings that forces the data connection to go from LTE to 3G, and that is when I lose data connection. I have to restart the phone every time, and I end up having to do this a lot while driving and travelling for work.

What are your thoughts?
 
  • Like
Reactions: AlaskaLinuxUser

AlaskaLinuxUser

Senior Member
Oct 23, 2015
1,942
4,073
0
Fairbanks
thealaskalinuxuser.wordpress.com


Hmm, I don't want to get in over my ski-tips here.

I am new to rooting. I was tired of an older phone with a poorly performing operating system, so I travelled down this road to revitalizing my phone - without spending over a thousand dollars for a new one.

I do not know what busybox or toybox is, or if it is incorporated into this LineageOS operating system v15.1 for the Samsung SM-N910V.

I do have root, managed by Magisk Manager v17.3, and use TWRP v1.21 build 34 for recovery.

I do not have a recent backup or anything like that, as I am a noob and use this phone as a daily driver. I don't want to really screw anything up by installing this app. Do you think there could be incompatibilities that could cause issues? I am trying to avoid continually backing up all of my data and files to my computer, as it takes forever. (yeah, I realize that developing new stuff is a gamble, but I am trying to find stable things already built :D)

The only issue with this ROM is RIL instability when switching towers, and going into buildings that forces the data connection to go from LTE to 3G, and that is when I lose data connection. I have to restart the phone every time, and I end up having to do this a lot while driving and travelling for work.

What are your thoughts?
This app will not cause you any trouble. It will either work, or will not work, but will have no detrimental affect on your phone or files. I'd recommend you give it a try. But it is always up to you. :cowboy:
 
  • Like
Reactions: FirebirdStud

FirebirdStud

Senior Member
Apr 23, 2011
84
33
0
Loveland
This app will not cause you any trouble. It will either work, or will not work, but will have no detrimental affect on your phone or files. I'd recommend you give it a try. But it is always up to you. :cowboy:
I took the leap, and while out and about today I installed RIL Control. And guess what, it worked! I was able to kick the data connection in the butt and it reconnected.

However, I have a big problem now. I got home, and turned on wifi, and it doesn't work now. The toggle switch moves to on, and then right back to off. I cannot get the wifi to turn on! I restarted the phone, and it still won't turn on. Bluetooth works just fine.

So, now what happened? How do I get wifi to work again? Honestly, I need wifi more than data connection at this point.
 
  • Like
Reactions: AlaskaLinuxUser

AlaskaLinuxUser

Senior Member
Oct 23, 2015
1,942
4,073
0
Fairbanks
thealaskalinuxuser.wordpress.com
I took the leap, and while out and about today I installed RIL Control. And guess what, it worked! I was able to kick the data connection in the butt and it reconnected.

However, I have a big problem now. I got home, and turned on wifi, and it doesn't work now. The toggle switch moves to on, and then right back to off. I cannot get the wifi to turn on! I restarted the phone, and it still won't turn on. Bluetooth works just fine.

So, now what happened? How do I get wifi to work again? Honestly, I need wifi more than data connection at this point.
Odd. The commands in the app only stop/start ril-daemon, which has nothing to do with WiFi. WiFi is wpa-supp. So I'm not sure if that is connected to my app. However, if that is the only thing you installed/changed, then I guess that would have to be it.
I'm guessing restarting the phone didn't work? :fingers-crossed:

You could always uninstall my app. But if that doesn't work, I guess you would have to load a backup of your phone. I just don't see how my app is affecting the WiFi. :confused:
 

FirebirdStud

Senior Member
Apr 23, 2011
84
33
0
Loveland
Odd. The commands in the app only stop/start ril-daemon, which has nothing to do with WiFi. WiFi is wpa-supp. So I'm not sure if that is connected to my app. However, if that is the only thing you installed/changed, then I guess that would have to be it.
I'm guessing restarting the phone didn't work? :fingers-crossed:

You could always uninstall my app. But if that doesn't work, I guess you would have to load a backup of your phone. I just don't see how my app is affecting the WiFi. :confused:
Thanks for the help.
Correct, installing and using your app is the only change I have made, and I have never had a wifi issue in the month or so that I have been running this custom ROM.
Restarting the phone 4 times did not work. I may have panicked haha.
I did boot into TWRP and wipe the Dalvik cache.. and whala, I booted back up and the wifi worked.
I'm now afraid to try your app again when I am out and about, but maybe I should to see if this same condition happens again? What do you think?
 
  • Like
Reactions: AlaskaLinuxUser

AlaskaLinuxUser

Senior Member
Oct 23, 2015
1,942
4,073
0
Fairbanks
thealaskalinuxuser.wordpress.com
Thanks for the help.
Correct, installing and using your app is the only change I have made, and I have never had a wifi issue in the month or so that I have been running this custom ROM.
Restarting the phone 4 times did not work. I may have panicked haha.
I did boot into TWRP and wipe the Dalvik cache.. and whala, I booted back up and the wifi worked.
I'm now afraid to try your app again when I am out and about, but maybe I should to see if this same condition happens again? What do you think?
Well, if you have a good backup, and since wiping dalvik and cache worked before, it might be worth a try. Was the WiFi on when you used my app? As always, if you are worried about it, you should play it safe. :good: