Continuing to update in Android General Development.
Follow link to new home.
[SCRIPT] Change Hostname
OP Updated to be more consistent across devices.
Will this change only show up on external devices such as adb command prompt, bluetooth connection? Anywhere in the phone we would see it (about > status)? Is this a permanent mod or rom specific?
Thanks!
Sent from my DROID BIONIC using Tapatalk
This is temporary and has to be set at each boot.
What this does is give a name to the wifi machine. I don't think it effects Bluetooth or anything else.
Sent from my DROID BIONIC using XDA App
Related
For all who like the new smooth Gingerbread stock browser but would like to set the User Agent, here are the steps to do so:
1. Open your stock browser
2. Type about:debug in the address bar
3. Press the menu key and tap on Settings
4. The latest option (UAstring) allows you to change your User Agent
5. Disable the "Show Java console" option.
This option is ignored unless about:debug is enabled. So if you see you're getting redirected to the mobile versions of websites you'll just have to retype it again in the address bar.
Sent from my GT-P1000 using Tapatalk
The settings are not saved after killing the browser or reboot. The only way to make it permanent is to edit the browser apk.
Sent from my GT-P1000 using XDA App
On Gingerbread they are saved. I have reboteed 4 times since editing that option and it never reverted back to default.
No need to edit the apk, so
Sent from my GT-P1000 using Tapatalk
It doesnt save for me either.
Never has on any device i have used ua string on
Sent from my GT-P1000 using XDA Premium App
If you look in the uastring field it wil show you "desktop" but if you try let say bbc.com the browser will redirect you to the mobile site.
chiasottis said:
On Gingerbread they are saved. I have reboteed 4 times since editing that option and it never reverted back to default.
No need to edit the apk, so
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
Sent from my GT-P1000 using XDA App
I have this issue too. Even if I change it, it seems like it won't work unless I actually open up settings, and reselect Desktop (even if it is already selected), then reload the site.
It also does not persist through closing/reopening.
lucian777 said:
If you look in the uastring field it wil show you "desktop" but if you try let say bbc.com the browser will redirect you to the mobile site.
Click to expand...
Click to collapse
I tried this and it works!
Even tried opening bbc.com and it shows the full desktop view on mine.
Thanks!
I'm curious, are you guys using Gingerbread's stock browser now, but were using a different browser when you were in Froyo?
Ok, I got it. The browser does save the setting, but it ignores it unless debug mode is on: try rebooting, go to bbc.com and you'll get the mobile version; type about:debug and reload the page: Full desktop version! So as a temporary workaround it is enough to type about:debug when the browser is opened; I suggest also disabling "show java console" within the settings. In the meanwhile I'll edit the apk so that this option isn't ignored, shouldn't take long once I get to use a pc
Sent from my GT-P1000 using Tapatalk
steckums said:
I have this issue too. Even if I change it, it seems like it won't work unless I actually open up settings, and reselect Desktop (even if it is already selected), then reload the site.
It also does not persist through closing/reopening.
Click to expand...
Click to collapse
Same here.
Does ediing the apk file help?
Anyone found a way to make this permanent yet??
Really love to use the stock browser if only i could have it load desktop uastring by default
Overcome RC1 keeps the UA setting
chiasottis said:
For all who like the new smooth Gingerbread stock browser but would like to set the User Agent, here are the steps to do so:
1. Open your stock browser
2. Type about:debug in the address bar
3. Press the menu key and tap on Settings
4. The latest option (UAstring) allows you to change your User Agent
5. Disable the "Show Java console" option.
This option is ignored unless about:debug is enabled. So if you see you're getting redirected to the mobile versions of websites you'll just have to retype it again in the address bar.
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
is this info still valid?
on my sgs2 seems there isn't UAString.
debug voices are:
show javascript console
single column rendering
use wide viewport
normal rendering
enable tracing
enable light touch
enable navigation cache dump
set JS flags
work like a charm.. thanks!
Sent from my GT-P1000 using xda premium
what if i have everything but the UAstring option....?
I've yet to find an app that can do it without root.
I tried using ddms.bat from the sdk to get screencaps but it doesn't recognize my phone as a device (I've turned on USB debugging and pc mode). It worked fine with my Droid1 but no luck with the Droid 3.
Any ideas how we can take screenshots?
Also trying to figure this out. There is a no root screenshot it in the market but I have not tried to set it up
Sent from my DROID3 using XDA Premium App
DDMS.bat from the SDK works fine, sounds like you are missing device drivers for the Droid 3.
I use it whenever I want to take a screen shot off my Droid 3.
If I remember correctly I had to download the drivers from Motorola's site
Don't forget the we live with outher ways of taking a screen shot. And that's using a digital camera. Yes it wont look the greatest but it will work.
Sent from my DROID3 using XDA App
tcrews said:
DDMS.bat from the SDK works fine, sounds like you are missing device drivers for the Droid 3.
I use it whenever I want to take a screen shot off my Droid 3.
If I remember correctly I had to download the drivers from Motorola's site
Click to expand...
Click to collapse
Thanks. I got it to work after downloading the MotoHelper here:
(forum wouldn't let me post the real link, sorry. Google "Download Motorola 5.2.0 Driver with MotoHelper")
There doesn't seem to be a way to download and install individual drivers for specific phones so you have to install that program which stays running in the background on your computer all the time.
You can remove apps from start up in all operating systems, type msconfig in the run or search dialog box for windows.
-smc
No root screenshot is the only app I know of that works on my d3. Tested and can verify that it works
Sent from my DROID X2 using Tapatalk
I'm running the latest liberty rom and i was wondering if there is a way to set the browser to not use mobile web and just open the regular web page all the time
Sent from my Droid 3 Liberty
I can't remember if you can change the user agent but I know you can in other browsers such as Opera and Dolphin.
Sent from my DROID3 using XDA App
Shouldn't I be able to just type something in the address bar to disable it? I wonder?
Sent from my Droid 3 Liberty
You could always see if you can get a URL that indicates non-mobile. Sometimes I have seen a www.whatever.com/index.php?m=0 or something similar where the m means mobile and 0 means false. Maybe bookmark the URLs? Lemme look for a setting in the default Android browser.
Sent from my DROID3 using XDA App
Nope, no setting. Try Dolphin or Opera.
Sent from my DROID3 using XDA App
CM7's browser has options for this. You could potentially compile the CM7 browser for the motoblur framework (I know there is a technique to do this) and put it in /system/data/ in place of Liberty's browser. Obviously it's not nearly as simple as that, but if you really want user-agent settings in the browser, that seems like the way to go. Otherwise, you can flash CyanogenMod now and deal with some of the audio and camera issues, or wait until it's stable to get the user-agent settings.
I would assume the browser would respond to 'about:debug'?
Type about:debug in the address bar and hit go/enter/whatever. It shouldn't visibly do anything. Then hit the menu button > More > Settings > UAString (very last on the list) and change it to 'Desktop'.
It doesn't really stick (you may have to do this each time you launch the browser), but it does work.
Thanks man that works perfect exactly what I wanted
Sent from my Droid 3 Liberty
Does it work out of the box for grandfathered unlimited plans? Hoping it might since this is supposedly vanilla android...
Sent from my SAMSUNG-SGH-I747
Tethering and hotspot options are both available on my phone with the standard 3GB data cap, so I would assume that its available on the unlimited plan as well.
Sent from my HTC first using xda premium
nuclear_eclipse said:
Tethering and hotspot options are both available on my phone with the standard 3GB data cap, so I would assume that its available on the unlimited plan as well.
Sent from my HTC first using xda premium
Click to expand...
Click to collapse
Thanks. Do you have a family share plan or an individual plan? The family share plans apparently include tethering.
Sent from my SAMSUNG-SGH-I747
phositadc said:
Thanks. Do you have a family share plan or an individual plan? The family share plans apparently include tethering.
Sent from my SAMSUNG-SGH-I747
Click to expand...
Click to collapse
It is an individual plan which doesn't include tethering, but the feature is still available.
Didn't work for me I haven't unlocked on HTC dev yet but I don't imagine that will change anything.
Are you on LTE?
Sent from my HTC first
phositadc said:
Didn't work for me I haven't unlocked on HTC dev yet but I don't imagine that will change anything.
Are you on LTE?
Sent from my HTC first
Click to expand...
Click to collapse
Hmm, I just now tried it, and I get the same message. Guess we'll need to wait for a third-party ROM like CM10 before this is an option...
Have any of you tried FoxFi? Its in the Play store, and it's free. There is also PDAnet as well.
Anybody that is rooted get WiFi tethering to work yet? Barnacle or WiFi tether for root users or something like that?
Sent from my SAMSUNG-SGH-I337
I'm also having the same problem with wifi hotspot (tethering). Unlocked my phone (originally locked with AT&T) and anytime I click to enable Portable wifi hotspot I get "There is a temporary problem that prevents the enablement of the Mobile Hotspot function. Please retry later."
I've also tried installing FoxFi to see if I could tether that way - no luck. I get the same error message as above.
Any one have any solutions?
Solved! Alright, so I rooted the phone using the HTC First All In One found here: http://forum.xda-developers.com/showthread.php?t=2242639
Once the phone was rooted, I downloaded an app on Google Play called "WiFi Tether" (do not download FoxFi, it doesn't work). The "WiFi Tether" app works ONLY for rooted phones.
Now I can finally tether!
jboesch said:
Solved! Alright, so I rooted the phone using the HTC First All In One found here: http://forum.xda-developers.com/showthread.php?t=2242639
Once the phone was rooted, I downloaded an app on Google Play called "WiFi Tether" (do not download FoxFi, it doesn't work). The "WiFi Tether" app works ONLY for rooted phones.
Now I can finally tether!
Click to expand...
Click to collapse
What settings did you use with Wifi Tether for root users? I'm having trouble getting it to work with my rooted HTC First.
GodsMoon said:
What settings did you use with Wifi Tether for root users? I'm having trouble getting it to work with my rooted HTC First.
Click to expand...
Click to collapse
I opened up Wifi Tether, went to "Settings", then changed my Device-Profile to "Generic ICS/JB (wlan0)". Hope it helps!
jboesch said:
I opened up Wifi Tether, went to "Settings", then changed my Device-Profile to "Generic ICS/JB (wlan0)". Hope it helps!
Click to expand...
Click to collapse
That's not working for me maybe because I only used moonshine?
I scoured the interwebs and found these solutions...
These ways will work for people who can't still can't get their hotspot working:
Stock roms seem to whitelist the apns that can use their tether, so either
1. Insert entitled {yourCarrierAPN} into /data/data/com.android.providers.telephony/databases/telephony.db with sqlite editor:
Old Instructions:
1. Use a rooted filemanager (e.g. ES File Explorer) to backup the Telephony Database (/data/data/com.android.providers.telephony/databases/telephony.db) to a safe place (e.g. /sdcard/).
2. Download SQLite Installer for Root from the Market and open the app and install SQLite3
3. Open an adb shell
4. Type the following command in to open the telephony database:
su -c sqlite3 /data/data/com.android.providers.telephony/databases/telephony.db
5. This should have opened sqlite3. If it did then type the following command in to update the database:
INSERT INTO carriers (name, numeric, mcc, mnc, apn, authtype, type, insert_by, state, protocol, roaming_protocol, carrier_enabled, bearer) VALUES ("Entitlement","302720","302","720","ltemobile.apn ","-1","entitle","internal","hidden","IP","IP","1","0" );
6. To confirm that this has been applied you can type the following:
select * from carriers;
This should list all the carriers you have in your telephony.db and the one you just added should be at the bottom.
7. Type the following to quit sqlite3
.exit
8. Type the following to reboot your phone
reboot
Click to expand...
Click to collapse
http://www.igottadroid.com/ModMarket/Listings/cmaxwe1722249.html
Summary:
a. Find /data/data/com.android.providers.telephony/databases/telephony.db and it's 'carrier' table
b. Edit telephony.db with sqlite editor and add a row that is the same as the hidden AT&T Entitlement APNS, but change the numeric, mcc, mnc, apn type to match your current cellphone's APN in the database
c. Save, reboot, and viola! default tethering activated
or
2. Hack and disable apn check in framework-res.apk
http://forum.xda-developers.com/showthread.php?t=2057344
I have a GS6 64GB running the latest OTA and rooted on Ping Pong Root. I am trying to automate starting my wifi hotspot and the third party apps don't seem to work so I figured I would use tasker to input a couple of taps but the command won't run. Wondering if anyone else has run in to this. I have given tasker root privilege and enabled its accessibility setting. The circle in the tasker UI goes red and it never completes the task. I never had an issue on my GS5. I tried the swipe command as well with the same outcome. I also opened a terminal window to run the command and it said the tap command didn't exist. I ran the swipe command in terminal and it worked but taskers run shell > input swipe didn't. Any help would be great. Ultimately I want a way to get Wifi hotspot to turn on when it sees my cars bluetooth. I have AT&T so i need to swipe on then verify so it is a couple steps.
I've been trying to do the exact same thing with no luck. I replicated the same thing on my s4 that I recently got running lollipop. Not sure if its a Samsung lollipop issue or a lollipop issue in general.
The only thing I was able to do to make it easier was add a quick settings toggle to enable it. Makes it a little easier. I just wish I could get rid of the warning about turning wifi off and having to tap ok.
Sent from my SAMSUNG-SM-G920A using XDA Free mobile app
JHarley17 said:
I've been trying to do the exact same thing with no luck. I replicated the same thing on my s4 that I recently got running lollipop. Not sure if its a Samsung lollipop issue or a lollipop issue in general.
The only thing I was able to do to make it easier was add a quick settings toggle to enable it. Makes it a little easier. I just wish I could get rid of the warning about turning wifi off and having to tap ok.
Sent from my SAMSUNG-SM-G920A using XDA Free mobile app
Click to expand...
Click to collapse
After doing some research I found its an issue with new 64 bit devices. Anyway I found a work around using secure settings plugin. The input tap command works if you use the secure settings plugin and put the command in there.
Pandaclaw said:
After doing some research I found its an issue with new 64 bit devices. Anyway I found a work around using secure settings plugin. The input tap command works if you use the secure settings plugin and put the command in there.
Click to expand...
Click to collapse
That's good to know. After I was able to accomplish that. It just the secure setting method to activate WiFi hotspot and the tasked WiFi tether function and they both work now. I didn't notice am update to either but I'm glad it work now.
Sent from my SAMSUNG-SM-G920A using XDA Free mobile app
JHarley17 said:
That's good to know. After I was able to accomplish that. It just the secure setting method to activate WiFi hotspot and the tasked WiFi tether function and they both work now. I didn't notice am update to either but I'm glad it work now.
Sent from my SAMSUNG-SM-G920A using XDA Free mobile app
Click to expand...
Click to collapse
I'm curious what you did to make the wifi hotspot functions work in securesettings? I'm rooted with pingpong but if I run a task to enable wifi hotspot it fails every time.
Kieffer87 said:
I'm curious what you did to make the wifi hotspot functions work in securesettings? I'm rooted with pingpong but if I run a task to enable wifi hotspot it fails every time.
Click to expand...
Click to collapse
It works in secure settings and just the wifi tether in tasker. I'm not really sure what I did. Used the input tap method to activate it. And tried after that and it worked. Didn't try it right before that tho. I'm running stock rooted oe2 (I think that's it, the update). I have the WiFi tether mod installed but that's only to get rid of the verify process it did when I turn it on. It didn't work after that I tried.
Sent from my SAMSUNG-SM-G920A using XDA Free mobile app
---------- Post added at 04:20 PM ---------- Previous post was at 04:19 PM ----------
Mine use to fail every time using both methods.
Sent from my SAMSUNG-SM-G920A using XDA Free mobile app
I just flashed clean rom and it no longer works. It must have been a mod I made. I wanted to try something. The wifi kept cutting in and out on me for some reason
Sent from my SAMSUNG-SM-G920A using XDA Free mobile app