I'm trying to figure out the stock android networking setup, specifically the routing and firewall rules. For example:
1) What stock settings might prevent me from talking from an external device through the android to a device tethered to it?
2) Where (in the AOSP source?) are the firewall rules that allow pings by default?
...etc. Basically-- any reference in stock android where iptables/routing rules are defined would be welcome.
Related
I am a n00b with Android and have the following question. Are EVDO authorization credentials such as MIP/PPP username and password are set within OS, i.e. built-in into PPP daemon? If so, then rooting is required to modify those settings (for example, to use the firmware with another Carrier).
Or are they stored separately, outside of- and external to Android OS? If, so rooting neither required, nor helpful for modifying EVDO authorization credentials
Hello;
I would like dev a little tools for disconnect/reconnect data connection and send a ping to check the connection.
But I don't know the command for set data connection on/off (Like the menu in parameter)
The phone run under Android 2.3.3
What is the command to use for that ?
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
UP, For information the application will be run on a rooted phone
Hi everybody,
I have been advised to seek for information on your forum by people from a french forum, Phon Android.
I am trying to understand limitations put by Google on the access to Android system. Here a few pieces of information I have, which might not even be exact. Please, correct me and supply with the right info:
- Google provides some access to the Android functionalities, but not all,
- For example, one restriction is access to GPS switch,
- No one knows on which basis Google forbids such or such access,
- So, Google provides some library syntax to use Android system, but not its code ?
- There are systems, like Cyanogen which allow to use all the functionalities brought by Android. But from where do the developpers of such system get the information, if Google does not give the full info. on its system ?
Hi guys, I'm learning to customize ROMs and want to customize the captive portal server. Since I'm behind the Great Firewall in China, the default server, which is google.com , is blocked. I wonder if there's a way to modify the captive portal server so I can integrate the modified server into a custom ROM, rather than use adb commands after the system is all set up?
I guess if the server URL is written in a certain file and it can be modified on a file level? But so far in the forum I haven't seen another way except for command line .
Hey guys!
I´m new here and I hope you can help me with some questions... I didn´t know if I´m right here, so please correct me if I do something wrong
My "setup":
- Samsung S3 international with CM13
I like to create a global "Content Filter", which filters files (pictures, videos, documents, etc.) on my smartphone. So what I mean is something like what the UserManager (sorry I can´t poste the Link to Android API) from Android framework does:
User A (owner) creates pictures with the camera, download files, etc. and if User B (guest) logs in, User B can´t access the files from User A and vice versa.
The diffrent part is that I like to "hide" or better make them not accessable by custom criteria - for example "only pictures from the last two hours will be shown to User B". And the main point ist that every application gets the same content.
I thought I have to edit and extend the internal/external storage functions (or ContentProvider?) by my custom filter. Later there will be a system app for controlling the behavior of this filter.
Now there are some question, which I ask myself:
- Is it possible to implement this functionality in Android specific code and not in device specific code? So is it possible to make it portable for other devices and Android versions (Custom ROM, manufacture ROM or the pure Stock Android from Google´s Nexus phones) without "much" effort?
- Does it make more sense to use the original Stock Android instead of Cyanogenmod to reach the portability?
- Where do I have to start? I downloaded the source Code of CM13 for the Samsung S3. But how I ask before - is there a generic way for all devices and android versions? I started to look into the framework specific code of android (system/frameworks/base/... ). I thougth I can build the filter between the api calls (java -> jni bridge -> c/c++), but that would be not the right place, yes?
I hope someone understand my plan and can help me with some informations and tipps or where I have to look to get them!
Thanks!!
Fabian
I think you might mean the profile system that android used to have on ICS?.
Unfortunately I can't answer why they removed that feature. Does the phone not have an option or something if you have 2 or more google accounts registered to the device?..
Beamed in by telepathy.