[Q] Is there any documentation for Mediatek engineer mode ? - Android Q&A, Help & Troubleshooting

Hello.
I am currently trying to tweak an old mediatek phone (Umi cross.). More specificaly, mine have a lot of connectivity issue. Data is slow, and it sometime completly disconnect from network for no reason at all.
I'd like to see if I can improve things via the engineering mode (aka service mode.) wich seems to offer a lot of settings for the modem.
However, those settings also seems to be pretty advanced, and far exceed my meager network knowledge. And, strangely, it also seems to exceed google's searching capacity.
For instance, there is something called "Modem Test", in wich I can set ModemTestActivity to 6 different mode (None, integrity off, FTA, IOT, Operator, Factory). I have no idea what this is, and cannot find even the begining of an explanation.
I am not short on time, and I am not afraid to spend time educating myself. But sadly, I can't find any material to do so.
Please, if you have any knowledge of what those option are, and how they might help me, tell me.
Right now, I am trying blindly various options, and seems to have my phone stuck in edge (no more 3G / H ), and I have no idea how I managed to do that. I am pretty sure I did not edit any other option than ModemTestActivity, and no setting seems to bring back data connection.

Any luck on this?

Related

[Q] Having some issues with aggressive wifi to cellular handover

My issue is that I am constantly stepping outside, out of reach of my modem, and I'll have to turn my Wi-Fi off or my phone will stay connected to the the incredibly weak wifi signal.
So, I tried turning the dev option for "aggressive wifi to cellular handover" on thinking this would help and allow me to just leave wifi turned on while stepping outside and have it switch over to data without my assistance. And it worked, for the most part (it still held on to wifi signals *I* would deem too slow, but not often), BUT whenever I reboot the option in dev settings un-ticks so I have to go back in and turn the setting back on.
My question is, is there a way to prevent the aggressive wifi to handover from turning off on reboots, or is there another option I could try that may even be more aggressive?
Thank you in advance!
Have you tried the setting to automatically disconnect from a poor WiFi signal? It's under WiFi>settings>advanced WiFi>avoid unstable connections
Juggernaut79 said:
Have you tried the setting to automatically disconnect from a poor WiFi signal? It's under WiFi>settings>advanced WiFi>avoid unstable connections
Click to expand...
Click to collapse
That says it'll automatically disconnect from no connection, but I still have an internet connection off the wifi, it's just like slow as all get out
6NomoN6 said:
That says it'll automatically disconnect from no connection, but I still have an internet connection off the wifi, it's just like slow as all get out
Click to expand...
Click to collapse
For me it disconnects from a weak signal.
I'll be back!
6NomoN6 said:
My question is, is there a way to prevent the aggressive wifi to handover from turning off on reboots, or is there another option I could try that may even be more aggressive?
Click to expand...
Click to collapse
I have the same problem, discovered the same solution, and have run into the same issue with no persistence after reboot! I'm googling now for a solution because going into developer options every reboot is incredibly damaging to the smoothness of the user experience I've worked so hard to customize.
Whether I find a solution or not I'll post in this thread again to let you know. If the latter is the result I will personally either write a tasker script, init.d script, or if nesseceary an Xposed module depending on factors I've yet to research. Can you Beta test for me if it comes to that? Maybe it's as simple as editing build.prop, I don't know yet, but I wanted to make this post ASAP so that you know you aren't alone on this and someone capable is working on the issue. For a developer like myself tapping menus every boot is unacceptable! Hopefully there is already a fix out there in the wild and I won't have to do any work.
P.S. Don't forget to also enable cellular radio always active for fast network switching at the price of some battery life. It's a few options below aggressive handover in Developer Options and thank jolly the setting is sticky unlike it's counterpart. Also, sorry for the poor turnout on your thread. I figured there'd be 100 posts by now, but at least you got my attention.
Edit 1: "setprop persist.{i-dont-know-yet}" in terminal emulator may do the trick. Checking for variables for the setting we want now. Hopefully they exist!
Edit 2: :laugh: I FOUND EVERYTHING I NEED FOR A FIX!!! However, an Xposed module will be required. I need some sleep but I should have something by tomorrow night. In case any other developers are reading this, here is the information required to make things work the way Iwe want them to:
http://android.stackexchange.com/qu...-cellular-handover-option-in-developer-settin
https://android.googlesource.com/pl...ndroid/settings/DevelopmentSettings.java#1061
Edit 3: Now that I know how this setting actually works together with wifi_watchdog (see source code WifiWatchdogService.java) I think I may have changed my mind regarding how to go about solving the root problem at hand (network switching) which this setting really does a "hack" job of taking care of. The developer that made it decided on a arbitrary, static number to be used for decreasing the connected WiFi AP's RSSI value (thereby making handover more "aggressive") instead of exposing any kind of grainular control to the user. So yes I could easily make the developer options setting stick but a much better approach would be to hook the method android.net.wifi.WifiManager with an Xposed module and implement additional logic to the network switching. The great thing about this method is there is the possibility for adding additional checks besides just periodically pinging the current primary dns server and monitoring the delay and timeout of the result. I also know for a fact modding the framework persists after reboot which is afterall all we originally wanted to have. The second or alternative route would be to edit the secure settings database using SQLite. The pro of this method is it is guranteed to be compatible with nearly ANY rom, won't break anything after an update, and doesn't use resources like an Xposed module. The con is that you are limited to the variables built into android, can't implement any new logic, and the worst is that I'm not even sure the modified tables would even persist after a reboot (or network state change for that matter) which if true would defeat the original purpose of this expedition. I'll make a fourth edit to this post after I've thought about and considered how to best proceede to reaching the goal of having a solution to our problem. :victory:
FoxysWorkplace said:
I have the same problem, discovered the same solution, and have run into the same issue with no persistence after reboot! (...)
Click to expand...
Click to collapse
First of all, thank you so very much for looking into this!
I'm sorry for not responding sooner, but I had honestly lost hope of finding a solution to this issue mainly because I am not a developer myself and haven't the foggiest how to get started with it on Android
But when I opened my notifications and saw a response to this post (!) I got *extremely* excited, and as I read through your post, my excitement intensified to great happiness!
I can't express my gratitude, but I would be more than happy to help with anything that I can!
Any news on this?
Has anyone found a solution?
Had anyone found a solution that doesn't require root access?
Can we expect that fourth update any time soon? Any solution without xposed?
I'm following this thread in the event that someone finds a non-rooted solution. The Galaxy S7 really cannot be rooted without a serious performance hit (and yes I've gone through the two or three best/popular lag-fix solutions) but it works best in stock :-/

RS988_10h_little or no mobile internet(data?)_seek advice re: rollback/flash forward

You needn't read this thread. There is nothing of any import here.
I was unable to learn how to delete it, or I would have.
As I mentioned below, I manually updated this phone to Nougat using the LG Bridge program. It complicates matters that I can't remember the exact time-frame for issues. I do remember getting real-time traffic updates using google maps even after I upgraded to Android 7. And I did stream Netflix once while on a 12 hour roadtrip, but I can't remember if that was before or after the road-trip. I have found and tried many APN's for the H2O service. Some are supposedly specifically for the G5, others just for mms or internet. Most recently, I did a factory reset after backing up my personal data and media. Twice now actually. The first time, I ran the backup software soon after resetting and when things hadn't changed, I surmised that maybe I was just importing the problem back onto the phone in my settings or something, so I reset again and this time only chose two of the settings categories near the top of the list since they seemed separate to the navigation programming.
I'm going to reset again now and see if the maps work with a stock setup, then see if I can slowly add things one at a time and continually monitor the data functionality.
If a moderator sees this and can delete this post, I would appreciate it since it doesn't seem like it could be helpful to anyone else the way it is. If I am successful in getting the data working and this thread still remains, I will post the process I had followed to achieve that in an "Issue Solved" heading at the bottom. Everything between the snowflakes (*****) is the older post and edits.
*****
History of Issue(s):
>This is my first smartphone and my first Android device
> Bought phone used off swappa running MM 6.?
>Have owned phone for around 8 months
>Volume down button wasn't working, figured I could live with pressing vol up and moving it down manually.
> Thought it would be good idea to upgrade manually to Nougat (10h update) Using LG bridge (about 5 months ago?)
> My carrier is H2Owireless, an AT&T MVNO
> Used to have internet, google maps real-time traffic used to work, Netfilx used to work (both without WiFi).
> Could make calls, send texts, listen to Pandora or Spotify and use my Maps for commuting to work.
> Couldn't send MMS pic msgs.
> Began to learn about APN's and what the different network settings did.
>Tried many APN's and fotzed around with Global, LTE/CDMA, LTE/GSM/UMTS and the submode settings
>Can get 4G and LTE , often have to switch back to Global setting to send SMS/MMS
> Had H2O set up APN as best they knew and network settings to what they felt would work best
> Can do anything and evrything when Wifi is enabled (that's never been an issue)
> I thought phone had bricked about 2 months ago while on a roadtrip.
> Discovered on forum that I could swap cam plus for chin and power on that way.
> Turned out power button was no longer functional
> Learned about vol up + charger to power on phone (use an app to power off and restart phone)
> took off cam plus so I could have phone in case.
And now, I'm standing at the edge of a very deep rabbit hole with a phone that can't use mobile data for most internet access (spotify works, Pandora never worked very well). I've discovered that the version of Nougat I'm running is problematic (update 10h Brightpoint) and that my forcing the update to Nougat might be largely responsible for these issues.
I see myself having a choice between learning how to flash the phone back to Marshmallow, or learning how to flash it up to update 21c... or live without mobile data for most of the functionality I wanted from the phone...
I seek advice from the the forum for which of these options people think I might best choose. Do I need to acquaint myself with these programs used to flash the ROM? Does it seem to you readers that my problems are symptomatic of those which are best rectified by flashing up? Or rolling back to Marshmallow...
I just want to be able to google something while I'm away from wifi.. to get traffic updates while I'm using the navigation.. to listen to spotify.. maybe even watch something on netflix... (calling, SMS and MMS functionality is a given, but I do still have them for the most part).
I can pick things up if I read tutorials / guides... I've flashed PC BIOS before... I could figure it out if I needed to...
But maybe I just need a new chin or clean it? Maybe I should factory reset? Maybe there's other potential causes I'm unaware of?
Any and all suggestions are welcome. It's late here and I won't be reading any responses until tomorrow at work.
Thanking you very much in advance. --Wayne
Edit: I was about to check LG Bridge to see if there was an update available for nougat.. thought I would get this out there first since I was pretty sure I wouldn't get both done tonight..
3rd edit: I checked for LG update, nothing available. I finally decided to factory reset before getting into flashing. That seemed to fix the google maps issue as it seemed to be working without WiFi enabled (I say 'seemed' because my office is slightly below grade and getting a good signal is tough. If it's not working, the address remains grayed out and the connection just buffers, the address filled in after the reset. Then I decided to move some of the things I had backed up from the SD card but neglected to deselect the settings box. After restoring much of what I had backed up, It seemed more like how it had been before the reset. I noticed a small icon next to the signal type and strength meter at the top which hadn't been there before the reset (a small white square with rounded edges that has a zig-zag line going through it that kind of looks like a jagged "N"). Instead of saying offline, the app says poor connection, so I will test it on my way home.. I am hopeful. It seems promising. If I have to reset again, I will deselect settings and set things up fresh; I think that will help. I am beginning to think this isn't so much about my OS or any hardware failure as it is the H2O at&t mvno being throttled or something similar. Even when I'm getting 4 bars of 4G, the maps loads very slowly.. nothing at all like it does on WiFi.
I'll post a final edit after I try it out on the ride home this evening.
*****

[Solved]F5121 Unable to call

So during the last few days I've been unable to make any phone calls, and I don't understand what's actually wrong. There's nothing wrong with either the microphone nor the speakers, as they work in other apps. The problem is that I don't hear other people and they don't hear me I don't appear to have connection problems either since other apps work as usual, with or without wifi. I'm running the Concept 4.0 rom.
It's possible that it might be some sort of water damage because I dropped it in snow the other day but that seems unlikely.
So far I've tried:
-wiping and re-installing the rom
-wiping and installing the Poison rom
-formatting and re-installing
-tried installing without fast dormancy
-restoring back to old backups, where there was no problem, using TWRP
-I tried my SIM-card on an older smartphone and there was no problem.
So does it seem like some sort of hardware failure or some software bug?
Edit: As of now, the phone works however, I've yet to discover why it didn't work in the first place. If you know anything I'm still interested.
Edit 2: So it's been nearly a month since I posted and I'm writing this because I want other people who might have the same problem to be able to fix it. The problem with alot of the roms for the F5121 is that they lack options for controlling exactly which networks to operate on. The fix for this is to enter the "hidden" menus by entering *#*#4636#*#* in the dialer, from there you can fine tune alot of the settings.
On Mobile network settings > Prefered network type.
If you force LTE only and go to a location with no LTE, you won't be able to call also people won't be able to call you.

New Phone w/ Android GO - Is there a way I can make this OS not be a terrible experience

Hello there! I was a relatively early adopter of Android and while I am not a programmer I am a nerd who can follow directions. I like to dial my devices in and maintain as much privacy as possible. I really don't like bloatware and when I was still working I would buy from Google rather than a pre-loaded cell. Now I am looking to get back to work and broke. I lost my last phone and got a lifeline (free) phone. It is a SKY Elite H55 with AndroidGo installed. The last time I had to use one of these phones I just took the sim card out and installed on a Motorola E5. For whatever reason I lost and had disabled location. While I am grateful to have cell service the Go phone experience is terrible and all I could manage to do is setup a wifi hotspot for other device. Just navigating menus was terrible and this one is newer but seems to have even more restrictions and less options. Also I have a thing for reading ToS and dont think anyone needs my data free. When I powered on the device I saw this as one of the only settings:
Allow Scanning: Allow apps to scan for wifi and nearby devices even when wifi or bluetooth is turned off.
What is the actual fudge is that? It BS and no I dont want that. I have not activated phone and qwould like to make this a more stock phone that just does basics. I can make calls with google voice on my iphone 8 all I need is this as a hotspot. The idea a default setting lets apps scanat will even after you turn of wfi/bt is offensive. Do I have any options.
Whatever I lack in skill I try to make up for by reading and following directions. I just did a complete softmod on a olld Nintendo DSI and it turned out perfect so I am ready to own my device. If possible. Danke.

A21 (Tracfone) - What are my options re the VoLTE vulnerabilities?

First, to clarify, I have the Samsung Galaxy A21 (there is no dedicated forum, so it seems we A21 users must use the A21s forum.) Although this may at least somewhat apply to the A21s (it may actually have the advanced service menu, so may at least have that as an option. The A21 is considerably more gutted in even the most basic functionalities.) One bit of confusion on my part is the actual SoC is a MediaTek, not a Samsung Exynos. However, all warnings regarding these exploits list "A21" so I'm assuming that the modem may still be a Samsung modem. Though of course it may just not apply and they really mean the A21s (these models are so completely different they really should not have been given the same number,) I have no choice but to assume the A21 is included until someone says otherwise.
The main vulnerabilities are these four:
CVE-2023-24033
CVE-2023-26496
CVE-2023-26497
CVE-2023-26498
Apparently there are 18 in total, but these are the ones that allow "zero click" remote code execution (presumably with at or near root access.) One thing I've been unclear about though is if you have to actually accept the call or not. The implications of the warnings seems to be that all they need is your phone number to initiate the exploit (which would mean that bad actors could just simply use an automated system to run through basically every number if they really wanted.) Though to me it would make the most sense if it actually required you to accept the call. (I'd really like some clarity on this as that would mean simply rejecting any call not known to be safe would usually be sufficient.) For now I have to work with the assumption it truly is "zero click" as they describe it.
Given that VoLTE is normally not an option the user can toggle (especially in recent ROMs) there seems to be basically no way to turn it off these days. Phones used to sometimes have a toggle in the cellular settings, but not anymore it seems (probably due to it being basically required now.) I tried to enter the advanced service menu (*#26833662#), but it said not supported when I did. The standard service menu does not have any options or controls (let alone anything regarding VoLTE.) I remember in the past on an older (less locked down) phone I did have options to enable/disable VoLTE (though it didn't work due to the hot flaming mess that is VoLTE -- it really should have been required to be standardized and enabled across all devices physically capable of it before the 3G cutoff) via one of the service menus, but unfortunately this one doesn't seem to have that. Is there any other way I can disable it and at least keep my cellular access? I realize this means data only, but that leaves at least some possibilities such as VoIP calling like Google Voice and, more importantly, does leave me access to online things when I don't have WiFi.
It should go without saying, but I do have WiFi calling off, so no issue there.
Bump. There is still no security update on mine. There may never be. I wouldn't be shocked at all if it's abandoned at this point. Even just a data only connection would have to be sufficient until I can come up with a better phone solution if that's what it takes, but I need to at least be able to use it for some basics on data, so removing the SIM isn't going to work.

Categories

Resources