yashsingh1/xdaforums huggingface dataset:
[Moto X Themes and Apps] namitutonka:
Working with LG G2 ATT d800

On my tablet PC (XPS 12 9250), 'Words with Friends reported "no internet connection" before I installed this Xposed module on my LG G2 AT&T d800. With this tethering mod on my LG G2, my phone's hot spot connected Windows 2-in-1 PC connected successfully to Words with Friends. Thank you [MENTION=2609730]dymmeh[/MENTION] You have provided one more reason to keep my 2-in-1, as it has abyssmal battery performance. In conjunction with your tethering mod I had to have a car charger for my PC's mobility away from my home wi-fi. The 45 watt cigarette charger gets warm, so I'm not sure if it works in my 18 year old Ford truck, since I needed to replace the cigarette lighter fuses (2) last year. The 2016 Toyota Corolla handled it. The G2 is running Lollipop (android 5.0.2).
[Moto X Themes and Apps] dymmeh:
nice! glad to hear people are still using this (and that it still works haha)
[Moto X Themes and Apps] jachhunter777:
:D looks good
[Moto X Themes and Apps] ljcastille:
moto g6 play

Installed this on moto g6 play (Android 8.0) that is rooted with Magisk ver.17.1. I am able to activate the hotspot. I am also able to connect devices to the hotspot but there is no internet connection. Any suggestions?
[Moto X Themes and Apps] Nagosuka:
I have this same issue on moto g6 Ali. Anyone able to solve?
[Moto X Themes and Apps] infyrno676767:
Been using NetShare+ lately but saw this and decided to give it a try. It's working flawlessly on my Samsung Galaxy S8 Active. Mine is the T-Mobile variant and has been unlocked after flashing the eng bootloader. Not sure if that makes any difference but I just wanted to let people know that it does work on this device.
[Moto X Themes and Apps] xanayax:
works great on my moto g6 play Oreo 8.0
[Moto X Themes and Apps] xerdcire:
Magisk / TaiChi / 9.0 Pie?

Wanting to try this on Moto G4 Plus ArrowOS with Magisk. I read TaiChi supports XPosed modules while passing safetynet. What am I meant to do with this APK? (haven't used xposed previously).

magiskroot.net/taichi-magisk-module/

Alternatively, should I use EDXposed?

magiskroot.net/download-xposed-for-android-pie/

TIA

ps: I gather from other threads necrobumping is allowed on xdadevs, hope this is ok
[Moto X Themes and Apps] dymmeh:
Just did! Updated the OP to include the new instructions to install
[Moto X Themes and Apps] dtreth:
[MENTION=2609730]dymmeh[/MENTION]

Saw this while playing with my Keyguard Disabler on the Xposed repo. It works with my Droid MAXX, so THANKS TO YOU!!!! I would venture a guess that this would work for the Droid Ultra, Droid Mini, and maybe even the Moto G.

[I'm on Verizon, like all Droid MAXX users]
[Moto X Themes and Apps] dymmeh:
Awesome! Glad to hear! I'd guess they all use the same entitlement app so it likely will work for all of them. If I had some more verification I could modify the app name to be more representative of the

*edit* I just checked and this will work on all of the other variants. They use the same entitlement check. I updated the module name and description to reflect this.
[Moto X Themes and Apps] syde1020:
Verizon moto x rooted. Non developer edition. Not working for me. When I try to open the hotspot app I get Unfortunately settings has stopped :(
[Moto X Themes and Apps] lucky13:
Odd, same setup here and working like a champ.
[Moto X Themes and Apps] dymmeh:
Was it working before? When you disable the module and reboot does it still crash?
[Moto X Themes and Apps] syde1020:
Yeah still crashes. I'm gonna try a third party tethering app to see if it works when I get home. Even did a full wipe on my phone and started over and still getting the same error.
[Moto X Themes and Apps] dymmeh:
Strange that it would happen after a wipe. Definitely has nothing to do with the xposed module if you wiped the phone and it still happened. Any chance you can grab the logcat error when it crashes? That might help us figure out why its crashing
[Moto X Themes and Apps] syde1020:
Strangely enough I figured it out. Had to be something wrong with my vzwentitlement apk. I believe that's what it is called. I replaced it with a stock one I found searching Google and it works fine now. The ota must have messed up on that file for some reason
[Moto X Themes and Apps] NPOA556:
Thank you!

I was on the fence about all these different options for enabling native tether, since they all had quirks or drawbacks. This method of just installing an Xposed module is perfect. Works on my unlocked & rooted DE VZW. Thanks!!
[Moto X Themes and Apps] pharixnova:
I think I've managed to get this working for Sprint.

What I had to do (took this from some other thread I forgot where from) was create a "device boot" event and make it execute the following shell command:

iptables -tnat -A natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o rmnet0 -j MASQUERADE

Enabling WiFi hotspot works fine, and I'm able to get network traffic on my tethered device.
[Moto X Themes and Apps] dpwhitty11:
Are you doing that with Tasker?
[Moto X Themes and Apps] mymod:
Can you confirm that your GPS is still working? Looking at the comments of this thread which advocates the same method, it seems it break the phones GPS
[Moto X Themes and Apps] pharixnova:
Yup with Tasker.

---------- Post added at 01:02 PM ---------- Previous post was at 12:56 PM ----------

Mymod:

GPS works fine for me. Haven't had any issues.

As soon as I ran that shell, I was able to surf on my Nexus 7 tethered via WiFi.
[Moto X Themes and Apps] dpwhitty11:
How'd you set that up? I didn't get it to work. Good to hear your GPS still works after.
[Moto X Themes and Apps] Dburgessme2:
Hi there. I made this post in another thread :

http://xdaforums.com/showthread.php?p=49549004

No response but am wanting to change from that tether method to this xposed method.

Am I on the right track with how I can revert old and do this new way?

DB's Moto X
[Moto X Themes and Apps] dymmeh:
That will work. You don't even need to revert to the old way if you don't want to. This Xposed module should still work with the modified APKs.
[Moto X Themes and Apps] Dburgessme2:
Thanks. I remembered reading that it would still work even on top of that replaced apk. I was just thinking that I should get them back in order for any upcoming ota updates.

Thanks again!
[Moto X Themes and Apps] canezila:
Worked perfectly for me. Thank you!
[Moto X Themes and Apps] dymmeh:
If anyone on T-Mobile wants to do some testing for me send me a PM. I may have a solution for getting this working.
[Moto X Themes and Apps] dymmeh:
I've added support for Sprint to the module. Please test it out and let me know how it goes!!

Thanks to [MENTION=4789604]Kittiesoncrack[/MENTION] for testing this and pointing me towards a solution for Sprint!!

Digging around the Sprint solution I found a possible way to get T-Mobile tethering working. I need someone willing to test, though.
[Moto X Themes and Apps] Kittiesoncrack:
Yayy!
[Moto X Themes and Apps] dpwhitty11:
I'm getting this.
[Moto X Themes and Apps] dymmeh:
Poop.. Anyone else with the same result?
[Moto X Themes and Apps] zefyx:
Great work, thanks for your contribution!
[Moto X Themes and Apps] dymmeh:
I removed the latest build until I can troubleshoot why its not working with Sprint. Sorry to get your hopes up :(
[Moto X Themes and Apps] pharixnova:
Here's what I did:

Got rid of the non-stock SprintEntitlement.apk that I was toying with to try get tethering to work.

Installed the Xposed module.

Enabled the module.

Went in Tasker, created a new "Device Boot" event.

Added a new "Run Shell" task with the snippet below.

Rebooted phone.

Went on to setup Wi-Fi hotspot to my liking.

Enabled "Portable Wi-Fi hotspot" and connected my other devices to it.

iptables -tnat -A natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o rmnet0 -j MASQUERADE

One thing I noticed with my Sprint MotoX is that occasionally, it'd hit me with a "Mobile IP registration" error when I first enable tethering. My low-tech solution to that so far is to disable tethering, and re-enable it.

Hope this helps.
[Moto X Themes and Apps] pharixnova:
I haven't tried the new build yet. I've stuck to 1.1 and it works great. I've been afraid to upgrade after reading the posts here about it not working for some folks..
[Moto X Themes and Apps] abiezer:
I tried the steps you mentioned in your last post, and I can connect, but I get no data.
[Moto X Themes and Apps] dymmeh:
I have a rewrite pending of the Xposed tether module that uses a different method to completely remove the need for entitlement service and use the native tether.. It will also change the APN settings for T-Mobile.

It needs to be tested on multiple carriers before I push it out. I need a few people willing to test it out on AT&T, Sprint, and T-Mobile. PM me if you're interested
[Moto X Themes and Apps] dymmeh:
Ok rewrote this and it's working on Verizon. I'd like a few people to give this a shot before I upload it . This now directly uses the native tether. Entitlement app can be completely removed after this or disabled.
[Moto X Themes and Apps] dymmeh:
Anyone want to test a new version on T-Mobile? I'm pretty sure what I've done will work. It replaces your APN settings with the "proper" APN settings that do not re-route your traffic to their server that checks if you can tether. PM me if you're interested
[Moto X Themes and Apps] jimmydafish:
shoot me a PM I'll give it a test spin.
[Moto X Themes and Apps] Jfaluty:
Does anyone know to install exposed on Verizon moto x on 4.4? Or provide a link?
[Moto X Themes and Apps] dymmeh:
http://xdaforums.com/showthread.php?t=1574401

Read through that. It's pretty straight forward. You just install the Xposed apk, run it and install the framework via the Xposed installer. Reboot. Install your modules and activate them. Reboot and enjoy!
[Moto X Themes and Apps] wmdunn:
How did the new version work on T-Mobile?
[Moto X Themes and Apps] dymmeh:
It didn't hah :(

I still have a few more options I can try out, though. The issue is that it's hard to debug this since I don't have a T-Mobile device and what I'm doing is based on the Android source code which Motorola may have made changes to. So if they haven't modified the android source code in any major way, this should be working.. since its not working, they may have made some tweaks. I'll keep at it though!
[Moto X Themes and Apps] abiezer:
Waiting for a PM back from you to test Sprint...
[Moto X Themes and Apps] dymmeh:
Sorry, I didn't have time to do any coding last night when I got home. I'll try to get something out ASAP to you guys.
[Moto X Themes and Apps] dymmeh:
Updated to 1.4. Still no T-Mobile or Sprint. The method we use to gain tethering has changed. Instead of modifying the entitlement app we modify the system settings which specify the list of apps that are supposed to do the entitlement checks. We replace that list with an empty set so that android will default to the native tether right away and not even launch the entitlement app.
[Moto X Themes and Apps] abiezer:
Just FYI, OP, the method you told me for Sprint works. Let us know whats next.
[Moto X Themes and Apps] dymmeh:
If anyone wants to use this with Sprint you need to change the line ro.mot.tether_dun_required=1 in your build.prop file to ro.mot.tether_dun_required=0 and use the xposed tether app

I will try to find a way to replace this value in the tether apk instead of you having to manually change it.
[Moto X Themes and Apps] charlie-n:
Got it working finally on Sprint, although for now I'm getting slow download speeds like .7 mbps I normally use "Wi-Fi Tether" and get 30 mbps although i can't secure connections, people always connect to me when I'm doing homework in public.
[Moto X Themes and Apps] charlie-n:
Alright I got it up to full speed now, after 2 reboots it seems to have fixed itself
[Moto X Themes and Apps] dpwhitty11:
Confirmed! This + the update to the xposed app = working native Sprint Tether.

Ran a speedtest from my laptop and my phone and both had the same ping and download speeds. Upload seems to be significantly slower on both, though.
[Moto X Themes and Apps] NevEragon:
I have been having problems using youtube when I tether with this on. I can use the TrevE mod wifi tether app(but I cant put a password on it) and get youtube, but when I use the built in tether app with this xposed module, no youtube. My phone can access youtube fine, and I can connect to my roommate's Clear modem and get youtube there. Running a rooted moto X with write protect off on 4.4.

To clarify, I'm on verizon moto x, and it is only the videos not loading. the site loads fine.
[Moto X Themes and Apps] wmarcin:
Thanks for a terrific mod! The tether works great.

I've been experiencing a weird issue in the last week or so. I don't know if anybody else has the same problem. When I tether my laptop, some websites, like Google, Facebook, Netflix, open just fine. But most other websites don't open on my laptop, but I can open them on my phone just fine. I'm using Motorola X Verizon developer edition.

I tried to use DNS Changer to change to Open DNS, but it didn't make any difference.

I installed your mod over previously modified entitlement check app. Which worked just fine before about a week ago.

There was one day when all the websites opened just fine, but it went back to just opening a few select websites. Just on my tethered laptop, all the websites open just fine on my phone.

What say anyone?

EDIT: I stand corrected. My laptop was at fault. It was filtering out some, but not all, connection attempts as 'bogon'.

I don't know if it's this mod, or Open DNS server, but my tethering speeds went from .7 MBS to 2+ MBS. Pure awesomeness.
[Moto X Themes and Apps] libbycm:
Works on my VZN GN3!

I have spent the past 2 weeks in eclipse trying to get this working right and couldn't quite get it working.. but after looking at your code, I was close.

Last night, I even decided to just old-school it and mod framework apk because I was going out of town and wanted AP as a standby and didn't have time to keep messing with it... except I wasn't paying attention and screwed up re-compiling the apk, boot looped my phone resulting in a wipe and odin back to stock since bootloader is locked.... :( I swear I googled "config_mobile_hotspot_provision_app xposed" a 1000 times first, and never saw this... until today... and it was at top of results. Stupid interwebs.

Anyway... thanks!!!!
[Moto X Themes and Apps] dymmeh:
Good to hear it works on non-moto devices! If you ever want help with Xposed stuff let me know.
[Moto X Themes and Apps] seandarcy:
how to activate in xposed?

I've got a rooted VZW DE. Installed xposed. dl'd moto tether, installed. Got a notification that the module was not activiated. Went to Modules. - moto tether is there. I press on it, get message "this module does not have a user interface"

If I try to enable hotspot, I get "checking subscription status"

I reinstalled module. Rebooted a couple of times. No joy. I can't figure out how to activate the module.

Any suggestions? This seems to be an Xposed issue. is there a good forum or mailing list for this sort of issue?

---------- Post added at 12:17 PM ---------- Previous post was at 12:06 PM ----------

OK. I fixed it. In Modules, there a small checkbox on the left side of a module. On my screen, I can't see the checkbox even when I know it's there! So I just pecked around and found it. I can see the check.
[Moto X Themes and Apps] gokart2:
Curious as to how Sprint users are changing the build.prop? Never had an issue before, but ES Files Explorer, JRummy's build prop editor, or copy->edit->paste isn't saving/sticking.....always reverts back to "1"?

Also to the OP, there's a way to change build.prop via reboot script. Seen/used it via Pimp My ROM.

Edit: LMFAO! I'm a tard, haven't needed busybox until NOW! Using my tablet while tethering perfectly now. Busybox is a must, and the only thing I could say that would be an improvement would be to add a quick settings tile or widget to easily activate the tether. Nice job op!

Surprisingly USB tether works too. Very nice.
[Moto X Themes and Apps] wmarcin:
Try Gravity Box for xposed.
[Moto X Themes and Apps] eeriikk:
I had fun with this too, but following the instructions found in http://xdaforums.com/showthread.php?t=2512674&page=2 I used SQLite, opened Settings.Storage -> settings.db -> global then made a new entry with the name "tether_dun_required" and a value of "0". That got it to work, without any issues and has been connected for about 6 hours now since the fix.
[Moto X Themes and Apps] dymmeh:
Working on 4.4.2 if anyone is curious.
[Moto X Themes and Apps] jojocat:
Anyone else have problems with 3G after ro.mot.tether_dun_required=0 change is made? 4G rollout is not complete here, and I seem to remember when this change was active on my old sprint LG marquee that it would basically break 3G mobile data.
[Moto X Themes and Apps] georgexp:
Can you root 4.4.2 that you get with the Motox stock(non-dev edition)? If not can you flash an older version by putting the stock 4.4 image and reboot with out root? Will we have to wait until 4.4.2 is rooted?

Thanks really want to tether with the unlimited plan..
[Moto X Themes and Apps] Basic11:
I'm on galaxy s4 sprint SPH L720 and I tried to find the build prop. to change it, but I can't find nor see it.
[Moto X Themes and Apps] dymmeh:
You can't find what? The build.prop file or the tether_dun_required line?
[Moto X Themes and Apps] Basic11:
I have the build.prop file but I can't find the teather_dun_required line.
[Moto X Themes and Apps] dymmeh:
If your device doesn't have it, try putting the tether_dun_required value in your settings database following the instructions at this link under "EASY METHOD, USING GUI"

Just remember that this module was developed for the Moto X. Since it does modify the value of a common android setting it "should" work on all phones that use that setting. Sprint (at least the Sprint Moto X) check that setting and also the tether_dun_required value
[Moto X Themes and Apps] kbluhm:
I'm not so sure this was written for the Galaxy S4. Someone correct me if I'm wrong.
[Moto X Themes and Apps] Zxo0oxz:
I'd just like to chime in on my experience with this module on the Boost Mobile Moto G.

Since it is a sprint based network, I followed the sprint instructions. It bypassed the tether restriction, however it cuts all mobile data to my phone despite the fact that it says 3g is connected. Not sure what to make of it.

Edit: Works fine on boost mobile moto G. Not sure why it wasn't working before but it's working flawlessly with my Nexus 7 now.
[Moto X Themes and Apps] Kittiesoncrack:
Would i be able to do this manually? I dont want to use xposed, (using ART)
[Moto X Themes and Apps] dymmeh:
If you don't want to use Xposed you'll have to modify your framework-res file to include the changes I made

Backup your framework-res file in case you mess anything up

Decompile your framework-res file

In one of the arrays.xml files (its in one of the values folders) you'll find

<string-array name="config_mobile_hotspot_provision_app">

<item>whatever the tether package name is</item>

</string-array>

Make that an empty array by change it to

<string-array name="config_mobile_hotspot_provision_app" />

Recompile your framework-res and push it to your phone. Make sure to change the permissions to match the original framework-res

Reboot and tether away
[Moto X Themes and Apps] Kittiesoncrack:
this is the error i get when recompling the apk, any ideas? :

W: Could not find sources

invalid resource directory name: C:\AndroidMultitool\Decompiled_apk\framework-res\res/values-mcc310-mnc-1

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\fahad\AppData\Local\Temp\brut_util_Jar_6974329208277350297.tmp, p, --forced-package-id, 1, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-37, -F, C:\Users\fahad\AppData\Local\Temp\APKTOOL4753926635266471238.tmp, -x, -0, arsc, -S, C:\AndroidMultitool\Decompiled_apk\framework-res\res, -M, C:\AndroidMultitool\Decompiled_apk\framework-res\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)

at brut.androlib.Androlib.buildResources(Androlib.java:362)

at brut.androlib.Androlib.build(Androlib.java:285)

at brut.androlib.Androlib.build(Androlib.java:258)

at brut.apktool.Main.cmdBuild(Main.java:236)

at brut.apktool.Main.main(Main.java:88)

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\fahad\AppData\Local\Temp\brut_util_Jar_6974329208277350297.tmp, p, --forced-package-id, 1, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-37, -F, C:\Users\fahad\AppData\Local\Temp\APKTOOL4753926635266471238.tmp, -x, -0, arsc, -S, C:\AndroidMultitool\Decompiled_apk\framework-res\res, -M, C:\AndroidMultitool\Decompiled_apk\framework-res\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:482)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:415)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [C:\Users\fahad\AppData\Local\Temp\brut_util_Jar_6974329208277350297.tmp, p, --forced-package-id, 1, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-37, -F, C:\Users\fahad\AppData\Local\Temp\APKTOOL4753926635266471238.tmp, -x, -0, arsc, -S, C:\AndroidMultitool\Decompiled_apk\framework-res\res, -M, C:\AndroidMultitool\Decompiled_apk\framework-res\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:476)

... 6 more

The system cannot find the file specified.

The system cannot find the file specified.
[Moto X Themes and Apps] Kittiesoncrack:
System-res.apk file when you have chance, if you could look into making the edits, that would be awesome :D. Im on sprint btw. if the process is any different
[Moto X Themes and Apps] hartv427:
Here you go https://www.dropbox.com/s/s09l0rd2u9zrxji/framework-res-SPRINT.apk

Might still need to to the "SPRINT ONLY" mod to the build.prop file check the OP
[Moto X Themes and Apps] jfriend33:
I'm on a Verizon Motorola Droid Maxx xt1080m with unlocked bootloader on rooted 4.4.

I've installed xposed, rebooted, then the tether module, checked the box, rebooted.

But it's wanting me to add the tethering plan. What am I doing wrong?

Thanks in advance.

Disregard. Reboot solved the problem.
[Moto X Themes and Apps] dymmeh:
Magic.
[Moto X Themes and Apps] NokturnalPulse:
Just to verify..after its xposed and tether modules are installed and rebooted, you just have to check the tether wifi box and it should be good to go? I don't want to end up getting charged for tethering. thanks haha
[Moto X Themes and Apps] kbluhm:
Correct.
[Moto X Themes and Apps] mangordi89:
Has anyone got tethering to work with T-Mobile? Thanks.
[Moto X Themes and Apps] NokturnalPulse:
Alright thanks, I was a little concerned at first I tried using foxfi and it told me the carrier blocked it, yet the built in tether wifi box worked just fine no errors or complaints ;) thanks again.
[Moto X Themes and Apps] EncryptedFile:
Guinea pig... Err, umm, beta tester reporting for duty!
[Moto X Themes and Apps] alebiancucchi:
HELP problem to instal xposed framework in moto x 4.4.2

hello, I had a problem when I try to install on mi moto x xposed framework, I root with super user. xposed goes when I install a sign saying sorry. the application pack installation program stopped. try several versions and nothing, please help. , thank you very much, the site is awesome, and apologize for my English, I am Argentine.
[Moto X Themes and Apps] agentcelsius:
working!

thanks!!!!
[Moto X Themes and Apps] dymmeh:
Sorry, I've stopped development on this until we receive an OTA that breaks it. The T-Mobile solution is pretty easy according to this post here which others have confirmed working on the stock ROM http://xdaforums.com/showpost.php?p=50272802&postcount=7
[Moto X Themes and Apps] dymmeh:
Are you saying you can't get Xposed to install ?

Or you can't get the tether app to install?