Disable Multi-SIM feature to reduce battery drain. - Android One (First-Generation) Cross-Device Genera

One of the feature missing in android 5.0/5.1 is to turn off a particular sim card.
So suppose u don't get network at a particular area where u spend considerable time of your day then the SIM will keep on searching for network. Final result : Heavy battery drain.
To avoid this u can disable multi-sim functionality all together by this simple build.prop edit.
STEPS:
1. open any file manager with root access (preferably es file explorer)
2. Navigate to /system/ and open build.prop file with es note editor
3. now search for this line
persist.radio.multisim.config=dsds
4. edit this to persist.radio.multisim.config=none and save it
5. reboot.
6. to bring back multi-sim feature again change it again to persist.radio.multisim.config=dsds
Now only sim one will search for network
Another alternative is to use MULTISIM Toggle app which can be found here....
http://blog.shubhangrathore.com/multisim-toggle/index.html
Credits to
Shubhang rathore
Google for google search
press thanks if it was helpful in any way:good:

problem
I tried this multisim app on my android one. it disables the 2nd sim. But someone calls on 2nd sim it does not says it is switched off. Rings beeps in callers handset and here i don't get any notification as my 2nd sim is disabled. I tried myself calling my 2nd sim from friends phone. so this creates again more problem. I want to completely disable 2nd sim for time in day.
abhijitkadam03 said:
One of the feature missing in android 5.0/5.1 is to turn off a particular sim card.
So suppose u don't get network at a particular area where u spend considerable time of your day then the SIM will keep on searching for network. Final result : Heavy battery drain.
To avoid this u can disable multi-sim functionality all together by this simple build.prop edit.
STEPS:
1. open any file manager with root access (preferably es file explorer)
2. Navigate to /system/ and open build.prop file with es note editor
3. now search for this line
persist.radio.multisim.config=dsds
4. edit this to persist.radio.multisim.config=none and save it
5. reboot.
6. to bring back multi-sim feature again change it again to persist.radio.multisim.config=dsds
Now only sim one will search for network
Another alternative is to use MULTISIM Toggle app which can be found here....
http://blog.shubhangrathore.com/multisim-toggle/index.html
Credits to
Shubhang rathore
Google for google search
press thanks if it was helpful in any way:good:
Click to expand...
Click to collapse

Related

[Q] MY Phone Number

I have been successfully using the Verizon FIOS remote control app to control my TV FIOS STB and it is much nicer to use than the standard IR remote.
To get it to work originally using a nightly (circa 128), I had to persuade the Nook that it had a phone number as this is registered against one set in the STB. I did this by going into Settings/Call Settings/Additional Settings. This gives a network or SIM card error but when OK'd allow me to manually enter a phone number which then worked fine and continued to work through many nightly updates.
Something has now changed (I am currently on nightly 200) as I find that I have to re-register the FIOS app almost daily to get it to work.
On checking I find that the Phone Number setting gets lost periodically and set back to Unknown and I have to manually enter it again.
Does anybody know whether CM7 behaviour has changed with respect to the storage of the Phone Number? I realise it would normally be on a SIM, but it does seem to stick around for quite a while on the Nook before getting lost.
Any luck with this? I've been trying to figure out a way to do this for a while. I am unable to set a number as you described as all settings are greyed out. I'm also on nightly 200+. Seems like there would be a system file we could edit to fake the number, or something like that. Was thinking about setting up a SIP account to try it, but I doubt that will work.
dgibb2000 said:
Any luck with this? I've been trying to figure out a way to do this for a while. I am unable to set a number as you described as all settings are greyed out. I'm also on nightly 200+. Seems like there would be a system file we could edit to fake the number, or something like that. Was thinking about setting up a SIP account to try it, but I doubt that will work.
Click to expand...
Click to collapse
I have made some progress investigating this but have not got a final solution yet.
First, I can set my phone number up even though it is not a phone. I go into Settings, Call Settings, Additional Settings. The screen blurs and brings up a dialog box saying Call settings Error - Network or SIM card error. If I OK that then I see 3 menu items. The first 2 are grayed out but the 3rd "My Phone Number" is enabled. I select that and can enter a Phone Number. Are you saying you get the error and then all 3 options are grayed out?
Once entered I can view the Phone number via Settings, About Tablet, Status.
So far so good. The phone number setting does not normally survive a reboot, and also typically reverts to Unknown after a couple of days even without a reboot.
I have traced the Phone number setting to be stored in com.android.phone_preferences.xml which is in /data/data/com.android.phone/shared_prefs
But when the Phone number disappears it doesn't disappear from this file so there is some more complex interaction with trying to read a non-existent SIM first. So far I have traced the code involved to MyPhoneNumber.java and MSISDNEditPreference.java which are in the CyanogenMod-android_packages_apps_Phone-5d2764c.
I am still working on understanding this to see if there is some work-around to make the setting stick better. Currently I just have to check the phone number manually and set it again when it disappears.
Hmmm. When I go into call settings, all settings are greyed out except for internet call settings at the very bottom. I see the additional settings field you are speaking of but as its greyed out nothing happens if I click it. Weird.
dgibb2000 said:
Hmmm. When I go into call settings, all settings are greyed out except for internet call settings at the very bottom. I see the additional settings field you are speaking of but as its greyed out nothing happens if I click it. Weird.
Click to expand...
Click to collapse
Yes. That is strange. All my settings in Call Settings are enabled even though most are inapplicable. I don't think I have done anything to explicitly enable them and I'm on a standard Nightly 240 with the updated SystemUI.apk which turns off the phone signal bars. But I've never had these greyed out with any nightly build before.
Anybody else comment on whether their whole Call settings are enabled / disabled?
There is also a setting in build.properties in the system folder with a key called
keyguard.no_require_sim
I think this may have effect on how the OS treats calls which access the SIM. On my system this is currently set to 1. I might try playing with other values like true, 0 to see what effect that has.
Another theory as to why your call settings may be greyed out is that it they may get disabled in airplane mode.
Now this could be an issue even if you have set and subsequently cleared airplane mode as I believe the airplane mode setting doesn't go away entirely and can cause problems.
There is a command line way of clearing this setting completely which I did once when I set airplane mode on. Search for something like airplane sqlite to find the instructions.
That was it. I was stuck in airplane mode, and must have been for a long time. I used Android Assistant to clear the setting and it worked. I'm able to set my number and use fios mobile remote now! Thanks for your help.
Where did you get that updated systemui.apk to clear the cell signal bars? Now that I got the airplane mode off I have the signal strength there for no reason.
I got the SystemUI.apk from here
http://forum.xda-developers.com/show...60542&page=547
I just replaced the one in system/app. If you overwrite then you might get status bar forced close but a system reboot will sort that out and I haven't had signal bars since.
I've now put this in a zip that I can use to install after any nightly update I do as I've now found there is a wifi patch to deal with any remaining SOD issues although I haven't had one of those for a long time now.
Hopefully this stuff will get put into the main build before too long.
Looks like your link got clipped. Getting a page not found error.
Also, do you have any instructions on how to put the .apk into a zip for re-install after you do an upgrade? I'm assuming its not as easy as just ziping the file up?
Updated link
http://forum.xda-developers.com/showthread.php?t=960542&page=547
Yes. It is as easy as zipping the file up, but you have to create a matching folder structure to determine where the file goes. So in the case of the SystemUI file you create a folder called system containing a folder called app, put the file in the app folder and zip it so that system is in the root of the zip.
Correction: I thought that zip method was working but it wasn't. I had manually put the files in anyway and that worked OK. Then I was testing the zip, but it was actually failing.You need to put the files in a zip with the meta-inf etc. I think this link gives instructions
http://alldroid.org/default.aspx?g=posts&t=855
No. That doesn't work either as it uses an older method of scripting no longer supported. Apparently it needs to use Edify scripting now. It looks like some people add files to the gapps package, but I'm not clear yet whether it has to be re-signed, and I don't particularly want to redo gapps just to do this minimal patch.
I think I now understand how to produce an update zip that works.
I first took a gapp zip and stripped out all the existing files under system leaving the meta-inf alone. I put in the patch files in the appropriate folders under system. I then modified the updater-script in the meta-inf tree to just mount system, run package_extract_dir("system", "/system"); and unmount system with changes to the ui_print
I then signed the zip using the win-sign utility available here
http://forum.xda-developers.com/showthread.php?t=629151&highlight=sign+zip+files
I tried this out by first updating to nightly 246 and then applying my patch containing the SystemUI and the wifi driver that fixes SOD and that seemed to work OK.

626s vm hot spot

Hey everyone I'm rooted and everything so I've been trying to find a way to get around paying $30 for a hot spot that should come with the phone. anyways I found a way to disable the "you are not subscribed to hot spot" thing but when I connect anything to the hot spot I keep getting errors saying the DNS couldn't resolve server names. I tried for hours with different DNS servers so I'm guessing it's something vm has done. If anyone could help me with this I would greatly appreciate it I used it a lot before I got this phone and now I'm kinda stuck :/
I know from experience that you can usb tether with pdanet and it'll hide your tethering with metro. It will not however hide hotspot HOW EVER you can use its experimental feature internet sharing which is essence creates a hotspot however I've only ever been able to connect to a phone that was with metro AND the phone that was hotspotting was not with metro. Trying to do so with my metro phone give me dns errors as well.
I haven't tried to use USB tethering yet only because some of my things can't be tethered via USB. I just don't see why I'd be getting DNS errors now and never did before. Oh wel. Surely someone here will have a solution for me soon.
schuylar156 said:
I haven't tried to use USB tethering yet only because some of my things can't be tethered via USB. I just don't see why I'd be getting DNS errors now and never did before. Oh wel. Surely someone here will have a solution for me soon.
Click to expand...
Click to collapse
I don't know if you are rooted, but I'm using Wifi Tether Router (just google an apk file) instead of trying for the native hotspot function.
javierrr13 said:
I don't know if you are rooted, but I'm using Wifi Tether Router (just google an apk file) instead of trying for the native hotspot function.
Click to expand...
Click to collapse
Are you sure? I tried this app before and it wouldn't broadcast the network. And yes I am rooted. I found a way to partially get the native hotspot working but it's a pain in the butt. If I could figure out how to edit the apn settings I'd have it going in 5 seconds but they're locked and htc phones don't have a "hidden menu" like lg phones.
Weird... Well, If you can't get that working, I'll let you know my current configurations for that app.
keep up the good work guys.
I'm looking for a solution for the hotspot on my 626 from Verizon.
native mobile hotspot and tether on cricket
I was able to use the phone as a wifi hotspot by doing the following:
1) install the following apps: MK explorer, Axel (xml editor)
2) phone must be rooted
3) using MK explorer navigate to the following folder (root directory): /system/customize/ACC
4) make a copy of the default.xml file and rename it in case it gets corrupted
5) run Axel and open the default.xml file for editing
6) scroll down about 80% from the top of the file to find the entry (find didn't work for me):
<app
name="Tethering_provision">
^ <item
type="integer"
name="TetheringGuard_Rule">
. 3 (note:dot is in middle)
7) edit the entry to change the 3 to 0
8) use "save as" and save modified file
9) rename the edited file to default.xml
10) reboot
11) go to settings->more->mobile hotspot and tethering, click on Mobile Hotspot, click on OK, change the hotspot name and password to what you want
12) after this step the phone just sat there so I rebooted
13) hotspot now works
I have no idea if this is hidden from the carrier

Mobile Hotspot Enable only on root devices.

I Figured out an easy way to get your hotspot to activate on your S8 plus phone with Verizon service, just by adding some lines on to your build prop on the phone, first you need to download BulidProp Editor from the Play Store use JRummy's Build.prop editor, just add this line to the bottom of the file:
net.tethering.noprovisioning=true
save and reboot the phone and bingo, no more screen popup services needed.

Please help. Not receiving notifications when on cellular.

For the life of me I can't figure out why I don't receive any notifications while I am not on wifi. This has been going on for a year now but only recently have I been watching my email awaiting something important. When I get home and connect to wifi I am barraged by notifications from email apps, linkedin, etc.
-There is no battery saver or adaptive battery mode on.
-My email apps are not being battery optimized.
-Do not disturb is off.
-I am rooted but have no Lxposed modules installed.
-For Magisk I only have Google pay related modules installed, besides the obvious Riru core etc.
Any help would be appreciated!
The issues turns out to be AdAway for some reason when it's on I don't get notifications on cellular. But when I pause app I get notifications again. Any idea why?
stonebriar said:
The issues turns out to be AdAway for some reason when it's on I don't get notifications on cellular. But when I pause app I get notifications again. Any idea why?
Click to expand...
Click to collapse
One thing to try is to disable webserver in Adaway if you have it enabled and see if that helps.
Lughnasadh said:
One thing to try is to disable webserver in Adaway if you have it enabled and see if that helps.
Click to expand...
Click to collapse
The issues has to be from the default AdAway host lost. I used the DNS log, sent an email between two of my accounts and allowed a small list of connections. So I guess the official host list was blocking too much??
@stonebriar
You can try deleting existing apn xml and swapping it with my apn xml I've attached to this post. Sometimes in custom roms the apn xmls get messed up and result is no data or bad connection...
Are you using a custom rom? If so and you are on Android 11 custom rom grab your favorite root file manager app and give it root permission. Navigate to /product/etc/ and /system/product/etc/ and delete your current apns-conf.xml file in those two locations. Now in your /system/product/etc/ copy then paste the file I'm linking here in to that directory, where the one was you already deleted was... Now long press it and select permissions and make permissions on the apns-conf.xml set to 0644. After that navigate to phone settings/network and internet/mobile network/ scroll to last selection which is "access point names." Select it and sleepy little 3 dot menu thingy in top left of screen, select "reset to default." Now give it about 60 seconds and you'll know if this was an apn issue because your data/LTE will show up in your status bar. When it does reboot system and you are good to go. This cannot in any way harm your device. It will either work if it's an apn issue or if it's not an apn issue it won't work. I hope it helps someone.
Credit for this goes to spaceminer here on XDA. I came across his post explaining this year's ago and have used it many times on many devices and it's worked every time! And of course credit goes to XDA for being XDA and letting us have a spot to read and learn new things!
apns-conf.xml download: https://u.pcloud.link/publink/show?code=XZBULKXZ4HjpgTXPOszUoQAxxpLReuJtUk6X
~flash713

How To Guide [ROOT] Enable 5g, VOLTE and call screening in unsupported countries.

Hello Guys
I managed to enable 5G, VOLTE and call screening in Bahrain (Unsupported Country).
Follow the steps below to get these services.
1. Get rooted and install Magisk [Guide Link].
2. Download VOLTE module in magisk to have VOLTE after reboot [Guide Link].
You should have VOLTE now.
3. Download Network Signal Guru [App Link].
Give it Root access
Click The Three dots and choose Forcing Control
Choose [1]SIM 1 (it might be sim 2 for you, depending on which sim u using for mobile data)
Choose [3] NR MODE SETTINGS
Choose [4]SA+NSA
Reboot
You should have 5g now.
4. To get call screening, download and install Market Enabler [APP LINK]. and give it root access.
5. Enable VPN and set it to USA. I used VPN Master with the 7 days trial (Make sure to cancel subscription in Google Play so you dont get charged after the 7 days)
6. Open Market Enabler and select USA.
7. Make sure you have the latest version of the phone app, and join beta if possible.
8. Now while both VPN and Market Enabler is set to USA, clear cache from phone app
9. Open phone app and go settings and you should see Spam and Call Screen. if it didnt show .. just keep clear cache and try again till it show (I had to try multiple times till it worked).
Note: u wont have to have VPN on after this (One time step only), however whenever u reboot ur device or it turns off. Once the phone is ON make sure to do step 6 to not lose call screening.
thanks' a lot
i will try it at night
could you check your dm please? thank you
Does your network drop out, and shows no service for a while before resetting the value and returns to LTE?
These may be the most prominent features missing on Wildcard.
There are more however that need research:
1) LTE Carrier Aggregation is limited to only 2 carriers
2) LTE 256 qam upload is missing
3) ENDC NR CA doesnt seem to work (maybe?)
I've tried to crack the 1st point without any success - I presume the /vendor/firmware/carrierconfigs/confseqs "lte_ca_0.common" confseq file (the names are in the headers of the files) includes mnc specific combinations inside of it, so editing of it in some form is required.
You can do
Code:
for file in ./*;echo $file;strings -n5 $file;end
in the confseqs (or manifests) directory to see all the names in the headers.
These files luckily do not seem to be signed or encrypted, however they are binary blobs and hence unreadable. I see references to CLZ4 in the header of some of these files, however trying to unlz these files doesn't work, likewise binwalk and other tools detect nothing. Possibly compiled protobufs? Would need to trace through how these files get handled and by what service on the phone.
The second point is doable, /vendor/firmware/carrierconfigs/cfg.db is an sqlite database where carriers get their confseq files assigned. The quickest way to play around with replacing the Wildcard profile for the "unsupported countries" is to edit the regional_fallback table and country_code 0 for another carrier_id from the confnames table. The file can be replaced on the filesystem via creating a simple Magisk module zip. Some of these profiles do have 256 qam upload enabled in them, I used dk_telia (656) and it works fine. This also enabled DSS for 5G, something for which the 5G nvitem toggle in NSG didnt account for.
Third one seems to be active, atleast it reports ENDC NRCA combinations to the network via ue capability messages, however it does not seem to go active when network conditions are met. Hence I assume it is a case similar to the LTE CA one where NRCA would have to be enabled.
if there is no 5G in your country, then maybe there is no infrastructure for it, tuning your phone I dont think will fix that.
THX ALOT
Thanks a lot. This is helpful.
Could this work to enable Call Recording? If so, does anyone know the list of countries where call recording and screening are both supported?
Thank you for sharing
Will try it today, and get back to you.
Pixel 7 pro, UAE-Etisalat
anasmhds said:
Thank you for sharing
Will try it today, and get back to you.
Pixel 7 pro, UAE-Etisalat
Click to expand...
Click to collapse
5G is working fine for 1st time in Pixel 7 pro, UAE-Etisalat
Little heating the phone comparing with 4G/LTE
Did not try call screening
first i will thank every one help me
i got 5g
tbh I don't care about 5G at all but one feature I'm interested in to work is wifi calling, any info about it?
kakashi_ax said:
tbh I don't care about 5G at all but one feature I'm interested in to work is wifi calling, any info about it?
Click to expand...
Click to collapse
yap
salamdiab said:
yap View attachment 5759999
Click to expand...
Click to collapse
How?
kakashi_ax said:
How?
Click to expand...
Click to collapse
I just follow this guide and on the sim tap i just make the WIFI calling ..sorry if i send a lot of pic
I can't get it to work on Jio(India). It might be a carrier side toggle too.
Theres a way to do it without root?
alawii_shark said:
Hello Guys
I managed to enable 5G, VOLTE and call screening in Bahrain (Unsupported Country).
Follow the steps below to get these services.
1. Get rooted and install Magisk [Guide Link].
2. Download VOLTE module in magisk to have VOLTE after reboot [Guide Link].
You should have VOLTE now.
3. Download Network Signal Guru [App Link].
Give it Root access
Click The Three dots and choose Forcing Control
Choose [1]SIM 1 (it might be sim 2 for you, depending on which sim u using for mobile data)
Choose [3] NR MODE SETTINGS
Choose [4]SA+NSA
Reboot
You should have 5g now.
4. To get call screening, download and install Market Enabler [APP LINK]. and give it root access.
5. Enable VPN and set it to USA. I used VPN Master with the 7 days trial (Make sure to cancel subscription in Google Play so you dont get charged after the 7 days)
6. Open Market Enabler and select USA.
7. Make sure you have the latest version of the phone app, and join beta if possible.
8. Now while both VPN and Market Enabler is set to USA, clear cache from phone app
9. Open phone app and go settings and you should see Spam and Call Screen. if it didnt show .. just keep clear cache and try again till it show (I had to try multiple times till it worked).
Note: u wont have to have VPN on after this (One time step only), however whenever u reboot ur device or it turns off. Once the phone is ON make sure to do step 6 to not lose call screening.
Click to expand...
Click to collapse
I tried these steps yesterday and it did not work for me. Anyone else with a similar issue and does anyone know why it isn't working?

Categories

Resources