[Q] Another 4.3 Wifi Tether TrevE problem thread - Sprint Samsung Galaxy Note II

I typed this in a previous thread, but I don't know how often previous threads are read. Sorry for the repeat if that is a faux paus in this forum.
Similarily to a previous poster, when I updated to 4.3, my wifi tether trevE no longer works. Whatever is keeping it from working is preventing my wife's s4, both are rooted (obviously), they both have the same message. When I try to start tethering the reply message is " tether started with problems, please Check logs"
when I go to the logs, it tells me the file doesn't exist. I think this is my main problem.
When looking up the proper settings, enable mss Clamping was # 10 on the list, but there wasn't a setting for mss clamping.
I have attached a picture that has four pics with each individual problem that appears. My experience amounts to being able to root and that is pretty much it. I don't know what else would cause these problems in both a note 2 and S4.
Does anyone know what the problem is and what I can do to fix trevE? Are there new settings or do I have to download an older version...? Thanks in advanced.

Aronmorg said:
I typed this in a previous thread, but I don't know how often previous threads are read. Sorry for the repeat if that is a faux paus in this forum.
Similarily to a previous poster, when I updated to 4.3, my wifi tether trevE no longer works. Whatever is keeping it from working is preventing my wife's s4, both are rooted (obviously), they both have the same message. When I try to start tethering the reply message is " tether started with problems, please Check logs"
when I go to the logs, it tells me the file doesn't exist. I think this is my main problem.
When looking up the proper settings, enable mss Clamping was # 10 on the list, but there wasn't a setting for mss clamping.
I have attached a picture that has four pics with each individual problem that appears. My experience amounts to being able to root and that is pretty much it. I don't know what else would cause these problems in both a note 2 and S4.
Does anyone know what the problem is and what I can do to fix trevE? Are there new settings or do I have to download an older version...? Thanks in advanced.
Click to expand...
Click to collapse
load up connectbot and ssh to your localhost.
$ su -
permit root access through whatever app you use
# cd /data/data/com.googlecode.android.wifi.tether/var
# chmod 766 tether.log
That is as far as I have gotten. That lets you view the errors in the app (which are many).
Loading WiFi driver (cmd) - failed
Stopping AP - failed
Stopping WiFi interface - failed
Reloading firmware - failed
Starting AP interface - failed
Configuring AP - failed
Starting AP - failed
Configuring Ip-address - failed
Enabling Routing Fix - failed
Enabling NAT rules - failed
Enabling MSS clamping - failed
Enabling IP forwarding - done
Tethering now running - done
I will play more with it tomorrow to try to figure out why things are failing. I am leaning toward permissions issues as it seems that permissions were at the center of the log problem.

Aronmorg said:
I typed this in a previous thread, but I don't know how often previous threads are read. Sorry for the repeat if that is a faux paus in this forum.
Similarily to a previous poster, when I updated to 4.3, my wifi tether trevE no longer works. Whatever is keeping it from working is preventing my wife's s4, both are rooted (obviously), they both have the same message. When I try to start tethering the reply message is " tether started with problems, please Check logs"
when I go to the logs, it tells me the file doesn't exist. I think this is my main problem.
When looking up the proper settings, enable mss Clamping was # 10 on the list, but there wasn't a setting for mss clamping.
I have attached a picture that has four pics with each individual problem that appears. My experience amounts to being able to root and that is pretty much it. I don't know what else would cause these problems in both a note 2 and S4.
Does anyone know what the problem is and what I can do to fix trevE? Are there new settings or do I have to download an older version...? Thanks in advanced.
Click to expand...
Click to collapse
Are you running a fully stock rooted rom? Are you running one built by Platt or Lorjay?
If stock I would go to recovery and flash one of the hotspot hack zips around the forums.
If you are on Platt or Lorjay then it is built-in and you can just use the native hotspot.

atombombzero said:
load up connectbot and ssh to your localhost.
$ su -
permit root access through whatever app you use
# cd /data/data/com.googlecode.android.wifi.tether/var
# chmod 766 tether.log
That is as far as I have gotten. That lets you view the errors in the app (which are many).
Loading WiFi driver (cmd) - failed
Stopping AP - failed
Stopping WiFi interface - failed
Reloading firmware - failed
Starting AP interface - failed
Configuring AP - failed
Starting AP - failed
Configuring Ip-address - failed
Enabling Routing Fix - failed
Enabling NAT rules - failed
Enabling MSS clamping - failed
Enabling IP forwarding - done
Tethering now running - done
I will play more with it tomorrow to try to figure out why things are failing. I am leaning toward permissions issues as it seems that permissions were at the center of the log problem.
Click to expand...
Click to collapse
Thanks for the response, truthfully I've never done connectbot and ssh. But it'd be fun to learn, I'll try to learn over the holidays, but I wouldn't understand what's wrong with the app. I'm not a developer. Is there a webinar that explains the basics of understanding apps so that I could learn?
I'm wondering if the developer knows of these issues.

bhint15 said:
Are you running a fully stock rooted rom? Are you running one built by Platt or Lorjay?
If stock I would go to recovery and flash one of the hotspot hack zips around the forums.
If you are on Platt or Lorjay then it is built-in and you can just use the native hotspot.
Click to expand...
Click to collapse
I am running a rooted stock with a stock recovery. In installing the hotspot hack zip, does this require TWRP or CWM recovery??

Aronmorg said:
Thanks for the response, truthfully I've never done connectbot and ssh. But it'd be fun to learn, I'll try to learn over the holidays, but I wouldn't understand what's wrong with the app. I'm not a developer. Is there a webinar that explains the basics of understanding apps so that I could learn?
I'm wondering if the developer knows of these issues.
Click to expand...
Click to collapse
I am just a UNIX admin so I know enough to be dangerous. I am no dev.
bhint15 said:
Are you running a fully stock rooted rom? Are you running one built by Platt or Lorjay?
If stock I would go to recovery and flash one of the hotspot hack zips around the forums.
If you are on Platt or Lorjay then it is built-in and you can just use the native hotspot.
Click to expand...
Click to collapse
Also, I can't find the hack of which you speak. I scoured the forums today and found nothing.

I'm running synergy 4.3 rom and native hotspot works no problem. .

I just got my wife's s4 to use the native hotspot by downloading the service.odex and .jar with stock rom. I don't know if something like that is available with the note 2. I see that someone using the synergy 4.3 rom got native hotspot to work, but is that possible with stock rom.

Related

[Q] Can defy with cm7 tether in infrastructure mode?‎

I've try the wifi tether for root user. But it seems not work on infrastructure mode. How can I tether in infrastructure mode instead of ad-hoc mode?
The same in MIUI
The same problem in MIUI.
Just ad-hoc. In Eclair and Froyo the infrastucture was possible with "thether for root users".
That isn't the same on MIUI. Just ad-hoc, even with the same software.
Any suggestion?
My Defy running uk stock 2.2 generates a hotspot in infrastructure mode and it works well with my Asus Transformer.
I have seen comments in the CM7 thread that suggest that to generate a tether spot you need to install wireless tether for root - I think others have mentioned that this is only adhoc.
Obviously I am not running CM7 so can't confirm this for you.
Have a look at the main CM7 thread.
Infact the "wifi tether for root" worked in infrastructure in Eclair and in Froyo, but just in ad-hoc in MIUI and CM.
I really can not figure why ...
i posted this in CM7 thread, just to answer your question, im pasting it here:
found it!
thanks to a thread at modaco, just copy hostapd file from /system/bin of any Defy froyo rom, and paste it in CM7 /system/bin , chmod 755, run wifi tether for root, it will now have WPA/WPA2 not only WEP, and also run as infrastructure mode!
file is attached for those who want the solution quick and dont have froyo at hand.
What's the exact name of the wifi tether app you guys are using? I couldn't find one named "wifi tether for root users" in the market. I found this one googling around though: http://code.google.com/p/android-wifi-tether/. Is this the one?
Thanks
twa_priv said:
What's the exact name of the wifi tether app you guys are using? I couldn't find one named "wifi tether for root users" in the market. I found this one googling around though: http://code.google.com/p/android-wifi-tether/. Is this the one?
Thanks
Click to expand...
Click to collapse
yes it is.
Hello! I used to use Wireless Tether(the released version, not the beta one) and it worked fine on my default eclair. now that i have CM7 RC0, i have some problem, but ONLY if i activate access control.
Tried the version above, the beta one, and i couldn't even be able to find the network(and don't have the hide SSID option to be enabled )
any idea of what could it be?
soueumesmoaki said:
Hello! I used to use Wireless Tether(the released version, not the beta one) and it worked fine on my default eclair. now that i have CM7 RC0, i have some problem, but ONLY if i activate access control.
Tried the version above, the beta one, and i couldn't even be able to find the network(and don't have the hide SSID option to be enabled )
any idea of what could it be?
Click to expand...
Click to collapse
try version 2.07:
http://code.google.com/p/android-wi...etail?name=wireless_tether_2_0_7.apk&can=2&q=
Hey guys... i'm sorry for what i'll say now.. but i'm not a developer =(
BUT, i can find some solutions on the web. (=
well.. here is the deal... As i said before, i used to use Wireless tether(what seems to be the non-beta version of this wifi tether, as the interface is pretty much the same)
after upgrading my cellphone to Gingerbread CM7 RC0, i tested it today and got a problem on activating access control...
Well.. i guess that i found some possible solution for this:
Why does the "access-control"-feature not work or is disabled.
If the feature "CONFIG_NETFILTER_XT_MATCH_MAC" is missing the "access control"-feature will not work correctly (you will see a "failed"-status in "Show log" for "Enabling access control"). To detect if all kernel-option were enabled in your current kernel the following kernel-options should be enabled: CONFIG_PROC_FS, CONFIG_IKCONFIG, and CONFIG_IKCONFIG_PRO. This dumps the current kernel-config to /proc/config.gz.
Click to expand...
Click to collapse
the ONLY problem, is that i have no idea on how to do what is written above
could anyone help?
nolimitzz said:
try version 2.07:
http://code.google.com/p/android-wi...etail?name=wireless_tether_2_0_7.apk&can=2&q=
Click to expand...
Click to collapse
Heya. thanks for answering, but I just checked. the version i'm using and having problem, is the 2.0.7.
when i tried the beta, couldn't even broadcast the SSID, so got back to the "market" version
nolimitzz said:
i posted this in CM7 thread, just to answer your question, im pasting it here:
found it!
thanks to a thread at modaco, just copy hostapd file from /system/bin of any Defy froyo rom, and paste it in CM7 /system/bin , chmod 755, run wifi tether for root, it will now have WPA/WPA2 not only WEP, and also run as infrastructure mode!
file is attached for those who want the solution quick and dont have froyo at hand.
Click to expand...
Click to collapse
hay mate, how do you copy to the sys dir?
bit of a novice
You have to use some application capable of remounting the /system partition as read/write (it is read-only by default) and copy the file, and you need a way to edit permissions.
I've used root explorer to do both things above. Remember the file has to be named hostapd (all in small caps). It works for me -- now I have infrastructure tether in my CM7 defy.
I'm not having any luck with MIUI 1.10.8 with Hostapd & android-wifi-tether unfortunately.
Tether starts with an error in the log in 2.0.7, "Starting hostapd... failed" & "Activating WiFi interface... failed" but I can't see further details than this.
Tether starts without error in 3.1-beta6 but SSID does not come up.
Permissions of Hostapd (with uppercase H) are "rwx rwx rwx", using ES File Explorer, and have rebooted between attempts.

Wifi doesn't work anymore, for no reason

[I didn't realize there is this HTC Desire specific subforum, so I'm copypasting my question from General Q&A forum].
I've been running Miui happily for over a year on my HTC Desire, just to notice last week that wifi works only right after power-up (not reboot!) and until switched off. After that, it won't start again. I've tried different things, roms, clean installs, just to confirm the same behaviour, regardless of the rom installed. Detailed explanation is available here:
[EDIT: Being a new member, I'm not allowed to post links. So here it is, 'unlinked': http is.gd slash pZ1TDo ]
(includes logs and everything).
Please help, what to do next?
Thanks,
MB
When you have the error, open a terminal and type dmesg.
Please paste the output here.
You can redirect the output by typing "dmesg > /sdcard/file.txt" ( Without quotes )
dqb said:
When you have the error, open a terminal and type dmesg.
Please paste the output here.
You can redirect the output by typing "dmesg > /sdcard/file.txt" ( Without quotes )
Click to expand...
Click to collapse
Hello, thanks for reply.
Here's the output (too big for copypaste here):
http ge.tt (slash) 3nqEYdF/v/0?c
Sorry, still not allowed to paste links.
The bcm4329 module seems ok.
Sometimes when i use the widget to power on/off wifi, it won't connect.
To get wifi working, I go into wifi settings and power on the wifi here.
Could you try like this and tell us if this working ?
dqb said:
The bcm4329 module seems ok.
Sometimes when i use the widget to power on/off wifi, it won't connect.
To get wifi working, I go into wifi settings and power on the wifi here.
Could you try like this and tell us if this working ?
Click to expand...
Click to collapse
I tried all of the combinations - settings/wireless, status bar, specific widgets - nothing works. At least I have consistent behaviour
This is my original post on miui forum (when I thougt it was miui related). It explains what actions I performed while trying to nail the problem. Still no luck.
Code:
Hello,
Recently I've noticed that wifi on my HTC Desire is acting very strangely - it connects just the first time after reboot, every other time I get "Error" message in Wifi settings. Where I can check what actually went wrong?
After looking in the logs, I hope to have more information on this issue, but for now I believe it's hardware related, since the same problem appears even with the fresh install of the latest MIUI or after restoring a backup.
Thanks.
mblenton, Monday at 9:59 PM Edit Report
#1 Reply
Google Adsense
Pele
Admin
Message Count:
278
You can use the MIUI Android Logcat miuiandroid.com / community/link-forums/logcat.82/
Or you could try a fresh download install again : reboot into cwm, factory reset > wipe dalvik > clear cache partition install rom
But try the logcat and also check you router etc and other things that may influence.
Regards
If you require more help speak to ibotpeaches as he is a HTC expert : join the miui irc chat :)
MIUI Android Logcat System
MIUI Android Statistics
...Im all about the end user
Samsung Galaxy S I9000 & I9100 Expert
Black Android Theme Developer Website & Twitter
Pele, Monday at 11:34 PM Report
#2 Like Reply
mblenton
Members
Message Count:
7
Hello Pele,
Thanks for the reply.
I've tried already clean install with wiping everything, even restored an old bkp which for sure is correct, but all without luck. I don't think it's a router thing, since the same problem appears regardless of my location (at home, at work... all the same). I'll join the miui irc chat, good idea, thanks!
Regarding the logcat - the link you sent is just a form for pasting logs - am I seeing it correctly?. Is there some specific miui logcal app? I've installed 'aLogcat' which seems good, but I couldn't find anything on *wifi* or *wpa* which could indicate some sort of error in any of the logs aLogcat is displaying.
Cheers,
mblenton
mblenton, Tuesday at 9:30 AM Edit Report
#3 Reply
Pele
Admin
Message Count:
278
Hi,
Try to restore your back up without wifi settings. Failing that yes come to irc chat for about 12pm GMT+0 and chat with ibotpeaches
Regards
MIUI Android Logcat System
MIUI Android Statistics
...Im all about the end user
Samsung Galaxy S I9000 & I9100 Expert
Black Android Theme Developer Website & Twitter
Pele, Tuesday at 10:31 AM Report
#4 Like Reply
mblenton
Members
Message Count:
7
Hello Pele,
I've tried several combinations of rom/backup flashing, titanium backup restore etc. but the problem persists, even on a clean installation with just one accesspoint defined.
mblenton, Tuesday at 3:09 PM Edit Report
#5 Reply
mblenton
Members
Message Count:
7
Update: I've updated to the newest radio, but the problems are still there.
mblenton, Tuesday at 3:51 PM Edit Report
#6 Reply
iBotPeaches
Admin
Message Count:
569
Yes, you need a logcat to further figure this out.
developer.android.com / guide/developing/tools/logcat.html
Freenode #miuiandroid
iBotPeaches, Tuesday at 6:51 PM Report
#7 Like Reply
mblenton
Members
Message Count:
7
Hello iBotPeaches, thanks for the link, I didn't realize Pele's refering to that logcat. I'll have to set up abd, though.
In the mean time, I've tried the following (plus the actions described earlier):
- Format system and boot partitions (since Wipe Data/Factory Reset doesn't do that) and clean latest miui install
- Clean Cyanogenmod install
Nothing's changed, I still can connect to wifi network the first time after power up, and then all I get is 'Error' msg. Interesting, but reboot doesn't actually help, just power off/power on.
mblenton, Tuesday at 9:04 PM Edit Report
#8 Reply
mblenton
Members
Message Count:
7
Hello again,
I've installed adb and used logcat to generate this file: ge.tt /9UkgUaF/v/0?c
I'm not quite sure what would be interesting for debugging purposes, so I performed the following procedure:
0. Wifi is enabled, but not working; power down the device; start adb logcat - waiting for device -
1. Power on (wifi will be enabled and connected to SSID Hotspot)
2. Open browser, open google (everything works)
3. Close browser, turn off wifi (via status bar, but it doesn't make any difference)
4. Open settings, try to turn on wifi
5. Wifi couldn't be turned on, 'Error' message is displayed
6. Power down the phone
Thanks in advance!
mblenton, Yesterday at 10:36 AM Edit Report
#9 Reply
mblenton
Members
Message Count:
7
Yet another update, not I'm pretty sure this issue is not miui related.
I've installed Gingerbread RUU and performed the power-on/wifi-on--works/wifi-off--won't-start-anymore procedure with the same results. Here are the logs: ge.tt /9sOVXbF/v/0?c
Where I should look for help?
Ok, after you got the error, go in a terminal and type lsmod ( list loaded modules )
If you see the bcm4329 loaded ( wifi module ), go in a terminal and type modprobe -r bcm4329 ( unload module )
Verify with lsmod if the module is unload.
After that, try to activate the wifi in settings/wireless. Twice if the first gives you an error, it should "unload" the first time, and the second time it should load.
I just tested by inducing an error.
Tell us is this work !
Hello again,
I've tried what you suggested, and this is the result:
Issuing lsmod while wireless is OK:
bcm4329 200131 0 - Live 0xbf000000
After turning off wireless, lsmod doesn't display anything.
After trying to turn wireless back on, lsmod also doesn't display anything, regardless of the times I tried to turn wireless on (and getting Error every time is Settings)
modprobe bcm4329 returns
modprobe: 'bcm4329.ko': invalid parameter
insmod bcm4329 or bcm4329.ko says it can't open bcm4329 (.ko)
So, the linux system under the android seems to be working ok.
Hi,
Ok, after power off/on wifi, the driver doesn't load :/
With some tests and by inducing an error, it works on my side
When you have the error, try this as root :
Code:
su
lsmod ( if bcm4329 is loaded then rmmod bcm4329 )
svc wifi enable ( it's to turn on wifi manually, I waited a few seconds, and everything was properly unloaded ! And wifi off.. idk why )
svc wifi enable ( if the first time it didn't work, it worked for me, it might work for you )
svc wifi disable
but I've intentionally caused an error, not you. And i think that svc is the same as widget/settings..
BTW, for insmod you need to give the full path of the module : /system/lib/modules/bcm4329.ko and the fw path, but it will not work like that you need to set/config interface etc.. I'll try to do it manually.
I just looked quickly one of your old logcat because i'm tired and i'm going to sleep, I'll look more in detail this night if we can find the most important thing : what causes this problem.
dqb said:
Hi,
Ok, after power off/on wifi, the driver doesn't load :/
With some tests and by inducing an error, it works on my side
When you have the error, try this as root :
Code:
su
lsmod ( if bcm4329 is loaded then rmmod bcm4329 )
svc wifi enable ( it's to turn on wifi manually, I waited a few seconds, and everything was properly unloaded ! And wifi off.. idk why )
svc wifi enable ( if the first time it didn't work, it worked for me, it might work for you )
svc wifi disable
but I've intentionally caused an error, not you. And i think that svc is the same as widget/settings..
BTW, for insmod you need to give the full path of the module : /system/lib/modules/bcm4329.ko and the fw path, but it will not work like that you need to set/config interface etc.. I'll try to do it manually.
I just looked quickly one of your old logcat because i'm tired and i'm going to sleep, I'll look more in detail this night if we can find the most important thing : what causes this problem.
Click to expand...
Click to collapse
Hello,
Thank you for attepts to help me, unfortunatelly none of your advices haven't succeeded to turn on wifi once it was turned off. I don't know what to do next. I actually keep it turned on all the time, and it works OK. Not quite happy with that
Hi mblenton,
Ok
I just found how to really turn on the wifi manually.
First, in a root terminal run : getprop wifi.interface, I have eth0, if you have another interface, replace the following by yours.
After error, make sure your eth0 interface is down by running in a root terminal "netcfg" you'll not find eth0 interface, or "ifconfig eth0" must return " eth0: No such device " same for "iwconfig eth0".
If eth0 is up, run as root : "ifconfig eth0 down" and retry to turn on wifi as usual.. maybe it will work.
If not, make sure bcm4329 module isn't loaded ( lsmod ), make sure eth0 is down and try this :
Code:
su
modprobe bcm4329 firmware_path=/system/vendor/firmware/fw_bcm4329_apsta.bin
start wpa_supplicant
dhcpcd -BKL eth0 &
If "modprobe bcm4329 firmware_path=/system/vendor/firmware/fw_bcm4329_apsta.bin" return you an error, try this :
Code:
insmod /system/lib/modules/bcm4329.ko firmware_path=/system/vendor/firmware/fw_bcm4329_apsta.bin
But it's better to load a module with modprobe.
What the commands do :
1) Be root
2) Is for loading module and firmware properly
3) Start wpa_supplicant as service with right user, and load your wireless config
4) Run dhcpcd on background for getting an ip by dhcp ( which implies not have configured the ip manually )
If the wireless icon is not activated in notification bar, it's normal.
ping -c2 google.com or open a browser and try a google search, it worked for me..
If it work for you, cool, we can make a bash script to get the wifi works temporarily, the time to found the cause of the malfunction !
A guy that I helped had a problem with bluetooth, it was a permission problem.. he found a fix :
Daiksi said:
with rom manager i did fix permission and IT WORKED!!!!!!!!YATTA!!!
Click to expand...
Click to collapse
Try that, it can only do good things !
Hello,
I've tried what you suggested, including permission fixing, and the situation remained the same. I'm surprized there's nothing in the logs, though.
Thank you once more.

[Q] Lets solve this Bluetooth Tethering thing

i've searched and searched so if i missed it please point me in the right direction. i would love it if you did.
it seems t-mobile has removed the ability to tether via bluetooth which is really the only tethering i need.
from what i can see using the images below, they use their own software to take things over.
if at all possible any of the following should work in theory:
kill their app
enable something somewhere
install another workaround app (least favorite option)
i would like to avoid going to an aftermarket rom if at all possible since this is really my only issue and i'm so over tinkering (no offense).
Attached shows t-mobiles tether options and the rest of the worlds tether options.
THANK YOU FOR ANY HELP!!!
so in regards to number 3 "install another workaround app (least favorite option)", it seems that FoxFi and CobaltBlue3 work for windows and other devices. I was not able to get it to work on Linux Mint or inside a the car.
i really hate t-mobile right now for doing this. why are they attacking me personally like this?
we need option 1 or 2. 3 sucks.
figured out option number 1 and it was terrible for someone that is tired of tinkering. is there a good way to do this without these steps? if not we need to make one.
the following steps were taken:
root and cwm
cwm backup
remove system/app/TetheringProvision.apk
copy res-framewrok.apk to ext_sdcard
decompile using apk-manager
*edit xml (http://forum.xda-developers.com/showthread.php?t=2057344)
compile
create framework-install.zip (http://forum.xda-developers.com/showthread.php?t=1840098)
install with cwm
reboot
*only sections: How to Enable Native Tethering steps 1 and 2 and How to Enable Bluetooth Tethering step 1

Lollipop tethering (working)

Thanks to datawrhsdoc for translating the OP
datawrhsdoc said:
1. Root your phone
2. Either modify your existing APN to use IPv4 and adding 'dun' to the list of APN types, or create a duplicate APN with the same modifications
3. Set the modified/new APN as your default.
4. Download tether_counter_kill.txt from the OP's first post, and rename the file removing the txt extension (http://forum.xda-developers.com/showpost.php?p=59858654&postcount=1)
5. Install Smanager from Play Store
6. Navigate to tether_counter_kill from Smanager, and set both 'Su' and 'Boot' options. Run it (you won't need to do this again)
7. Start Mobile Hotspot on your phone, and connect to the hotspot from your devices
8. Immediately start a VPN client from your device(s) which will tether. VPN must redirect ALL traffic (e.g., TorGuard).
9. Enjoy unlimited WiFi tether
Click to expand...
Click to collapse
You can also try adding this to your build.prop (I don't know if this does anything):
net.tethering.noprovisioning=true
Click to expand...
Click to collapse
Idea for the script taken from:
http://forum.xda-developers.com/z3/general/lollipop-tethering-t3058923
This can be fixed permanently using the following procedure (UPDATE: no root required):
Enable developer mode (Go to Settings -> About phone, and click on the build number until the developer mode is enabled).
Enable USB debugging under Settings -> Developer options
Connect the device with a USB cable to a computer with the Android SDK platform tools installed
Start an adb shell: adb shell
In the adb shell, run this command: settings put global tether_dun_required 0
Click to expand...
Click to collapse
RussianBear said:
Looks like the settings.db is on a lock-down. I can't access it via sqlite any longer. It says: "the database is currently locked by another process"
Any ideas? @autoprime ?
Quick Edit: was able to copy settings.db to sd card and open it up with sqlite. couldn't change any parameters, as sqlite would fc. Downloaded this guy (http://sqlitebrowser.org/) and made changes, then overwrote the one in data/data directory. We'll see how/if it works.
Click to expand...
Click to collapse
Any luck so far?
Fhuron said:
Any luck so far?
Click to expand...
Click to collapse
Nope, something over-writes the tethering back to "1" after each reboot. I'm sure @autoprime can figure this one out, as he did for KK.
You are right I'm on LG G2 with official T-Mo lollipop and I was able to edit settings.db...not with sglite but with SQLite Debugger.
After reboot, the changes i made to the tethering reverted back to dafault 1.
For those that want to use wireless tether, try the app from this thread (it's $2.5):
http://forum.xda-developers.com/note-4-tmobile/general/unlimited-wifi-tethering-t2914057
I'm more interested in making the usb tethering work. I'll try using IPv4 + vpn tonight. Pretty sure it's going to fail because of the tether.dun set to 1...
P.S. additional links:
http://forum.xda-developers.com/note-3-tmobile/help/tethering-fix-t3068545
http://forum.xda-developers.com/tmobile-galaxy-s6-edge/help/unlimited-tethering-t3073884
Another quick update. The guide from here works for tether_dun settings: http://forum.xda-developers.com/z3/general/lollipop-tethering-t3058923
You can use this command in terminal emulator, pending you are rooted.
su
settings put global tether_dun_required 0
Click to expand...
Click to collapse
or those having issues with tethering. I tested it out today and had issues. It would connect but would not resolve dns. I have unlimited tethering on Three, it's always worked until now.
Doing this resolved my issues. I suspect this issue will be resolve by Three when an official uk build is released.
This can be fixed permanently using the following procedure (UPDATE: no root required):
Enable developer mode (Go to Settings -> About phone, and click on the build number until the developer mode is enabled).
Enable USB debugging under Settings -> Developer options
Connect the device with a USB cable to a computer with the Android SDK platform tools installed
Start an adb shell: adb shell
In the adb shell, run this command: settings put global tether_dun_required 0
Click to expand...
Click to collapse
RussianBear said:
Another quick update. The guide from here works for tether_dun settings: http://forum.xda-developers.com/z3/general/lollipop-tethering-t3058923
You can use this command in terminal emulator, pending you are rooted.
Click to expand...
Click to collapse
anyone tested does this work with no tether tracking?
Uploading a tether_dun_required=0 script (needs root) that you can use with Smanager to either trigger it via a desktop widget, app, or set it on boot. Remove ".txt" from the end and navigate to it via Smanager. I will test tethering later tonight.
Make sure you click/select the SuperUser icon in Smanager's options.
You can also try adding this to your build.prop:
net.tethering.noprovisioning=true
Click to expand...
Click to collapse
Looks like we're money, at least on usb tethering. I will update the op.
any specific settings on Wifi Tether Router? I'm unable to get an SSID to show up using the instructions from wifi tether router's website.
updated APN to ipv4
ran script posted above..
rihc55 said:
any specific settings on Wifi Tether Router? I'm unable to get an SSID to show up using the instructions from wifi tether router's website.
updated APN to ipv4
ran script posted above..
Click to expand...
Click to collapse
Try using stock wifi tether and see if it's counting. I haven't used the other app yet.
RussianBear said:
Try using stock wifi tether and see if it's counting. I haven't used the other app yet.
Click to expand...
Click to collapse
Ohh okay. even better.. ill try it and report back. thanks
EDIT:
Strange, i cant even get an SSID to show up on the native hotspot now. I know it worked before -- i used it last Sunday. The hotspot turns itself off after like 30 seconds.
Okay.. So I did a factory reset because i didnt know how to fix my problem from my previous post.
Then I:
1) added the same APN as IPV5
2) did this:
Enable developer mode (Go to Settings -> About phone, and click on the build number until the developer mode is enabled).
Enable USB debugging under Settings -> Developer options
Connect the device with a USB cable to a computer with the Android SDK platform tools installed
Start an adb shell: adb shell
In the adb shell, run this command: settings put global tether_dun_required 0
3) used the native tether app
I haven't tested it very extensively but from what i can tell, i am able to tether and it just shows up as normal data vs mobile hotspot. I transferred bout 600mb as a test. will test more later.
Thanks for your help RussianBear!
EDIT:
I lied. i think tmobile was delayed in reflecting my usage. it showed up today.
My hot-spot was broken by LP. Devices connect fine but have no Internet whatsoever. I'm able to USB tether without issues using PDANet and just selecting level 1 hide tether usage works fine. No needs for UA switching or anything like that. Just wish the WiFi tether worked, even if it's counting.
Could anyone help with step by step instructions. I am new at this and dont want to do anything wrong. Plus i dont see the script.
dreday3223 said:
Could anyone help with step by step instructions. I am new at this and dont want to do anything wrong. Plus i dont see the script.
Click to expand...
Click to collapse
Dre, are you rooted? Script is attached to the bottom of the first post.
RussianBear said:
Dre, are you rooted? Script is attached to the bottom of the first post.
Click to expand...
Click to collapse
I am. What exactly do i have to do? Where do i place that command? This is all very new to me and I'm not trying to mess up my phone so the simplest of instructions would be great.
dreday3223 said:
I am. What exactly do i have to do? Where do i place that command? This is all very new to me and I'm not trying to mess up my phone so the simplest of instructions would be great.
Click to expand...
Click to collapse
Download smanager from the playstore, download the script, then using smanager navigate to the script and run it. You will need to select the su icon from the smanager's script options. Let me know if/where you get stuck.
Script Works for WIFI Tether
It appears that this method is working for WIFI tethering as well. I watched an 11 minute Youtube and then emailed myself a 5.5MB Powerpoint. Here are my results:
Before After
Mobile Hotspot 92.2 92.4
Data 462.2 527.1
Not sure where that 0.2MB came from, but that's not much of my 5GB plan, so I don't much care.
Update 1: Figured out where the 0.2MB came from. My testing used all encrypted traffic over HTTPS, and TMO couldn't track it. I then ran a CNN.com video and the Mobile Hotspot counter spiked. Still not quite there yet.
Update 2: Enabled my VPN, and no traffic at all is being tracked by TMO. No user agent required. Yipee!!
datawrhsdoc said:
It appears that this method is working for WIFI tethering as well. I watched an 11 minute Youtube and then emailed myself a 5.5MB Powerpoint. Here are my results:
Before After
Mobile Hotspot 92.2 92.4
Data 462.2 527.1
Not sure where that 0.2MB came from, but that's not much of my 5GB plan, so I don't much care.
Update: Figured out where the 0.2MB came from. My testing used all encrypted traffic over HTTPS, and TMO couldn't track it. I then ran a CNN.com video and the Mobile Hotspot counter spiked. Still not quite there yet.
Click to expand...
Click to collapse
Are you using a vpn service or just agent switchers?

***DEVS ONLY*** Keyboard exploit and more...

DO NOT POST IN HERE IF:
You are not experienced
You are not a dev
Making wild suggestions that make no sense
Asking for progress
Asking for ETAs
Posting useless posts
Exploit:
CVE-2015-4640 and CVE-2015-4641
Goal:
Escalate this to root (0) if possible and work around WP (write-protection) or be able to turn off certain WP with the help of this exploit.
Root Status:
Temp Root
Exploit Explanation Link:
https://www.nowsecure.com/blog/2015/06/16/remote-code-execution-as-system-user-on-samsung-phones/
People working on this or helping:
heXacode
tekjester
Current Status of Progress:
Working on receiving the file and modify it afterwards.
To see if your keyboard has been patched or not, open up a terminal on your phone or phone connected to your PC with a terminal on the PC and type this:
ls -l /system/app/SamsungIME*
You should see this (not patched on KK 4.4.4):
-rw-r--r-- 1 0 0 8830744 Sep 16 2014 /system/app/SamsungIME.apk
-rw-r--r-- 1 0 0 4735632 Sep 16 2014 /system/app/SamsungIME.odex
Click to expand...
Click to collapse
***If you have knowledge in this please come forward and offer help so we can see if it's possible to get root (0) with this and finally get permanent root. I will update this periodically when time becomes available. It's slow work and a new ground to breach with a lot to understand to modify it and see what use we can make of it.
This exploit is only being done on KK (KitKat) 4.4.4. Do not ask if it will work on LP (Lollipop) 5.0.1. Do not ask why terminal doesn't match up with mine for 4.4.4 if you're on 5.0.1. I cannot confirm if it was patched for 5.0.1 or later. If this exploit does what we need to do for perm root and such then further testing will be done for 5.0.1 or later. Right now the main focus and all work is going to be done for 4.4.4 ONLY.
WARNING:
Any non-development post will be deleted and the poster infracted 5 points!
This is DEVELOPERS ONLY!!!!
No "Thanks", No "Looks Great!" No "I wanna test!" No "Are we there yet" posts!!!
PERIOD!
When developers need testers they will announce it and you can PM them
If you cannot read these simple instructions as well as the stickies, the developers probably don't want you to test!
Now if you are not contributing directly to the development discussion, then post in your device's General section
There will be no further warnings
Thank you for your cooperation
Friendly Neighborhood Senior-Mod
So I tried starting this from work (I work for the Gov't ), and my ability to share any connection was strictly declined - even with my domain admin access .
I'm going to hit this from the Windows side, so instead of Hostapd and mitmproxy, I'm going to use the built in Windows 8 WiFi hotspot and Fiddler. For any lurkers that want to check this out, here's a beginners guide to MITM with fiddler:
http://www.mehdi-khalili.com/fiddler-in-action/part-1/
Note: This talks about SSL stuff... the keyboard exploit doesn't use SSL, hence why it's a vulnerability! If you have some tech savviness, you can try piecing this together with the link hex posted and see how far you can get.
I have experience with injection, the quest for the team is going to see how much damage we can do running something from the "system user" context!
Also, I'm currently running 5.0.1 OF1 build. I'm going to start here, and progressively roll back to 4.4 to see if/when the exploit was patched
A few updates before I head to bed:
I get an output of:
Code:
-rw-r--r-- 1 root root
for ONLY system/app/SamsungIME.apk
I don't have anything for a .odex
However, great news out of fiddler! The keyboard exploit is STILL unpatched. Check out the attachment below!
I'm not sure if the ODEX file is critical or not to running in system context. Guess I'll find out tomorrow.
Here's what I did to get where I'm at on Windows 8.1. Figured I'd save everyone the headaches.
Download/Install Fiddler
Open an admin command prompt
"ncpa.cpl"
3a. Turn on Internet Connection Sharing for your normal internet connection
"netsh wlan set hostednetwork mode=allow ssid="test" key=testtesttest"
"netsh wlan start hostednetwork"
On your phone, turn on airplane mode, turn wifi back on (no mobile data)
Connect to your new WiFi Network - you'll need special settings because windows can't figure out DHCP without some pretty drastic steps - I assume your hostednetwork IP is 192.168.137.1, if not, adjust accordingly:
7a. Configure Proxy server as manual: Hostname "192.168.137.1" Port "8888"
7b. Switch DHCP to manual: IP Address 192.168.137.2 Gateway: 192.168.137.1 DNS: 8.8.8.8
Back over to Fiddler: This guy explains it better than me
I didn't see a keyboard grab when I rebooted. However, I can get the keyboard to search on the phone by going to Settings > Language and Inputs > Samsung Keyboard > Select Input Langage
Once there, the phone reaches out for a json file with the sha hash and the payload. This is where the whitepaper comes into play and where our experimentation begins!
Quick follow-up. While the packages are still sent unencrypted, running in System UID requires execution from the Dalvik Cache. No Dalvik Cache means no execution Looks like anything we run will be on 4.4
+1 confirmation that the updates are still sent unencrypted on Lollipop. Moving on to verify if directory traversal still works.
tekjester, just a suggestion - achieving code execution on Lollipop might require running dex2oat to get the code in a format that ART would execute.
I'll dig deeper into this soon - here's hoping it can be made to work on Lollipop, reverting to Kitkat and upgrading with Flashfire without tripping Knox would be a... fun weekend project.

Categories

Resources