[Q] Custom rom settings; EDVO Only, Any Wifi, ect... - Android Q&A, Help & Troubleshooting

First off hello I'm new to this forum but a friend suggested I came here for some answers to my questions.
I've successfully compiled (and am currently running) a version of CyanogenMod
I've edited a good number of roms both on my HTC and LG so I have a decent knowledge of the file system
I have Eclipse set up and have been messing around with that a bit. Now that I have that done I want to get into editing the settings (I've taken a few courses with computer programming but never java so editing the Zip would be easier but with more guidance so would editing the source)
Now for the questions
1) Is there a way to make it so that it is EDVO only? without going through the service menu?
I'm going to be using SIP only so I have no need for calls or texts and 1x is never enough to hold a good conversion for me so I'd rather EDVO only
2) I know there are apps like Wefi that allow you to connect to any wireless network but I was hoping there was a way to do this at the source? I was figuring I could bypass the check if its a remembered wifi or not this way theres no need for another program to running.
I've been looking through the wifi settings on eclipse but don't really know what to look for.
3) If the EDVO is a possibility is there a way to change the signal bars to not reflect 1x anymore and simply show no service when that is the option? I figured a theme would be the best way for this but was checking if there was an easier way.
4) I'd also like to set it up so that if theres a wifi connection it will turn off the radio and if the wifi connection is lost it will turn the radio back on. so basically Wifi OR EDVO since I don't need both for sip calls.
This can be done with tasker so it's not as important as the other ones but it would still be nice if it was a built in feature.
I've been doing a lot of googling and these are the answers I couldn't find. I'm only lookin for points in the right direction I'm trying to take this as a learning experience but really haven't got much of an idea on where to start other then theming the singal bars. The first two are the ones I would really like to accomplish first.

Related

[Q] non-phone Eris ROM?

I have been thinking recently about moving on to a newer Android device for a phone, and converting my Eris into a general purpose, WiFi-only Android device, for things like Media center remote control, Portable MP3 player, etc.
My question, basically, is whether or not its possible to completely disable the cellular radio and any other associated phone/mms/3G/2G drivers and utilities. Stripping out all the miscellaneous apks and apps i dont want is the easy part. Removing drivers, disabling devices, and modifying config files is the part i'm not comfortable with yet. Any tips, pointers or links would be awesome.
Is anybody else interested in having a ROM like this distributed on this forum? I can start posting my progress builds on here if there is interest. Otherwise, if something like this already exists, please let me know!
as far as using it as a wi-fi only device you can simply put the phone into airplane mode and then urn on the wi-fi.
Unwanted programs I have used this program (link below)
http://forum.xda-developers.com/showthread.php?t=628138
If your phone is rooted you can use the application manager to erase any app you want and hopefully thats good enough for what your looking for. I
It sounds like your looking to do more that I have knowledge in so hopefully this will help till you get the setup your looking for
When you setup your device on first boot after flashing a rom doesn't it have an option for wifi only connection on setup? Granted you may still have to airplane mode afterwards like said above, not really sure but worth a try.... hope this helps.
Sent from Ginger Tazz 10 on XDA App
I'd be interested, I wouldn't mind letting a youngin use it for mp3 player or something but always worried about an accidental 911 call or something dumb like that
sent from a phone
I think you could take an existing ROM and prune it from them and be happy. Removing drivers or disabling devices ? Not really necessary.... I think if you removed "phone.apk", there'd be no accidental 911 calls made, at least. My first thought was, don't activate it, but you can always make 911 calls as alluded to.
I realize removing the non-used stuff is likely in effort to trim it down to just the necessary stuff, but as I said, it might be overkill.
I've actually been thinking something like this would be awesome for when I retire this thing I say +1
Sent from my mePhone.
dragon1018 said:
as far as using it as a wi-fi only device you can simply put the phone into airplane mode and then urn on the wi-fi.
Unwanted programs I have used this program (link below)
http://forum.xda-developers.com/showthread.php?t=628138
If your phone is rooted you can use the application manager to erase any app you want and hopefully thats good enough for what your looking for. I
It sounds like your looking to do more that I have knowledge in so hopefully this will help till you get the setup your looking for
Click to expand...
Click to collapse
Airplane mode turns off the WIFI, too. It turns off any and ALL wireless signals, 2G, 3G, Wifi, any.
roirraW "edor" ehT said:
Airplane mode turns off the WIFI, too. It turns off any and ALL wireless signals, 2G, 3G, Wifi, any.
Click to expand...
Click to collapse
You can re-enable WiFi after you enable airplane mode.
You could always go into the test call mode or whatever the field programming thing is and disable the radio from there. I forget exactly what the number is to call but it's the one that brings up all the field test tools and stuff...there's an option to completely disable the cellular radio.
Sounds like your basically looking for a honeycomb rom. Pretty sure if we just wait a bit we could possibly see something like that soon. I have faith in our devs.
Powered By: GSB CM7 2.1
I am looking for something like this too. I just bought a bluetooth odb2 adapter so I can use my old eris to monitor my vehicle and do gps and music. I'll probably even make a sweet case for it so basically only the screen shows and it could be installed in the dash. It could sync music whenever I am home in range of wifi. Plus with the new google maps "offline" feature, I could cache frequently used areas.
I think you should go ahead and start something of a tutorial. Just start from a good lean stable 2.2 rom and document what you remove/add etc. and what apps work best for something like that.
If you remove /system/bin/rild, (the "Radio Interface Layer Daemon") there is no longer a possibility of dialing any calls, getting any voice or data service, SMS, MMS et cetera.
This is not the same thing as turning off power to the radio, however. I think you would want to do that for reasons of power conservation alone.
bftb0 said:
If you remove /system/bin/rild, (the "Radio Interface Layer Daemon") there is no longer a possibility of dialing any calls, getting any voice or data service, SMS, MMS et cetera.
This is not the same thing as turning off power to the radio, however. I think you would want to do that for reasons of power conservation alone.
Click to expand...
Click to collapse
If you do that doesn't it also disable GPS except if wifi is on? I noticed that some still want to use GPS and I know that if you disable network GPS only works through wifi
Ginger Tazz 14 on XDA
This is an great concept for a ROM. I have also been thinking about this, because shortly I will be retiring this little guy. I was going to give it to my wife because she refuses to get a smartphone and has an mp3 player from like 8 years ago that she refuses to upgrade! The Eris keeps my kids busy when we are out also. This way I wouldn't have to worry about my kids (or my wife) doing something stupid!
dpiddy14 said:
This is an great concept for a ROM. I have also been thinking about this, because shortly I will be retiring this little guy. I was going to give it to my wife because she refuses to get a smartphone and has an mp3 player from like 8 years ago that she refuses to upgrade! The Eris keeps my kids busy when we are out also. This way I wouldn't have to worry about my kids (or my wife) doing something stupid!
Click to expand...
Click to collapse
True.
Powered By: GSB CM7 2.1
bftb0 said:
If you remove /system/bin/rild, (the "Radio Interface Layer Daemon") there is no longer a possibility of dialing any calls, getting any voice or data service, SMS, MMS et cetera.
This is not the same thing as turning off power to the radio, however. I think you would want to do that for reasons of power conservation alone.
Click to expand...
Click to collapse
Does it work better to remove the line from init.d or whatever? Or do errors finding files not matter?
There is a project underway to do this very thing, keep an eye on these forums and they'll be posting it when its ready for the world.
that sounds awesome can't wait to put it on my eris when i get the Thunderbolt!
and my next phone will have mobile hotspot so whenever I am in my car and away from my home wifi, my "carputer" will have internet access for maps. sweet
Randull said:
There is a project underway to do this very thing, keep an eye on these forums and they'll be posting it when its ready for the world.
Click to expand...
Click to collapse
Do you know who is going to post it?

[Q] Different security settings based on wifi connection/gps?

I cart my Transformer Prime back and forth between campus and home every day, and there's important enough information on my tablet that I use as complicated a swipe pattern as I could possibly make to keep it secure.
Except it's a royal pain in the butt when I'm at home. I tried both just dealing with it and changing the setting every time I got to either place but got annoyed with both solutions. Plus, with Tasker installed I always ask myself why do something when I can automate it?
I'm just wondering if what's asked in the thread title is possible, and if so, how? Thanks guys.
I thought tasker or a similar app could do something like that. Or find a widget or toggle button for THST feature you want.
I'm sure that tasker could do it, but on my own I haven't been able to figure out to have it change depending on which wifi network I connect to.
irishtexmex said:
I'm sure that tasker could do it, but on my own I haven't been able to figure out to have it change depending on which wifi network I connect to.
Click to expand...
Click to collapse
I'm sure that there are apps out there that let you set different user profiles. I would think that would include everything.
Bob

[Q] Do I need a ROM's source code to properly support it?

I did a search and found related threads, but none that answer my question directly. Apologies for the flood of question threads by myself, I'm really putting a lot of effort into learning how to develop for Android though.
So as the thread title states, do I need the source code for a ROM to support it properly and fix any bugs that may arise? Right now, I'm simply using the android kitchen to decompile ROM.zip's and than editing the files that are extracted. I know if your building straight from source, there's a hell of a lot more work that needs to be done to make a custom ROM, but unfortunately I'm stuck with a laptop that only has 10GB left on the HDD so I can't install ubuntu and compile from source as I simply do not have enough storage. (Everything on my HDD is vital, I've cleaned as much as I can and can't really remove anything else)
So can I fix any and all bugs and add feature implementations to a ROM by simply decompiling them and than editing the files inside? Seems to have worked for me so far, but I'm having a hard time with the camera, which has made me wonder if it's even possible to fix the camera without the source code seeing as I probably need to add/update libs and files. Is that possible without the source code? Or am I pretty much screwed here?
Thanks in advance to anyone that can answer my questions! :good:
Edit: Also I would highly appreciate if someone can tell me if it's possible to force the phone to connect to only HSPA+ networks or WCDMA only as I've found it to be called in the phone settings. If I dial *#*#4636#*#* and change the network to WCDMA only, it'll work for a while but eventually my phone goes back to trying to connect to 3G networks as well. The reason I ask is because the place I just moved into has horrible reception and my phone has only 1-3 bars at most. It'll constantly switch between 3G and HSPA+ which causes my data to drop while it's switching, and for some reason 3G doesn't work if I tether to my laptop but HSPA+ does.
Can it be done with a build.prop tweak or some other system file that controls the radio settings?

[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 :-/

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.

Categories

Resources