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