[Q] How to set http_proxy in android - Galaxy Y GT-S5360 General

Any one know How to set http proxy in android?
In Linux , We used use 'http_proxy' environment variable but what about in the android?
is it possible to change system-wide proxy settings?
I would like to know command line methode

Related

[HACK] Customizing Bada OS

Hi all, using TkFileExplorer 2.4 you can see and edit Bada system files, in this thread I will report all usefull changes I will find and you could perform using this tool
If you find something other, you might write it here so we have all them collected in the same place
How to use TkFileExplorer:
-Connect your wave to PC with usb cable;
-Select USB Debug connection;
-Start TkFileExplorer and clic Connect;
-if the program fails to connect, try changing the COM port number in Settings;
-Make a backup of the files you change;
-...and try at your own risk!
Changing default browser brightness:
File: Phone:/Settings/Default/Registry/BrowserSettings.ini
Customize power on/off screen:
for configuration:
File: Phone:/Settings/Default/Registry/PowerOnOff.ini
for resources:
Directory: Phone:/SystemFS/PowerOnOff/
Change volume presets for calls, audio player, fm radio, video player, ringtone...:
File: Phone:/SystemFS/Driver/volpresets.xml
Cleaning themes preview images:
Simply clean the files in:
Directory: Phone:/User/Mass/Theme/Default/
Change camera settings:
File: Phone:/Settings/Default/Registry/CamSetting.ini
File: Phone:/SystemFS/Driver/CameraCaps/DevCamDeviceCapsNConfig_Primary.xml [only Bada 1.2]
Change Samsung LBS settings:
File: Phone:/Settings/Default/Registry/LbsConfig.ini
for using external bluetooth gps antenna, change BtGPS=1 (not tested yet) in:
File: Phone:/Settings/Default/Registry/LbsAppRegistry.ini
Usefull directories:
Internal user storage: Phone:/Media
MicroSD storage: Phone:/Mount/Mmc
Preinstalled apps: Phone:/Osp/Application/
Hey thanks a lot for the heads up! I just had a question... Can we really change the intro animation..? I mean completely replace it..? Or is that not possible??
Reply soon....
Hi all, I find the file /User/OspSys/LifeLog/Database/lifelog.db.
It's SQLite (view by sqlitebrowser.sourceforge.net )
There are many information, calls, deleted messages (but only 100 chars).
I hope, it's information isn't send anywhere, because my wave is trying to connect once a day (it's maybe one of the widget)
sonalswaroop said:
Hey thanks a lot for the heads up! I just had a question... Can we really change the intro animation..? I mean completely replace it..? Or is that not possible??
Reply soon....
Click to expand...
Click to collapse
hi, today I just gave a quick look to all files, but I think it's possible, in PowerOnOff.ini there are clear bindings to two .swf files and a startup / shutdown .wav sound contained in the resource path Phone:/SystemFS/PowerOnOff not sure, need to watch those files, I'll verify in next days..
guari said:
Change volume presets for calls, audio player, fm radio, video player, ringtone...:
File: Phone:/SystemFS/Driver/volpresets.xml
Click to expand...
Click to collapse
Yes, you can change this too in Trix but in fact nothing change. Exp. you can't change "volume level" (exp. in MediaPlayer there is limit to 14 steps, if you change that to 15 steps and add one more <spklevel> and <earlevel>-so that there will be 15 steps, but nothing change in Wave, you can still able go to max. 14 steps in MediaPlayer) and you can't change that may mp3 playing miusic lauder as well as playing video, even if you copy and paste settings from VideoPlayer to MediaPlayer (only test that on speaker not on headphones).
In Registry\MainMenu_reg.ini you can remove any icons from the main menu (except SamsungApps). The file format is clear, I will note only that the system items will have MenuType=0, custom user applications - MenuType=1, SamsungApps - MenuType=2.
And, of course, make a backup before any manipulations with MainMenu_reg.ini
to be clear
adfree had made all those expermintes before & we already know these things
if there is something new please post it
Is there a file in registry where are the settings for the screen lock?Or other display related settings?
azcv said:
Is there a file in registry where are the settings for the screen lock?Or other display related settings?
Click to expand...
Click to collapse
Unfortunately I have not found anything like that using tkFileExplorer...
Assuming that replacing original browser it's difficult to do, source code is available (http://opensource.samsung.com/reception/reception_main.do?method=reception_list&menu_item=mobile thanks to sabianadmin) but the browser seems deeply integrated in the os files (also notice that Samsung Dolfin is not the open source browser Dolphin..): is there anyone who found in filesystem files the textures used by the browser GUI? if aren't cripted it will be possibile to change them for having a more usable GUI on our little screen (I'm thinking of upper/lower bars..)
guari said:
Assuming that replacing original browser it's difficult to do, source code is available (http://opensource.samsung.com/reception/reception_main.do?method=reception_list&menu_item=mobile thanks to sabianadmin) but the browser seems deeply integrated in the os files (also notice that Samsung Dolfin is not the open source browser Dolphin..): is there anyone who found in filesystem files the textures used by the browser GUI? if aren't cripted it will be possibile to change them for having a more usable GUI on our little screen (I'm thinking of upper/lower bars..)
Click to expand...
Click to collapse
I think the browser user interface might be in the file called BrowserAppControl.so which can be found in the SystemFS>Osp folder. All files in that folder are in .so formats. But they are RSA 1024bit signed. And they are not like other settings in phones which are written in html or xml. These files are similar to the .dll files on Windows. .so files are Linux format files.
Is there anyway to modify an *.ini file to enable "Noise Reduction" to always be on during calls?
tibere86 said:
Is there anyway to modify an *.ini file to enable "Noise Reduction" to always be on during calls?
Click to expand...
Click to collapse
I will check on that and get back to you.
astrotom said:
I will check on that and get back to you.
Click to expand...
Click to collapse
Thank you astrotom!
Can I changing default brightness in the VideoPlayer?
Hello
This software doesn't work with my phone. I can't click on the connection i receved error message : "Warning : Unable to open the specified port. Please try again". But i can't configure in the settings.
Thanks for your help.
I'm sory for my bad english, but i'm french.
vort said:
Hello
This software doesn't work with my phone. I can't click on the connection i receved error message : "Warning : Unable to open the specified port. Please try again". But i can't configure in the settings.
Thanks for your help.
I'm sory for my bad english, but i'm french.
Click to expand...
Click to collapse
i got the same error
im running the latest firmware s8530DXKB1/s8530OLBKB1
you have to specify the port you are using for connection from settings
in Phone:/SystemFS/Driver/CameraCaps/DevCamDeviceCapsNConfig_Primary.xml
you can change max ISO and max resolution parameters for phone camera, so you can set iso1600 or 8mp for photos, probably it is useless but it's still a hack
thanks to: http://www.badaitalia.com/2011/06/13/fotografie-con-poca-luce-a-iso-1600/
(on Bada 1.0.2 this system folder is missing so it's not possible..)
Yeah, I read it. Tonight I'll try and I'll let you know.

[Q] proffesionals only open vpn

hi again
where can i get the vpn configuration files(not the vpn provider files)
tun.ko and chargemon and other files
- is there a special version of tun.ko file for the SE ARC 2.3.3 or any tun.ko will do the job
- what is better the open vpn gui application or vpn settings application
-what is the difference between the insmod and probmod what should i use on my ARC
-is there another free open vpn (freeopenvpn.com i use) the ip is blocked for the market access.
-i used the air vpn i was able to make files for any ip (ACCESS VPN WITHOUT OUR CLIENT) now i could not .
PLEASE HELP FOR ALL ABOVE
I WILL BE SOO GLAD
THANKS IN ADVANCE

Proxy & Port Settting

hi dudes ...
i have a arc and i wanna use wifi internet in my university
but i have to set proxy and port setting and then in my frist connection i must enter usrname and pass ...
in labtop with firefox it's easy ... so i set proxy and port and in first use system ask me usrname and password and i enter it and done ...
but how do it in my phone !? actually how i can set this setting ?!
also i use apps like transparent proxy and proxydroid but didnt work !! (
- plz help me and plz share your info
>>>> thX a lot <<<<<<
up .................
any idea !???
iAchilles said:
any idea !???
Click to expand...
Click to collapse
Do you have root access? I belive all the proxy apps manipulate the iptables to setup the proxy and root access it needed to this.
I can manually setup iptables to forward traffic to the proxy server in my office. This is working fine but our proxy is running without authentication. You probably need a software app like transproxy to setup iptables and connect to proxy with authentication.
hygge said:
Do you have root access? I belive all the proxy apps manipulate the iptables to setup the proxy and root access it needed to this.
I can manually setup iptables to forward traffic to the proxy server in my office. This is working fine but our proxy is running without authentication. You probably need a software app like transproxy to setup iptables and connect to proxy with authentication.
Click to expand...
Click to collapse
yes ... my arc is rooted and unlock bootloder
and can u explain me how i can do it !? how u do it !?
thx
PLz .... up ..........
+ 1 for any help with this. Does anyone know how to add a manual proxy or automatic configuration script address so that phone is proxy aware? I understand that the Firefox browser can be configured to do this but it doens't help for all the other apps that need internet connectivity.
replicon1 said:
+ 1 for any help with this. Does anyone know how to add a manual proxy or automatic configuration script address so that phone is proxy aware? I understand that the Firefox browser can be configured to do this but it doens't help for all the other apps that need internet connectivity.
Click to expand...
Click to collapse
i wanna use just brower in my phone ... and u know how i can do it !??
i think u know how can do it by firefox !!??
thx for helping
To set a proxy server in Firefox for Android:
Type "about:config" in the address bar and press return.
Type "proxy.http" into the search box on the about:config page.
Tap on "network.proxy.http" and type the server name into the text box.
Tap on "network.proxy.http_port" and type the port number into the number box.
Find "network.proxy.type" and set it to 1.
replicon1 said:
To set a proxy server in Firefox for Android:
Type "about:config" in the address bar and press return.
Type "proxy.http" into the search box on the about:config page.
Tap on "network.proxy.http" and type the server name into the text box.
Tap on "network.proxy.http_port" and type the port number into the number box.
Find "network.proxy.type" and set it to 1.
Click to expand...
Click to collapse
so thanks
but can u tell me how to set user & password (authentication) in firefox !?
( or with another apps !?? )
thX

Programatically set default file associations

In windows 8, programs "cannot" set themselves as the default to open a file. As a programmer, I want my power over the computer, so I have found a way to change the associations.
The "user choice" of the default file handler is located in the key
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\[extension here]\UserChoice
Unfortunately, this key is protected by some mystery hashing algorithm that incorporates the extension, your user account, and the program in some convoluted way.
Fortunately, we can, of course, set the default file handler by brutally deleting the other file handlers with extreme prejudice, making windows think that your program is the only available program capable of opening that type of file, thereby making it default.
These are located in:
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\[extension here]\OpenWithList
HKCR\[extension here]\OpenWithList
How to:
1-set your program as "default" the normal way, as you would in windows 7.
2-delete the OpenWithList keys located in HKCU and HKCR, and if necessary, the UserChoice key.
3-???
4-Profit
If you use this process, please post feedback so that I know it works. When I get around to it, I will write a program as an example.
cool thanks work form me
Thank you for sharing this information. It pointed me in the right direction.
To not let the users continually shift between the desktop and the default Store Apps (Metro applications), we want to start all images and videos in the desktop programs.
It didn't work on our versions of Windows 8 Pro. HKCR\[extension here]\OpenWithList was empty or it didn't exist. The solution for me was:
1) change as needed: HKCU\Software\Microsoft\Windows\CurrentVersion\Exp lorer\FileExts\[extension here]\OpenWithList
2) remove all the keys beginning with 'AppX' for the desired file extensions in [HKEY_CLASSES_ROOT\[extension here]\OpenWithProgids]
If the user can use a virtual registry, you probably need to delete it for the elevated administrator and the user.
The keys beginning with AppX are the links to the Store Apps.
(Do not forget to backup registry keys before making changes)
All the extensions for video and images:
.3g2, .3gp, .3gp2, .3gpp, .aac, .adt, .adts, .AIF, .AIFC, .AIFF, .ASF, .ASX, .AU, .avi, .bmp, .dib, .gif, .jfif, .jpe, .jpeg, .jpg, .jxr, .M1V, .m2t, .m2ts, .M2V, .m3u, .m4a, .m4v, .MID, .MIDI, .mod, .mov, .MP2, .MP2V, .mp3, .mp4, .mp4v, .mpa, .MPE, .mpeg, .mpg, .mpv2, .mts, .png, .RMI, .SND, .tif, .tiff, .TS, .TTS, .wav, .WAX, .wdp, .wm, .wma, .wmd, .wms, .wmv, .WMX, .wmz, .WPL, .WVX
I hope this information can helps someone.
Or right click on a file of the type you want to modify and go to open with...
Sent from my SCH-I510 using Tapatalk 2
JihadSquad said:
Or right click on a file of the type you want to modify and go to open with...
Sent from my SCH-I510 using Tapatalk 2
Click to expand...
Click to collapse
If you read the thread title, you would realize that this is referring to programmatic modification of default associations. MS "prohibits" programs from modifying the default file associations, so this is a valid workaround.

A-GPS server

Hi,
Can someone tell me where I could find the way to modify the supl address used for a-gps?
No more gps.conf file or similar, is it made only with ROM build?
LineageOS 18.1
I think the only way is to edit gps.conf.
[Q] Disable A-Gps
Hello guys there is a way to complete disable A-gps from the system? Turn off data is not a solution for my situation i want to exclude any contact from internet and use only gps chip, not assisted in gps.conf can i do something? or i have to...
forum.xda-developers.com
BTW, I found another way to diable it:
Code:
settings put global assisted_gps_enabled 0
To which server would you change it?
The easy way was this gps.conf file when it was accessible.
Thanks for the info, the code ended with success but GPS still connect to some supl server.
I used similar functions to modify captive portal and NTP server and it worked fine.
Would be happy if I could just change to localhost, I don't need it and don't like all these connections spam.
evilorb said:
The easy way was this gps.conf file when it was accessible.
Thanks for the info, the code ended with success but GPS still connect to some supl server.
I used similar functions to modify captive portal and NTP server and it worked fine.
Would be happy if I could just change to localhost, I don't need it and don't like all these connections spam.
Click to expand...
Click to collapse
I can well edit gps.conf from recovery.

Categories

Resources